I found the source of my mod_rewrite problems. I was doing everything
right to start with - The odd behaviour was due to a PHP bug (http://
bugs.php.net/bug.php?id=35059) that's fixed in 4.4.2-dev and 5.1.0RC7-
dev (I'd assume 5.0.x as well). Recompiling with a new checkout works
fine.
Marc
On 14 Nov 2005, at 18:51, Richard Lynch wrote:
include_path("/full/path/to/DocumentRoot:" . include_path());
This may not be the right syntax/function to set include_path, but it
is a dynamic way to set the include path, from within PHP.
Yup, I tried this and it kind-of works, but still leads
On Sun, November 13, 2005 4:05 pm, Marcus Bointon wrote:
> This seems like a simple problem...
Maybe there should be a simple solution... :-)
> I have a rewrite like this:
>
> RewriteRule ^x/([0-9]+) x.php?x=$1 [PT,L]
>
> This maps a url like http://www.example.com/x/123 to http://
> www.example.
On 13 Nov 2005, at 22:15, Marco Kaiser wrote:
try to use realpath, dirname and other related funktion to resolv
the real path.
dirname(__FILE__) ?
Good point (you can tell I've been up too long). I've just had a play
with that - I appended the current path to my include_path, but it
see
Hi Marcus,
try to use realpath, dirname and other related funktion to resolv the real path.
dirname(__FILE__) ?
-- Marco
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
This seems like a simple problem...
I have a rewrite like this:
RewriteRule ^x/([0-9]+) x.php?x=$1 [PT,L]
This maps a url like http://www.example.com/x/123 to http://
www.example.com/x.php?x=123
x.php contains a line to include some class like:
require_once 'x.class.php';
My include path c
6 matches
Mail list logo