Forum Moderators: coopster
Sorry for posting a question in my first post, but I don't know where else to turn.
I have get a unexpected T_VARIABLE error on line 21 of a script I have installed and don't know anything about it and was wondering if anybody could offer some guidance.
here is the script:
<?
session_start();
//**********************************************//
//********SET FULL URL TO SEARCH DIRECTORY IN $APP_URL ******//
// ADD THE VALUES IN THIS FORMAT:// DO NOT PUT A TRAILING SLASH
//**********************************************//
$APP_URL= "http://www.example.com";
//**********************************************//
//********SET FULL PHYSICAL PATH TO SEARCH DIRECTORY IN $DIR_NAME******//
// ADD THE VALUES IN THIS FORMAT: /directoryname
// DO NOT PUT A TRAILING SLASH
// LEAVE BLANK IF YOUR SITE IS ON ROOT
//**********************************************//
$DIR_NAME=""
$APP_PATH= $_SERVER['DOCUMENT_ROOT']."".$DIR_NAME;
<<------This last line is line 21 where the apparent error is. The site is in the root directory.
Thank you in advance.
[edited by: eelixduppy at 4:12 pm (utc) on June 26, 2007]
[edit reason] example.com [/edit]