![]() |
![]() |
![]() |
||||
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 |
aka K-Man
Industry Role:
Join Date: Oct 2001
Location: The Gutter
Posts: 29,291
|
PHP Question re: executing CGI on PHP Page
I have a page that is a .php page, but it needs to exec cgi, and without the .shtml extension it is ignoring the CGI call, is there a simple way around this? thx in advance
------------------ K-MaN icq 1337988 NicheBucks 50/50 RawPussy TGP Secret Galleries TGP Trade Traffic For All Sites at BuiltonPorn |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Confirmed User
Join Date: Oct 2001
Location: LA
Posts: 162
|
in php u can use exec("command"); http://www.php.net/exec
------------------ "Shock your systemadministration! Read manual-pages!" |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
aka K-Man
Industry Role:
Join Date: Oct 2001
Location: The Gutter
Posts: 29,291
|
im peepin the site right now, thx... i didnt think GFY had people who gave a shit, but figured i'd post anyways =-) thx
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
Confirmed User
Join Date: Oct 2001
Posts: 6,693
|
virtual("/dir/cgiprogram.cgi");
There's another way of doing it, but can't remember what it is. Check out that php.net site. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
Suck it!
Industry Role:
Join Date: Jun 2001
Location: Who wants to know?
Posts: 4,432
|
Kman...here's how I do UCJ on a php page to call the c module:
<?php putenv ( "HTTP_REFERER=".$HTTP_SERVER_VARS["HTTP_REFERER"] ) ; putenv ( "REMOTE_ADDR=".$HTTP_SERVER_VARS["REMOTE_ADDR"] ) ; PassThru ( "./cgi-bin/ucj/ucjref.cgi" ) ; ?> Some variation of this should work. You can call whatever you want using the php rather than an SSI call. ------------------ Post your galleries here! Make 60% recurring (no fees) with these Babes! <A HREF="http://refer.ccbill.com/cgi-bin/clicks.cgi?CA=914709&PA=210461" TARGET=_blank> ![]() The Professional TGP Submitter! </A> |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 | |
So Fucking Banned
Join Date: Jan 2001
Location: http://www.thefly.net/ --- Quit your job and live off steady traffic.
Posts: 11,856
|
Quote:
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 |
Will code for food...
Join Date: Apr 2001
Location: Buckeye, AZ
Posts: 8,496
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |