note 76145 added to function.include

From: Date: Tue, 03 Jul 2007 00:22:11 +0000
Subject: note 76145 added to function.include
Groups: php.notes 
Request: Send a blank email to php-notes+get-128164@lists.php.net to get a copy of this message
In response to oasis1 below, I use mod_rewrite to pipe all my requests through the index.php file, so I'm able to use the below code to find the root directory: $sRoot = $_SERVER['HTTP_HOST'] . dirname($_SERVER['SCRIPT_NAME']); You may be able to modify it to suit yourself. ---- Server IP: 203.16.234.91 Probable Submitter: 203.88.112.129 ---- Manual Page -- http://www.php.net/manual/en/function.include.php Edit -- https://master.php.net/note/edit/76145 Del: integrated -- https://master.php.net/note/delete/76145/integrated Del: useless -- https://master.php.net/note/delete/76145/useless Del: bad code -- https://master.php.net/note/delete/76145/bad+code Del: spam -- https://master.php.net/note/delete/76145/spam Del: non-english -- https://master.php.net/note/delete/76145/non-english Del: in docs -- https://master.php.net/note/delete/76145/in+docs Del: other reasons-- https://master.php.net/note/delete/76145 Reject -- https://master.php.net/note/reject/76145 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#128164) next »