|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Hi,
i programmed a little link database. Now i want to build a script which takes the url out of the db and tests if the site is still available or not. Any ideas how i could do that?!? |
|
#2
|
|||
|
|||
|
Not sure if this would be 100% accurate or the most efficient way, but you could use the fopen() function to open the URL. According to PHP docs, it will return false if the open fails.
|
![]() |
| Viewing: Dev Shed Forums > Programming Languages > PHP Development > spider?! |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|