Remember I asked about "when was the last time you wrote out an entire webpage" a few weeks back?
Good lord that was still in this same month! So much has happened since then... I remember discussing this at Laika with Karl even! A lifetime ago...
Anyways, sort of lost in that entry was the point that I haven't built a whole website by hand in ages. For the last few years it's due to all these fancy CMS we now have, but even before that I had my own little PHP-based package which allowed me to build entire websites, navigation and infrastructure and plumbing and everything, in minutes. Set it up, put all the content in, move stuff around until "the client" is happy with the architecture.. then skin it. (Its predecessor was hacked together with xSSI variables!)
I have to put up a whole site pronto for something very important. I just tried setting up my little wonder on two different servers (one being "the client's") and it unceremoniously failed. These high-falutin' fancy hosting packages break when you ask for $_SERVER['DOCUMENT_ROOT'], which means I seem to be shit outta luck.
I am faced with the prospect of a ... gulp... static website! Argh!! Over my dead body.
Adriaan, we gotta fix yer goddamn server. ;p
Update:
Just quickly, here are four totally different paths on the same system all supposedly poitning to the same "place". The first three are available to PHP and th efourth is what I see in my SFTP client:
DOCUMENT_ROOT = /home/www/htdocs SCRIPT_FILENAME = /home/www/vhosts/name.com/_/test.php __FILE__ = /home/www/vhosts/name.com/www/test.php SFTP = /home/name/web/www/Obviously the next step is to actually try each one, but eh, I'm going to bed now. ;)