![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Confirmed User
Join Date: Aug 2001
Location: Toronto, Ontario, Canada
Posts: 199
|
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? |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 | |
Registered User
Join Date: Aug 2002
Location: Not in real life
Posts: 90
|
Quote:
I am no pro programmer so don't blame me if I'm wrong ![]() |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
Confirmed User
Join Date: Sep 2001
Location: Kentucky USA
Posts: 689
|
<!--#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 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
Confirmed User
Join Date: Jan 2002
Posts: 162
|
try the using 'exec' in php
_
__________________
FREE TRAFFIC TRADING on any host. Also try our 200% traffic back program.Click here We host the scripts for you so you trade on our bandwidth. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
Confirmed User
Join Date: Aug 2001
Location: Toronto, Ontario, Canada
Posts: 199
|
like how?
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 |
Confirmed User
Join Date: Jan 2002
Posts: 162
|
e.g
exec("someperlscript.pl parameters >/dev/null &"); _
__________________
FREE TRAFFIC TRADING on any host. Also try our 200% traffic back program.Click here We host the scripts for you so you trade on our bandwidth. |
![]() |
![]() ![]() ![]() ![]() ![]() |