mirror of https://git.envs.net/envs/help.git
website: shorter php redirect example
This commit is contained in:
parent
c6f0806ee1
commit
33d2a3b86b
|
@ -55,8 +55,5 @@ example `index.html`:
|
|||
```
|
||||
example `index.php`:
|
||||
```php
|
||||
<?php
|
||||
header('Location: https://www.w3docs.com/', true, 302);
|
||||
exit();
|
||||
?>
|
||||
<?php header('Location: https://www.w3docs.com/', true, 302); exit(); ?>
|
||||
```
|
||||
|
|
Loading…
Reference in New Issue