2,977 Topics
![]() | |
I'm helping my dad out with some of his website issues, so any help is appreciated. He is getting an error (and no I don't have the exact text at the moment) that there was a fatal error in charlint.pl The problem apparently started when the site's host updated the … | |
Hi Guys me again, still working on the ohiochirorelief.com site. problem i'm having now is I'm trying to add a footer that spans the width along the bottom. but it doesn't. the text and graphic just appear at the end of the right column instead of the bottom of the … | |
#!/opt/bin/perl $[ = 1; # set array base to 1 $, = ' '; # set output field separator $\ = "\n"; # set output record separator $FS = ';'; line: while (<>) { chomp; # strip record separator @Fld = split(/[;\n]/, $_, 9999); $id = $Fld[1]; if ($. == … | |
I want to be able to put two hyperlinks into a single gridview cell such as: hyperlink1 | hyperlink2 How do I accomplish this task? Thanks in advance for any and all assistance. Edit/Delete Message | |
Hi All I need to add mouseover event on hyperlink which is in a gridview. What actually I need is displaying names of states in a gridview as hyperlink and when I take mouse over any state, it should navigate to a new page taking that stateid as querystring, So … | |
Hey guys, I have a problem. When I try to run a program that I've compiled with VS 2005 on a different machine that does not have VS, I get this error. "The application failed to initialize properly (0x0150002). Click on OK to terminate the application." I've installed the Microsoft … | |
Hi all, This is "imrags" here. Often referred to this site to search for things. I'm fairly experienced in perl and now am trying to dirty my hands by venturing into PHP & Drupal! Happy surfing, imrags | |
I'm showing a directory listing in one page now, but I want to show it in pages. Currently I'm working like this: [QUOTE]gtsee.com/cgi-bin/nph-dirsub.pl?invoice=invoices/merchant_invoice_999999 [/QUOTE] and the script for showing the listings are: my $sql=SELECT id, name, url FROM free_dirs; my ( $id, $name, $url) = @{$db_row}{qw/id name url}; print " … | |
Hi All, could you please help : i have a script to search the for PRIMARY INDEX and if found display the whole definition of create table: ISSUE NOW IS: we have to store the table name in a variable and search the file if any update,show table exists for … | |
Hello All, I am trying to figure out how to write user input into a text file. I created a text box that the user can type his/her name into. I am trying to get the information from that text box to be written to the text file using print … | |
Hi, How do I test Perl scripts in a web browser on a mac? Im using OSX 10.4.11. Ive got some documentation on how to edit the /etc/httpd/httpd.conf file, but its read only for some reason (even though Im on my own laptop). I also run MAMP and thought that … | |
Hello All, I am trying to use an image as a background. I am working with perl through putty .58 and am wondering how to get an image into a specific location in putty that can be used in a perl webpage? Thanks, | |
I have this script which uses the Net::FTP module to copy some files to some remote machine.It works fine with every file but a xml file.My application requires that the timestamp of the xml file doesn't change but the ftp script changes it.Is there any way around it? | |
Hi guys, I'm writing a simple script that uses snmpget statements to check the errors received by ports on a router and have the results going to a file. I've never worked with Perl before but one of my coworkers had a really basic script that I've been trying to … | |
I have a PS/2 laser mouse. I have it set at the lowest possible double-click rate there is. But it still clicks 3 times to my one tap. I don't know whats going on with it. But anytime i try to click something it either highlights it or makes me … | |
I've recently been elevated in my team to a lead position, and one thing I have identified as a problem is that we don't have any existing curriculum or program for teaching programming to those members on our team without programming experience. There seems to be a barrier to people's … | |
I am trying to do a store page for my class. I have a perl script that generates simple HTML tables. The store pages uses ajax to load the tables into the form. The form has all the elements, but when I submit, there query string is empty. I tried … | |
Blah, I hate build errors. Especially when I seem to have all the right dependencies installed. [code]wxw/mAParentFrame.cpp:950: error: variable or field ‘OnAbout’ declared void wxw/mAParentFrame.cpp:950: error: ‘int mAParentFrame::OnAbout’ is not a static member of ‘class mAParentFrame’ wxw/mAParentFrame.cpp:950: error: ‘wxCommandEvent’ was not declared in this scope wxw/mAParentFrame.cpp:950: error: ‘event’ was not … | |
I'm experimenting with fgets because I heard it's better for dealing with memory buffer overflow but I am not sure of the [B]sizeof[/B] component and how to the [B]stdin[/B] part helps it to work. Is [B]METHOD 1[/B] or [B]METHOD 2[/B] in the following code the correct implementation of [B]sizeof [/B]and … | |
Hai, This is something to save me and osme other people some time. Basically i need to read data from a text file and put that data in a a web form. It will be easy to read the text file but I don't know how to stuff that information … | |
hi, I was exercising package creation and its usage in Perl. I started with a simple program, 1. Created a package called A 2. Created a package called B 3. A program which includes those packages, and uses its services. [code=Perl] # A.pm package A; use warnings; my $l_var = … | |
I am trying to move files and rename them with a date-time stamp I generate. I have a survey and my perl script processes the POST query string. Once I have the query string, I am using XML::Simple to get the stored results, update them, then write them back out. … | |
Hello All, I am here with not really a problem but a bit of guidance in getting along in my path. Here I go with my task, I am trying to align a set of small sequences(may be around 5000 in number and less than 27 char in length) for … | |
I have been coding in c,c++ for many years, now I need to ramp up on perl within 3 weeks, can you please suggest what all books do I need to buy or I can learn advanced perl from some online website ? Thanks. | |
I am trying to process the results of a survey. I load the current results from an XML file, update them, then write them back to the file. I am get a 500 Internal Server Error when I run it from a browser, but it works fine in Windows and … | |
I have 25 years programming experience and am currently investing my time at trying to understand the visual C++ language. I am familier with several others. I find it very difficult to find someone who knows something about this language and is also willing to help. I completed a whole … | |
hi for all the PHP experts here, i have couple of questions that keeps me feel frustrating.. first of all, may i know how to insert a link within PHP echo? for example, i have a function which is used to validate the username, if the username is incorrect, i … | |
I have a need to pull the header informatilon form about a thousand email messages that have been saved in a file folder as text messages. I want to get this information into a database. I have no skills in coding or scripts. Example: The source IP, To: From: Date; … | |
I having troubles with the different seperators in this one and just picking out the lines I want keyed from the .dat filename. I basically have an autogenerated flat file that is an export of a directory structure. I want to parse through the flat file and pull values from … | |
This snippet while(<>) { for my $word ( split(/\s+/) ) { $idx{$word}{$page_number} = 1; } $page_number++ if ( /\014/ ); } is part of a perl script which indexes words by page (I'm trying to rewrite it in python). I do not understand it, or rather, I can guess a … | |
Hi, Basically I am quite new to php but am currently connecting to a database and am trying to send data from one web page to another using the information selected in a hyperlink. The first web page contains a table populated will all options within the database e.g. if … | |
Hi Everyone, I'm fairly new to DaniWeb and I was hoping I could get some advice from all you experts out there. I registered my own domain name and got a host a few days ago and am planning on building a personal website based on Ruby on Rails (I'm … | |
Hey guys wondering, if you are using Adobe CS3 and do you think, if there are other alternatives to CS3. Would you recommend CS3 or wait for something else. | |
Hello All, I used a for loop to create a set of radio buttons. For example: for($i = 1; $i < 4; $i++) { print '<INPUT TYPE="radio" NAME="first" VALUE=$i >', " $i|"; } My question is how do I display which radio button was chosen if all of them have … | |
I have tried debugging and optimizing this code, yet I cannot find the source of this error to save my life. I am getting a 'floating point exception' when I run the code pasted below. I am running with 'use strict' and 'use warnings'. My program takes a sequence and … | |
I have to write a programme. Whic is like this: You are write a program whcih uses the quadratic equation to solve second-order polynominal. wchich is a x**2 + b x + c =0 and use the quadratic equation, when given value for the coefficient a, b and c, to … | |
Hi all, i development network multimedia lab, i use win 2003 server and win XP as client then i install 3ds Max 8 on server... I use Citrix for the connection client to server (PC cloning client running server). Install 3ds max succesfully without anything error on server and run … | |
My uncle's cpu is running crazy...I rean CCleaner and deleted prefetch etc... Please review the log below and let me know of any issues Logfile of Trend Micro HijackThis v2.0.2 Scan saved at 12:47:36 PM, on 2/7/2008 Platform: Windows Vista (WinNT 6.00.1904) MSIE: Internet Explorer v7.00 (7.00.6000.16575) Boot mode: Normal … | |
I am a mew user of python.And I want to run following command in python perl test.pl -testconfig <config file> > test.log 2>&1 Can anybody help me. | |
Dying here people! I am have basically confirmed that I my script is getting a POST and that it has some length to it, etc.: $ENV{REQUEST_METHOD} $ENV{'CONTENT_LENGTH'} But this line here: [code]read (STDIN, $query, $ENV{'CONTENT_LENGTH'});[/code] Comes back with $query being blank. Surely I am missing something? Wish I knew Perl … | |
Hi everyone, I was hoping somebody could help me unravel this - i'm very new in programming in php and i'm teaching myself so bear with me. scenario: I have a website with 4 distinct section (all in seperate tables): 1. A header - where my menu buttons are, 2. … | |
1) is it possible that i could create GUI application under Perl (*.pl) files? 2) what are the things that i need to consider and do? 3) i tried copying a perl program from a certain website and when i tried running it on command prompt for Windows, it says … | |
I wish that when a user positions the mouse in a hyperlink, a set of sublinks will show up. It flips and flops as the user moves in and out the mouse towards it. How can I do this? Thanks. I really appreciate your reply. | |
I want to call a perl script from inside another perl script, but everytime I run it, a cmd window pops up, even if I close all the I/O handles. Is there any way to avoid the cmd window to popup in perl? I want to avoid annoying windows to … | |
Can anyone help me resolving below mentioned problem #!/usr/bin/perl @data=N; $sum=0; print"enter the required No. of numbers to be inputed : f"; $N=<STDIN>; print"enter the number"; for($i=0;$i<$N;$i+=1) {$data[$i]=<STDIN>; # chomp $data[$i]; $sum=$sum + $data[$i];} # for($j=0;$j=$data[$i];$j+=1) print"the entered numbers are",@data,"\n"; print"sum of the number:",$sum,"\n"; print"Average value the numbers:",$sum/$N,"\n"; @sorting=sort(@data); $lengt=@data; … | |
I'm not looking for a direct answer or anything considering I'm doing this for homework, but I'm a little confused on why my batting average and slugging percentage do not work. [code] batAvg = singles + doubles + triples + homeRuns / atBats; slgPer = singles + 2* doubles + … | |
Hello, I new to the forum. I am hoping to find some help for a template issue I have. I am not sure if this is the right place to post this, but it looks as close as I can find. I have an ecommerce site written in perl. It … | |
I had 256MB RAM DDR PC2700 in my PC and I installed a 1GB stick. I had run a memory needs check from Crucial.com and it told me what I needed and I also checked the actual label stuck on the RAM in the PC. The connections on the RAM … | |
How can i write a engineering code using Perl? Foe example, Connecting computer RS-232 PORT to collect data purpose Please advice | |
Hiii, i have a doubt here-- [CODE] DirCleanupList="logs tmp corefiles" echo "$DirCleanupList" | perl -ne 'print join("\n", split(" ")) . "\n"; ' for dir in $DirCleanupList do BackupLocation="$BackupLocation/$dir" mkdir -p $BackupLocation >/dev/null 2>&1 if [[ ! -d $BackupLocation ]]; then echo "Unable to make backup directory: $BackupLocation" continue fi done … |
The End.