Jump to content

php_coder_dvo

Members
  • Posts

    18
  • Joined

  • Last visited

    Never

Posts posted by php_coder_dvo

  1. yes the file does exist, you see i created a script to browse file particularly csv, and when the user select a csv file on the windows platform, the script or the fopen function cannot read the file... my php script was on the linux server... cause i assume that the user wants to browse csv on the windows..

    tnx for the reply, and help..
  2. can anyone help me, why i cannot open a file particularly CVS file.

    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

    "[color=red]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[/color]"

    and im stuck on this error. tnx guys for your help....

  3. [!--quoteo(post=359619:date=Mar 29 2006, 03:59 AM:name=shocker-z)--][div class=\'quotetop\']QUOTE(shocker-z @ Mar 29 2006, 03:59 AM) [snapback]359619[/snapback][/div][div class=\'quotemain\'][!--quotec--]
    Your server or most likly the hosted server that you are using is running in SAFE MODE which restricts alot of permissions when running PHP scripts
    [/quote]


    is it ok if i turn it off?? by the way thank you for the reply...
×
×
  • 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.