I'm a noob to PHP , i know the basics to install and work with some basic PHP. I have a nice PHP FTP search script that uses MySQL DB works nice but it has some code problems still from the origional author.
I have attached the zip of the orgional script if anyone with expertese can help me with the basic search script , just give me pointers to guide me would be best so i can learn trouble shooting skills.
I'm getting the following errors:
Notice: Use of undefined constant PHP_SELF - assumed 'PHP_SELF' in (path to file)search.php on line 6 Notice: Use of undefined constant lng - assumed 'lng' in (path to file)search.php on line 7 Notice: Use of undefined constant word - assumed 'word' in (path to file)search.php on line 8 Notice: Use of undefined constant of - assumed 'of' in (path to file)search.php on line 9 Notice: Undefined index: of in (path to file)search.php on line 9
Notice: Undefined variable: queryLike in (path to file)function.php on line 102 Notice: Undefined variable: queryLike in (path to file)function.php on line 102 Notice: Undefined variable: queryLike in (path to file)function.php on line 122 Notice: Undefined variable: queryLike in (path to file)function.php on line 122
Where would one start to understand whats going on to cause these errors?