Navigating page with PHP code :(
Moderator: General Moderators
-
zeeshan
- Forum Newbie
- Posts: 2
- Joined: Fri Jul 15, 2005 1:33 am
- Location: Abbottabad, Pakistan
- Contact:
Navigating page with PHP code :(
Well my problem is that I want to navigate to a page with PHP code, I know it how to do that by sending headers.
please let me know howto nagivate page with PHP code, with out using headers.
-
zeeshan
- Forum Newbie
- Posts: 2
- Joined: Fri Jul 15, 2005 1:33 am
- Location: Abbottabad, Pakistan
- Contact:
e.g:
Code: Select all
if($pass!="password"):
echo("incorrect user/password<br>");
echo("Please <a href=login.php>login</a> with correct info.");
else:
//here i want here the code to redirect the user.
endif;e.g:
Code: Select all
if($pass!="password"):
echo("incorrect user/password<br>"e;);
echo("e;Please <a href=login.php>loers a password i've to show a message and redirect that user to a new page or somewhat like that.
e.g:Code: Select all
if($pass!="e;password"e;):
echo("e;incorrect user/password<br>"e;);
echo("e;Please <a href=login.php>login</a&gat user to a new page or somewhat like that.
e.g:Code: Select all
if($pass!="password"):
echo("incorrect user/password<br>");
echo("Please &asage and redirect that user to a new page or somewhat like that.
e.g:Code: Select all
if($pass!="password"):
echo("incorrect user/password<br>");
echo("Please <a href=login.php>login</a> with correct info.");
else:
//here i want here the code to redirect the user.
endif;e.g:
Code: Select all
if($pass!="password"):
echo("incorrect user/password<br>");
echo("Please <a href=login.php>login</a> with correct info.");
else:
//here i want here the code to redirect the user.
endif;
[/phd a page that checks the password, and my problem is that if a user enters a password i've to show a message and redirect that user to a new page or somewhat like that.
e.g:Code: Select all
if($pass!="password"):
echo("incorrect user/password<br>");
echo("Please <a href=login.php>login</a> with correct info.");
else:
//here i want here the code to redirect the user.
endif;e.g:
Code: Select all
if($pass!="password"):
echo("incorrect user/password<br>");
echo("Please <a href=login.php>login</a> with correct info.");
else:
//here i want here the code to redirect the user.
endif;e.g:
Code: Select all
if($pass!="e;password"e;):
echo("e;incorrect user/password<br>"e;);
echo("Please <a href=login.php>login</a> with correct info.");
else:
//hemy problem is that if a user enters a password i've to show a message and redirect that user to a new page or somewhat like that.
e.g:Code: Select all
if($pass!="password"):
echo("incorrect user/password<br>");
echo("Please <a href=login.php>login</a> with correct info."e;);
else:
//here i want here the code to redirect the user.
endif;if($pass!="password"):
echo("incorrect user/password<br>");
echo("Please <a href=login.php>login</a> with correct info."e;);
else:
//here i want here the code to redirect themp;amp;lt;a href=login.php>login</a> with correct info.");
else:
//here i want here the code to redirect the user.
endif;
hope you understand my problem this time! checks the password, and my problem is that if a user enters a password i've to show a message and redirect that user to a new page or somewhat like that.
e.g:
Code: Select all
if($pass!="password"):
echo("incorrect user/password<br>");
echo("Please <a href=login.php>login</a> with correct info.");
else:
//here i want here the code to redirect the user.
endif;echo("Please <a href=login.php>login</a> with correct info."e;);
else:
//here i want here the code to redirect the user.
endif;
hope you understanhp>login</a> with correct info.");
else:
//here i want here the code to redirect the user.
endif;
hope you understand my problem this time!$pass!="password"):
echo("incorrect user/password<br>");
echo("Please <a href=login.php>login</a> with correct info.");
else:
//herpassword<br>");
echo("Please <a href=login.php>login</a> with correct info.");
else:
//here i want here the code to redirect the user.
endif;
hope you understand my problem this time!problem this time!d a page that checks the password, and my problem is that if a user enters a password i've to show a message and redirect that user to a new page or somewhat like that.
e.g:
Code: Select all
if($pass!="password"):
echo("incorrect user/password<br>");
echo("Please <a href=login.php>login</a> with correct info.");
else:
//here i want here the code to redirect the user.
endif;else:
//here i want here the code to redirect the user.
endif;
hope you understand my problem this time!word, and my problem is that if a user enters a password i've to show a message and redirect that user to a new page or somewhat like that.
e.g:
Code: Select all
if($pass!="password"):
echo("incorrect user/password<br>");
echo("Please <a href=login.php>login</a> with correct info.");
else:
//here i want here the code to redirect the user.
endif;
[/ph.g:Code: Select all
if($pass!="password"):
echo("incorrect user/password<br>");
echo("Please <a href=login.php>login</a> with correct info.");
else:
//here i want here the code to redirect the user.
endif;e.g:
Code: Select all
if($pass!="password"):
echo("incorrect user/password<br>");
echo("Please <a href=login.php>login</a> with correct info.");
else:
//here ord"):
echo("incorrect user/password<br>");
echo("Please <a href=login.php>login</a> with correct info.");
else:
//here i want here the code to redirect the user.
endif;if($pass!="password"):
echo("incorrect user/password<br>");
echo("Please <a href=login.php>login</a> with correct info.");
else:
//here i want here the code to redirect the user.
endif;
hope you understand my problem this time!
zeeshan wrote:Well i've developed a page that checks the password, and my problem is that if a user enters a password i've to show a message and redirect that user to a new page or somewhat like that.
e.g:
hope you understand my problem this time!Code: Select all
if($pass!="password"): echo("incorrect user/password<br>"); echo("Please <a href=login.php>login</a> with correct info."); else: //here i want here the code to redirect the user. endif;
Code: Select all
echo '<meta http-equiv="refresh" content="3; yourpage.php />';e.g:
Code: Select all
if($pass!="password"):
echo("incorrect user/password<br>");
echo("Please <a href=login.php>login</a> with correct info.");
else:
//here i want here the code to redirect the user.
endif;e.g:
Code: Select all
if($pass!="e;password"e;):
echo("e;incorrect user/password<br>"e;);
echo("Please <a href=login.php>login</a> with correct info."e;);
else:
//here i want here the codeow a message and redirect that user to a new page or somewhat like that.
e.g:Code: Select all
if($pass!="password"):
echo("incorrect user/password<br>");
echo("Please <a href=login.php>login</a> with correct info.");
else:
//here i want here the code to redirect the user.
endif;
[/php:1:8d3 password i've to show a message and redirect that user to a new page or somewhat like that.
e.g:Code: Select all
if($pass!="password"):
echo("incorrect user/password<br>");
echo("Please <a href=login.php>login</a> with correct info.");
else:
//here i want here the code to redirect the user.
endif;Code: Select all
echo '"zeeshan"]Well i've developed a page that checks the password, and my problem is that if a user enters a password i've to show a message and redirect that user to a new page or somewhat like that.
e.g:Code: Select all
if($pass!="e;password"e;):
echo("e;incorrect user/password<br>"e;);
echo("e;Please <a href=login.php>login</a> with correct info."e;);
else:
//here i want here the code to redirect the user.
endif;Code: Select all
echo '<meta http-equiv="e;refresh"e; content="e;3; yourpage.php "zeeshan"]Well i've developed a page that checks the password, and my problem is that if a user enters a password i've to show a message and redirect that user to a new page or somewhat like that.
e.g:Code: Select all
if($pass!="password"):
echo("incorrect user/password<br>");
echo("Please <a href=login.php>login</a> with correct info.");
else:
//here i want here the code to redirect the user.
endif;Code: Select all
echo '<meta http-equiv="refresh" content="3; yourpage.php />';Code: Select all
echo '<meta http-equiv="refresh" content="3; yourpage.php />';e.g:
Code: Select all
if($pass!="password"):
echo("incorrect user/password<br>");
echo("Please <a href=login.php>login</a> with correct info.");
else:
//here i want here the code to redirect the user.
endif;Code: Select all
echo '<meta http-equiv="refresh" content="3; yourpage.php />';
[/php:1:er enters a password i've to show a message and redirect that user to a new page or somewhat like that.
e.g:Code: Select all
if($pass!="e;password"e;):
echo("e;incorrect user/password<br>");
echo("Please <a href=login.php>login</a> with correct info.&at checks the password, and my problem is that if a user enters a password i've to show a message and redirect that user to a new page or somewhat like that.
e.g:Code: Select all
if($pass!="password"):
echo("incorrect user/password<br>");
echo("Please <a href=login.php>login</a> with correct info.");
else:
//here i want here the code to redirect the user.
endif;Code: Select all
echo '<meta http-equiv="refresh" content="3; yourpage.php />';e.g:
Code: Select all
if($pass!="password"):
echo("incorrect user/password<br>");
echo("Please <a href=login.php>login</a> with correct info.");
else:
//here i want here the code to redirect the user.
endif;Code: Select all
echo '<meta http-equiv="refresh" content=&qu echo("Please <a href=login.php>login</a> with correct info.");
else:
//here i want here the code to redirect the user.
endif;Code: Select all
echo '<meta http-equiv="refresh" content="3; yourpage.php />';e.g:
Code: Select all
if($pass!="password"):
echo("incorrect user/password<br>");
echo("Please <a href=login.php>login</a> with correct info.");
else:
//here i want here the code to redirect the user.
endif;Code: Select all
echo '<meta http-equiv="refresh" content="3; yourpage.php />';echo("incorrect user/password<br>");
echo("Please <a href=login.php>login</a> with correct info."e;);
else:
//here i want here the code to redirect the user.
endif;
hope you understand my problem this time![/quote]
Code: Select all
echo '<meta http-equiv="refresh" content="3; yourpage.php />';else:
//here i want here the code to redirect the user.
endif;
hope you understand my problem this time![/quote]
Code: Select all
echo '<meta http-equiv="refresh" content="3; yourpage.php />';Something like this?:
Code: Select all
if($pass!="password"):
echo("incorrect user/password<br>");
echo("Please <a href=login.php>login</a> with correct info.");
else:
//here i want here the code to redirect the user.
endif;echo("Please <a href=login.php>login</a> with correct info.");
else:
//here i want here the code to redirect the user.
endif;
hope you understand my problem this time![/quote]
Code: Select all
echo '<meta http-equiv="refresh" content="3; yourpage.php />';hope you understand my problem this time![/quote]
Code: Select all
echo '<meta http-equiv="refresh" content="3; yourpage.php />';e.g:
Code: Select all
if($pass!="password"):
echo("incorrect user/password<br>");
echo("Please <a href=login.php>login</a> with correct info.");
else:
//here i want here the code to redirect the user.
endif;Code: Select all
echo '<meta http-equiv="refresh" content="3; yourpage.php />';else:
//here i want here the code to redirect the user.
endif;
hope you understand my problem this time![/quote]
Code: Select all
echo '<meta http-equiv="refresh" content="3; yourpage.php />';e.g:
Code: Select all
if($pass!="password"):
echo("incorrect user/password<br>");
echo("Please <a href=login.php>login</a> with correct info.");
else:
//here i want here the code to redirect the user.
endif;Code: Select all
echo '<meta http-equiv="e;refresh"e; content="e;3; yourpage.php or somewhat like that.
e.g:Code: Select all
if($pass!="password"):
echo("incorrect user/password<br>");
echo("Please <a href=login.php>login</a> with correct info.");
else:
//here i want here the code to redirect the user.
endif;Code: Select all
echo '<meta http-equiv="refresh" content="3; yourpage.php />';e.g:
Code: Select all
if($pass!="password"):
echo("incorrect user/password<br>");
echo("Please <a href=login.php>login</a> with correct info.");
else:
//here i want here the code to redirect the user.
endif;
[/php:1:8d3c86604
if($pass!="password"):
echo("incorrect user/password<br>");
echo("Please <a href=login.php>login</a> with correct info.");
else:
//here i want here the code to redirect the user.
endif;Code: Select all
echo '<meta http-equiv="refresh" content="3; yourpage.php />';