// Redirect to WWW
public function WWWRedirect() {
if ($this-WWW == false) {
$redir = Location: http://www.; . $_SERVER['SERVER_NAME'] .
$_SERVER['REQUEST_URI'];
header($redir);
}
}
Regards,
Anjan Upadhya
nihilism machine wrote:
?php
class URL
Anjan Upadhya wrote:
// Redirect to WWW
public function WWWRedirect() {
if ($this-WWW == false) {
$redir = Location: http://www.; . $_SERVER['SERVER_NAME'] .
$_SERVER['REQUEST_URI'];
header($redir);
}
}
Regards,
Anjan Upadhya
nihilism machine
thank you everyone!
On Feb 15, 2008, at 3:53 PM, Nathan Rixham wrote:
Anjan Upadhya wrote:
// Redirect to WWW
public function WWWRedirect() {
if ($this-WWW == false) {
$redir = Location: http://www.; .
$_SERVER['SERVER_NAME'] . $_SERVER['REQUEST_URI'];
?php
class URL {
// Public Variables
public $HTTPS;
public $ServerName;
public $WWW;
// Public Functions
public function __construct() {
$this-checkWWW();
}
// Check if site is preceeded
4 matches
Mail list logo