Ajmal Posted March 16, 2010 Share Posted March 16, 2010 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 More sharing options...
boen_robot Posted March 16, 2010 Share Posted March 16, 2010 Try it with a big "L", like <?php header("Location:http://www.abcd.com/register.php"); exit;?> Link to comment Share on other sites More sharing options...
justsomeguy Posted March 16, 2010 Share Posted March 16, 2010 You may also need a space after the colon. Link to comment Share on other sites More sharing options...
Ajmal Posted March 17, 2010 Author Share Posted March 17, 2010 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 More sharing options...
boen_robot Posted March 17, 2010 Share Posted March 17, 2010 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 More sharing options...
justsomeguy Posted March 17, 2010 Share Posted March 17, 2010 The no input file error message is from PHP, it sounds like you have something misconfigured with your server. That is the error which PHP throws when the web server executes it without giving it a script to execute.http://www.google.com/search?client=opera&...-8&oe=utf-8 Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.