HTML - Loading Cgi Page Information In Html File
Hi all,
I have a .CGI web page written in PERL language. The CGI script loads the information from a database. So when i start the CGI page in my browser and it will only have a value in the whole page. As in when the whole page started in the browser will have only a few characters. Let say it retrieve Temperature recorded and which is stored in the database. So the whole page when loaded will only show 1 temperature. Which is "36.6" and will change when ever the database receive a newer data. In additional, i have a html page. There are tables in the page whereby show information. Like tables having temperature, id, sound and light columns. My Question is that Am i able to load the numbers/characters show on the CGI page directly into the table or any where in the HTML page? What i can think of is putting up a link to the CGI page on the HTML file and click it when i want to view it.But it would just be too troublesome. Lastly, thank you all for your time in reading and please pardon me for my bad English and weak HTML skills as I'm still learning. Thanks & best regards Joseph Similar TutorialsHello, I am currently working on a small library of school videos utilizing the DivX codec (which, by the way is quite something). Each video is centered on it's own page using a table. Rather than creating 25 different HTML documents, I would like to have one that can switch between tables on a click. If you are unsure of what I am suggesting, I found that Apple has implemented just what I want... http://www.apple.com/iphone/ipod/ ... if you click the music tab, it loads a .mov; likewise with the video tab. (without loading an entirely new page) I would like to do this very thing with my table. Can anyone suggest how I can do this? I would appreciate any advice. Thank you, JRosselet Hi, Quite some time ago I was faced with putting a website together for the first time for a local community group (my wife nominated me!). Rather than tell you all what it contains and how it looks, it is probably easier for me to give you the link which is the Friends of Clifton Park based in South Yorkshire, UK. This website consists of eight html pages. The first is the index, second is the welcome page and the rest are linked pages via links on the left. On every of the "linked" pages, only the main body changes, with the exception of each link showing in Caps and link disabled. The problem I'm having is that every single one of the linked html pages are the same, except the displayed text. 90% is the page set-up. So my question is: Is it possible to "import" the required text information when a link is clicked on straight into the main body of ONE html page? btw, you'll notice that the page height isn't fixed, it expands depending on amount of information in it. I have tried IFRAME but don't really seem to be getting anywhere as I can't seem to make the height auto-adjust. A specified height value has to be entered for each "page". This is no good as more information will be needed to be put on. So basically what I am trying to do is: Keep the index.html Change the welcome.html to display the main page (graphics/images, etc) Import text into main body into the welcome.html page when a link is clicked on. Thus reducing the need of duplicate html pages and just having text files containing the main body text. The main reason for wanting to do this is a) stop all the duplication of page set-up in each html file, and b) make it easier for the guy that wants to add information where needed, straight into notepad (txt file) and upload it to the website. I hope all the above makes sense and if anyone requires further information, I will only be to happy to provide it! Thank you. Hi there in new here so please be nice haha ok i want a Mp3 file which is located in the same directory as my web page file to play in the background of my web page saved on my computer. i have tried loads of different codes, but to no success. I am using firefox browser 3.0.9 version. I created the html webpage using notepad. I have installed apple's quicktime as this website said so: http://kb.mozillazine.org/Background...doesn%27t_play Here is my code, please could somebody tell me where i am going wrong: Code: <html> <head> <title>My webpage!!!!!!!!!</title> </head> <body> <object data="music.mp3" type="application/x-mplayer2" width="0" height="0"> <param name="florida.mp3" value="music.mp3"> <param name="autostart" value="1"> <param name="playcount" value="true"> </object> </body> </html> Any help would be great many thanks and kind regards Jackie x Hi, My problem is the following: i would integer in a page of my website the data from a xml page of another website. i try to integer this sport ranking in my site : http://www.lffs.org/Page/PA4G_Class.xml). The use of an iframe is a solution. but the style of this table isn't suitable. In other words, i try to extract the date of the table and insert it in another table to which i can apply a css-sheet. Is-it possible? Thanks in advance. Julien Is it possible to reference a PDF file in a HTML page as one does with <img />? That is, when the page opens, the file will be displayed. Many thanks... Todd Hi, However, many of thesystems can work with embedded images, media files and so can any one show an example of a simple PDF file embedded within a HTML page? Not even sure what to call this actually... I received this message from a friend whose site I just put up. ---------------------------- When you click on say the Home Page, and then you click on something else then go back to the prvious page, it apparently displays the previous page on the home page for example. I was not able to recreate this on my computer, but apparently, [another] web developer said this is a fairly common problem. Do you know what he is referring to, and can it be fixed? ---------------------------- Here's the site in question. Nothing fancy, just individual HTML pages. http://www.soundadviceht.com/index.html I gotta admit, I have no earthly clue what he's talking about, unless he's relaying the message wrong? Any ideas what he's talking about? If you want to include a template file how do you do that inside a html page? I want to include a footer.dwt file inside my html file...... I want to implement the footer.dwt file for all the pages of website....so i just want to call the footer.dwt file below my html page...... Help? Hello Everyone, Can someone guide me how can I open a word doc or text file from a html page. I already changed the following setting for doc files in my system: In Explorer - Click Tools --> Folder Options Click on File Types Goto any office extension (XLS, DOC, PPT,...) and uncheck Browse in Same Window. Here is my html file <html> <body> Hello <a href="c:\\myword.doc" target="_self">Link</a> </body> </html> The preferable way would be to govern it through coding, rather doing some manual settings in browser. Thanks. Hi All, Please Heeeeeeeeeeeeeeeeeeeeeeeeeeeellllllppp!!!!! Thanks in advanced!!! Have a few mistakes and / or something is missing below: Code: <html> <head>PLEASE FIND THE MISTAKE(S) or SOMETHING MISSING /</head> <script type="text/javascript"> window.onload=function() { document.getElementById('exampleletterList').onchange=function() { window.location=('http://www.example.org/'+this.value+''); } } </script> <body> <select id="exampleletterList"> <a target=\"_blank\" href=\"file.doc\" title=\"\">John Doe<br> XXXXXXXXXXX</br></a>. <option value=""><b> PLEASE SELECT THE FOLLOWING: <b/> </option><!--this option takes you to --> <body mar="0" marginheight="0" bgcolor="rgb(38,38,38)"> "BACKGROUND BLUE GREEN MARMOL " <embed width="100%" height="100%" name="plugin" src="http://www.example.pdf" type="application/pdf"> <br> <CENTER> <option value=index.htm>Option #1</option><!--this option takes you to --> <option value="example7">Option #2</option><!--this option takes you to --> <option value="example3">Option #3 </option><!--this option takes you to --> <option value="example4"><br>Option #4</br></option><!--this option takes you to --> <option value="example5">Option #5</option><!--this option takes you to --> <option value="example2">Option #6</option><!--this option takes you to --> <option value="blog/wp-login.php"><!--this option takes you to blog--> </select> </CENTER> </br> </body> <html xmlns:v="urn:schemas-microsoft-com:vml" xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz </body> </head> </html> I want to load a local html file in an IFrame. The main page is loaded from a remote site (http://www.mysite.com). How can I do that if I don't have a web server installed on the local machine? Is there any workaround? Thank you! Is there an HTML tag that loads a text file right into HTML? Or, so to speak, if i had a text file with HTML written in it, how could i get this into a page, without using any server scripting. Possible? thanks a ton ~DeathBlade Hi there, I've got an example xml page that I'm trying to separate into tidier pices (eg separate files for stylesheets, xsl, xml etc). However I don't know how to separate the xml file? Normally in html it's just something like with stylesheets/javascript etc: <script>script here</script> turns into <script src="external.js"></script> But that doesn't work with xml it appears, so can anyone tell me how I can remove the bit in <xml> ... </xml> to an external file and get it loading from that external file...? Hello! Is there a way to load a certain text/HTML file to a certain place in the HTML? I have a "linkbar" at the top of my page. Because i have bunch of "sub-pages" i would like to load that file with links to that position (linkbar), cause the links might change through time and i would have to update all HTMLs. Is that possible withouth frames in HTML? Thank you! I am trying to figure out how to send information that people submit on an internet website, from the website to an excel worksheet. Reason being I no longer want to do the "grunt work" for a fellow employee of mine. Any help would be great! hi everybody, I am working in a html. I defined a functiion in a html file.(first.html) I want to call that function in another html file.(second.html) How can i call that function in second.html file? give some sample code Thanks in advance.... Hi, I've just put some of the finishing touches to www.oisinmcgann.com which works just fine in IE7, Firefox, Safari and every other browser I've checked. Except IE6 (of course), where some of the pages just hang loading one of the background images. There's a lot of CSS and some transparent PNGs involved, but I've followed tutorials and tips on-line and think everything should be technically alright. More annoying is that there are three layouts involved. The one on the home page seems to work fine, while if you check out the books>Mad Grandad or books>Forbidden Files IE6 just gives up after putting in the CSS menus and the text. Could any give me some pointers on what I can do here? (Aside from ask everyone visiting the site to upgrade...) Cheers, M Hi, I just edited my index page but when i type the name to the website it still shows the older version of the index page... how do i change this? Pleasee heeelllpppppppppppppp Hi, I have made an ubuntu server (11.10) and I have made a site on this IP number: 188.177.104.174. When I load the site from a non-local location the site looks strange... The whole setup is missing... I guess its a very basic configuration issue!? Can you help? Frank Hello, I am new to the forum and html in general... I came across this website: http://ricardovilloria.com/ and what i like about it that pages of work load without re-loading the whole page again. It is really simply done - yet I cannot see how. I don't understand what is: http://ricardovilloria.com/work/03 is it a folder? how come it doesn't have .html extension? I tried downloading it - it seems that there is an index.hml that has elements on the page/website that are always stay, in this case header and the list of links on the right. But how the other pages load into this one with only a click? the website is clearly not a php website...? how is this done? I appreciate any help thanks alimdar |