From: <art...@vo...> - 2002-11-15 06:37:50
|
> YIKES! PHP code is not executed -- this would be a HUGE vulnerability. > There is the ability to enable HTML, but this is strongly advised against. Well, I use PHPwiki under HTTP auth and SSL and I'm the only user. Being able to include PHP code could be very helpful. > > Hi, > > > > I want to create a link that points to a page created "yesterday". I need to compute > > the "yesterday" date in order to create the URL. > > I also want to create a page whose content will be adapted to the day of week. I need > > some if/then/else syntax. > > > > Is it possible to include some PHP code into pages and then echo the result in the page > > source ? > > > > I tried something like: > > > > <?php > > $today =3D date("l"); > > echo "$today"; > > ?> > > > > in the page source but it just printed the raw text. > > > > Is this possible with PHPwiki ? ------------------------------------------ Faites un voeu et puis Voila ! www.voila.fr |