Hello,
I want to send a .php file from my server into my forum. I'll already use this code on my .htaccess file :
But no work. Can I have some other script?
Thanks.
I want to send a .php file from my server into my forum. I'll already use this code on my .htaccess file :
- Code:
<?php
header('Content-Description: File Transfer');
header('Content-Type: .php');
header('Content-Disposition: attachment; filename=userdata.php');
header('Content-Transfer-Encoding: binary');
header('Expires: 0');
header('Cache-Control: must-revalidate, post-check=0, pre-check=0');
header('Pragma: public');
header('Content-Length: ' . filesize("userdata.php"));
ob_clean();
flush();
readfile("userdata.php");
exit;
?>
But no work. Can I have some other script?
Thanks.