2,977 Topics

Member Avatar for
Member Avatar for maydhyam

Hello there, My intentions are to enter the employee id in the search page, and have the results displayed below the area to enter the search criteria with the select box and update button( i only want to update 1 field) here are the codes..... My problem is whenever i …

Member Avatar for nav33n
0
161
Member Avatar for SNN

Hi all , I have loop and I would like to calculate an expression only when the index is even for($j=0; $j<=100; $j++){ if ( ){ do the expression } } i.e how do I tell perl to do the if statement when $j is an even number? Thanks

Member Avatar for KevinADC
0
58
Member Avatar for somename

HI guys. Jeezz, perl forum is kind of abandoned ;/ Anyway, maybe some one will have an idea. I want to write a selfkilling perl prog :D Ok, i got a simple prog which shows up a simple tk window with some text in it, to go to the next …

Member Avatar for katharnakh
0
94
Member Avatar for dfwood90

I apologize if this post isn't in the right category, but this is the closest I could find to the right category. Anyways, here's my problem: I recently started my own website. I just finished converting my first page into XHTML 1.0 Strict, it displays fine in Safari and Firefox, …

Member Avatar for dfwood90
0
83
Member Avatar for pubefair

hey im new at this and i was hoping u could help me out i have a drive that wont read disks its a ts-h652 its a dvd rom im trying to watch movies burn cd/dvd im running windows xp but the drive came out of a vista cpu so …

Member Avatar for caperjack
0
70
Member Avatar for Kadence

Is there any difference between regular expressions in C++ and in PHP/Perl? Or can one use the same regular expressions in C++ as in PHP?

Member Avatar for twomers
0
47
Member Avatar for swaroopk85

Hi all, Is there any module for undefining proxy for https in python like $agent->proxy( 'https', undef ); in perl

Member Avatar for swaroopk85
0
43
Member Avatar for Tess James

i need to have a hyperlink on the page having the graph code which, when clicked takes me to another page.. what should i do..please help.... thanks in advance.. :)

0
66
Member Avatar for webhostingsmart

Cracker tries to scan ports to find out which of them are open. Because the administrator of computer can enter the hacker's Internet protocol (IP) address into the suspect list, that is why cracker's find , it is wise to conduct scanning from computer other than his own. To this …

0
45
Member Avatar for DarkRubicant

Hi there here are my system specifications. Pentium D dual core cpu 3.20 ghz 2.0 Ghz of ram. 512 mb video card, nvidia. Geforce 7950 GX2 Western Digital 250 gigs sata Creative soundblaster X-FI Marvell Yukon PCI-E Gigabit ethernet controller. Can't think of anything else you might need. I've been …

Member Avatar for lunarstudio
0
317
Member Avatar for karthikvela

Hi, Am new to scripting. :) Am trying to figure out whether can i use bash scripting to parse an xml file. Parsing is not just pulling out information according to the pattern but its more of a generic parsing. I should identify the xml hierarchy and pull of information. …

Member Avatar for eggi
0
110
Member Avatar for somename

Hi everyone. I got a total newbe question and i am new to c programming. I want to write a program that will executing commands , written in separate text file. Lets say, in perl i got something like that: [CODE]open (F,"<file.txt"); $x = <F>; if ($x == "2"){ system …

Member Avatar for somename
0
95
Member Avatar for maydhyam

Hi Guys and Gals.... Could anyone help me with respect to why when this email is sent, the hyperlink in the message doesn't work? [CODE] //send email $to = $myrow['FirstName'].".".$myrow['LastName']."@petrotrin.com"; $subject = "TAIS Application - New Randomly Generated Password"; $from = "TAIS Application"; $msg = "Dear User ".$myrow['FirstName']." ".$myrow['LastName']." (".$empNo."),\n\nYou …

Member Avatar for maydhyam
0
156
Member Avatar for rampicos

#!/usr/bin/perl ########################################################################################## # # # AJAX Cross Domain - ACD # # ---------------------------------------------------------------------------------------# # Full documentation see [url]http://www.ajax-cross-domain.com/[/url] # # ---------------------------------------------------------------------------------------# # Copyright (c) 2007 Bart Van der Donck - [url]http://www.dotinternet.be/[/url] # # ---------------------------------------------------------------------------------------# # For installation procedure, see [url]http://www.ajax-cross-domain.com/#Installation[/url] # # ---------------------------------------------------------------------------------------# # Permission to use, copy, modify, and …

Member Avatar for KevinADC
0
132
Member Avatar for wizard_bro

I'm developing this game with sockets, server-client connection!! And the problem is I can't put the game work, so many errors along the program, can anyone help me?! It´s urgent....

Member Avatar for KevinADC
0
137
Member Avatar for a4tech

Hai... How can is actually to adding hyperlinkcolumn in datagarid ? I have 2 forms which are viewtopic.aspx and viewposttopic.aspx. [U]Form_A.aspx[/U] having <asp:hyperlinkcolumn> and datagrid. the hyperlink that auto created supposely will navigate user to Form_B.aspx and display informations based on category. For example, if user click Entertainment, in Form_B.aspx …

Member Avatar for dskumar_85
0
86
Member Avatar for swaroopk85

Hi All In perl we have something like www:mechanize to interact with web sites.Is there any equivalent one in python??? Can anyone help me in this regard??

0
72
Member Avatar for Deooptimomaximo

Hi there, This is a part of a project that i am doing.... the thing is that i want to link MS Excel with internet explorer in a manner such that whenever any page on the explorer opens it highlights the words that are present in the excel sheet.. I …

-1
57
Member Avatar for edek

I am using wireless connection ad-hoc. card 1 is on linux, card 2 on windows xp. No encryption. The connection keeps connecting/disconnecting periodically (period = about 2sec.) On LINUX: iwconfig gives: [CODE]wlan0 IEEE 802.11g ESSID:"local" Nickname:"FC8" Mode:Ad-Hoc Frequency:2.412 GHz Cell: 02:E0:01:22:D1:62 Bit Rate=11 Mb/s Tx-Power:29 dBm Sensitivity=0/3 RTS thr:off Fragment …

Member Avatar for edek
0
137
Member Avatar for crwtom

Hi, I'm not a professional computer scientist but have to write a report on a software package. I'm looking for standard terminology for the process/construction of one program generating another program as output which is then run at later time. Obviously, this can be iterated with programs writing programs writing …

Member Avatar for Salem
0
71
Member Avatar for Ravenous Wolf

I suppose that this is the wrong place to voice critique of php but does the lack of good php books not make php a bit of a nightmare. i have been on amazon and all the books have a review or two which says something about typos or misleading …

Member Avatar for Ravenous Wolf
0
148
Member Avatar for rysin

How do you add to a variable that is inside a foreach loop? Everything I try hasnt worked.

Member Avatar for rysin
0
115
Member Avatar for PirateTUX

I'm looking for a bit of advice. We're getting to the point in our game development where I need to start thinking how we're going to integrate scripting into the game engine. I was looking at Lua, but am also interested in what Perl or Python might be able to …

Member Avatar for hacker9801
0
112
Member Avatar for rysin

Hey guys. Ive got a problem with a simple hello world script. Im a perl beginner so bear with me. Im running mandriva linux if it matters. Also this file is saved under /home/rysin/documents. Code [CODE]#!/usr/bin/perl print "Hello World\n";[/CODE] When I go into the command line and use the perl …

Member Avatar for Uninverted
0
101
Member Avatar for rysin

I have [CODE]#!/usr/bin/perl @line = <STDIN>; print @line;[/CODE] and when I hit control D, control c, or even control z it just ends the program. Im on a linux machine. Any help?

Member Avatar for rysin
0
80
Member Avatar for jimesten

I've been away from sql for quite a well and need a little push to get restarted. Need to report out of a single table, with values coming out of only two columns. Need to group items from column 1 as the left column in the ouput table with totals …

Member Avatar for jimesten
0
101
Member Avatar for My2cents

I'm troubleshooting a clients email and hit a block. (Outlook 2003) Whenever I click a hyperlink in the email body, it opens the documents folder. I've searched Msft and no help there. I've looked in Folder Options/File Types for the NONE: URL relationships, and they appear to be correct. Has …

Member Avatar for My2cents
0
94
Member Avatar for gadege

Hi, In my case i am updating same SDBM file at the same time by executing multiple programs. In my programs i am using tie function. Here is the code. $db = tie(%FILE_NAMES, 'SDBM_File', $tName, O_RDWR|O_CREAT, 0666) Here i need to put one lock to avoid dead lock situation. Thanks, …

Member Avatar for trudge
0
73
Member Avatar for Alvin Phillips

I got this link e-mailed to me today. I can't tell if it is serious or not (I think it is), but it is pretty funny either way. It's a weekly feature called "Sexy Programmer Thursdays" and it's this person (girl? guy? not sure) who, well, highlights a different programmer …

Member Avatar for sneekula
0
107
Member Avatar for lifeworks

Hi Busy putting together my first competent attempt at a PHP/MySQL website, its a real estate package of sorts. I'd like to bring up a brief description of each house (in the DB) initially and when the user clicks on the photo or name etc, they will be directed to …

Member Avatar for prethum
0
116
Member Avatar for godevars

Here's one I haven't been able to find an answer to. I have 4 arrays: @array1, @array2, @array3, @array4. I ran code to compare the values of 2 arrays to see number of values in common: [CODE]use strict; use warnings; my (%union, %intersect); foreach my $e (@array1, @array2) { $union{$e}++ …

Member Avatar for katharnakh
0
2K
Member Avatar for i_saw_some

Hi, Does anyone know how to perform web queries programmatically from Python with GET and Post requests? I have been trying out my code on this site - [url]http://www.comp.leeds.ac.uk/Perl/Cgi/textareas.html[/url] [code] import urllib, urllib2 link = 'http://www.comp.leeds.ac.uk/Perl/Cgi/textareas.html' urldata = {'review':"test",'method':'GET'} data = urllib.urlencode(urldata) req = urllib2.Request(link, data) response = urllib2.urlopen(req) the_page …

0
64
Member Avatar for mank

This code counts number of characters in a single line how can I make it count(give total X Y Z) it in multiple lines seperated by ">" [CODE]while(<IN>) { chomp; my @line = split(//, $_); if($line[0] eq ">"){print @line;} elsif (($line[0] eq "X"||"Y"||"Z")||($line[0] ne ">")) { my %cnter; foreach my …

Member Avatar for KevinADC
0
300
Member Avatar for sjcomp

Hello, I have a project that I can build with a script. I'd like to add version number + release number to my builds. I'm looking for a way to do it automatically. As a result I'd like to get something like that: [inlinecode]\deployment\v1.2.3\some.exe[/inlinecode] When I run exe I'd like …

Member Avatar for sjcomp
0
104
Member Avatar for rayscosmic

Hello i am new in perl scripting.I have to write a script to check for .c file and then go in to the ,c file and find all function and insert line1 after `{` and line2 before `}` or before return( if return is present). Can any1 plz help me …

Member Avatar for KevinADC
0
161
Member Avatar for mimsc

Hi im new to perl..I normally code java...but the boss got me trying to fix this issue... Anyway,we get a news feed that comes in as an xml file...this feed now requires "basic HTTP authentication"...the old feed didint require this , so there was nothing implemented in the code, ...anyway …

Member Avatar for KevinADC
0
93
Member Avatar for nclester

I'm wondering what sort of code is implemented when creating an online casino / sportsbook web-site. I've been looking into a start-up, but refuse to pay 100k for software, especially if my game programming friends can help me out. What sort of code is used? C, C++, PHP, Perl, Ruby, …

Member Avatar for sarehu
0
259
Member Avatar for sudhagkaran

Hi All I am sudhakaran from Chennai. I am PERL programmer for the past 2.5 years. I hope i can share as well as can get lot of new things with other friends in Daniweb. Expecting good friends to grow together.

Member Avatar for zandiago
0
35
Member Avatar for ash112

Hi I am a newbie to PHP. i am having serious problems trying to pass the id to the next page via a hyperlink. i am creating a real estate website and after searching for a property the code below is displayed. this code basically should list all the properties. …

Member Avatar for somedude3488
0
141
Member Avatar for godevars

I am very sure the code below can be simplified. The exercise was to take a word list, rearrange each word's letter to be in alpha order (e.g. barter = aberrt). The rearranged letter would be the keys and the word be be assigned to that key. Similar keys could …

Member Avatar for trudge
0
136
Member Avatar for devesh9392

Hi guys, i need help extracting e-mail id from the text file can anybody please tell me how can i extract e-mail id and store it in a vaiable using perl regex. (e-mail id is not always bound to end with .com) here is my text file: ****************************************** IQXpert 27(ID) …

Member Avatar for KevinADC
0
162
Member Avatar for jimesten

Happy greetings to all .. longtime pseudo-techie, mid 40s.. dad of 6, soon to be 7. Mainly a perl and php guy, but have dabbled in everything from teaching assembly to being the ops director of an interactive agency. Now an independent (love the commute to my home office) doing …

Member Avatar for Serunson
0
57
Member Avatar for LODEY

have a bit of an issue trying to obtain some data from a csv file using PERL. I can sort the file and remove any duplicates leaving only 4 or 5 rows containing data. My problem is that the data contained in the original file contains a lot more columns …

Member Avatar for KevinADC
0
124
Member Avatar for davidianstyle

Can someone please tell me what's wrong with this? [code]my $time = "12/Jan/2008:13:38"; my ($day, $month, $year, $hour, $minute) = $time =~ /(\d+)\/(\w)\/(\d+)\:(\d+)\:(\d+)/;[/code] I've tried a hundred different things including not escaping the colons, putting parenthesis around ($time...[regex]), splitting up the assignments to $day = $1, $month = $2, etc... …

Member Avatar for jephthah
0
77
Member Avatar for j.arevathi

Hello all I have been wrting a blast script which results in the following error: [code] the small rnas:CAGCGATGGGGATCAAGCTC the sequnce thats being worked is CAGCGATGGGGATCAAGCTC [blastall] WARNING: Unable to open TCV-jagger.fna.nin [blastall] WARNING: : Unable to open TCV-jagger.fna.nin ------------- EXCEPTION: Bio::Root::Exception ------------- MSG: blastall call crashed: 256 /usr/bin/blastall -p …

Member Avatar for jephthah
0
139
Member Avatar for manjusaharan

Hi All, Is there any one woh can help me about adding hyperlink column to a table or a grid view to an aspx page. I need it urgently :sad: thanks in advance.

Member Avatar for SheSaidImaPregy
0
70
Member Avatar for charper

On the risk of sounding extremely stupid, Does anyone know how to print a string representation of an exception. i.e. just the type of error? I have code that catches all errors and would like to then print the type of error as a string. My code is: [CODE=perl]def catchException(): …

Member Avatar for charper
0
72
Member Avatar for Smalls

IE starts then a second or two later it stops working and a tool tip pop-up at the bottom says "To help protect your computer, Data Execution Prevention has closed Internet Explorer" What is this and how do I fix it? I use Firefox more but I still use IE …

Member Avatar for Smalls
0
141
Member Avatar for mank

HI I am trying to print a certain number of sequences from a file. So if the sequence is like LKSAJDLSAJDLSAJDLKSJD. then I want to write from 10th character to 20th character. please help. Here is my code [CODE]#!/usr/bin/perl -w use strict; use warnings; my ($fileName, $firstSequence, $lastSequence) = @ARGV; …

Member Avatar for KevinADC
0
143
Member Avatar for mank

Hi I am trying to read two files and then copy their content to a third file while removing duplicates please help [CODE]#!/usr/bin/perl -w { open A,shift; foreach (<A>) {$a{$_}++}; open B,shift; foreach (<B>) {$b{$_}++}; open C,shift foreach(<C>) { print unless $a{$_} print unless $b{$_} } } [/CODE]

Member Avatar for KevinADC
0
390

The End.