On 09-Jul-01 Jon Yaggie wrote:
> the problem
>
> i have a page that uses a query string to determine content. ie
> index.php?id=2 in this page there is a link to a memebership area that uses
> a remote service. this service requires that thee be the exact same
> refering url. is the refering url must always be index.php. how can i do
> this? can i do this?
>
Depends on how the remote validates the referal; since they want index.php;
assume they use php as well, and get the referrer like everybody else, from
$HTTP_REFERER ...
so add on a "&HTTP_REFERER=/php/index.php&id=foo" to the POST/ GET.
That should do it unless they've done un-speakable things to Apache/PHP.
Regards,
--
Don Read [EMAIL PROTECTED]
-- It's always darkest before the dawn. So if you are going to
steal the neighbor's newspaper, that's the time to do it.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]