What you have is fine, but I think (I don't do it that way) this means each user will have completely separate code. That might be A Good Thing, or you might be the only user anyway.
An alternative is to use /Library/WebServer/Documents/ Any pages placed there can be called with either 127.0.0.1/yourpage.php or localhost/yourpage.php (127.0.0.1 and localhost do not appear to be completely interchangeable; I've found places where one works and the other doesn't). An advantage of using /Library/WebServer/Documents/ is that you can set up virtual hosts in httpd.conf (/private/etc/httpd/httpd.conf). I have several development sites set up - www.xxx.dev, www.yyy.dev etc - paralleling the live sites. I can switch between development sites as quickly as between live sites. You can find instructions for this at http://www.listsearch.com/lassotalk.lasso?id=119795&-session=listsearch_lass otalk:D4202A04032cc100BEIikJ25BACD HTH Roddie Grant [EMAIL PROTECTED] on 29/1/04 3:18 am, [EMAIL PROTECTED] at [EMAIL PROTECTED] wrote: > PHP/MySQL textbook I'm using says to copy its sample apps to the root > directory. What it says is: "[o]n Apache this folder is usually named > htdocs by default." Not only can't I find a folder named "htdocs", but I've > been using--and I'm certain I remember reading in another book to use > this--the Sites folder within my username folder, which is within the Users > folder of my hard drive. > > Now the code samples run fine from there; but I still need to know whether > this is somehow not the correct place, and whether I need to create a > folder named "htdocs". > > Any thoughts? > > Thank you. > > Steve Tiano > > -------------------------------------------------------------------- > mail2web - Check your email from the web at > http://mail2web.com/ . > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php