Tree :



 Faceted index, by topics :
Menu

 
Category
V5 (46)
V5.01 (21)
V5.10 (15)
V5.20 (32)
V5.30 (16)
V5.31 (1)
V5.32 (4)
V5.33 (16)
V5.34 (7)
V5.35 (2)
V5.40 (27)
V5.41 (7)
V5.42 (4)
V5.43 (6)
V5.50 (1)
V5.60 (1)
V5.61 (2)
V5.70 (9)
V5.71 (4)
 
 How to insert these widgets?

      7. FAQ
          7.8. Advanced features
 7.8.4. FAQ : Generating PHP pages  

How do I activate my PHP scripts in my pages ? Do I need rename them ?

You just have three things to do :

  • turn the WIT file suffix to .php (or phtml)
  • insert your scripts in the raw HTML code (in the WIT HTML view tab)
  • check that your web server (or your ISP web server) accepts PHP pages and recognize your suffix.

All WIT generated pages will have the new suffix, even the "pure" HTML ones ; it doesn't matter : if a page contains only HTML tags and is named - let's say - mypage.php, it will be correctly served by the Web server, and you'll see it as if it had been named mypage.html. So no need to manually change page suffixes.