Jump to content

Valid Stream Source?


snrecords

Recommended Posts

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.