Re: www.somesite.com/123213 type pages




Kentor wrote:
-Lost wrote:
"Kentor" <kentor@xxxxxxxxx> wrote in message
news:1152806272.243147.49310@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

is it possible to have these kinds of pages with php?
www.somesite.com/123213
-Simon

Something along those lines is best handled with mod_rewrite (I have seen some crazy
mod_rewrite alternatives via PHP though).

-Lost

Anybody got an example of this kind of stuff done with php?

Yeah, using mod_rewrite for apache, just using little regex for a more
or less homogenous parametres app
i use uri like http://some.com/myscriptmapname/var1/value1/var2/value2/

.



Relevant Pages

  • After posting a form no access to fields neither via globals nor $_GET, $_POST etc
    ... I searched the forum and the Internet but unfortunately did not find a ... action brings me to a different .php where I want to access the ... It's driving me crazy... ...
    (php.general)
  • Re: Choosing the right PHP function for the job
    ... Hehe this is exactly why I came to php from C/C++. ... No need to go crazy ... looking for libraries when you can just do a search on the php doc page. ...
    (comp.lang.php)
  • Re: $i = $i++
    ... Gordon Burditt wrote: ... the increment. ... Yes i can see that, and I'd ever use this crazy syntax anyway, but the "human" way of reading this would seem to make it make sense so you can understand how easy it is to be misinterpreted. ...
    (comp.lang.php)
  • Re: Partial macro expansion of variable and function name.
    ... Besides the regular expansion I can do crazy things (VFP uses & instead ... In php you need to use the dot operator ...
    (comp.lang.php)
  • arrays
    ... I have a project to finish in php. ... calculation through email. ... if there is not alot of item it is fine. ... I m going crazy over here. ...
    (alt.php)