Hi, I have designed an online application form which requires the user to attach documents (either a word, or pdf) The program works fine when I test on my PC, and same when I put it on my server (http). But I need to put my application on another server, more preciously a secure server (https), and same program not working over there. Do I need to change any setting in configuration file? Any help would be most welcomed.
I would research "https php" in google and other places, maybe a script gets called at http:// when it should be called at https://
I have somehow managed to know where the problem is coming, I am now getting the error:"Missing a temporary folder" I have created a new temp folder in C drive and gave all the necessary permissions, changed the setting in php.ini file too but nothing seems to work. Do i need to restart IIS after modifying php.ini?
I finally got the solution myself. php.ini was configured to use the default temporary folder, and it seemed that my application could not write to that folder. i changed the default folder by modifying the following line: upload_tmp_dir = c:\temp But still attachments were not being sent!!! I did a phpinfo() and saw that new changes didnt take effect. So I restarted IIS and bingo, it was ok.