php guestbook

heya, i’ve been focusing on a php guestbook – http: //photography. aesthetic-design. corp. uk/cms/view. php do you would imagine that anybody may wish to download it once i finish it
furthermore, does it work correctly as part of your browser
thanks plenty,
Solidgold

It can work correctly, and it’s very great
I think many people might download it as long as they knew about it

Someone here was asking individual about a invitee book script. I just think people would down load it, if presented, as long since it is somewhat tailor-made.

thanks plenty guys!
chris – its about completely customizable simply because it’s all formed with css
with thanks again,
Solidgold

i’ve added a bit admin box to be able to let people place messages to everybody that comments these people etc – just to make it simpler really, I can’t imagine any ideas concerning a logo even though, anybody got virtually any

basically, i’ve been likely mad over this for hours on end – i dont realize how to add security that will my guestbook script, how would my partner and i go about ensuring no malicious man or women posts an xss and also similar on my personal site
recommendations my code, i’ve tried everything, but i just now don’t know enough yet, please aid me!

PHP:


  < php 

$self  $_SERVER  'PHP_SELF';  
$name  $_POST'name';  
$email  $_POST'email';  
$comments  $_POST'comments';  
$submit  $_POST'submit';  

#the  html  form 
$form  "< form  action\"$self\"  method=\"post\"  name=\"form\"  onSubmit=\"return  Check()\"> ";  
$form. =  "< input  type=\"text\"  value=\"Name\"  name=\"name\"  class=\"formbutton2\"  ";  
$form. =  "size=\"50\"  value=\"$name\">   < br> ";  
$form. =  "< input  type=\"text\"  value=\"Website  Address  (without  http: //)\"  name=\"email\"  class=\"formbutton2\"  ";  
$form. =  "size=\"50\"  value=\"$email\">   < br> ";  
$form. =  "< span  class=\"content\"> Feedback: < /span> < br> ";  
$form. =  "< textarea  name=\"comments\"  class=\"formbutton3\"  ";  
$form. =  "rows=\"4\"> $comments< /textarea>   < br> ";  
$form. =  "< input  type=\"submit\"  name=\"submit\"  class=\"formbutton\"  ";  
$form. =  "value=\"Sign\"> < /form> ";  

#on  first  opening  display  the  form 
if  ( ! $submit)    $msg  $form;    

#or  redisplay  a  message  and  the  form  if  incomplete 
else  if  ( ! $name  or ! $email  or ! $comments
 
$msg  "< b> Please  complete  all  fields< /b> < br> < br> ";  
$msg<

This entry was posted in Web Design and tagged , , , , , , , , , , , , , . Bookmark the permalink.

Related Posts

Leave a Reply

Your email address will not be published. Required fields are marked *