From: Joby W. <joby@u.washington.edu> - 2002-11-14 23:58:07
|
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. jbw arthur.chereau wrote: > 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 = 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 > > > > ------------------------------------------------------- > This sf.net email is sponsored by: To learn the basics of securing > your web site with SSL, click here to get a FREE TRIAL of a Thawte > Server Certificate: http://www.gothawte.com/rd524.html > _______________________________________________ > Phpwiki-talk mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phpwiki-talk |