Today's Posts Follow Us On Twitter! TFL Members on Twitter  
Forum search: Advanced Search  
Navigation
Marketplace
  Members Login:
Lost password?
  Forum Statistics:
Forum Members: 24,254
Total Threads: 80,792
Total Posts: 566,471
There are 1163 users currently browsing (tf).
 
  Our Partners:
 
  TalkFreelance     Design and Development     Programming     PHP and MySQL :

Include CGI script into another page.

Thread title: Include CGI script into another page.
Closed Thread    
    Thread tools Search this thread Display Modes  
01-13-2007, 10:53 PM
#1
aSAPcreations is offline aSAPcreations
aSAPcreations's Avatar
Status: I love this place
Join date: Dec 2005
Location: Pennsylvania USA
Expertise:
Software:
 
Posts: 565
iTrader: 1 / 100%
 

aSAPcreations is on a distinguished road

Send a message via AIM to aSAPcreations Send a message via MSN to aSAPcreations

  Old  Include CGI script into another page.

How would I go about including my CGI-Proxy script into another page whether it be sHTML PHP or anything? Any ideas would be appreciated.

Note: I have tried
Code:
<!--#include virtual="/cgi-bin/nph-proxy.cgi" -->
and
<!--#exec cgi="/cgi-bin/nph-proxy.cgi" -->
Thanks,
aSAPcreations / Flash-matic

01-14-2007, 03:58 AM
#2
Wildhoney is offline Wildhoney
Wildhoney's Avatar
Status: Request a custom title
Join date: Feb 2006
Location: Nottingham
Expertise:
Software:
 
Posts: 1,648
iTrader: 18 / 95%
 

Wildhoney is on a distinguished road

Send a message via AIM to Wildhoney Send a message via MSN to Wildhoney Send a message via Yahoo to Wildhoney

  Old

PHP Code:
include_once('./cgi-bin/nph-proxy.cgi'); 
...At a guess.

01-14-2007, 04:01 AM
#3
Andrew R is offline Andrew R
Status: Request a custom title
Join date: Dec 2005
Location: Arizona
Expertise:
Software:
 
Posts: 5,200
iTrader: 17 / 95%
 

Andrew R is on a distinguished road

  Old

Wildhoney, would you also have to do like exec() or something to run the script though? Just curious.

01-14-2007, 04:24 AM
#4
aSAPcreations is offline aSAPcreations
aSAPcreations's Avatar
Status: I love this place
Join date: Dec 2005
Location: Pennsylvania USA
Expertise:
Software:
 
Posts: 565
iTrader: 1 / 100%
 

aSAPcreations is on a distinguished road

Send a message via AIM to aSAPcreations Send a message via MSN to aSAPcreations

  Old

Oh sorry for not updating but I did get this to work(a different method). Thanks for the input though Wildhoney. *bows*

01-14-2007, 05:32 PM
#5
Wildhoney is offline Wildhoney
Wildhoney's Avatar
Status: Request a custom title
Join date: Feb 2006
Location: Nottingham
Expertise:
Software:
 
Posts: 1,648
iTrader: 18 / 95%
 

Wildhoney is on a distinguished road

Send a message via AIM to Wildhoney Send a message via MSN to Wildhoney Send a message via Yahoo to Wildhoney

  Old

Well, no, Andrew. As it would execute automatically once you include, exec(), system(), passthru() etcetera... are all for executing system commands. Such as executing FFMPEG with arguments to convert videos to FLV format. But I see where you're coming from, mate.

01-14-2007, 05:35 PM
#6
Andrew R is offline Andrew R
Status: Request a custom title
Join date: Dec 2005
Location: Arizona
Expertise:
Software:
 
Posts: 5,200
iTrader: 17 / 95%
 

Andrew R is on a distinguished road

  Old

Ah, thanks for the info.

Closed Thread    


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

  Posting Rules  
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump:
 
  Contains New Posts Forum Contains New Posts   Contains No New Posts Forum Contains No New Posts   A Closed Forum Forum is Closed