Jump to content

Archived

This topic is now archived and is closed to further replies.

tincan

picking up pings in php

Recommended Posts

can anyone tell me why I am unable to pick up the $id variable from this ping sent from my blog?

The ping address I have set in the blog is in this format.

http://www.mysite.com/ping.php?id=10564

In my ping.php script I have tried both $id=$http_post_vars['id'] and $id=$http_get_vars['id']

but neither of these are able to pick up the variable from the ping.

What am I doing wrong?

Share this post


Link to post
Share on other sites
Have you tried this?
[code]$id = $_GET['id'];[/code]

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.