globalss and include file

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
jo
Posts: 10
Joined: Tue 4. May 2004, 20:22
Location: Poland, Kraków
Contact:

globalss and include file

Post 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?
jo
User avatar
Oliver Georgi
Site Admin
Posts: 9919
Joined: Fri 3. Oct 2003, 22:22
Contact:

Post 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
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
Post Reply