| From: | Alexey Borzov <borz_off(at)cs(dot)msu(dot)su> |
|---|---|
| To: | Dave Page <dpage(at)vale-housing(dot)co(dot)uk> |
| Cc: | pgsql-www(at)postgresql(dot)org |
| Subject: | Re: Mirror.php |
| Date: | 2004-12-04 22:21:08 |
| Message-ID: | 41B23854.2070800@cs.msu.su |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-www |
Hi,
Dave Page wrote:
>>::scratches head::
>>Well, the PEAR code boils down to the example above if you
>>strip all the pretty stuff out. Please try running the
>>following script, maybe it will give some insight:
>>
>><?php
>>error_reporting(E_ALL);
>>var_dump(gethostbyname('wwwmaster.postgresql.org'));
>>
>>require_once 'HTTP/Request.php';
>>PEAR::setErrorHandling(PEAR_ERROR_CALLBACK, 'var_dump'); $req
>>=& new HTTP_Request('http://wwwmaster.postgresql.org/');
>>$req->sendRequest();
>>?>
>>
>
> root(at)developer:/usr/local/www/wwwmaster.postgresql.org/www/tools# php -d
> include_path=/usr/local/www/portal.postgresql.org/pear/lib test3.php
> string(13) "194.217.48.42"
> root(at)developer:/usr/local/www/wwwmaster.postgresql.org/www/tools#
If that particular script produces no errors, I can't imagine anything that
prevents mirror.php from running... Please try running that again, maybe the
problem just magically went away.
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Dave Page | 2004-12-04 22:31:56 | Re: Mirror.php |
| Previous Message | Dave Page | 2004-12-04 20:18:16 | Re: Mirror.php |