I gang

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.";

}

Færdigheder: PHP

Se mere: tops code, link validator job, php link validator, tops, php link, link status, please link, fopen, 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, php function url link, code link

Om arbejdsgiveren:
( 12 bedømmelser ) New York, United States

Projekt-ID: #99899

Tildelt til:

wasimsohail

Please see Pm for details.

$30 USD in 0 dage
(36 bedømmelser)
5.1

5 freelancere byder i gennemsnit $30 for dette job

outsourcedev

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

$30 USD in 0 dage
(96 bedømmelser)
6.8
izwan00

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

$30 USD in 0 dage
(20 bedømmelser)
5.2
AlanOmarov

Greetings, please check pmb for details. Thank you.

$30 USD på 1 dag
(0 bedømmelser)
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 Mere

$30 USD in 7 dage
(0 bedømmelser)
0.0