Re: guest book problem !!

From: Alvaro G Vicario (alvaro_QUITAR_REMOVE_at_telecomputeronline.com)
Date: 09/20/04


Date: Mon, 20 Sep 2004 10:00:37 +0200


*** sumon wrote/escribió (19 Sep 2004 23:20:21 -0700):
> I want to create a guest book using php .It includes
> name ,email,comments field .
> But if name is like ab'hh or comment has " ..then it
> creates problem .. I want to know is there any function
> that helpme to take any kind of input that are given by user !!

What kind of problems? If you are using a MySQL database and quotes make
your SQL query fail, you have mysql_escape_string(). If that's not the
problem, well, this can or can't be the solution :)

Next time please give us some information.

-- 
-- Álvaro G. Vicario - Burgos, Spain
-- Thank you for not e-mailing me your questions
--


Relevant Pages

  • Re: Security Needed!
    ... I need a security feature for my guest book. ... efficently enough in PHP... ... would never had thought of this script. ... called side by side to form a series of alpha and numeric symbols the ...
    (alt.php)
  • Re: Blocking web address from guest book
    ... There are no 3rd Party Guest Books that work with the FP extensions. ... Do a search for a 3rd Party PHP ... > I am looking for a third party 'guest book' that will work with FP ...
    (microsoft.public.frontpage.client)
  • Re: php noobie
    ... I am completely new to PHP but I have to do a site which uses a little ... I would google for the code of a guest book. ... and in particular google code ...
    (comp.lang.php)
  • Re: php noobie
    ... I am completely new to PHP but I have to do a site which uses a little ... bit of this language. ... accept data entered by a user and store it in mySQL. ... I would google for the code of a guest book. ...
    (comp.lang.php)