Bokeh, your script is the best one I've seen anywhere. Thanks for offering it up for other people. I'm also impressed that 7 years later you are still answering questions to help people fit it into their requirements. Thanks!
It works great on my local server (XAMMP) and on the serverwhere my personal website is hosted. Unfortunately, it does not work on my friends server where I am trying to install your image upload script to help him automate the process of adding profiles. Currently, he is using a simple HTML form I created several years ago that emails the user's entries to him for insertin into my template. His server is running PHP version 4.3 whereas my local and personal servers are running 5.3 versions. I've tried to figure out if that is the problem but have been unsuccessful. I have no access to the php.ini file on his server, for example. Are there any other things I should check to see why it would work on my two servers and not his?
And I forgot to add that I have not been able to integrate your resize code into your image upload script. I'm just beginning to learn PHP so it's probably a greenhorn mistake but any help would be appreciated. My eventual goal is to have the form for entering user information and the code for resizing and uploading images all in one script. Not sure that is possible but trying to make it happen will be a good learning exercise for me and a benefit to my friend if I get it working. Thanks Bokeh,
Are there any other things I should check to see why it would work on my two servers and not his?
You need to start a new thread and post all your code. Switch on error reporting on the server that doesn't work. If it all works on you windows server but not on another it is probably a permissions thing.
Bookmarks