[thelist] url question...

Kasimir K evolt at kasimir-k.fi
Thu Sep 29 12:23:50 CDT 2005


Justin Zachan scribeva in 2005-09-29 00:36:
> url like 
> http://www.xxxxxxx.com.au/view_distributor.php?id=14&ajwilson
> 
> What the client wants is something like...  
> http://www.xxxxxxx.com.au/distributors/ajwilson.php

One option would be to use PHP's readfile:

file ajwilson.php
<?php
readfile('http://www.xxxxxxx.com.au/view_distributor.php?id=14&ajwilson');
?>

You should have ajwilson.php in the same directory as 
view_distributor.php, otherwise linked styles etc. won't work.

.k


More information about the thelist mailing list