lesser-equity

Magazine
Go Back   Computer Juice > Computer Software > Web Design, Hosting & SEO

Register


 Default 

Help with my captcha




Reply
 
Thread Tools
  #1  
Old 10th Feb 2008, 13:28
Member Group
 
Default Help with my captcha

Hello again!

Im having a little problem with the validation markup. im using php5 and i get a parse error telling me unexpected T_UNSET blah blah.....the usual for me.

this is my code:
<?php
session_start();
if(($_SESSION['security_code'] == $_POST['security_code'])
&& (!empty($_SESSION['security_code'])) )
{
$firstname = $_REQUEST['firstname'];
$lastname = $_REQUEST['lastname'];
$city = $_REQUEST['city'];
$pictue = $_REQUEST['picture'];
$email =$_REQUEST['email'];

mail( "some email","Feedback Form Results",
$message, "From: $email");

header("location:../artist_member/thank_you1.html")
unset ($_SESSION['security_code']);
}
else
{
header ("location:../artist_member/sorry_error.html")
}
?>

am i using the wrong php syntax?

really appreciate the help.

Ben
  #2  
Old 12th Feb 2008, 10:25
Donor Group
 
Default Help with my captcha

Hi

It might be easier if we could take a look at the site, if it is an public one.

If you could give us the URL we may be able to help better.

Many Thanks

Leo
  #3  
Old 12th Feb 2008, 14:04
Member Group
 
Default Help with my captcha

no can do its not live yet if you need any other information i can give it to you

thanks for the reply very gratefull if you could help
  #4  
Old 12th Feb 2008, 14:06
Banned Group
 
Default Help with my captcha

What forum software are you using?

Regards Jason
  #5  
Old 12th Feb 2008, 14:07
Donor Group
 
Default Help with my captcha

Hi

If you could give me the exact error message it gives you with the T_USET bit that would be great.

Many Thanks

Leo
  #6  
Old 14th Feb 2008, 10:22
Member Group
 
Default Help with my captcha

'Times New Roman']it says unexpected T_UNSET c:/www/localhost/sendmail.php on line 17
'Times New Roman']thanks alot leoh187!
  #7  
Old 14th Feb 2008, 10:24
Member Group
 
Default Help with my captcha

Sorry! before that Parse error. syntax error unexpected.......
Reply

Register

Bookmarks
Thread Tools




Arabic Bulgarian Chinese (Simplified) Chinese (Traditional) Croatian Czech Danish Dutch English Finnish French German Greek Hebrew Hungarian Italian Japanese Korean Latvian Lithuanian Norwegian Polish Portuguese Romanian Russian Serbian Slovak Spanish Swedish Thai Turkish Ukrainian

Copyright ©2006 - 2009 Computer Juice.

Powered by vBulletin® Copyright ©2000 - 2009 Jelsoft Enterprises Ltd. SEO by vBSEO ©2009, Crawlability, Inc.