FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » php url question
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: php url question [message #180563 is a reply to message #180562] Tue, 26 February 2013 17:42 Go to previous messageGo to previous message
M. Strobel is currently offline  M. Strobel
Messages: 386
Registered: December 2011
Karma:
Senior Member
Am 26.02.2013 18:28, schrieb Kevin Davis:
> Hi there,
>
> I have a simple question with PHP URL's setup.. Here is the situation I have a page that is based on the urls.. For example, I have a php file that will display based on the following sample url: http://temp.com/t2, however in some cases the url could be http://temp.com/t2?d=temp or something similar. That type of url tend screw up the settings. Is there a way for me to drop the d=temp so the page settings will not get messed up when the url's is read in.
>

Your Url http://temp.com/t2 would not work in the first place, because the web
server has to recognize PHP scripts so he/she can hand them to the PHP interpreter.

This is normally done by the suffix .php for script files. If you have a special
setup with scipt aliases you have to talk about it.

Independent from this is the fact that url encoded variables like d=temp would not
screw anything up, especially not settings.

/Str.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: simpletest vs phpunit vs ...
Next Topic: Request for proofreading
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Mon Nov 25 02:16:04 GMT 2024

Total time taken to generate the page: 0.04046 seconds