Re: Full versus relative URLs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 






for that matter, you could use variables to specify the relative path to make it absolute within each of the production and dev environments.


Another possible solution I can think is building configuration files that could include the paths and parse them to find the path every time you need it. This conf files would be different between the two machines and you will only need to upload the source files without consideration since the directories will actually inside the conf files.

A database table that would store the paths could always be an alternative that you could perhaps load into the session to avoid overhead.

--
Thodoris


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux