2,977 Topics

Member Avatar for
Member Avatar for gary89

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.. …

Member Avatar for gary89
0
211
Member Avatar for dmkc

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 …

Member Avatar for kireol
0
118
Member Avatar for sciwizeh

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 …

Member Avatar for llemes4011
0
158
Member Avatar for SergioQ

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 …

Member Avatar for 7stud
0
108
Member Avatar for roswell1329

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 …

Member Avatar for roswell1329
0
95
Member Avatar for ravikim

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 => …

Member Avatar for 7stud
0
375
Member Avatar for sathish009

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, …

0
65
Member Avatar for mattdaddym

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 …

Member Avatar for kvprajapati
0
115
Member Avatar for Drpills

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 …

0
108
Member Avatar for Tony Timms

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 - …

0
54
Member Avatar for mksakeesh

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] …

Member Avatar for mksakeesh
0
101
Member Avatar for theAviator

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. …

Member Avatar for theAviator
0
194
Member Avatar for suki_boy

[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 …

Member Avatar for ov3rcl0ck
0
192
Member Avatar for nayakss@in.com

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/> …

0
71
Member Avatar for tinuke

Hi there,am tinuke a software developer. I use ASP well,but i just started learning PHP/MYSQL. Is there a way to create a hyperlink data type like we have in MS ACCESS? I need to upoad an address to the database as a link.Pls help :sad:

Member Avatar for MeSampath
0
328
Member Avatar for cms271828

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 …

0
79
Member Avatar for ajay_p5

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= $_; …

Member Avatar for d5e5
-1
142
Member Avatar for StePu

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 …

Member Avatar for StePu
0
130
Member Avatar for OnIIcE

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! =( …

Member Avatar for Airshow
0
269
Member Avatar for muppetjones

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 …

Member Avatar for Sanjeeb25
0
173
Member Avatar for msvinaykumar

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 …

Member Avatar for mitchems
0
139
Member Avatar for Woobag

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 …

Member Avatar for Woobag
0
87
Member Avatar for viktorijakup

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 …

Member Avatar for k_manimuthu
0
224
Member Avatar for Vandithar

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 …

Member Avatar for 7stud
0
105
Member Avatar for wonderland

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 …

Member Avatar for wonderland
0
169
Member Avatar for notuserfriendly

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 …

Member Avatar for 7stud
0
398
Member Avatar for leegeorg07

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 …

Member Avatar for leegeorg07
0
116
Member Avatar for john_prince

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; …

Member Avatar for john_prince
0
95
Member Avatar for derekn

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 …

Member Avatar for derekn
1
99
Member Avatar for ArjunRaja

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.

Member Avatar for ArjunRaja
0
120
Member Avatar for escocia1

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 …

0
39
Member Avatar for klactose

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 …

Member Avatar for klactose
0
165
Member Avatar for cutedipti

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 …

Member Avatar for Gaiety
0
97
Member Avatar for k2k

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? …

Member Avatar for d5e5
0
109
Member Avatar for kingvicar

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 …

Member Avatar for ramsun
0
168
Member Avatar for sen1978

<?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 …

-1
76
Member Avatar for ajay_p5

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 …

0
98
Member Avatar for chavanak

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 …

Member Avatar for chavanak
0
433
Member Avatar for shoola

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?

0
90
Member Avatar for pbassett

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 …

0
96
Member Avatar for oluscoa

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

0
58
Member Avatar for jacquelinek

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

Member Avatar for k_manimuthu
0
145
Member Avatar for riya0707

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 …

Member Avatar for thangdd
0
152
Member Avatar for BratNZ

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.

1
42
Member Avatar for skelly16

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 …

Member Avatar for skelly16
0
228
Member Avatar for mitzoff

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 …

Member Avatar for mitzoff
0
207
Member Avatar for cadrpr

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 ?

Member Avatar for cadrpr
0
68
Member Avatar for shoola

there are so many here: search.cpan.org/search?query=upload&mode=module which one do you use?

0
88
Member Avatar for johnyjj2

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 …

0
91
Member Avatar for ajay_p5

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 …

Member Avatar for ajay_p5
0
156

The End.