|
Posted by Steve on 04/02/07 19:17
lol. i was just looking on the net to see if there were any unknows (to me)
that would cause auto prepend file not to work. it doesn't seem like it but,
i came across this link:
http://www.webmasterworld.com/forum88/421.htm
notice the example is trying to accomplish the same thing we are? it's
funny! you can also see they explode to find out the number of directories
where i use str_replace. i assume that if he were going to finish the code,
it would involve, you guessed it, str_repeat - his would be
str_repeat('../', count($hisExplosion).
i don't know why, after so many years of development going into php, why
there is NOT a $_SERVER variable for the current path, even if it is a
relative one.
Navigation:
[Reply to this message]
|