Php skins help

software development

#1

My daughter is trying to set up her website using skins using PHP. She is self-taught. She is following a tutorial that is asking for things to be put in the “ROOT DIRECTORY” and it is asking absolute paths to be specified. Her domain is hosted at dream host.

The instructions ask that she create a folder named skins in her root directory. Then, she needs to specify a path to her skins, ie.

<?php $pathtoskins = "/home/username/public_html/skins/"; $defaultskin = 1; Questions: in this context is the root the parent of her domain name directory or is it her domain name directory itself? What should her path to skins string look like? Thanks, Ignorant Mom

#2

Or this, which is identical:

$pathtoskins = $_SERVER['DOCUMENT_ROOT']."/skins/";--------
Simon Jessey | Keystone Websites
Save $97 on yearly plans with promo code [color=#CC0000]SCJESSEY97[/color]