[UPHPU] virtual PHP hosts and database code generation

John Fletcher fletchweb at internode.net.au
Tue Nov 23 04:51:56 MST 2004


Hi all,

I have 2 questions:
a) I am developing and testing a php app on my Windows laptop and will be
deploying onto a linux server.  I want to use absolute paths, so I defined a
virtual host with apache on my Windows machine and likewise on my linux
machine, so with my HTML I can do eg <img src="/images/hi.png">.  However
this is not respected by PHP... is there a way to do something similar in
php so that I can include "/blah.php" instead of "C:/dev/app/blah.php"?

b) Is anyone using PHP database access code generators?  I saw something
called phpcodegenie today... anyone have any opinions on this or other
options?

Thanks,
Fletch.





More information about the UPHPU mailing list