Web Hosting Talk







View Full Version : how 2 auto resize iframe ?


zumaidi
10-31-2002, 09:14 PM
I use iframe for the output of my perl/cgi script. The output can be larger or smaller than the original setting. so, I set auto for scrolling function. but then, it does'nt look nice.

is there anyway I can set the output to be auto resize ?

or is there any other way to execute perl/cgi in .html other than using iframe ( but not ssi bec. i need to pass some perimeters ) ?

Rich2k
11-01-2002, 05:35 AM
Yes set in .htaccess all .html (or just that specific file) to execute as CGI.

May I ask why you are using .html when you could just use a single .cgi script

zumaidi
11-01-2002, 11:15 AM
I have a cgi script that reads quotes from a flat file. The script will display one quote randomly when it is opened. So, I want to integrate the quote into my index.html.

BTW, can you explain more about the .htacess ?:rolleyes:

zumaidi
11-06-2002, 10:03 PM
anybody ?
:cool:

MarkIL
11-07-2002, 01:13 AM
Just specify .html alongside .cgi in the line that defines handlers in httpd.conf.