Genius_cd Posted December 9, 2008 Share Posted December 9, 2008 hello guys i'm new to this forum and i need help on some function in php I'm using php on my pc @ home i configured php manually to work with IIS 5.1 on xp sp3 it's working...everything is just fine but here is the problem in some file, i'm using an upload function wich is move_uploaded_file() to upload(in an other word to move the file to another location since i'm using my pc) well the script is working 100% on a web server...but now on my pc is there anything that i must configure it to allow php to move the files on windows xp?? is there any .dll file i must use or something?? please HELP! Link to comment https://forums.phpfreaks.com/topic/136188-function-move_upload_file-on-iis-not-working/ Share on other sites More sharing options...
PFMaBiSmAd Posted December 9, 2008 Share Posted December 9, 2008 Add the following two lines immediately after your first opening <?php tag in the form processing code - ini_set ("display_errors", "1"); error_reporting(E_ALL); Link to comment https://forums.phpfreaks.com/topic/136188-function-move_upload_file-on-iis-not-working/#findComment-710368 Share on other sites More sharing options...
Genius_cd Posted December 9, 2008 Author Share Posted December 9, 2008 no error displayed Link to comment https://forums.phpfreaks.com/topic/136188-function-move_upload_file-on-iis-not-working/#findComment-710375 Share on other sites More sharing options...
PFMaBiSmAd Posted December 9, 2008 Share Posted December 9, 2008 You would need to post your form and your form processing code for anyone in a Forum to be able to help you with what it is doing. Could be short open tags or register_globals that is preventing the code from being executed. Link to comment https://forums.phpfreaks.com/topic/136188-function-move_upload_file-on-iis-not-working/#findComment-710498 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.