Okay, I've seen this done before in ASP and I'm sure it can be done is PHP.
What I'm trying to do is: Store my longer URLs as PHP variables that I can use to link them.
What I've done is:
<?php
$baseURL = "http://www.mydomain.com";
$imgURL = $baseURL . "/images";
//I have already tried to link to this image, and it works
//echo ("<img src=$imgURL/image.jpg />");
?>
That file is called "common_links.php". When I upload it to my server, it works just fine. But when I use it in a different page as:
<?php include("http://www.mydomain.com/common_links.php");
echo("<img src=$imgURL/image.jpg />");
?>
It doesn't work, it just says the path I tried was http://www.mydomain.com/image.jpg
I could really use some help on this. Please if you can provide any, post and let me know what I'm doing wrong. Thanks!