Welcome Guest, Not a member yet? Register   Sign In
problem with uploaded image with crop and resize
#1

[eluser]davidino86[/eluser]
Hi,

i've write a function to upload an image in two directory one for the big and one for a thumbnail.

root
|
|-> uploads
|
|-> thumb


this function works fine in localhost but when i try to make it works online, it didn't works only for the thumbnail. I'have check the phpinfo() of both server and the php.ini file and i think there isn't hard differences. the permissions are correctly configured to write and read credetial on directories.

someone can help me to understand the problem?


PS.: sorry for the bad english

Thanks
Davide
#2

[eluser]JoostV[/eluser]
Could be a number of things. If you're sure permissions are set to 777 you may want to doublecheck the folder name. Linux is case sensitive, whereas Windows is not.

Obviously, this is only a problem if you develope on a Windows machine and your server is lunux or unix, etc. Smile
#3

[eluser]davidino86[/eluser]
the problem is on a windows server
#4

[eluser]davidino86[/eluser]
maybe the problem is with the GD2 library with IIS6 on this windows server but when i do the phpinfo() i see correctly the info about the GD2. i don't know if it is enough...




Theme © iAndrew 2016 - Forum software by © MyBB