How to redirect one page to another page in php

20-03-2017 redirect php

There are some methods to redirect in php.

$url = 'www.google.com';
redirect($url);

and next method for redirection

echo "<script>window.location=window.location</script>";

 

You might also like:

How to use http-post request in node js
14-03-2017 http-post module node js
Get previous date from given date in javascript
06-03-2017 date javascript previous date
Sample Validations in javascript
22-02-2017 validations javascript
Email validation regular expression in javascript
22-02-2017 email validation regex
Get random strings from given string In javascript
21-02-2017 javascript random string