I want to get ALL parameters of GET method and put them together in a single string variable...
ex.
If Test.pl?a=1&b=2&c=3&d=%20Test%20 called
I want to have a=1&b=2&c=3&d=%20Test%20 ...
Hi
In the below scripting I need to do a mget via the foreach loop. But after the file is ftped over I need to delete it off the remote server. Not sure what it should look like. would I c...
Hi
I have a .pl file in my cgi-bin directory of my website and I it displays properly (i.e. it says 'Hello World see the code below)
I want to reference scripts in my html but when i try ...
Hi All..
While I run the following CGI script,(this is for URL redirection) the page is not redirecting to the appropriate location.Here is the simple redirection script..
#!/usr/bin/per...
I am trying to see what the best way to do this. Either perl, batch, cscript or some other command line means.
I need to parse a multi-line text file which contains data like:
--------------...
Hi,
How could I give a perl script a top level folder (win32) and have it delete all sub folders (and their sub folders) that have a particular name? For instance:
Parent
...
Hi
Im having trouble getting the IIS configuration correct for a Perl ISAPI extension that was provided by ActiveState. I'm running Windows 2008 Web Edition X64 and IIS 7.
At the Server...
Hi,
I created a webpage the submits a request to connect to a server using SWBemLocator. When I run this script from command prompt , it works fine. but if I use the browser, I get this.
...
I have a Perl script that another programmer wrote for me. I'm not a Perl programmer, BTW. The code worked fine for months and months and months. Now today, all of a sudden, the code is bro...
I try to parse the tomcat error log to generate short error report which only show the unique error messages.
For example, the error messages in tomcat.error.log.1 look like:
===============...
Hi,
I am trying to parse a message file and extract messages from the file that meet the criteria. So what I am looking for are certain types of messages that are logged in a file. Exampl...
Hi All
I have spent days trying to do a simple task, yet am having no luck at all!
I am looping through a directory, containing xml files. For each file, I am trying to open the file, r...
Hi there!
I need a perl or bash script, that would do its process in the /home directory. I need it to search for a specific file in the home directory:
/home/*/public_html/includes...
I would like to modify a bit of code that is used to parse Cisco syslog format. Originally the code would look at a log entry such as the following line and perform it's analysis:
Sep 22 18:...
Hi everyone, hope you are all well :>)
Guys i have the following question.
I have a template file that I wish to use against a list of files.
Id like to be able to do the following in...
Hi, Attached is a sample of what I believe to be a binary file. I would like help reading it via perl and simply outputting the data in ascii format. I also attached the spec describing the fi...
I'm trying to get an image from an HTML form, resize it to a specific size, and then output to a directory on the server, but I'm running into problems. I made a post a few days ago, and someo...
Hi -
I have a line of code in a PERL cgi script as follows -
if($first_char == '\*')
When I run the script it generates the following error -
Argument "*" isn't numeric in numeric e...
I am trying to find a good way to detect file changes -- basically for syncing .zip files over a really poor / low bandwidth FTP link. So, I have one server that generates hundreds of .zip fi...
I'm looking for a script (Perl, bash script) that will look for files size in particular folder and empty the files content in case the size of file(s) greater than Xkb.
I have an array of numbers created in Perl, I just can't remember the syntax to add them all up. Please help.
The perl script for connection get SQL server login failed, please help
I have program that I have install on my winxp, and created userID 'lona', (No previous SQL server have been installe...
Hi,
Some background - I do a lot of vulnerability scanning, and as part of the remediation, when the server admins which reports they have closed, I usually have to manually 'telnet <ip_addre...
I would like to merge script 1 and the script 2 into one. So that I could read multiple files from the control file.
Currenlty my control file has only 2 files listed, but in the future it co...
I am trying to set parent shell title by calling export variable from the perl script using following
export PROMPT_COMMAND='echo -ne "\033]0;user authentication\007"'
Whenever I call t...