Jump to content

Gary Tactic

Members
  • Posts

    8
  • Joined

  • Last visited

    Never

About Gary Tactic

  • Birthday 11/08/1986

Contact Methods

  • Website URL
    http://boxtactic.net

Profile Information

  • Gender
    Not Telling
  • Location
    UK, Bristol

Gary Tactic's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. 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
  2. [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
  3. [!--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!
  4. [!--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");
  5. 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
  6. 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">
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.