-
Posts
8 -
Joined
-
Last visited
Never
Posts posted by Gary Tactic
-
-
Hello,
I'm not sure if this is possible, but I would like to detect when a session ends on my website.
If that is not possible, then I would like to be able to detect active sessions.
Any help would be greatly appreciated.
Thanks,
Gary
-
[code]
header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
header('Cache-Control: no-store, no-cache, must-revalidate');
header('Cache-Control: post-check=0, pre-check=0', FALSE);
header('Pragma: no-cache');
[/code]
so far i am using the above code to stop the browser caching, this works for all browsers apart from IE/mac
any ideas?
Thanks,
Gary -
[!--quoteo(post=365707:date=Apr 17 2006, 10:55 PM:name=obsidian)--][div class=\'quotetop\']QUOTE(obsidian @ Apr 17 2006, 10:55 PM) [snapback]365707[/snapback][/div][div class=\'quotemain\'][!--quotec--]
you may just need to get rid of any white space above the header() call.
[/quote]
Wow, thank you very much, that error was driving me mad! -
[!--quoteo(post=365688:date=Apr 17 2006, 10:18 PM:name=obsidian)--][div class=\'quotetop\']QUOTE(obsidian @ Apr 17 2006, 10:18 PM) [snapback]365688[/snapback][/div][div class=\'quotemain\'][!--quotec--]
what's the error?
[/quote]
Parse error: syntax error, unexpected T_STRING on line 2
referring to:
header("Content-type: image/jpeg"); -
Hello,
I have written the following simple script to test whether my gd library is working properly.
[code]
header("Content-type: image/jpeg");
$im = imagecreatefromjpeg("./test.jpg");
imagejpeg($im,'',20);
imagedestroy($im);
[/code]
This returns an error referring to the first line of code regardless of what the line is.
I am sure this means my gd library doesn't work, but webhostfreaks says the gd library is installed fine.
any ideas of how i can get round this?
Gary -
Try going to phpBB.com
-
do you mean you want the value of that input to show $final_Realm_no?
if so you could simply just do...
<input name="realm_field" type="text" value="<? echo $final_Realm_no; ?>" size="4" maxlength="4">
Sessions
in PHP Coding Help
Posted