Re: www.somesite.com/123213 type pages
- From: Krustov <me@xxxxxxxxxxx>
- Date: Thu, 13 Jul 2006 17:50:12 +0100
<alt.php>
<Kentor>
<13 Jul 2006 08:57:52 -0700>
<1152806272.243147.49310@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
is it possible to have these kinds of pages with php?
www.somesite.com/123213
Assume you mean to put .php/.jpg/.etc at the end of it .
Although mod rewrite is best - you can do a makeshift version of it
using a custom 404 page .
The usual referer stuff doesnt work and you need to use the following .
$grab=$_SERVER['QUERY_STRING'];
# $grab="404;http://www.somesite.com:80/123213/";
Basically trim everything except 123213 from the string and do whatever
you want with it .
--
Encrypted email address
www.emailuser.co.uk/?name=KRUSTOV
.
- References:
- www.somesite.com/123213 type pages
- From: Kentor
- www.somesite.com/123213 type pages
- Prev by Date: Re: Challenge: MySql result to drop down box
- Next by Date: Re: www.somesite.com/123213 type pages
- Previous by thread: www.somesite.com/123213 type pages
- Next by thread: Re: www.somesite.com/123213 type pages
- Index(es):