API IP Problem

Hi,

I’m using an API that requires a dedicated ip. The reason is to safeguard abuse of the script by failing to execute any call outside of the domain/ip it resides on.

My account is hosted with a dedicated ip, a ping on my domain reflects the dedicated ip shown within my cp, but the API fails to execute.

Is the IP shown in my cp, and via ping, somehow masked? How do I determine my IP?

Thanks

does it not mean that the IP you access the admin page is dedicated.
Like Cerberus helpdesk. You must put IP’s that are allowed to access the admin, into the config file. And so. if you dont have a dedicated IP from you ISP, then you have to keep updating your config.

Probably on the wrong track, but never mind!! Usually am!!

[QUOTE=bored_admin]
does it not mean that the IP you access the admin page is dedicated.
Like Cerberus helpdesk. You must put IP’s that are allowed to access the admin, into the config file. And so. if you dont have a dedicated IP from you ISP, then you have to keep updating your config.

Probably on the wrong track, but never mind!! Usually am!!
[/QUOTE]

If I was hosting the script on my computer you would be correct, but the script is being hosted/executed from my web site hosted with JodoHost. Basically; End-user > Web Site > PHP Code > Remote API > Return results to end-user’s web browser.

Any who, it’s working now; and with no changes made to the script. It very well may have been updates I had made to my DNS which had not fully propogated. Not sure.

Possibly the old IP was cached in server’s local DNS cache and now the old record has expired, so you are getting the correct IP.

Is this on win14 by any chance? We downgraded php because of some showstopper bugs in 4.4.2

[QUOTE=Stephen]
Is this on win14 by any chance? We downgraded php because of some showstopper bugs in 4.4.2
[/QUOTE]

Yes, the account is hosted on win14. Were either of the showstoppers related to passthru or sessions?

It was quite bad bugs on fopen and file(), and if there were bugs there it is likely there were others. Glad it is working since the downgrade.