Jump to content

$_REQUEST and .htaccess error docs


m3d1a

Recommended Posts

Really random problem came up today. I'm using error docs for faux folders so members have shortcuts directly to their profiles with a name of their choice (think myspace URL's and the like).

 

This works flawlessly, but for some reason including URL variables via request is virtually impossible inside of these files. Anyone know why that is?

 

For instance:

 

domain.com/profileshortnamehere/blog/?id=123

 

profileshortnamehere and blog are not actual folders, but just shortcuts that point to folders. the ?id=123 is the id of a blog posting which i'd like users to be able to view in its entirety to view comments and just a non-shortened version of any particular posting.

 

Is there any reason that wouldn't get recognized by $_REQUEST['id']?

 

I'm lost on this one. Strangest error I've ever run into.

Link to comment
https://forums.phpfreaks.com/topic/37749-_request-and-htaccess-error-docs/
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.