development
asked on
Embedding CGI Script into HTML
Hi
Not sure if this is the right place, but here goes.
I want to put a cgi script into my HTML code. Is it possible to do this? I know you can put a page in a page, but can you put a script in a page?
Regards
Peter Thomas
Not sure if this is the right place, but here goes.
I want to put a cgi script into my HTML code. Is it possible to do this? I know you can put a page in a page, but can you put a script in a page?
Regards
Peter Thomas
ASKER
Basically, I have a script which does a domain check, and returns the results.
So do you want to put the results in your page?
ASKER
for the page, so you can see what i am talking about, go to :
www.angelsolutions.net/cgi-bin/whois.cgi
www.angelsolutions.net/cgi-bin/whois.cgi
ASKER
I have given up trying to embed it. Its been a long time (3 years) since I actually had to write the code myself, so bare with me. I want to open a window, with no navigation, and minimise and maximise blanked out, and i want to set the dimensions myself. How can I do this.
Part of what you wish to do is not very difficult. Using the JavaScript "window.open()" method, you can open a new window with minimal tools and whatever dimensions you wish.
However, you will not be able to remove the minimize and maximize buttons (so far as I know).
The syntax for the method is:
myWin = window.open("filename","wi ndowname", options)
where options is a comma delimited list, enclosed in quotes. Options include toolbar, location, directories, status, menubar, scrollbars, resizable, width, height, top, and left.
HTH,
Tom
However, you will not be able to remove the minimize and maximize buttons (so far as I know).
The syntax for the method is:
myWin = window.open("filename","wi
where options is a comma delimited list, enclosed in quotes. Options include toolbar, location, directories, status, menubar, scrollbars, resizable, width, height, top, and left.
HTH,
Tom
Or, why don'e you just write some HTML code into the CGI?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Thats an answer??? While it is all good info and generaly basic knowledge, where does it solve the problem?
Well, the answer seems to be, "No, you can't do that". If development is happy with the explanation (and it's a pretty good one), and doesn't want to go any further looking for a solution...
Perhaps we could solve the problem by other means, but I can live with it.
Tom
Perhaps we could solve the problem by other means, but I can live with it.
Tom
ASKER
You can go on posting if you want. I basically gave up, and took the explanation, than a solution.
In the first place, you would be asking to execute the code at the client side. That would be a major security issue.
If you want code on the client side to initiate server side events/scripts, you may be able to do this with some sort of remote scripting, but that would still be code executing at the server.
What is it that you intend with your inserted code?
Tom