Hello coders,
Please take a look at the below script for me. Its part of a datageneration tool that I'm developing.
My goal is for each date in the line that enclosed by <vdt></vdt> ta...
Hi.
I was trying to write scripts to run my program constantly (script in PHP). However, I didnt manage :)
Could someone please help me with this. I was trying to figure out how to do this...
Hi I hope you can shed some light on something that has been vexing me. My problem is with SQL using while clauses with numerical conditions.
This is fine:
my $codeval="KAZ";
$sth = ...
I have the following comma delimited text file in which I want to pull out the records that have "Sep" inthe first field and create a new file.
The file has a header row and misc. records a...
Observe the output of the code below that the file path has the file name before the directory!
I like the output of this script from roth. I got my last script to work. But modding this to look only for ERRORS and print to txt file with server name and date as file name is beyond me at ...
I am trying to configure my ActiveState Perl on my Apache server running Windows 2003.
I followed the directions on this page but every time i try running anything I am getting a 500 error...
I have this code that calls two shell scripts and stores the output into variables. Both shell scripts produce numbers (a string of numbers).
I'm trying to do some math with these two numbe...
I have a file that has multiple lines in it such as
istrecker@abc.com
istrecker@abc.com
istrecker@abc.com
istrecker@abc.com
istrecker@abc.com
istrecker@abc.com
istrecker@abc.com
is...
Hi all,
i need a script on perl or C to access to gmail using username and password .
Thanks in advance,
akiles
Im trying to create a cgi page to log someone in to a website via cgi. The authentication needs to be via LDAP. Also after they login, I want to store some of the user variables(mail / usern...
the following script properly timesout in unix but not in windows OS (both have perl 5.10)
eval
{
$SIG{ALRM} = sub { die "timeout" } ;
alarm 2;
`perl -e "while (1) {}"`;
alarm...
I have the following two UNIX Korn shell commands. The semi-colon is needed instead of the pipe symbol after the grep statement otherwise it doesn't work:
chk_auto_up | grep AUTOSYSDB; echo...
Hi,
I've two column data file, "data.txt", as attachment. Each column is separated by the comma.
--- data.txt ---
8825 ,point and shoot
8826 ,auto
8827 ,cell phone
8828 ,computer
....
I have the following script in which I'd like to pass an argument for the month. Currently is has "feb" hard coded in the script. I'd like to pass whatever month I want to pass. E.g. mar, apr,...
Hi,
I need a script to do the following:
Take my .csv which has 1,000's of records, 10 columns. There is a long decription column and a short description column that will may line breaks a...
parse parameter to soap lite
in test.pl I do,
my $hd = SOAP::Lite->proxy("tcp://$server", timeout => 5);
how to parse that in Lite.pm
In Lite.pm there it calls send_receive
...
I have parsed a log file into the following format:
Unit-004 (25368) # ON 09-08 10:26:15 # OFF 09-08 10:37:35
Unit-009 (11236) # ON 09-08 17:42:36 # OFF 09-08 18:02:17 ...
Hi -
Have PERL script that has the following code to lock the file when executing as follows -
1 #!/usr/bin/perl -w
2 use Fcntl ':flock'; # import LOCK_* constants
3 my $lockfile =...
Greetings,
I am working with a CGI/Perl script and cannot get a returned variable inserted into the hidden form field. I can print the returned variable to the ouput page but the value will...
My contract developer took a "real job" and now I am having trouble with a module he wrote. His new contract prevents him from helping me out. The portion giving me trouble is:
sub channe...
## Im trying to pull values from the ldap server. The user is already authenticated as itself, but I want to pull out values for their account and store them as variables. Obviously the synt...
I'm using a Perl script to connect a syslog-ng server to a MySQL database using pipes. Anything going through my Snort parsing script isn't written to the database until the syslog-ng init scr...
I have two sql statements. I want to execute each of them depending upon what input is given to the script.like ON or OFF. If it ON it should execute SQL 1 if it OFF it should be execute SQL 2...
Hey, where do I find info on entering data from a flat file database into table cells? What is it called and how could I read up on it.