Re: [PHP] Stopping stolen / spoofed / linked sessions

2001-06-28 Thread Stephen Cope
me session tokens that get reissued after each request and then invalidated. Breaks reloads and back functionality. Turu. -- Stephen Cope - http://sdc.org.nz/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PRO

Re: [PHP] Filtering out \ when a ' is user entered?

2001-06-28 Thread Stephen Cope
ipslashes($what_they_said); This also will convert \n to a new line, etc, in the string. If you don't want that, and just want to rip any \ characters out (assuming your users *never* enter a slash intentionally) then try: $what_they_said = ereg_replace("\\", '', $what_they_s