![]() |
php and ssi together
how can i excute some php codes in a document with a .shtml extension?
i tried to do this in my index.shtml page, PHP Code:
PHP Code:
the strange thing is that i have this PHP Code:
do shtml files only allow you to do <!--#include virtual="whatever" --> only once? |
Quote:
I am no pro programmer so don't blame me if I'm wrong :Graucho |
<!--#include virtual="/includes/showinc.php" -->
should work or try <!--#include file="/includes/showinc.php" --> you can also make the server parse html and htm documents by adding this to an htaccess file AddHandler server-parsed .html AddHandler server-parsed .htm |
try the using 'exec' in php
_ |
like how?
|
e.g
exec("someperlscript.pl parameters >/dev/null &"); _ |
All times are GMT -7. The time now is 11:18 PM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123