PLS HELP. FOPEN function
Posted 29 August 2006 - 08:33 AM
here it goes, I create a scipt to open a csv file and import it to the database. Using the html input type="file" to brows a csv file. I tried it on the windows (winxp) the script works very fine, however when i upload it to my server which is linux. when i browse a csv file, i had an error
"Warning: fopen(PARTNER_REPORT_USA_.CSV): failed to open stream: No such file or directory in /opt/lampp/htdocs/freshfire.ca/cms_admin/import.php on line 8
Warning: fgetcsv(): supplied argument is not a valid stream resource in /opt/lampp/htdocs/freshfire.ca/cms_admin/import.php on line 10"
and im stuck on this error. tnx guys for your help....
Posted 29 August 2006 - 08:57 AM
(Gone until 20 to November)
Posted 29 August 2006 - 09:08 AM
tnx for the reply, and help..
Posted 29 August 2006 - 09:10 AM
and it is in CAPS
And it has the _ after usa?
Posted 29 August 2006 - 09:25 AM
Posted 29 August 2006 - 10:03 AM
Posted 29 August 2006 - 10:19 AM
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users