Go Back   Computer Juice > Computer Software > Web Design & Programming
Register Members New Posts Donate Unanswered Posts Site Spy Search


Reply
 
Thread Tools
 # 1  
Old 10-02-2008, 07:28 PM
MySlowQuietLife's Avatar
MySlowQuietLife   United Kingdom
CJ Member
 
MySlowQuietLife is offline
 
Join Date: Feb 2008
Posts: 54
iTrader: ( 0 )
MySlowQuietLife is on a distinguished road
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:
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
Reply With Quote
 # 2  
Old 12-02-2008, 04:25 PM
leoh187's Avatar
leoh187   United Kingdom
CJ Donator
 
leoh187 is offline
 
Join Date: Nov 2007
Posts: 55
iTrader: ( 0 )
leoh187 is on a distinguished road
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
Reply With Quote
 # 3  
Old 12-02-2008, 08:04 PM
MySlowQuietLife's Avatar
MySlowQuietLife   United Kingdom
CJ Member
 
MySlowQuietLife is offline
 
Join Date: Feb 2008
Posts: 54
iTrader: ( 0 )
MySlowQuietLife is on a distinguished road
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
Reply With Quote
 # 4  
Old 12-02-2008, 08:06 PM
No Avatar
Jase123   England
CJ Banned Member
 
Jase123 is offline
 
Join Date: Sep 2007
Posts: 201
iTrader: ( 0 )
Jase123 is on a distinguished road
Default help with my captcha

What forum software are you using?

Regards Jason
Reply With Quote
 # 5  
Old 12-02-2008, 08:07 PM
leoh187's Avatar
leoh187   United Kingdom
CJ Donator
 
leoh187 is offline
 
Join Date: Nov 2007
Posts: 55
iTrader: ( 0 )
leoh187 is on a distinguished road
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
Reply With Quote
 # 6  
Old 14-02-2008, 04:22 PM
MySlowQuietLife's Avatar
MySlowQuietLife   United Kingdom
CJ Member
 
MySlowQuietLife is offline
 
Join Date: Feb 2008
Posts: 54
iTrader: ( 0 )
MySlowQuietLife is on a distinguished road
Default help with my captcha

[FONT='Times New Roman']it says unexpected T_UNSET c:/www/localhost/sendmail.php on line 17[/FONT]
[FONT='Times New Roman']thanks alot leoh187![/FONT]
Reply With Quote
 # 7  
Old 14-02-2008, 04:24 PM
MySlowQuietLife's Avatar
MySlowQuietLife   United Kingdom
CJ Member
 
MySlowQuietLife is offline
 
Join Date: Feb 2008
Posts: 54
iTrader: ( 0 )
MySlowQuietLife is on a distinguished road
Default help with my captcha

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

Please support this forum, donate towards our running costs.


Reply


Thread Tools
Show Printable Version Show Printable Version
Email this Page Email this Page

Forum Jump


Copyright ©2006 - 2008 Computer Juice.
Contact Us - Computer Juice - Sitemap - Privacy Statement - Top

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