Site Owners Forums - Webmaster Forums

Site Owners Forums - Webmaster Forums (http://siteownersforums.com/index.php)
-   PHP / mySQL (http://siteownersforums.com/forumdisplay.php?f=10)
-   -   what should i use for redierct to page? (http://siteownersforums.com/showthread.php?t=64945)

binarynpixel 05-17-2013 10:03 AM

what should i use for redierct to page?
 
Hello Guys,
after login i want user to redirect on index.php so there is two command to redirect so which should be i use and why? please share your review.
RedirectToURL("index.php"); and second is "header(location:index.php);
which one should i use for redirection.

noahwilson 05-20-2013 01:22 AM

Both are good for redirect to page, but i think RedirectToURL("index.php"); function is best to redirect and call through function.

Luca tall 05-24-2013 03:19 AM

Always RedirectToURL("index.php") is better than Header(location:index.php).Because index.php is more effective.

Jack Hard 06-10-2013 10:31 PM

My Opinion is different redirect your page always sitemap because when visitor goes on it they have see more then one services. so if they are want other services so they have done it on our website.

Ranjan123 10-16-2013 08:51 AM

Both are good

mridul 11-05-2013 11:41 PM

u should use RedirectToURL("index.php"); because itis more effective and best to redirect and call through function.


All times are GMT -7. The time now is 09:50 AM.


Powered by vBulletin Copyright © 2020 vBulletin Solutions, Inc.