Hi all
I am using the following to pass a file to the client
header("Content-type: ". $row['filetype'] );
$path = ROOT_PATH . "file_uploads/";
$real_filename = $path . $row['location'] . '/' .$row['filename'];
header("Content-Disposition: attachment; filename= " . $row['filename']);
readfile($r
Thomas Hochstetter wrote:
> Hi guys,
>
> I wrote a generic getsql() function for my project's class. However, I
> only manage to retrieve a single row. What it should really do is:
> Read all rows into the array (with multiple results). The code is
> below:
>
> function getsql($sql,$conn,$dbase,
Hi all
I am having a few problems retrieving URLs from within PHP. I am using the
following to get the URL
$line) {
echo "Line #{$line_num} : " . htmlspecialchars($line) .
"\n";
}
?>
It works fine even for .htaccess protect areas unless I need to change ports
i.e I need to get some data
3 matches
Mail list logo