2,977 Topics
![]() | |
Hi Guys, Its my first post here, and hoping to find some help.. I have installed a spiderPoll v1.1 system on my server, the problem is I cant seem to be able to vote.. It displays everything correctly but when I try and vote it will not recognise my vote.. … | |
Hi guys, Ok, so I'm using the code below to display the fields from a table on my webpage. I used some code to paginate the results as there's a lot of records, however I can't seem to get it working properly, and I'm going crazy trying to work out … | |
Hello all, I have the bluej source code in eclipse, and it compiles fine, but when I try to run it BlueJ starts fine, and then pops up an error window that says that bluej couldn't create a VM. My installed BlueJ has never given me this error before, so … | |
Hi All, So I use Net::POP3 to look into my email server. What I wanted to know is if there is any module that allows me to MODIFY the email messages? Sure between Mail:: and Net::POP3 I can forward them, delete them, etc. But would love to be able to … | |
My company is retiring an online document warehousing application that stored lots of text data. The application stored the data in a folder hierarchy that looked just like a Windows folder tree. I'm trying to replicate that hierarchy on a UNIX file system, but the tools provided with the application … | |
Hi , use Sort::External; $output = '1.txt'; open(FILE, $output); my $sortex = Sort::External->new( mem_threshold => 1024**2 * 1024 ); while (<FILE>) { $sortex->feed($_); # tried to change it to ~$_ but did not work !!!!! } use Fcntl; $sortex->finish( outfile => 'desc_1.txt', # comes in ascending order !! flags => … | |
Hi, I am new to coldfusion. I installed CF7 in multiserver configuration. I created two instances on same box and created a cluster. I can browse to the two instances seperately and thru the cluster. I am having an issue. When I access instances directly the site is working fine, … | |
Hi, I have a program that will download files from a company website given a list of links. The site requires authentication, and I do have code that will set the authentication cookie in the request header. I get the authentication cookie from a Perl script we have. What I … | |
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 … | |
Hi, I am new here and to Perl. I am currently being driven mad trying to install an event calendar script, I have created the database and successfully created the tables by running the dump.pl file but when trying to run the admin.pl [url]http://www.mysite.co.uk/cgi-bin/links/admin/admin.pl[/url] I get the following error - … | |
Hi, I have an text file "CD details" with content as below 1~ Cast Away~ English~ Thriller~ U~ 2~ Titanic~ English~ Romance~ A~ 3~ Forest Gump~ English~ Life~ U~ I am trying to add some additional data to the start of each line by using a code as below [code] … | |
Hi All, I am storing my automation results to sql server and the displaying the results in asp page. one of result coulmn is for error images(is test case fails it capture the image , for refrence of what went wron during playback) stored in local machine or QA server. … | |
[CODE]Hi All,Im a newbie in Perl Coding,and i just cant get this to work it says error compiling[/CODE] This is an Exploit for Hacking Joomla com_cinema Heres the Code [CODE]#!/usr/bin/perl -w #Joomla Component Cinema 1.0 Remote SQL Injection # ######################################## #[~] Author : **RoAd_KiLlEr** #[~] Greetz : Ton![W]indowS,KHG,ALBOZ-CREW,B3r0-G & All … | |
I need to tranform an xml to tsv but I am facing some problem with looping. <Test.xml> [CODE]<Tag1> <Tag2> <subtag1> <subtag2 F=1 Yr=2007/> <subtag2 F=2 Yr=2008/> <subtag2 F=3 Yr=2009/> <subtag2 F=4 Yr=2007/> <subtag2 F=5 Yr=2008/> <subtag2 F=6 Yr=2009/> <subtag2 F=7 Yr=2007/> <subtag2 F=8 Yr=2008/> <subtag2 F=9 Yr=2009/> <subtag2 F=10 Yr=2007/> … | |
Hi, I'm looking for some J2EE ideas, I have JSP hosting (1G hdd), and also access to MySql database, as well as perl/php, etc. I currently have a chess app, allowing users to play chess in 3D against each other or the computer that takes advantage of a few servlets … | |
Hi People I need to compare a particular line in a file with a particular string in the other file. I am attaching both the files for your reference. here is my code: [CODE] open (INFILE, "$input") or die "Couldn't open $input for reading: $!\n"; while(<INFILE>) { my $line= $_; … | |
Hey, This is my first post so go easy :) I’m in the middle of designing a website users can download files from. I’ve searched the web and found the perfect example of what I’m trying to achieve which is something clear and simple ([url]http://www.getfreefonts.info/free_fonts.a.html[/url]) From the category’s at the … | |
Hi im messing around with some jQuery and want to disable a link whilst it performs a ajax post (its adding/fetching somthing from a database) and i want to disable the link so it cant be multiclickd. [CODE]<a href=\"#\" id=\"seepages\">See Page</a>[/CODE] ive tried using [CODE]$("#seepages").unbind('click');[/CODE] but that dosnt work! =( … | |
I'm pretty new at this, and I'm trying to figure out how Perl's classes work with signals. Specifically, it doesn't seem that a class's DESTROY function is called when you Ctrl-C the program. I tried using [INLINECODE]use sigtrap qw(handler DESTROY INT QUIT);[/INLINECODE], but I'm not even sure this is the … | |
Hi, I'm using following packages to read and write the excel, But the problem I'm not able to copy the formula from one sheet to other sheet packages are use Spreadsheet::ParseExcel; use Spreadsheet::WriteExcel; Is there any other packages so that I can copy excel fromula to another excel ( I … | |
So I have this html code: [CODE] <div id="blog" class="grid_16_1"> <div class="blog_wrapper"> <span class="left_align"><h3>From the Blog</h3></span> <span class="right_align meta">Posted November 1st, 2009</span> <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco … | |
Hi ! Sorry for my english ! My script must rename file name, but don't do it. What is wrong with this script: [CODE]@rem = '--*-Perl-*-- @echo off if "%OS%" == "Windows_NT" goto WinNT perl -x -S "%0" %1 %2 %3 %4 %5 %6 %7 %8 %9 goto endofperl :WinNT … | |
HI, I have a string like this. These are the set of phrases enclosed in double quotes: [code] $str="\"rna binding protein\" OR \"Transcription factor\" "; [/code] I want to replace the string like this: [code] $str="\"rna|(rna) binding protein\" OR \"Transcription|(Transcription) factor\" "; [/code] How can i replace the above string … | |
Hi, I wan't to add simple web form to my page. name, e-mail, comment, so I started poking around internet and found out about CGI. I put premade cgi.(pearl) script in cgi-bin folder on server and adjusted form for that script: When I tested out my form , i got … | |
I need to read from a file and be able to split it into columns and ignore a line if it starts with ' . '. the text file is made of 3 columns but at some lines there are no words in the first column here is an example … | |
![]() | Hi I have this code currently: [code] dict = open("dict.txt", "r").readlines() print dict LETTERS={'a':1, 'b':2, 'c':3, 'd':4, 'e':5, 'f':6, 'g':7, 'h':8, 'i':9, 'j':10, 'k':11, 'l':12, 'm':13, 'n':14, 'o':15, 'p':16, 'q':17, 'r':18, 's':19, 't':20, 'u':21, 'v':22, 'w':23, 'x':24, 'y':25, 'z':26} word_value=0 lettersv=[] letterss=[] def main(): word=raw_input('what is the word?') word=word.lower() for … ![]() |
Hi, I am trying to match phone numbers, and want only having format xxx-xxxx. Here is what i have written so far : [CODE]sub OfficePhoneNumber { my @numbers = @_; my $number; my @results; foreach $number (@numbers) { if ($number =~ m/(^\d{3}-\d{4}$)/) { push @results, $number; } } return @results; … | |
I want to search "The tree is in the yard" for the word "the", then replace the word "the" with "<font color=#FFFFFF>the</font>", which I currently do with "s/$searchstring/<font color=#FFFFFF>$searchstring</font>/gi;" BUT I want to preserve the case of the word, so that in this example the first word of the sentence … | |
Hi I am new to C. I want use properties file in C like how we use in "java" and "Perl". I want to read the values from a file and have to use those values in another file. This logic is to avoid hardcoding username and password. | |
Using .htaccess i have a password protected folder online containing 7 files with one single user/pass combination. User is not allowed to see that 7 files are available. User enters 1 of 7 "Access Keys" in a simple HTML Form text input which is then processed (script?) User is then … | |
Hello, I have created a simple webservice and I am now in the testing mode. I am trying to write a simple script that will use curl to create user accounts and another one to delete user accounts. I have tried to use system to send curl commands [CODE=perl] my … | |
A hospital keeps a file of blood donors in which each record has the following information (i) Name (ii) Age (iii) Address (iv) Contact no. (v) Blood group. I have to write a program to enter record into a data file “blood donors.dat” and display information of each donors. And … | |
basically i need to have 2 variables.. concat them and put them into use. here is what i have done so far: [code] #!/usr/bin/perl $stats = ':/var/tmp/RtcTestHarness/currentTransactionStats.txt'; $console = ':/var/tmp/RtcTestHarness/TestHarnessConsole.log'; $client_1 = '9.34.120.36'; #$com = $client_1.$stats; #print $com; the concat here looks fine... system ("scp $client_1.$currentTranStats ."); [/code] anything wrong? … | |
My Lifebook N3511 no longer boots to Windows. I see the Fujitsu logo screen then the screen either 1) goes blank and nothing happens or 2) goes blank and there's a blinking cursor in upper left-hand corner. Both scenarios have no progress after that. I can't get to the Boot … | |
<?php session_start(); //Check User Session include ("includes/check_session.php"); include 'includes/config.php'; $current_module = 'MATERIALREQ'; //$related_modules = array('BIDDINGENTRY','PIRRAISING','POLIST','BIDDINGSELECTION','GRV'); include ('includes/check_acl.php'); //include 'includes/config.php'; include 'includes/sqlquery.php'; include 'includes/message.php'; $valid = ''; $current_user_id = $_SESSION['associate_id']; //if the session value is present, set whether the last transaction is stored or not if (isset($_SESSION['mrmsg']) && ($_SESSION['mrmsg']!='')) { $valid … | |
Hi everyone, I am using this code to parse data from latex files : [CODE] #!/Applications/xampp/xamppfiles/bin/perl use strict; use File::Copy; use LaTex::Parser; use Text::CSV_XS; use utf8; use Unicode::String; Unicode::String->stringify_as( 'utf8' ); # utf8 already is the default #see Ch 7.1 of Data Munging with Perl my $output = "ID+add.txt"; open … | |
Hi, I am comparing 2000 files with one other file. I want the program to go through each line in both files and compare. If the line is present, then it has to write to another file. What I tried was to open both the files and use readlines() to … | |
I'm using mod_perl it seems I have to restart apache every time I modify one of my modules. is there a way around this so that the modified module will load without restarting apache? | |
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 … | |
Using Visual Basic .Net, explain what each variable type listed below holds, how big it is (i.e. the number of bytes it uses) and give an example of how it might be used. Data Type Explanation space occupied Example Text Integer Floating point Byte Date Boolean | |
I have a list like this: name1: group1 name2: group4 name3: group1 group2 name4: group4 .......... .......... I wish to invert this list, and make it look like: group1: name1 name3... group2: name3 group4: name2, name4 ........... ........... Can somebody offer at least a psuedo code? Thanks | |
I am a perl beginner and need some help with regex Input for this code is : aatgatgataaggtaaggtatgatgatgatgatgatagtagannnnnnnnnatgcatga'/atgca.atgactagca/atgactagcaaggtaaggtaaggtaaggtaaggtatgatgatgannnn./atgatgactagactgacaaggtaaggtaaggtatgatgatgatcgatgacgat... and so on Here i am trying to assign input file as a scalar variable and trying to find a match of "aaggtaaggt" and then skip some 100 characters whether they are … | |
I was born at a very early age... And after that I got into extreme sports and IT. Now in the other order. Mainly a hardware/systems/network engineer chappy but have been known to wade through perl and C, etc. | |
Hi All Im very new to perl scripting coming from a shell background, but im determine to stick to it and learn perl. I have env variables which i have defined in my perl script and work fine from command line as these env variables are in my profile. When … | |
I'm new to perl and I'm writing a script to parse multiple Gaussian03 output files and extract certain pieces of data from them. Ideally the script needs to print out the name of each file, look for (the last) SCF Energy, the Zero-point Energy and check if the job has … | |
HI, In a recent Google posts, now their will be a hyper link in the snippets of the website in Google SERP pages. Any ideas about it ? | |
there are so many here: search.cpan.org/search?query=upload&mode=module which one do you use? | |
Hello :-)! I installed Ubuntu in order to install CMU Sphinx ([url]http://www.speech.cs.cmu.edu/sphinx/tutorial.html[/url]). There is one problem with executing perl script and I think it is good place to ask for help. Script make_feats.pl is here [url]http://www.linuxforums.org/forum/attachments/debian-linux-help/2267d1256986736-kde-startx-debian-make_feats.pl.txt[/url] . When I run "perl scripts_pl/make_feats.pl -ctl etc/an4_train.fileids" I see "Configuration (e.g. etc/sphinx_train.cfg) not … | |
Hi everyone Well I have been trying to install some modules like Bundle::DBI, DBD ::mysql and latex::Parser on my apple comp running mac OS X operating system. Every time I am trying to install a module I get an error like this : make had returned bad status, install seems … |
The End.