Posted by Krustov on 07/13/06 16:50
<alt.php>
<Kentor>
<13 Jul 2006 08:57:52 -0700>
<1152806272.243147.49310@75g2000cwc.googlegroups.com>
> 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
Navigation:
[Reply to this message]
|