I'm using the glob function to read through a heirachy of files... I did have it working however when I added mysql I must have done something to the php.ini file and it no longer works any he...
Hi. This is a very simple web proxy that just gets the request from the browser, sends it to the host and prints the response back to the browser. For some reason, the host keeps on waiting fo...
I'm not 100% sure if this sql is running correctly within my perl script. I think it is not looping through the first statement, and only doing the second. Let me know if something looks odd o...
I'm trying to put a piece of sql code in my script. However, I am getting this error: "Can't find string terminator "EOF" anywhere before EOF at /var/www/cgi-bin/dev/copy_db.pl line 214". It's...
I have a hash whose values should be replaced(s/date/20091017) as they get inserted. for example if
$hash{input_file} = "abcd.$date"; I want $date to be replaced with today date 20091017. So ...
I have a string that I need to match to a XML file and if it matches assign the <Name> node to from the XML file to a variable.
The format of the XML file is the following, there is a <Grou...
Hi,
I have written a code to get an user input and based on the input, I will find the corresponding value in an associative array and do some action. I have something like this in my code...
I am knew to perl and have an issue sendind error output to a file. I am trying to conver this line from regular ksh to perl. "rm /tmp/files/*.txt 2>> /tmp/files/error.txt"
so far I hav...
Hi,
I hope I'm just missing something obvious here and someone can help. I have an HTML form with reCaptcha in it. The reCaptcha's words change with each browser refresh and the audio option...
Hi folks,
I am having some difficulty attempting to convert a string of hashes back into a true hash of hashes. No matter what I have tried, I still somehow get a string returned from the f...
use Win32::Semaphore;
$sem = Win32::Semaphore->new(0, 1,"reliance2692") or print "Can't create semaphore\n";
$sem = Win32::Semaphore->open("reliance2692") or print "Can't open semaphore\n"...
Hi Friends,
A php script is running in the crontab of a remote server in every minute. I need to develop a perl script to watch if the php script is running in the cron tab or not. If it no...
I'm unsuccessfully trying to run a perl script from within a asp.net application
Below is the code I'm trying and I keep getting
The specified executable is not a valid Win32 application.
I have a bunch of tables which all (except a couple tables which don't need to be searched) have a field called ID (as a unique auto increment) a field called 'created' which stores a timesta...
Here is the form, https://secure37.websitewelcome.com/~paulas/masterart/MAP/orderpedestals.htm
When submitted, It gives a confirmation page, but I would like to at least add some text to th...
I have a file that has a lot of user records in it, I'm parsing through it and getting values I need from each record but have one problem.
The records are all in one file and not separated...
I have many sets of a ton of information (prices, descriptions, catalog numbers, etc...) and I need to be able to access the different sets. So basically it's like an array of info, except t...
I want to have a perl cgi program that can read a static HTML program and change the src / href in the file.
So my thought was that since the code is already static html I should just be ab...
I'm learning Win32::GUI in PERL and I'm having trouble handing a button click event. My goal with this program is to show a button, and when the user clicks it, print to the terminal "Button ...
I am currently writing a small perl script and need some help. Please bare with me as I am new to perl and programming in general.
I am trying to parse through some DHCP logs and get inf...
I have a form in a perl script that connects to a database. The Value is saving but wWhen I retreive the form I need the check boxes to repoplate with a check if Yes or No. Currently it is ...
I have just built a new centos 5.3 (32bit) system and copies across a mysql database and bugzilla web directory (itself only a couple of weeks old) onto this new box.
Mysql is up aand working...
Hi,
I have a perl string and would like to split (or tokenize) it by white space w/ the following taken into consideration also - the string may contain
a) Double Strings
b) escaped spaces,...
I'm trying to connect to an sftp site to upload files. When I turn on debug here is what I'm getting:
[emiller@dev1 dmb]$ ./dg_upload.pl
dev1: Reading configuration data /home/emiller/.ss...
I'm reading a file and I need to extract some data from the file.
The data I need to extract is between AB and RF... AB and RF will be at the begging of the line.
the code is working, bu...