Posted by frizzle on 05/28/06 23:38
Hi there,
i have a site with fake folders & files.
htaccess rewrites everything to index.php?vars
now in index.php i decide what file to include with a switch/case
statement.
to define where i am, i explode the query string, and check $array[0]
where i am for the main section.
Only now if there are two slashes behind each other
(folder//subfolder), the value inbetween ( '' )
gets ignored, though in 'real' it would give an error. How can i have
explode telling
me that value is '' ?
I hope you understand (sorry for my english)
Frizzle.
[Back to original message]
|