|
|
|||||||||
|
|||||||||
|
|||||||||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
|
|
Free Web 2.0 Code Generator! Generate data entry and reporting .NET Web apps in minutes. Quickly create visually stunning, feature-rich apps that are easy to customize and ready to deploy. Download Now!
|
|
#1
|
|||
|
|||
|
My Web sites database driven pages are not currently being indexed by spiders. I really need some advise on the best way to work around the [ ? ] query string issue.
i.e. Convert http://www.mysite.com/script.php?id=12334 To some thing more indexable like this. http://www.mysite.com/12334 I know that you can mess around with Apache .haccess files and point to a file with no extension. The problem is that these tricks don't seem to work on my Web sites hosts server. Is it possible for me to somehow hack my existing PHP scripts directly? In order to get around this problem. Retr0 ) |
|
#2
|
|||
|
|||
|
Hey Retro,
Well you can do something like this: http://www.blahblah.com/myfile.php/s=2/r=5/test=blah i.e. use Apache's URL lookback feature (if it's supported on your server). From here, you can just scan the HTTP headers for the variable that contains the /s=2/r=5/test=blah part of the uRL and split it into an array: foreach($_SERVER as $key => $val) echo "$key = $val <br>"; Or, you can read Joe's ForceType tutorial at http://www.devarticles.com/art/1/143 ![]() |
|
#3
|
|||
|
|||
|
Thanks mytch
Thanks mytch
I will take a look at that ForceType article ![]() Retr0 |
![]() |
| Viewing: Dev Articles Community Forums > Programming > General Programming Help > [ ? ] query string issue |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|