speedyrudolf
Programmer
Hi. I'm trying to get php to fetch some files, but I can't figure out how to do it...here is the code..
I have tried with no quotation marks, no apostrophe, quotation marks instead of apostrophe, but it always sais "Error: file does not exist" of another (very long) error on line 5. Any help is very much appreciated. Bye.
Code:
<?php
require("class.easyzip.php");
$zip = new EasyZip;
$zip -> addFile("$_POST['Fis_lay']");
$zip -> addFile("$_POST['Fis_lay']");
$zip -> splitFile("site.zip", 50000);
echo 'Attachment has been sent Successfully.';
?>
I have tried with no quotation marks, no apostrophe, quotation marks instead of apostrophe, but it always sais "Error: file does not exist" of another (very long) error on line 5. Any help is very much appreciated. Bye.