Jump to content

Stealthing PHP, $_GET not working


jdock1

Recommended Posts

I want to stealth PHP, instead of using extensions I would be using something like mysite.com/file rather than mysite.com/file.php

 

I do this by a htaccess file with this code:

 

RewriteEngine  on
RewriteBase  /
RewriteRule  file   file\.php  [T=application/x-httpd-php]

 

It seems that $_GET doesnt work, I tried using $_REQUEST, which actually works but not all the time.

 

Is there anyway I could use $_GET? Or anything else?

 

Thanks!

Link to comment
https://forums.phpfreaks.com/topic/162454-stealthing-php-_get-not-working/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.