For Programmers: Free Programming Magazines  


Home > Archive > PHP DB > January 2007 > Re: [PHP-DB] CURL and process not finishing









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: [PHP-DB] CURL and process not finishing
dmagick@gmail.com

2007-01-09, 7:59 am

john@shortstay-london.com wrote:
> ----- Original Message ----- From: "chris smith" <dmagick@gmail.com>
> To: <john@shortstay-london.com>
> Cc: <php-db@lists.php.net>
> Sent: Friday, January 05, 2007 12:08 PM
> Subject: Re: [PHP-DB] CURL and process not finishing
>
>
>
>
>
>
>
>
>
>
> Thanks, Chris. This is the output:


<snip>

> * About to connect() to www.runawayexchange.com port 80
> * Trying 69.56.206.170... * Connection timed out
> * couldn't connect to host
> * Closing connection #1


Problems with this one.

> * About to connect() to www.uktravelplanner.co.uk port 80
> * Trying 212.227.38.68... * connected
> * Connected to www.uktravelplanner.co.uk (212.227.38.68) port 80
> Host: www.uktravelplanner.co.uk
> Accept: */*
>
> < HTTP/1.1 404 Not Found


That's a bad link there (in case you didn't notice it).

>
> ...and there it stops every time. Is this a script time out, as it
> stops while looking at the site it is finding OK?


Set the set_time_limit to 0 (unlimited). Sounds like the script is just
timing out.

--
Postgresql & php tutorials
http://www.designmagick.com/

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




****************************************
******************************

IMPORTANT NOTICE

This communication is for the exclusive use of the intended recipient(s)
named above. If you receive this communication in error, you should
notify the sender by e-mail or by telephone (+44) 191 224 4461, delete
it and destroy any copies of it.

This communication may contain confidential information and material
protected by copyright, design right or other intellectual property
rights which are and shall remain the property of Piranha Studios
Limited. Any form of distribution, copying or other unauthorised use
of this communication or the information in it is strictly prohibited.
Piranha Studios Limited asserts its rights in this communication and
the information in it and reserves the right to take action against
anyone who misuses it or the information in it.

Piranha Studios Limited cannot accept any liability sustained as a
result of software viruses and would recommend that you carry out your
own virus checks before opening any attachment.

****************************************
********************************
<<<<GWAVAsig>>>>
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com