WAMP server question

Discussion in 'PHP' started by rajeevthomas, Mar 21, 2010.

  1. #1
    I am trying to get a gallery working...the problem is I am very new at this PHP thing. I have all my files directly under 'www' which is the root folder I think for WAMP. Thye instructions I was given for the gallery are this..

    * The two following settings point the script to the folder that
    * contains your galleries.
    *
    * DOC_ROOT is the full physical path to your website's
    * document root. For most users, $_SERVER['DOCUMENT_ROOT']
    * will work here.

    define('DOC_ROOT', $_SERVER['DOCUMENT_ROOT']);


    * GALLERY_ROOT is the path, relative to your document root,
    * under which all your galleries reside

    define('GALLERY_ROOT', '/images/pic');

    My question is in brackets [......] for document root , should I write 'www'? or C:/www ?

    And for gallery_root should I write the same since it is all directly under 'www' folder??

    Thank you for your help.... :D
     
    rajeevthomas, Mar 21, 2010 IP
  2. odrey

    odrey Peon

    Messages:
    26
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    hi..
    try C:/www <--- change to absolute path of your files
     
    odrey, Mar 29, 2010 IP