<?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>
u676522226
0
Newbie Poster
Recommended Answers
Jump to Postline 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.
All 2 Replies
Reply to this topic
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.