using following code to load a csv into php, when hard coded works fine, however when I echo the path I get the following:
f:\\pathname\\filename.csv
the php code work fine when hard coded however I found extra \\ between each path seperator
the code:
$path=$_POST['csvselect'];
$file_path=$csv_file['path'];
$file = @fopen($file_path, "r")
or die("CSV file not found.");
can anyone assit??
f:\\pathname\\filename.csv
the php code work fine when hard coded however I found extra \\ between each path seperator
the code:
$path=$_POST['csvselect'];
$file_path=$csv_file['path'];
$file = @fopen($file_path, "r")
or die("CSV file not found.");
can anyone assit??