RE: [PHP] Re: Simple QuestionTo be honest, the book PHP4 Developer's Guide by Blake 
Schwendiman has it listed as strip_slashes().  I just happened to be reading it when I 
saw the original message and copied it as it's listed in the index.  So, rather than 
blaming him, I took the blame :).  I then grabbed the Docs and saw it didn't have the 
underscore.  Am I vindicated?

Gaylen
[EMAIL PROTECTED]
Home http://www.gaylenandmargie.com
PHP KISGB v2.6 Guest Book http://www.gaylenandmargie.com/phpwebsite

  ----- Original Message ----- 
  From: Martin Towell 
  To: 'Gaylen Fraley' ; [EMAIL PROTECTED] 
  Sent: Wednesday, December 12, 2001 10:56 PM
  Subject: RE: [PHP] Re: Simple Question


  you look at the docs or did you do it the trail-and-error way? 

  -----Original Message----- 
  From: Gaylen Fraley [mailto:[EMAIL PROTECTED]] 
  Sent: Thursday, December 13, 2001 3:22 PM 
  To: [EMAIL PROTECTED] 
  Subject: Re: [PHP] Re: Simple Question 



  Nope.  fatfingered :)  stripslashes() is correct! 

  -- 
  Gaylen 
  [EMAIL PROTECTED] 
  Home http://www.gaylenandmargie.com 
  PHP KISGB v2.6 Guest Book http://www.gaylenandmargie.com/phpwebsite 

  "Martin Towell" <[EMAIL PROTECTED]> wrote in message 
  [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... 
  > Gaylen is prob right - I didn't check me syntax :( 
  > 
  > -----Original Message----- 
  > From: Tom Ray [mailto:[EMAIL PROTECTED]] 
  > Sent: Thursday, December 13, 2001 3:11 PM 
  > To: Gaylen Fraley 
  > Cc: [EMAIL PROTECTED] 
  > Subject: Re: [PHP] Re: Simple Question 
  > 
  > 
  > oh no, Iv'e gotten two answers... 
  > 
  > stripslashes() and strip_slashes() 
  > 
  > which one? which one?! <G> 
  > 
  > Gaylen Fraley wrote: 
  > 
  > >strip_slashes() 
  > > 
  > >-- 
  > >Gaylen 
  > >[EMAIL PROTECTED] 
  > >Home http://www.gaylenandmargie.com 
  > >PHP KISGB v2.6 Guest Book http://www.gaylenandmargie.com/phpwebsite 
  > > 
  > >"Tom Ray" <[EMAIL PROTECTED]> wrote in message 
  > >[EMAIL PROTECTED]">news:[EMAIL PROTECTED]... 
  > > 
  > >>I have a quick question that I haven't been able to find the answer to 
  > >>yet. I've made a couple of guest books via PHP but the biggest problem 
  > >>I'm having is if any one inputs a ' or " or anything like that, the 
  > >>output in the book shows the stupid \ for the escape. So the word 
  > >>"Tom's" looks like "Tom\'s" Is there anyway for me to handle those 
  > >>characters so the backslash doesn't appear in the output? 
  > >> 
  > >>Thanks, 
  > >>Tom 
  > >> 
  > > 
  > > 
  > > 
  > 
  > 




  -- 
  PHP General Mailing List (http://www.php.net/) 
  To unsubscribe, e-mail: [EMAIL PROTECTED] 
  For additional commands, e-mail: [EMAIL PROTECTED] 
  To contact the list administrators, e-mail: [EMAIL PROTECTED] 

Reply via email to