nghiacnt49
New Member
i have a script, and when i want to open it's directory in a subdomain,it doesn't redirect to index.php ,i should put index.php to the url to open the index pagehow can i solve it using php or htaccess?\[code\] public function processURL($var) { // This is a simple func to make nice urls, cba with regex so ill do a fast str_replace $bad = array("!",'"',"","$","%","^","&","*","(",")","_","{","}","[","]",":",";","'","@","#","~",",",".","<",">","/","?","\\","`"," "); $good = str_replace($bad,"-",$var); $var = $this->processDataHook("processURL",$good); return $var; }\[/code\]