|
| On Tue, 27 Jul 2004 17:09:10 +0100, Paul C-T wrote:
> I manage several sites that each have many contributors.
>
> I simply laid down the rules for everyone to follow ... for example ...
>
> "All links, images, flash objects, form actions etc... are to be referred to
> by their full UNC path name ...
>
> therefore http://www.mydomain.com/style.css is acceptable where as
> ./style.css or style.css are not.
What about '/styles.css'? Would perform the exact same task without
limiting the coder to a specific domain name.
>
> A number of internet and intranet addresses are defined in the
> definitions.php file which will assist you ... such as
>
> $mydomain = http://www.mydomain.com/;
>
> This way all they have to do to include a file is include($mydomain .
> "myfile.php");
>
> Paul.
Sounds overly complicated and a PITA to me.. as it means I'd have to
change at least one value between my dev server and my live server.
Regards,
Ian
--
Ian.H
digiServ Network
London, UK
http://digiserv.net/
|
|