Welcome, Guest. Please login or register.
Did you miss your activation email?


Login with username, password and session length

Search

 
Advanced search

8040 Posts in 1853 Topics- by 2099 Members - Latest Member: roi
Pages: [1]   Go Down
Print
Author Topic: Adding php  (Read 250 times)
0 Members and 1 Guest are viewing this topic.
chriso
New Member
*

Karma: 0
Offline Offline

Posts: 0


WWW
« on: November 04, 2004, 11:17:00 PM »

I would like to add some php include statement which will add a header and footer to the webpage with the calendar in between. How do I do this since the script is .pl and not .php.

Thanks.

Logged
DanO
Moderator
Full Member
*****

Karma: 13
Offline Offline

Posts: 227

Please don't PM me. Post in the open forum.


WWW
« Reply #1 on: November 05, 2004, 12:21:00 PM »

You can not use PHP code in CalendarScript (well you can but it will just be ignored). You can use a simulated SSI tags (see Documantation: Customization: Include Files) to include headers, footers, etc. Such included files must basically be static files but if they contain Perl code, that code may be executed (depending on what it is).

If the files you plan to include have any PHP code, that PHP code will not be processed.

Dan O.

------------------

Logged
Pages: [1]   Go Up
Print
Jump to: