Forum Moderators: coopster

Message Too Old, No Replies

fopen + session

         

nanat

9:01 am on May 15, 2009 (gmt 0)

10+ Year Member



how can u the get file with in session and print it?

any idea? T_T

tnx :D

penders

10:22 am on May 15, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Hhhmmm, I'm not sure that I understand, can you explain a bit more?

nanat

12:39 am on May 18, 2009 (gmt 0)

10+ Year Member



i want to get the file with the folder by using


$handle = fopen('files/', "r");
$data = session_encode;
"html files"

at the same time the files is in the session


if ((isset($_SESSION["UID"])) && ($_SESSION["UID"] != ''))
{
else
{
echo '<script type="text/javascript">alert("Access Denied!");location.href="index.php";
</script>';
}

at print it using.


window.print

any idea? tnx :D