Sedang Disiapkan

link validator

This code is not working for me...

Please create a function that validates http URL's to images and print out a "true" if it's a working link.. and a "false" if it's not.

Should be super easy for a php person. $10 tops for this.

My code (not working):

$takeurl = "http://www.us2.php.net/images/php.gif";

$takeurl = htmlspecialchars($takeurl);

if (@fopen($takeurl,"r")){

$status = "This URL is readable";

} else {

$status = "This URL is broken.";

}

Kemahiran: PHP

Lihat lebih lanjut: www link, tops code, link validator job, php link validator, Tops, php link, link status, please link, fopen, http status, net images, print images, images person, validator, php code validator, create gif, status function php, broken php code, wasimsohail, gif images, php url code, super images, url validator, url link php, status net

Tentang Majikan:
( 12 ulasan ) New York, United States

ID Projek: #99899

Dianugerahkan kepada:

wasimsohail

Please see Pm for details.

$30 USD dalam 0 hari
(36 Ulasan)
5.1

5 pekerja bebas membida secara purata $30 untuk pekerjaan ini

outsourcedev

Please check it out the PM for more info, thanks…

$30 USD dalam 0 hari
(96 Ulasan)
6.8
izwan00

Check it out: [url removed, login to view]

$30 USD dalam 0 hari
(20 Ulasan)
5.2
AlanOmarov

Greetings, please check pmb for details. Thank you.

$30 USD dalam sehari
(0 Ulasan)
0.0
InfotechUK

Please note this bid is only an expression of our interest in your project. We may come back to you for more information, through personal message. We will place a more realistic bid and time of completion within 2-3 d Lagi

$30 USD dalam 7 hari
(0 Ulasan)
0.0