davidgolding Posted October 19, 2006 Share Posted October 19, 2006 I'm getting the "No Input File Specified" error after upgrading to PHP 5. Everything was working fine, but now doesn't check out. I've combed the web for a solution, tried about 6 hours of trying to get it to work and am at the end of my rope! So please help.I want to simply pass variables to a script using clean URLs like so:http://site.com/test.php/1I don't need to mod_rewrite to make the "test.php" not appear. That's not an issue. Here's my test.php script:[code]$data = explode("/",$_SERVER['REQUEST_URI']);echo $data[1];[/code]Just in case, here's my .htaccess entry that's being used for other scripts. I'm assuming that this is getting in the way.[code]<IfModule mod_rewrite.c> RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^(.*)$ index.php?url=$1 [QSA,L]</IfModule>[/code]Thanks. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.