I'm new in PHP. I'm studying a web that a costumer has ordered.
There is a thing that I can't understand. There is an image with a link to an url that doesn't exists:
Code: Select all
<a href="../dir1/flats" target="_blank"><img src="../img/flats.jpg" alt="flats to rent" />
In the folder dir1 does exists no web.
If I run this web in the server I can't understand how, but a web appears with this address. But when I run it in my localhost, the navegator says that the url doesn't exists.
I've read in Google some sites where speaks about how to create an hiperlink in php, but I can't understand. Can anybody tell me how it works or a link where to learn it?
Thanks very much