473,326 Members | 2,061 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

How do I call a program

Howdy

What do I use to call a program in html, in a known directory, and
then have control return to the next html step ?

Thanks tom
Aug 18 '05 #1
2 1791
Tomy Jon wrote:

Howdy

What do I use to call a program in html, in a known directory, and
then have control return to the next html step ?

Thanks tom


If you want a program to execute before a Web page is loaded, use a
server-side include (SSI). Reference the SSI in the BODY of the
page. The server will execute the SSI before delivering the HTML
to your client (browser). SSIs are often UNIX or Perl scripts, but
other SSIs are possible.

Often, an SSI contains the following statements:
print 'Content-type: text/html'
print ''
followed by a print statement that embeds some text (e.g., a
counter) into the HTML being delivered. However, that is not
necessary. You can instead have an SSI that merely executes. That
SSI can, in turn, call another program that is not a script.

I'm not sure what you meant by "have control return to the next
html step". When a server delivers a file (HTML, TXT, etc) to a
client, the entire file is delivered along with any supplemental
files appropriately referenced by the requested file (e.g., CSS,
JPEG).

--

David E. Ross
<URL:http://www.rossde.com/>

I use Mozilla as my Web browser because I want a browser that
complies with Web standards. See <URL:http://www.mozilla.org/>.
Aug 19 '05 #2
Thanks Dave, I will play with SSI and learn how it works.
tom

On Thu, 18 Aug 2005 17:39:53 -0700, David Ross <no****@nowhere.not>
wrote:
Tomy Jon wrote:

Howdy

What do I use to call a program in html, in a known directory, and
then have control return to the next html step ?

Thanks tom


If you want a program to execute before a Web page is loaded, use a
server-side include (SSI). Reference the SSI in the BODY of the
page. The server will execute the SSI before delivering the HTML
to your client (browser). SSIs are often UNIX or Perl scripts, but
other SSIs are possible.

Often, an SSI contains the following statements:
print 'Content-type: text/html'
print ''
followed by a print statement that embeds some text (e.g., a
counter) into the HTML being delivered. However, that is not
necessary. You can instead have an SSI that merely executes. That
SSI can, in turn, call another program that is not a script.

I'm not sure what you meant by "have control return to the next
html step". When a server delivers a file (HTML, TXT, etc) to a
client, the entire file is delivered along with any supplemental
files appropriately referenced by the requested file (e.g., CSS,
JPEG).

--

David E. Ross
<URL:http://www.rossde.com/>

I use Mozilla as my Web browser because I want a browser that
complies with Web standards. See <URL:http://www.mozilla.org/>.


Aug 20 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Greg Chapman | last post by:
I am at my wit's end trying to get information out of Streamline.net's support dept about my problem. They reply quickly enough, but seem to try and give out the least possible amount of info each...
0
by: Hubert Baumeister | last post by:
Fifth International Conference on eXtreme Programming and Agile Processes in Software Engineering XP2004 June 6-10, 2004, Garmisch-Partenkirchen, Germany http://www.xp2004.org/
4
by: Jean-Marc Blaise | last post by:
Dear all, I have simulated the windows MULTI application with a java program calling the SQLTP1DL proc referenced as DB2DARI application, on Linux Intel or ZLinux. If the proc is NOT FENCED,...
5
by: Seong-Kook Shin | last post by:
Hi, I'm reading Steve's "C Programming FAQs" in book version, and have two question regarding to Q11.16 ... Also, a `return' from `main' cannot be expected to work if data local to main might be...
13
by: Bern McCarty | last post by:
I have run an experiment to try to learn some things about floating point performance in managed C++. I am using Visual Studio 2003. I was hoping to get a feel for whether or not it would make...
24
by: John | last post by:
I know this is a very fundamental question. I am still quite confused if the program call stack stack should always grows upwards from the bottom, or the opposite, or doesn't matter?? That means...
3
by: balakrishnan.dinesh | last post by:
hi frndz, I need to call a C program function from php code, Is that possible, If it is ,then tell me how ? i.e,main() { int callfunction(); int i=2; callfunction(i); } callfucntion(int i)
1
by: qilin | last post by:
I have perl program which use system() to call another c program meanwhile the c program also use system() to execute a linux command line ....but not sure why it doesn't work. yes, the perl...
5
madzman23
by: madzman23 | last post by:
Hi guyz, I kinda new here and I dont know if there is post that similar to my question, because I really needed immediately I am posting my question. Can anyone here help me how to call a Java...
1
by: Kusno Doang | last post by:
Dear all, In our AS400 system, there is a program, 'PrgSend" located in MyLib library. That program only reads from PF file that comes from FTP, "TMPData" and sends data to Real table. I have...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.