My file function doesnt seem to want to open my file in a folder.
$lines = file('/download/test.xls');
My file function doesnt seem to want to open my file in a folder.
$lines = file('/download/test.xls');
/download/
means that folder is in the webroot, not in the root of your drive. Is this the correct path?
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.