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. Link to comment https://forums.phpfreaks.com/topic/24471-no-input-file-specified-but-not-with-a-mod_rewrite-fix/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.