Jump to content

Extensions


jdock1

Recommended Posts

I found out how to make PHP parse through any extension (I tried it with .asshole , .shit, etc. and it works)

 

But is there anyway to make it with no extension, just the dynamic "?" rather than ".whatever?"

So if I named a file like test.php , I want it instead of domain.com/test.php, I want it like domain.com/test , so when PHP parses a get variable it would be like "domain.com/test?name=Ryan"

 

Is there anyway to do this?

 

Thanks!!

Link to comment
Share on other sites

mod_rewrite

Could you please be more specific?

 

I know that but I need to know the line to put in the .htaccess

 

Like so for the extensions I added

AddType application/x-httpd-php .lol .tits .smokecrack

 

What would I put in there?

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.