Man-wai Chang schrieb:
Here is the new version:
{
$NetGeoURL = "http://netgeo.caida.org/perl/netgeo.cgi?target=".$ip;
if($NetGeoFP = fopen($NetGeoURL,r))
{
ob_start();
fpassthru($NetGeoFP);
Man-wai Chang schrieb:
Here is the new version:
this should work.
Have you tested it?
--
Smileys rule (cX.x)C --o(^_^o)
Dance for me! ^(^_^)o (o^_^)o o(^_^)^ o(^_^o)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Here is the new version:
--
.~. Might, Courage, Vision, SINCERITY. http://www.linux-sxs.org
/ v \ Simplicity is Beauty! May the Force and Farce be with you!
/( _ )\ (Ubuntu 6.06) Linux 2.6.16.20
^ ^ 16:48:01 up 9 days 2:31 1 user load average: 1.02 1.04 1.00
news://news.3home.net ne
Here is the new version:
--
.~. Might, Courage, Vision, SINCERITY. http://www.linux-sxs.org
/ v \ Simplicity is Beauty! May the Force and Farce be with you!
/( _ )\ (Ubuntu 6.06) Linux 2.6.16.20
^ ^ 16:48:01 up 9 days 2:31 1 user load average: 1.02 1.04 1.00
news://news.3home.net news:
It says : everytime page loads submit the form.
And since submitting a form is like reloading a page it will go over and
over again.
Then how could I make it happen once only? I already had a
if..then..else to separate the 2 sections of codes.
--
.~. Might, Courage, Vision, SINCERITY. h
Man-wai Chang schrieb:
> I hit the script by http://server/haha.php?ip=192.168.1.1
>
> But the script entered an endless loop. What's wrong?
>
>
>
>
>
>
>
This is causing the reload.
It says : everytime page loads subm
Man-wai Chang wrote:
> I hit the script by http://server/netgeo.post.php?ip=192.168.1.1
>
> But the script entered an endless loop. What's wrong?
Either there is a bug in the script, or you put in unexpected data, or both.
(Since "server" isn't a host we can access, and since you haven't shown u
7 matches
Mail list logo