Hey,
I’m trying to finish this little bit of script, but keep getting an error message:
Warning: preg_match() [function.preg-match]: Delimiter must not be alphanumeric or backslash in
I have tried using different delimiters, in different areas of the code. Once i have done it i check it over with syntax online and get no error. However, when i visit my website, i continue to get the error. Below is the bit of code i need help with, if somebody can
[php]* Please check
- http://www.texmedia.de
- for Bugfixes, Updates and Support/
******************************************************************************************/
If(preg_match(basename(FILE) , $HTTP_SERVER_VARS[REQUEST_URI]))
die (“You can’t access this file directly! Please go to the startpage!”);
$VERSIONS[basename(FILE)] = “3.0”;
$TMP[’%[GRIDS]%’] = ‘’;[/php]
Line 23 - “Please check” - i cant understand why i get the error on line 23 as it is just a plain text line.
Thanks in advance,
Andy