Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Including CGI script from another server

Status
Not open for further replies.

lahddah

Programmer
Jan 2, 2003
109
US
Hello - I need to be able to incorporate the results of a CGI program on somebody elses server into my design (with their permission, of course). What is the simplist and more effective way to do this? I know, basically, nothing about CGI, so anything would be helpful. Thanks!

~ lahddah
 
I'm afraid you'll have to be a little more specific.

How are you accessing this CGI routine - with form elements or is it a stand-alone CGI?

Also, you're probably going to have to use a CGI program to render a web page when you get the results, which means that you'll have to be able to install your own CGI routines on your server.

A word of caution: relying on someones elses server/programs is dangerous. You have no control over what happens to your friend's server and your web page(s) will not work if the server goes down or something else happens to block access to your friend's web site. It would be much better for you to install the CGI scripts on your own web site server.

There's always a better way. The fun is trying to find it!
 
Thanks, tviman.
I ended up finding a way to bring it to our server, make the programs work, and set up a cron job to run the program accordingly. I'm glad it worked out this way - I didn't want to depend on someone else's server!

Thanks for your suggestions!

~ lahddah
 
lahddah,

Glad you got it worked out. In my humble opinion, you've saved yourself tons of problems by keeping everything on your server.

A lot of my clients want to use banners/programs on servers other than theirs and it is a cause of never ending problems for me and my clients. I try to let them know the dangers involved but you have to go with what they want. When they finally see the light it ends up costing them more money to get the problem fixed.

There's always a better way. The fun is trying to find it!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top