| Cheshire Cat Computing http://www.steveshipway.org/forum/ |
|
| php with perl possible? http://www.steveshipway.org/forum/viewtopic.php?f=15&t=572 |
Page 1 of 1 |
| Author: | Bio [ Sat Apr 09, 2005 3:01 am ] |
| Post subject: | php with perl possible? |
Is it possible to insert a php block in the begining of the output perl script (so in the html code...)? And how to do? Thx you for your help and for your support |
|
| Author: | stevesh [ Sat Apr 09, 2005 10:31 am ] |
| Post subject: | |
Use the PageTop directive. If you want this on EVERY page, then use the pagetop in the routers2.conf. Otherwise, have mrtgpagetop=yes in the routers2.conf, and use the PageTop[] directive in the cfg files. The PageTop can contain anything -- it is inserted after the <BODY> tag on the main (graph) page only. If you need more control, then you'll have to modify the routers2.cgi code itself. There are several places to do this, look for the start_html function calls. |
|
| Author: | Bio [ Mon Apr 11, 2005 10:30 pm ] |
| Post subject: | |
| Author: | Bio [ Wed Apr 13, 2005 8:32 pm ] |
| Post subject: | |
| Author: | Bio [ Tue Apr 19, 2005 9:30 pm ] |
| Post subject: | |
Yes I must use PageTop directive but i Must generate php page and not html page. POssible or not? Please need an answer |
|
| Author: | stevesh [ Wed Apr 20, 2005 10:58 am ] |
| Post subject: | |
| Author: | Bio [ Tue Apr 26, 2005 8:20 pm ] |
| Post subject: | |
Ok thx i have found a little program named PECL which create php file and that can call a CGI script so i'm going to try it.... maybe a aroblem with the parametres i will see |
|
| Page 1 of 1 | All times are UTC + 12 hours [ DST ] |
| Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |
|