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
CJ Member
 
MySlowQuietLife is offline
 
Join Date: Feb 2008
Last Online: 30-03-2008 08:26 PM
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:
<?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
Digg this postDel.icio.us this postTechnorati this postNetscape this postStumble this post
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
Last Online: 14-06-2008 12:20 PM
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
Digg this postDel.icio.us this postTechnorati this postNetscape this postStumble this post
Reply With Quote
  #3  
Old 12-02-2008, 08:04 PM
MySlowQuietLife's Avatar
CJ Member
 
MySlowQuietLife is offline
 
Join Date: Feb 2008
Last Online: 30-03-2008 08:26 PM
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
Digg this postDel.icio.us this postTechnorati this postNetscape this postStumble this post
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
Last Online: 18-07-2008 11:23 AM
Posts: 201
iTrader: (0)
Jase123 is on a distinguished road
Default help with my captcha

What forum software are you using?

Regards Jason
Digg this postDel.icio.us this postTechnorati this postNetscape this postStumble this post
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
Last Online: 14-06-2008 12:20 PM
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
Digg this postDel.icio.us this postTechnorati this postNetscape this postStumble this post
Reply With Quote
  #6  
Old 14-02-2008, 04:22 PM
MySlowQuietLife's Avatar
CJ Member
 
MySlowQuietLife is offline
 
Join Date: Feb 2008
Last Online: 30-03-2008 08:26 PM
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]
Digg this postDel.icio.us this postTechnorati this postNetscape this postStumble this post
Reply With Quote
  #7  
Old 14-02-2008, 04:24 PM
MySlowQuietLife's Avatar
CJ Member
 
MySlowQuietLife is offline
 
Join Date: Feb 2008
Last Online: 30-03-2008 08:26 PM
Posts: 54
iTrader: (0)
MySlowQuietLife is on a distinguished road
Default help with my captcha

Sorry! before that Parse error. syntax error unexpected.......
Digg this postDel.icio.us this postTechnorati this postNetscape this postStumble this post
Reply With Quote

Please support this forum, donate towards our running costs.


Reply


Thread Tools

Forum Jump


Copyright ©2006 - 2008 Computer Juice.

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