2,452 Topics

Member Avatar for
Member Avatar for CoolAtt

Hi. i have to extract the following line: C:\WINDOWS\lsass.exe i tried [QUOTE](\w:\\.*\.\w{3})[/QUOTE] it worked on some strings only. any suggestions ? plz help.

Member Avatar for CoolAtt
0
88
Member Avatar for mtramnes

Create a form to upload a plain text file, once uploaded to the file system, open the file, and email me a message containing the contents of the file. Im having trouble with learning perl to begin with and Im not sure where to even start for this project. Could …

Member Avatar for verruckt24
0
115
Member Avatar for cugetare

Hello, I am having a bit of a problem.... I wrote a perl script that generates a report in excel. I am using cygwin perl. I made two batch files one calls perl directly and the other calls a makefile that calls perl. Admin: make and batch work perfectly Power …

Member Avatar for cugetare
0
176
Member Avatar for webdude12

I have a PHP script I am trying to convert to PERL and need some help. Here is the code in PHP [code] $store_list_name = $prod[10]; $category = $prod[11]; $sub_category = $prod[12]; $searchfor = $store_list_name . "->" . $category . "->" . $sub_category; $getcat = mysql_query("SELECT * FROM categories WHERE …

Member Avatar for chrisranjana
0
117
Member Avatar for SergioQ

So I've been trying to see if I can write a Facebook app, that uses Perl on my side, and interfaces with people who install the app on their Facebook page. But it's so hard to see if this exists! The Facebook dox, well I am lazy, but they don't …

Member Avatar for KevinADC
0
102
Member Avatar for idbgy

Hi all, I am using MS Windows SP2. I should like to share my positive and negative experience with the PPM (Perl Package Manager) with the community. For a reason I uninstalled Perl from my computer and installed again. After installation only DBI was present, and for Mysql the DBD::mysql …

Member Avatar for idbgy
0
265
Member Avatar for KilluaX

Hi, all What I am trying to do is to put a hyperlink on my jsp page. Then, when I click on the link, I will come to the linked page and as well the page can get some info from the jsp page. How is the code like? thanks.

Member Avatar for missalexa
0
4K
Member Avatar for Vandithar

Hi, I have 3 arrays. [code] @arr=("TDP-43 is a highly conserved, 43-kDa RNA-binding protein implicated to play a role in transcription repression, nuclear organization, and alternative splicing","the major disease protein of several neurodegenerative diseases, including frontotemporal lobar degeneration with ubiquitin-positive inclusions","For the splicing activity, the factor has been shown to …

Member Avatar for Vandithar
0
143
Member Avatar for gp04lch

hi, just added an mdi form into a tabpage with the following code: [CODE]frm_ASN f_New = new frm_ASN(0); f_New.Dock = DockStyle.Fill; f_New.FormBorderStyle = FormBorderStyle.None; f_New.MdiParent = this; this.components = new System.ComponentModel.Container(); ExtremeTabPage tab = new ExtremeTabPage(); tab.Text = f_New.Text; tab.Name = f_New.Name; tab.Controls.Add(f_New); this.Text = "[" + f_New.Text + "]"; …

Member Avatar for gp04lch
0
118
Member Avatar for SNN

I am trying to write a perl script that takes a file with 3 columns, the chromosome position , start base pair position and the end base pair position. The script should pull out all the snps in these regions . I would like to do this use the following …

0
79
Member Avatar for shaybery

This regular expresion is not good !!! --------------------- if ($line=/(.*)=(.*)(#+.*)/){ my ($val,$key,$comment)=($1,$2,$3); print "Match line : key($key)=val($val) c($comment) \n"; } --------------------- Example os inputs and the wanted output : a=b #c => key(a)=val(b) c(#c) a=b => key(a)=val(b) c() a="b#" => key(a)=val("b#") c() a="b#"#ff => key(a)=val("b#") c(#ff) a="b"#"#ff => key(a)=val("b") c(#"#ff) …

Member Avatar for mattjmorrison
0
100
Member Avatar for Samudra2008

Good day, I like so many, am new Perl. I am trying to search a file for a string, if found, pass it to an array. I don't think what I have done is the best way of doing things, but I learn by getting scripts to work and them …

Member Avatar for Samudra2008
0
84
Member Avatar for rastaberry

Greetinmgs, I am a programming greenhorn and I would like to make a programm which will generate a number in the way that first the user will say how many digits the number should have (i.e. 10 000) and will also specify the rules for creating the number- i.e. every …

Member Avatar for rastaberry
0
102
Member Avatar for localp

i am reading a url and inthat i have an array that has stored the value of a string as follows [code] address=no+3%2C+oxford+street in this wat i want is to display the address as "no 3 oxford street" [/code] some one please give me the code to write this as …

Member Avatar for KevinADC
0
90
Member Avatar for GT2010

I have 3 classes, a student class, a studentList class, and a form. The ToString method is implemented in the student class, and a few students have been created and added in the studentList class. In the form, I'd like my current list of students to show up in a …

Member Avatar for ddanbe
0
99
Member Avatar for localp

i want decode a url, can please some one help me [code] http://localhost/cgi-bin/p.pl?Name=jenny&address=oxford+street+&address=Enter+your+working+place+if+any+or+state+%27NO%27&button=SUBMIT [/code] how do i extract the name and other information from this url and save it to a variable. and save it to an array please help i am an absolute beginner

Member Avatar for KevinADC
0
65
Member Avatar for newbietech

<?php $query_getf = "select ci.tb_ci_id, concat(ci.tb_ci_fname, ' ', ci.tb_ci_lname),ci.tb_ci_city, ct.tb_ct_desc, md5(ci.tb_ci_id), s.tb_s_name_full, case ci.tb_ci_addr_2 when '' then ci.tb_ci_addr_1 else concat(ci.tb_ci_addr_1, ', ', ci.tb_ci_addr_2) end, ci.tb_ci_phone_1, ci.tb_ci_phone_2, ci.tb_ci_fax, ci.tb_ci_email FROM tb_contact_info ci, tb_contact_type ct, tb_states s WHERE md5(ci.tb_p_id)='".$fd_p_d['md5_id']."' AND ci.tb_ct_id=ct.tb_ct_id AND ci.tb_s_id=s.tb_s_id ORDER BY ct.tb_ct_desc, ci.tb_ci_date_added"; //print $query_getf; $sth_getf = mysql_query($query_getf); …

Member Avatar for Rhyan
0
95
Member Avatar for it2051229

In C we have what we call dangling pointers where if a pointer is pointing to something else and if that something else is deallocated or removed from memory then the pointer that is pointing to that something else is now a dangling pointer. I've been learning the basics of …

Member Avatar for KevinADC
0
95
Member Avatar for ninjaimp

Hi I have a form which adds data to a dataset, which can be viewed in a datagrid as it happens and then they finish and this adds it to the database - but after a short while the data that was added seems to rdissapear ffrom the database! Wondered …

0
83
Member Avatar for cardanadam
Member Avatar for yair7190

Hi, i have the following script: [CODE] #!/bin/perl -w use strict; $ENV{"PATH"} = ".;" . $ENV{"PATH"}; print "Revesing the history file...\n"; print reverse <> history.txt > history_rev.txt; print "Reversing the XpressClients file\n"; print reverse <> XpressClients.txt > Xp_clients.txt; print "Parsing the XpressClients file...\n"; require 'Clients.pl' Xp_clients.txt > clients_file.txt; [/CODE] the …

Member Avatar for yair7190
0
162
Member Avatar for idbgy

Hi, I'm new to Perl but I'd like to know more. For this purpose I downloaded the ActivePerl-5.10.0.104-MsWin32 .msi package and installed it on my computer OS XP Home. Xitami, PHP, MySQL were already installed, and PHP can connect to MySQL. Now I run the following code from the command …

Member Avatar for KevinADC
0
320
Member Avatar for ealion
Member Avatar for poojapo

Is it possible to execute Perl code from java script? I have installed apache-tomcat for the same. In which folder should I paste the html file and the Perl file (uses cgi module) ?

Member Avatar for KevinADC
0
76
Member Avatar for kaushik259106

Hi Everyone, Can some one tell me is this possible. I want to show a text hiperlink over an image. [URL=http://img371.imageshack.us/my.php?image=texthiperlinkjv3.png][IMG]http://img371.imageshack.us/img371/5936/texthiperlinkjv3.th.png[/IMG][/URL][URL=http://g.imageshack.us/thpix.php][IMG]http://img371.imageshack.us/images/thpix.gif[/IMG][/URL] The image it self wont be hyperlink but only the text over it. Check this attached image. Need some thing like this.. Thanks,

Member Avatar for essential
0
117
Member Avatar for ko_cjun

hello everyone! i'm trying to display a text from my database, that part is already fine but when the value of the text has a - or ' (maybe there's more) in it, instead of displaying the actual - or ' it displays other special char like smileys and stuff. …

Member Avatar for cadillacwd
0
107
Member Avatar for reno02

I have a script that needs to have the email acknowledgment sent to the email that the customer gives. However, when doing it, it doesn't work when I test it. Can anyone view this and let me know if I am mising something. I have changed a few things to …

Member Avatar for reno02
0
122
Member Avatar for DaniWeb4Jim

I had trouble with ZoneAlarm so I uninstalled it. Not uninstalled and can not remove it to turn Windows Firewall on. So, Oh it gets better. Thinking I would get help by installing a new firewall (NOT), I installed COMODO Firewall. No they are both active by SSoftware and the …

Member Avatar for DaniWeb4Jim
0
258
Member Avatar for Narayanank

when i ran a perl script on xampp i got this error [B]The server encountered an internal error and was unable to complete your request. Error message: Premature end of script headers: sai2.pl If you think this is a server error, please contact the webmaster. [/B]

Member Avatar for haonamdaica
0
97
Member Avatar for mruane

I just downloaded ActivePerl, hoping it was some kind of IDE for perl. I run windows XP service pack 3 on this box. My Linux Box has perl already installed, but I want to use perl on my windows box as well. I know nothing about perl, so do I …

Member Avatar for orko
0
133

The End.