Skip navigation.
 
mlRe: stringWithContentsOfURL returns nil
FROM : Nir Soffer
DATE : Tue Feb 05 22:48:38 2008

On Feb 5, 2008, at 23:19, <<email_removed>> <<email_removed>> wrote:

>    http://www.mydomain.com/check.php?sn=123456
> Could the computer block just this kind of calls, because they send 
> data?
> If so, what should I look to fix the trouble? As I have said the 
> client's
> firewall is off. But, could an extra unknown firewall or control 
> work on his
> modem?



It can - depending on how broken the "firewall" :-)

You can use nicer and safer url like:

http://www.mydomain.com/update/123456

On the server side, you configure the server to handle any url that 
starts with /update with the script update.php. If the url has one 
path component, treat it like the serial number. If not, return 404.

This way you can also change your implementation later (e.g. replace 
with a Python or Ruby script) without changing the interface for the 
clients.


Best Regards,

Nir Soffer

Related mailsAuthorDate
mlstringWithContentsOfURL returns nil <archidea Feb 5, 20:06
mlRe: stringWithContentsOfURL returns nil I. Savant Feb 5, 20:13
mlRe: stringWithContentsOfURL returns nil <archidea Feb 5, 22:19
mlRe: stringWithContentsOfURL returns nil I. Savant Feb 5, 22:29
mlRe: stringWithContentsOfURL returns nil Nir Soffer Feb 5, 22:48
mlRe: stringWithContentsOfURL returns nil <archidea Feb 6, 00:49
mlRe: stringWithContentsOfURL returns nil I. Savant Feb 6, 01:10