and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]
im trying to run this sript and its saying the file is not found
[quote]File '\home\computer\public_html\cw.csv' not found (Errcode: 2)[/quote]
from the web site of my hosting (http://www.mdwebhosting) it has the dirctory structor as:
[quote]
Path to User files The path to your user files on Hosting, Budget Hosting, Linux Reseller Hosting, eShops is /home/username/public_html (replace username with your hosting name)
[/quote]
[syntax="sql"]
LOAD DATA LOCAL INFILE '/home/computer/public_html/cw.csv'
INTO TABLE `newprice list`
FIELDS TERMINATED BY ','
LINES TERMINATED BY '\n'
and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]
Just because their documentation says the location of your home directory does not mean it is correct.
They may have changed the server config and not updated their documentation, surely not
I would email the host and ask them.
Do you have shell access to the server?
What about permissions on the file. If the webserver user (thats what php myadmin will be running as) doesnt have read access to the file will it produce that error?