OK - I have a list of customer names from a database query.
For my immediate goal, I only need the first three (3) alphanumerics (A-Za-z0-9). I can exclude ALL other characters that may appear...
Smith Co. (would want "SMI")
A-B-C Co. (would want "ABC")
U_US INC. (would want "UUS")
I need to...
Need some assistance with an array. For example, I have an array of unique email addresses (thanks to Getopt::Long) and need to send emails to every address in that array via a for loop. That said, before I enter the for loop to send the emails I need to check to see if the email address...
New to php5 and trying to figure out how to take a perl do/until loop (with like, eq and ne) and convert it to a php do/while loop.
do {
stuff;
more stuff;
}
until ((($title =~ /$level/i) && ($uid ne $rep)) ||
($top==1) ||
(($level eq "") && ($uid ne $rep)));
Not sure how to...
I have several tables in my 10G database that are fed to me from a perl script that fetches XML data from another company (data is not stored as XML - plain old tables and fields). The perl script databases all of the data in different tables - all of which work fine. My challenge stems from a...
I'm Running Centos5 have a solid php form that submits the raw data to an oracle database and then emails the user a copy of what they submitted. My next challenge is the take the input off of the form, jam it into a word doc and then attach as a LOB to oracle and then attach to the email that...
What would be the best way to search for a user in LDAP with a "like". I have a list of people that need to verified/validated in our corp. LDAP directory. The problem is if the cn attribute contains anything other "firstname lastname" my search fails (rightly so - I'm looking for an exact...
What do I need to set/check in order for "preferences" to be memorized/set by Oracle? For example, every time I log into the isqlplus web page I have to set the output to be on a single page (as opposed to multiple pages). Weird thing is that isql remembers my userID and last connection...
Moving to an environment where I no longer have root on my RHAS4 box. Generally speaking, what do I need to tell the new admins to do with my sudo access to allow me to install all of my needed perl modules so they will work for all of the users on the box? I've never had this problem before...
Running RHAS4 and trying to install the 3270 suite and ran into a library issue.
As root (or any user) I can run X (xclock works and installed Oracle with X), but when I try to configure X3270 I get the following two errors which exit the install.
---------------------
checking for X... no...
Currently running RHL9 and FC3 on several x86 boxes -installed OS's, apache & php from CD distro). Perl, PHP, Oracle, Apache all run like they should. My next challenge is that I would now like to interface PHP with Oracle, LDAP, MSSQL Server, MYSQL and Postgre but can't figure out where to...
I have several scripts that execute sql server select statements and some that execute sql server stored procedures. They work fine to retrieve and print the entire record sets (as desired). When I take the below sql statement through tsql, I see a record set of 42 records, but when I execute...
I am running a x86 RHL9 box and want to connect to a MS SQL server via a perl script. I think that I successfully installed freetds and DBD::Sybase. I think that I am able to connect to the server via a tsql statement.
****************************
[root@npsdev bin]# tsql -S...
A guy I know wrote this for me. I know what it does, I just don't understand how it works. Can someone help explain it to me? Or point me in a direction to figure it out?
if ($name =~/.*(NAS\d{1,2})$/){
$router = $1;
}
What does the /.* and the \d{1,2})$/) do? And...
I have a linux 7.2 server with perl. When I view the *.cgi file, i see the code, not the cgi/html. I chmod'd to rwxrwxr-x but can't figure out why code is displaying instead of the form.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.