i would like to test
www.3viso.com/addurl
try to input your link and categories and tell me what you think about it
thank a lot
lol...if on linux...
On Fri, 2003-09-26 at 12:35, Ray Hunter wrote:
> Ive used curl to test stuff out with too...however, if on link i like to
> use wget to test it out. You might not have that option but I have seen
> others use fopen or file_get_contents.
>
> HTH,
>
> BigDog
>
> On Fri, 2003-
Ive used curl to test stuff out with too...however, if on link i like to
use wget to test it out. You might not have that option but I have seen
others use fopen or file_get_contents.
HTH,
BigDog
On Fri, 2003-09-26 at 10:15, Doug Coning wrote:
> Greetings All,
>
> I am creating a 'links' page a
Doug Coning said the following on 9/26/2003 12:15 PM>>
Greetings All,
I am creating a 'links' page and was wondering if there was a way in PHP
to test the response of an outside link? I'm sure everyone here has
clicked on a links page link and have a "No Page Found" error because no
one is keepi
Greetings All,
I am creating a 'links' page and was wondering if there was a way in PHP
to test the response of an outside link? I'm sure everyone here has
clicked on a links page link and have a "No Page Found" error because no
one is keeping the links uptodate. I was wondering if there was a w
DL Neil wrote:
Beth,
I noticed this reference to "$http_response_header" and straightaway
quizzed
the manual, only to find that the only references to it (eg file open)
lead
nowhere. Have gone through a few other pages, looking to see if I might
happen upon some detail, but failed. Sadly you d
Rob/Beth,
The code should also consider:
1 updating the db if the link is 'valid', ie if previously it had been
'down'!
2 putting an @ to prevent any errors causing a hard-stop at the fopen line
3 that the url/database must contain protocol information, ie
http://www.nytimes.com not www.nytimes.c
Beth,
> When fopen successfully opens a file it populates an array
> $http_response_header, which you can examine to see if the link works or
> not - I don't believe you can actually get the file itself, but since
> that's not what we're after that's not a problem!
I noticed this reference to "$h
Yes I did. Thanks.
- Original Message -
From: "Jason Wong" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, December 01, 2002 2:30 AM
Subject: Re: [PHP] Test links?
> On Sunday 01 December 2002 15:33, Hugh Danaher wrote:
> > Not sure how to supre
On Sunday 01 December 2002 15:33, Hugh Danaher wrote:
> Not sure how to supress the warning message that PHP automatically does
> when you haven't got a valid URL though.
Error reporting options can be set in php.ini or by using ini_set().
> should be able to surpress errors by adding an * before
particular problem.
Hugh
- Original Message -
From: "Beth Gore" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, November 30, 2002 11:02 AM
Subject: Re: [PHP] Test links?
> Rob Packer wrote:
>
> >Okay, I'm confused... file, fopen, and fso
Thanks for the help and suggestions everybody!
I think some of my problems stemmed from the affiliate links being
redirected and PHP saw that as dead(so to speak)... but I think I got it
now. I made another column in the database to note a redirection for ones
that the url fails but the $url[host]
Rob Packer wrote:
Okay, I'm confused... file, fopen, and fsockopen seem to say not found on
alot valid URLs... does this look to be correct usage?
$url = $row[0]; // just get the url from the db
$fp = implode ('', file ($url));
if (!$fp) {echo "Unable to access file"; }
else { fclose($fp); echo
Rob Packer wrote:
Okay, I'm confused... file, fopen, and fsockopen seem to say not found on
alot valid URLs... does this look to be correct usage?
$url = $row[0]; // just get the url from the db
$fp = implode ('', file ($url));
if (!$fp) {echo "Unable to access file"; }
else { fclose($fp); echo
On Sunday 01 December 2002 02:06, Rob Packer wrote:
> Okay, I'm confused... file, fopen, and fsockopen seem to say not found on
> alot valid URLs... does this look to be correct usage?
> $url = $row[0]; // just get the url from the db
> $fp = implode ('', file ($url));
> if (!$fp) {echo "Unable t
Okay, I'm confused... file, fopen, and fsockopen seem to say not found on
alot valid URLs... does this look to be correct usage?
$url = $row[0]; // just get the url from the db
$fp = implode ('', file ($url));
if (!$fp) {echo "Unable to access file"; }
else { fclose($fp); echo "The link is worki
On Saturday 30 November 2002 21:40, Rob Packer wrote:
> Well, the reason I didn't do that at first was that I could have done any
> of the methods that I've tried incorrectly, which is why I figured I'd ask
> what works and then focus on that method... but, I've tried to ping them,
> use fopen, and
Well, the reason I didn't do that at first was that I could have done any of
the methods that I've tried incorrectly, which is why I figured I'd ask what
works and then focus on that method... but, I've tried to ping them, use
fopen, and use fsocketopen... but nothing says that I've used any of the
On Saturday 30 November 2002 06:53, Rob Packer wrote:
> First, I'd like to say that I'm not asking for anyone to write a script...
> how would I go about checking a MySQL database of links to see if any are
> down?
>
> I've had some varying results with all the methods I've tried, so would
> like t
fopen each link and see if it returns true or false (false meaning its down)
Jason Reid
[EMAIL PROTECTED]
--
AC Host Canada
www.achost.ca
- Original Message -
From: "Rob Packer" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, November 29, 2002 3:53 PM
Sub
First, I'd like to say that I'm not asking for anyone to write a script...
how would I go about checking a MySQL database of links to see if any are
down?
I've had some varying results with all the methods I've tried, so would like
to see if anyone has a proven method for doing this.
Thanks,
21 matches
Mail list logo