Hi,
I am really struggling with this
I am looking to do the following:
Direct www.domain.co.uk to domain.co.uk
Direct domain.co.uk to website.php
Direct admin.domain.co.uk to admin.php
and direct every other subdomain to box.php
This is what I have so far... miles off I think
RewriteCond...
Hi,
This looks more efficient. My only issue with this version is that it does not return shadeHex like the other one did in the final result set.
James
------------------------
www.jamesmills.co.uk
Hi,
I think you have overdone yourself with what you have done so far. Do you think this would be useful to others? I think it would! I searched high and low to find something like this... do you think we should put in a public page some place?
Thanks again for your time, I will be sure to...
Hi,
Whatever you did in the last version has fixed the issue of getting black back.
http://www.jamesmills.co.uk/screen_shots/2010-12-09_0932.png
In that screen shot you can see (on the right hand side) the new table generated from the version. You will see that compared to the table on the...
Hi,
So if it makes a match does it the stop looping? So are you saying that if I specify to skip 000000 and FFFFFF then it would then find the next closes colour?
That would make more sense because for some reason some colours are coming back as black which really are not.
Cheers
James...
Hiya,
Thanks for comments on site. It's not been designed yet it's just build using a CSS framework.
I do not have a list of colours that are failing really. If you see in the screenn shot, for example, you will see some came back as black when they are not really...
Not sure what this is...
Hi Justin,
Thought you might like to see your code at work!
http://www.jamesmills.co.uk/screen_shots/2010-12-08_1702.png
You were right about the array/object issue. Sometimes I am blind as a bat! Things like that take so much of my time, its like when you miss a comma or something and yours...
Hi,
Works perfectly.
I have created a Codeigniter library class file http://pastie.org/1359249 and I am calling this from my upload page.
I am uploading an image and then processing it. Part of the process I am getting the top ten colours from the image. I am then looping through and running...
Gosh I think we have a winner!
Its kicking an error if I put 000000 or FFFFFF into it but for everything else it looks to be returning a good result.
I think you have proved your point!
I am going to see if I can figure out why I am getting an error for 000000 (Fatal error: Call to undefined...
Hi,
Javascript to PHP... you would not have write it all again but you would have to port the javascript toa php function.
James
------------------------
www.jamesmills.co.uk
Hi,
Your right... unfortunately I do not have time to do this myself. It would take me days to do this... I understand its nothing too clever, in fact the code is very clean and well written (http://www.colblindor.com/js/ntc.js). I am going to have to think of a different way of getting what I...
Hi,
How can I use that directly in a php page? I would have to use curl or something to call another page to get the result into my php script right?
James
------------------------
www.jamesmills.co.uk
Hi guys,
I am currently working on a website which is for artists to upload and showcase their artwork.
I have created the script to upload the images of the artwork. From these images I work out the top ten hex colours found in the image.
Now what I want to do is run those hex colour codes...
Hi,
Great reply. Thaks for detail and explination... When looking at these things it looks so easy... so much of programming is not just knowing the functions but being able to visulise the data and understand how to use what function the right way to get the data your after...
Thanks...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.