C cgi files - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

C cgi files

Hi,

I have a web page with a button. The html code FORM ACTION invokes a C executable, button.cgi. The button works and the button.cgi runs. What happens is the web page changes to a blank page, with the url being http://button.cgi?. The FORM METHOD is GET. I would like to use this button without the web page changing. That is, I want the original web page with the button to remain. How can this be done?

Thanks.

Comments

  • Malcolm_McLeanMalcolm_McLean Posts: 254Member ✭✭
    : Hi,
    :
    : I have a web page with a button. The html code FORM ACTION invokes a
    : C executable, button.cgi. The button works and the button.cgi runs.
    : What happens is the web page changes to a blank page, with the url
    : being http://button.cgi?. The FORM METHOD is GET. I would like to
    : use this button without the web page changing. That is, I want the
    : original web page with the button to remain. How can this be done?
    :
    Replace the button.cgi program with one that does something useful. If you can't edit the web page, you must have access to the CGI server. There's no way of doing it if you can change neither the web page nor the CGI program, or anyone could disrupt anyone's CGI program without so much as a by your leave.


  • Malcolm_McLeanMalcolm_McLean Posts: 254Member ✭✭
    : Hi,
    :
    : I have a web page with a button. The html code FORM ACTION invokes a
    : C executable, button.cgi. The button works and the button.cgi runs.
    : What happens is the web page changes to a blank page, with the url
    : being http://button.cgi?. The FORM METHOD is GET. I would like to
    : use this button without the web page changing. That is, I want the
    : original web page with the button to remain. How can this be done?
    :
    Replace the button.cgi program with one that does something useful. If you can't edit the web page, you must have access to the CGI server. There's no way of doing it if you can change neither the web page nor the CGI program, or anyone could disrupt anyone's CGI program without so much as a by your leave.


  • sccjazz1sccjazz1 Posts: 2Member
    : : Hi,
    : :
    : : I have a web page with a button. The html code FORM ACTION invokes a
    : : C executable, button.cgi. The button works and the button.cgi runs.
    : : What happens is the web page changes to a blank page, with the url
    : : being http://button.cgi?. The FORM METHOD is GET. I would like to
    : : use this button without the web page changing. That is, I want the
    : : original web page with the button to remain. How can this be done?
    : :
    : Replace the button.cgi program with one that does something useful.
    : If you can't edit the web page, you must have access to the CGI
    : server. There's no way of doing it if you can change neither the web
    : page nor the CGI program, or anyone could disrupt anyone's CGI
    : program without so much as a by your leave.
    :
    :
    :
    Ok...I have full control over editing the web page and the cgi programs. I was looking for information on how to accomplish what I wanted to do. Telling me to "Replace the button.cgi program with one that does something useful." does not seem to do this. Can you help? Thanks.

Sign In or Register to comment.