Jump to content

header function not working


Ajmal

Recommended Posts

Hi all experts,I have a problem with header function.I want to sent email to user on user registration. For this i have face some problem in that site and finally i redirect that registration page to other site. So my problem is solve and mail is sent successfully sent to user. But there is a big problem that from that site i want to redirect that page after it sending mail to the previous site. But an error occur after sending mail that "no file to speciffied" and in url there is different url which i give in header function.Now what should i do..........I have a big problem please help me...........my header code is

<?php	header("location:http://www.abcd.com/register.php");	exit;?>

Link to comment
Share on other sites

Try it with a big "L", like

<?php	header("Location:http://www.abcd.com/register.php");	exit;?>

Link to comment
Share on other sites

Thanks.I try it but it also not working..

<?php   header("Location: http://www.abcd.com/TrainingReg.php");   exit;?>

Error message is"No input file specified"

Link to comment
Share on other sites

Is this the only code you have? I'm assuming not... could you give us the complete code. The issue is not here. It's in some place in another file that's part of your code.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...