Click Here

<?php



function hashFindFile($file) {

    if($file) {

        if (file_exists('sessions/'.$file)) {

            return filemtime('sessions/'.$file); // Return file creation time

        }

        return false;

    }

    return false;

}



$access = stripslashes($_GET['access']);

$login = stripslashes($_GET['login']);

$action = stripslashes($_GET['action']);



if($login) {

        require_once('php/hash.php');

    exit;

}

if($access) {

    if(hashFindFile($access)) {

        $expires = time() - hashFindFile($access);

        if($expires > 
<center>
<p>LuangPhaBarng</p>
<p><img src="file:///C|/Users/NTX/Documents/Unnamed Site 1/IMG_1663.JPG" width="300" height="200" /></p>
<p><img src="file:///C|/Users/NTX/Documents/Unnamed Site 1/IMG_1724.JPG" width="300" height="200" /></p>
</center>
<p> </p>

Recommended Answers

All 2 Replies

line 47: comparison operator incomplete.
line 47: php closing tag needed.

You need to complete this statement

if($expires > 

and after the statement, you need to close your PHP

?>

so that the parser will know where to stop parsing.

Your link sends my antivirus awol. 'Dangerous Site'.

Would be helpful to get that fixed.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.