Hi all,
I am using fopen to get a csv filename and when I try to specify a path that is over 50 characters, it complains "Filename: 50 characters maximum."
Here is my code:
$handle = fopen($Filename, "r") or die('Could not open "' . $Filename . '"');
while (($data = fgetcsv($handle, 1000, ",")) !== FALSE) {
$num = count($data);
for ($c=0; $c < $num; $c++) {
$row[$c] = $data[$c];
}
//insert into table code
}
fclose($handle);
I checked my php.ini and I dont see that it is causing this error.
I am stumped.
As always, I appreciate the help.
regards,
Don