Page 1 of 1

globalss and include file

Posted: Thu 6. May 2004, 20:59
by jo
Hi,
I’m trying to implement glossary to phpwcms.
It’s just one mysql table and one include file form my old site :D.
(rewrite is on -- but I have to change php_flag register_globals On in .htaccess to get it to work partially).

The problem is
when I go straight to include url glossary works.

http://insomnia.com.pl/include/inc_ari/inc.glossary.php


but when I include the same inc.glossary.php in template
{PHP:include/inc_ari/inc.glossary.php}

http://insomnia.com.pl/glossary.html

there is no response form index.php?glossary
(rewrited to: glossary.html) and no error.
Any guess what could be wrong?

Posted: Fri 7. May 2004, 00:04
by Oliver Georgi
you can't do it in that way. phpwcms Rewrite does not support this - you have to link like this:

index.php?id=.....&letter=N

Oliver