• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: stringWithContentsOfURL returns nil
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Re: stringWithContentsOfURL returns nil (From: <email@hidden>)

  • Prev by Date: Re: CoreData: Can't modify an immutable model
  • Next by Date: Re: CoreData: Can't modify an immutable model
  • Previous by thread: Re: stringWithContentsOfURL returns nil
  • Next by thread: CoreData fetch is way too slow
  • Index(es):
    • Date
    • Thread