snrecords Posted July 14, 2008 Share Posted July 14, 2008 Please help? What does this mean? Warning: fgetcsv(): supplied argument is not a valid stream resource in /home/content/b/u/z/buzzhawa/html/inc/modules/tour/html/load_tour_form.ihtml on line 60 Do I have to change my file's permissions? here's the code around line 60 $fp = fopen($_POST['load_file_name'],"r"); $line = fgetcsv($fp,1024); load_file_name comes from a html form where the user inputs a csv file from their desktop ... Link to comment https://forums.phpfreaks.com/topic/114732-valid-stream-source/ Share on other sites More sharing options...
ratcateme Posted July 14, 2008 Share Posted July 14, 2008 you need file upload this looks for the file on the servers hard drive not the users there is no connection like that between hots and client read this http://nz.php.net/features.file-upload Scott. Link to comment https://forums.phpfreaks.com/topic/114732-valid-stream-source/#findComment-589961 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.