When using some webservers that you aren't 100% sure that you will be using in the future, how about inserting a print code for each link, directory, and image and including addresses in a .inc file.
Example:
And if you change domains or directories..PHP Code:<?php
###############
#addresses.inc#
###############
$logo = "http://www.yosite.com/images/logo.gif";
?>
PHP Code:<?php
######################
#a few weeks later...#
######################
$logo ="http://www.mysite.com/new/site4/img/logo.gif";
?>
Then you would put that into an HTML file like so:
This would prevent long and tedious re-coding, and since my sites arent all dynamic yet, this seems like a good idea. Give me your opinion.PHP Code:<IMG SRC="<?php print($logo); ?>






Bookmarks