Re: stringWithContentsOfURL returns nil
Re: stringWithContentsOfURL returns nil
- Subject: Re: stringWithContentsOfURL returns nil
- From: Nir Soffer <email@hidden>
- Date: Tue, 5 Feb 2008 23:48:38 +0200
On Feb 5, 2008, at 23:19, <email@hidden> <email@hidden> 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
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden