/ Published in: PHP
I used this as an include on every page to redirect every page incl arguments from .com to .de
Expand |
Embed | Plain Text
// redirects ------------------------------------------------------------------------------------------------------------- $page = new page; if ( $count >= 1 ) { $page->redirect($new_url); } // redirects end --------------------------------------------------------------------------------------------------------- class page { var $page; function page() { $this->page = "http://".$_SERVER['SERVER_NAME'].$_SERVER['REQUEST_URI']; } function redirect($href) { } }
You need to login to post a comment.
