Answered by : shivansh-shukla-mqwkwgzmqtl0
<?php
header("Access-Control-Allow-Origin: *");
header("Access-Control-Allow-Headers: *");
...
Source : https://stackoverflow.com/questions/8719276/cross-origin-request-headerscors-with-php-headers | Last Update : Fri, 28 Aug 20
Answered by : bored-beaver-ei7bz9exyli9
<?php
// This will just redirect you to example.com
header("Location: https://example.com");
?>
Source : | Last Update : Mon, 20 Apr 20
Answered by : kaotik
<?php
// This will just redirect you to example.com
$url = "https://example.com";
header("Location: $url");
?>
Source : | Last Update : Fri, 20 Mar 20
Answered by : ankur-prajapati
/*
This will just redirect you to example.com
*/
<?php
$url = "https://example.com";
header("Location: $url");
exit;
?>
/* I hope it will help you. Namaste */
Source : | Last Update : Thu, 14 May 20
Answered by : selfish-stag-ujarn091fmzo
<html>
<?php
/* This will give an error. Note the output
* above, which is before the header() call */
header('Location: http://www.example.com/');
exit;
?>
Source : https://www.php.net/manual/en/function.header.php | Last Update : Thu, 23 Apr 20
Answered by : vikas
<?php
// This will redirect to google.com
$url = "https://google.com";
header("Location: $url");
?>
Source : | Last Update : Thu, 16 Jul 20
Answered by : rizwan-d3r0pcs9up43
<?php
// Redirect to mywebsite.com
header("location:https://mywebsite.com");
?>
Source : | Last Update : Tue, 11 May 21
Answered by : hassan-aslam
<?php
header('Location: http://www.example.com/');
?>
Source : | Last Update : Mon, 22 Aug 22
Answered by : wicked-walrus-upwrul2vivaj
header('Location: http://www.example.com/');
Source : | Last Update : Sun, 24 May 20
Answered by : fancy-flatworm-7imy9ovj7bjb
<?php
header('Content-Type: text/html; charset=utf-8')
?>
Source : | Last Update : Fri, 17 Jun 22
Answered by : oldfashioned-ox-df3se66uz8xl
header('Location: Enter Website');
Source : | Last Update : Fri, 09 Jul 21