Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: j0nxuser
  • Content: Threads
  • Order by date
  1. j0nxuser

    another opinion with my regexp, please

    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...
  2. j0nxuser

    remove an element of an array

    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...
  3. j0nxuser

    perl to php conversion with =~& !~

    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...
  4. j0nxuser

    Howto return multiple values with regexp =~ splitpath oneline

    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...
  5. j0nxuser

    PHP Form to create MS Word attachments

    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...
  6. j0nxuser

    perl ldap "like search"

    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...
  7. j0nxuser

    isqlplus settings

    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...
  8. j0nxuser

    installing perl modules as sudo

    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...
  9. j0nxuser

    3270 libraries

    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...
  10. j0nxuser

    ./configure with additional support/modules

    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...
  11. j0nxuser

    looping through sql server cursors

    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...
  12. j0nxuser

    perl - m$sql - freetds

    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...
  13. j0nxuser

    How does this work?

    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...
  14. j0nxuser

    cgi.pm

    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.

Part and Inventory Search

Back
Top