opendir and mod_rewrite problem...
Posted: Mon Feb 15, 2010 12:16 pm
hi, i'm getting a "no such file or directory error" on some code that was working to read a directory before i cleaned up the urls with mod_rewrite.
i'm using a server relative link to the directory like "/folder/subfolder/", however i think this is getting translated to "index.php?var1=folder&var2=subfolder" when opendir tries to do it's thing...
i don't want to lose the clean urls so how can i get around this?
thanks in advance,
tom.
i'm using a server relative link to the directory like "/folder/subfolder/", however i think this is getting translated to "index.php?var1=folder&var2=subfolder" when opendir tries to do it's thing...
i don't want to lose the clean urls so how can i get around this?
thanks in advance,
tom.