67 Topics
![]() | |
Hi, I'm a Perl program in Windows 7 32-bit using ActivePerl. I have created a registration form using HTML and saved this file as Details.html <!DOCTYPE html> <html> <body> <form name="myform" METHOD="POST" ACTION="D:\Application\perl\cgi-bin\app.pl" onsubmit= "return validation_form()"> <p> <label for="employee name">Employee Name</label> <input type="text" id="employee name" name="employee name" /><br> </p> <p> … | |
Hello, I'm not able to display the whole select result information in the table and I have no idea what I am doing wrong, I would appreciate your help so much. So here's my code: <?php $DBServer = 'localhost'; $DBUser = 'root'; $DBPass = ''; $DBName = 'world'; $conn = … | |
https://jsfiddle.net/c9jmjcy0/3/ The reason that it doesn't work is because for some reason `<a>` denies wrapping `<div>`. Probably specification. The only solution is to wrap it around other item. Do we have any other item that would say "it's a link/dropdown". There's also `<button>`. But it doesn't wrap it either, it … | |
I have wierd problem the navigation is working good everywhere but on `home.php` file it doesnt work when i press the MORE button to open the dropdown here is my code, what can cause this problem ? sidebar.css body,html{ height: 100%; } /* remove outer padding */ .main .row{ padding: … | |
Hello, I have a file like below that contains datewise value for every hour for 2 locations. I need to add the value for the same hours for ServerA and ServerB. Using Hashes, I am able to add the server value per hour. But cannot pass it to a table. … | |
I understand its usually a header has been already sent type scenario but I'm starting to lose it. I have no idea how to sniff out where I mucked up in my code. I tried using a print sub routine that prints both to stdout and to a file. I … | |
Hello All, I want to convert a markdown file to its equivalent HTML programatically and Iam looking for a way to do this properly. I would need a script that converts the markdown file into proper html.I'am aware of Doxygen which generates these .md files to hmtl just with a … | |
Hi all, I've started to get acquinted with Perl's HTML::Parser, which does a really good job at parsing html (duh ;-) But for the life of me, I can't get it to return the actual text from subroutine! I keep getting references to it :\ :\ use HTML::Parser; package MyParser; … | |
How to get iframe inner content responsive. Or by reducing iframe size ie. width or height it should adjust the inner content as well. Any Idea ! Thanks in advacne | |
Hi, I have a page MyList.aspx, which is giving me some issues. When the page loads, it loads perfectly. In my master page, on the left side of the page is a menu, and some hyperlink is provided. When i click on the hyperlink in the left pane, the page … | |
Hi How can I parse html files for example daniweb.com 1.Extract all the links pointed (the content of the href tag) 2. how can I List all of them after having removed the duplicates (means that there is two links pointed the same page, only one should be displayed) I … | |
Hi All, Trying to script by comparing the two .txt file and getting the output in html page which should show the comparision in html with dual screen. Can you please help me Regards, Hero | |
Here is part of the html <body> <table> <tr> <td id="ctl00_ContentPlaceHolder1_TD_Unlimited_Usage_PerDay" class="form_label" colspan="2"> <table width='100%' cellspacing='2' cellpadding='0' border='0'> <tbody> <tr> <td align='center' bgcolor='#E1E1E1'>Date</td> <td align='center' bgcolor='#E1E1E1'>Download Usage</td> <td align='center' bgcolor='#E1E1E1'>Upload Usage</td> <td align='center' bgcolor='#E1E1E1'>Total Usage</td> </tr> <tr> <td class='table_item' align='center' bgcolor='#EBEBEB'>2012-11-02</td> <td class='table_item' align='center' bgcolor='#EBEBEB'>1.269 GB</td> <td class='table_item' align='center' bgcolor='#EBEBEB'>0.286 … | |
Dear Sirs, Can you please check this code and comment what should be the proper one. <label for="username">Username:</label> <br /> <input id="username" type="text" value="ENTER USERNAME" onclick="this.value='';" name="username"/> </p> <p> <label for="password">Password:</label> <br /> <input id="password" type="password" value="ENTER YOUR PASSWORD" onclick="this.value='';" name="password" /> here is the link for this one... http://insanitygzonecom.ipage.com/clubfive/login.php | |
I need to create a dynamic HTML form using PHP. I am only considering the following fields : Text, Text box, Radio, Check Box, Drop down. I am thinking of the creating the following database design. Field ID | Field Type | --- Other Attributes, such as length and others … | |
How can I get an image to have it's own hyperlink that is inside of a clickable div? [CODE]<div id="clickable" onclick="window.open('http://www.daniweb.com');return false;"> <p>I love clickable images!</p> <a href="http://www.google.com"><img src="someimage.png" /></a> <p>too bad they don't click in a clickable div</p> </div>[/CODE] If I try the above then the DIV is always … | |
hey.. I recently learned a bit of Perl, and I want to test it out on the net... I was/am under the impression that a perl script can be embedded into HTML, but I am have trouble with that. I searched it but I came up with several methods, none … | |
For those of you unfamiliar with Google Documents, it is like Microsoft Word/Excel/etc. online. I would like to create a simple online document editing program where a logged-in users could edit and save a book or other text-based document. However I do not have a lot of Web Programming experience … | |
Hi how to export perl script results to HTML files? | |
How do I call the following Perl script from an HTML page? wget --user=user --password=password <camera IP>/cgi/mjpg/mjpg.cgi I am trying to access video on a Trendnet IP410 camera for display on the page and eliminate the requirement for input of a User and P/W. Any help will be most welcome. … | |
Hello, My dropdown menu is not working properly. I have set the menu to not display through css. When I hover my mouse on the 'Link Menu' <h2>, it only shows the menu while the mouse is hovering the 'Link Menu' <h2>. As soon as I move my mouse to … | |
Hi All, I am new in perl, can anyone tell me how to read HTML template in PERL? Regards, Mahendra Jadhav | |
Good Evening All I have Silverlight application and it is rendering better(not Good) in IE and it renders differently from different browsers, like IE8,Firefox 3, 4, and worse in Chrome. i tried different examples , i used one example that was good , but the moment i view this in … ![]() | |
I'm trying to convert html to plain text (remove all html tags) I don't want to use regex so I tried the module HTML::Parser and tried the parse() function but i got this error [CODE]Undefined subroutine &main::start called at getwords.pl line 27. [/CODE] and as a matter of fact I … | |
When we click on the Hyperlink of subject a new HTML Page should be pop up and shows the body of the mail. I have written two perl codes first is for displaying the page with folders with subject another perl code having function to show the body.How can I … | |
Hi, Please see the below one : [CODE]#!c:/perl/bin/perl use CGI qw(:all); print "Content-type:text/html\n\n"; print <<EndOfHTML; <html><head><title>Print Environment</title></head> <body> <FORM action="sample.cgi" method="POST"> First Name: <input type="text" name="first_name"> <br> Last Name: <input type="text" name="last_name"> <input type="submit" value="Submit"> </FORM></body> EndOfHTML[/CODE] From this, i don't know to proceed. There are two text box with … | |
Hi All, (EDIT: Amazingly, I clicked on another thread to give myself a break from coding and i found half the answer immediately. Thanks Pritaeaus [url]http://www.daniweb.com/forums/post1478160.html#post1478160[/url]. However, when validation is not passed I still get the messed up page so if anyone can help, I'd be most grateful.) (EDIT 2: … | |
Hi, I have installed ActivePerl-5_6_1_631 and Web server Apach_1.3.22. I am using HTML Frameset in PERL/CGI. Facing problem in displaying HTML Frameset. Please check my coding.. [B][I]Sample.cgi [/I][/B][CODE]#!c:/perl/bin/perl use CGI qw(:all); $login=uc(param('uid')); $passwd=param('pwd'); $kid = time; $cookie = cookie(-name=>'logtime', -value=>$kid, -path=>'/cgi-bin/'); if ($login eq "" || $passwd eq "") { … | |
I'm having an issue regarding how Safari displays my page. A snippet of the HTML includes: [CODE] <div class="MenuBar"> <ul>...List of Menu Items</ul> <div class="QuickSearch"><input type="textbox" /><a>Go</a></div> </div> [/CODE] the CSS code: [CODE] * html DIV.MenuBar DIV.QuickSearch { margin-top:-0.3em;color:black;} DIV.MenuBar {font-weight:bold; font-size:1.1em; font-family:verdana, Arial, sans-serif;background:#FFF url("../images/Gradient.jpg") repeat-x bottom left;border:1px solid … | |
I can't resolve a question.write a stucture in html that can call a perl script.please help. | |
hello am currently facing a problem with the popup which appears when I hover on a link: (see 1st attachment) while it should have been as shown at design time (2nd attachment img) For those familiar with drupal, the part which is shown in 1st attachment is from the left … | |
We were assigned a game of hangman for our Perl class. In this Perl script, we must use an html page to get the user's name. I feel like I'm getting awfully close, but I can't quite seem to get the userName value to print after each time the user … | |
i have a .php webpage with the following basic structure [CODE]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>index</title> <style type="text/css"> .style1 { background-color: #4BACC6; } .style2 { background-color: #005AE7; } .style3 { text-align: center; color: #FFFFFF; font-family: Arial; } .style5 { … | |
I have the following perl script which works nicely. It takes a list of URLs from a file, looks up each one, and returns the meta-keywords for that domain. Problem is, sometimes it hangs because it goes to a site which does not respond. I'm wondering if there is a … | |
I have a speradsheet which should be converted into HTML page using perl script. It should be generic so that if I change anything in the excel sheet this should reflect in the HTML page. Please can anyone help me? Eagerly waiting for some one's reply | |
Hey guys this is my code [code] <a href="Links.php"><img src="images/downloads.png"></a> [/code] How do i get rid of the blue border that goes around it?!!?? Thanks ![]() | |
cant get this to display on webpage. Apache is setup correctly. Getting error "[COLOR="Green"]malformed header from script. Bad header=04/19/2010: date.pl[/COLOR]" where am i going wrong? [CODE]#!/usr/bin/perl use strict; use warnings; use POSIX qw(strftime); my $cur_time = strftime "%a %b %e %H:%M:%S %Y", localtime; print "$cur_time\n"; open PS, "/bin/netstat -nra 2>&1|" … | |
I have this code which not give me desired result I want output as same http://www.asteraweb.co.uk/wrap_example.html same as like first container have I have this code but its working on no. of word and missing some words in the last <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> … | |
![]() | Hi I need to save the values printed in a html table from the database in a CSV file if requested by user. I've only managed to save the header of the table so far. The MySql query is made in a page called reportclient.php which then calls phpReportGen.php in … ![]() |
I'm attempting to write a script that logs into a web site, navigates through some links, stores some data to a text file, and logs out. I was able to log on with ease, using WWW::Mechanize. However I'm having trouble navigating through the actual website, because instead of just a … | |
Hello, I am new to this community as well as Visual Basic. My class was assigned a project that is to use Panning and Zooming of a Image. However the code the teacher supplied us zooms to the Upper Left corner of the image instead of the Center of the … | |
I have a .cgi file that reads POSTed data from an HTML questionnaire Form and displays HTML that lists all the scholarships the person may qualify for. I want to Include a file with CSS and a Header image. Unfortunately none of this is taking effect, only the list of … | |
Got stuck How to make $newUrl a hyperlink in a different html page new to php code [CODE] <?php if (!isset($_GET['p']) || empty($_GET['p'])) { $_GET['p']=0; } if (empty($_GET['q'])){ echo "What are you doing?"; } else { /* getting value from the search form creating a new variable*/ $ser = $_GET['q']; … | |
I'm fairly new at writing perl scripts and was wondering if you can write a perl script on an html page for the submission of a form to a database. Any assistance would be greatly appreciated. Thank you Doug | |
[B]Situation:[/B] Ever wanted to get the size of an image? Possibly to determine new height and width dimensions that DO NOT distort the proportion. Well I have, and I overcame the math like so. [B]Solution:[/B] First you must decide on an image width. The subroutine returns the proportional height equivalent. … | |
I am in the process of learning perl to go along with web design. I am trying to learn perl, ajax, css, xhtml, and javascript. If anyone can help me out, please let me know. thanks | |
Can some suggest a good way to cleanup the HTML that is output when a perl script is run using the CGI module? I tried to install HTML::Tidy, but couldn't as i was missing libtidy. And I don't want to go through 700 lines of code and putting up loads … | |
Hello everyone, This question is in regards to the HTML::TreeBuilder module in perl. I am using it to extract meta tags from website contents. It was working fine until i tried to extract meta tags from [URL="http://www.audicanada.ca/audi/ca/language_selector.html"]http://www.audicanada.ca/audi/ca/language_selector.html[/URL] This site contains all the meta tags that i need, author, keywords, description. … | |
Hi, As i m newbie for the Perl With Html Button. The scenario is like this: [list]I have HTML button in the perl Script. [/list] [list]I have to get the Data of Enable checkbox Data using the button click event in perl [/list] [list]And I have to copy/cut that Enable … | |
Hi All, I'm new here so apologies if there's something not quite done right in my first post on here. I'm fairly new to Perl but this is the first bit I've tried to write at home on my own. I want to have a .pl file that runs in … |
The End.