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 Rhinorhino 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: Extension
  • Content: Threads
  • Order by date
  1. Extension

    Pattern Matching Expression (HTML tag)

    I need some help to come up with a pattern matching expression. I need to process some HTML content and change one specific HTML tag: <input> So I open the HTML file and place the content into an array. This is part of the array (HTML content) I need to process. So I want to change this...
  2. Extension

    Print array with comma separating elements

    Hi, I'm trying to find a simple way to print an array with a comma separating each element. But a need a way to apply "styles" specific to each element; <span class="{style}"> before, and </span> after each element. Is it possible to use the "print join" and still be able to apply specific...
  3. Extension

    Table joining (w/ sub-query)

    Hi, I need some help with a fairly simple query. Here's all the details : Note: This is not the actual data. This sample data will make it easier to explain. Table: Course ______________________________________ ID_Course | Name 20 | Math 21 | Chemistry 22 | Arts 23 | History 25 |...
  4. Extension

    Dynamic form variables (_POST)

    Hi, I need to loop through all the records in an XML file and check if a specific record (user_id) exist in the form submitted. The form field names match the user_id from the XML file. I assume it's a stupid error but when I execute the script, I get an "Illegal offset" error. $users =...
  5. Extension

    Perl Error Handling

    Hi, I'm currently Carp for error handling on my development server. I like the fataltobrowser subroutine for debugging. Now I'm looking for a routine/sub-routine that would handle errors in production. I simply want to display a HTML message if there's an error ("out of service" type of...
  6. Extension

    Populate Hash of Arrays (Relationship)

    Hi, I'm trying to build a hash of arrays that could handle a (recursive relationship) between two data sets (USERS & LOCATION). I'm pretty much lost right now. I have two flat files: USERS & DATA I want to create a hash of arrays and then output the data. Based on the code and data I have...
  7. Extension

    Rewriting URLs with Perl

    Hello, I would like to know if there's a simple way to rewrite URLs (aka clean URLs)in perl: from http://server.com/script.pl?q=article&id=3434 to http://server.com/article/3434 I would like to know if it's possible to do this at a script level only meaning I wouldn't have to modify any web...
  8. Extension

    Multiple Count in one query

    I need some help with one query. If you look at the query below you'll see that I have 3 sub queries which are counting records based on 3 different values. My current query doesn't output the results as expected. I know my query is Oracle SQL but if you have a MS SQL solution, I will simply...
  9. Extension

    Perl Error Messages (Different language)

    Hi, I was wondering if it's possible to customize the error messages (different language than English). If not, how can I redirect to another page when there's an execution error ? Thanks in advance
  10. Extension

    Base64 Decoding

    Is there a built in function to decode a Base64 string or I'll have to find a module ?
  11. Extension

    Get Header &quot;Authorization&quot;

    Hi, I would like to know how to get the Authorization http header in ASP. Thanks
  12. Extension

    Get Network User Credentials (Intranet)

    I have an intranet application running IIS5 and I would like to get the network username, domain and hostname of the users. The tricky part is that the "Anonymous Access" is enabled and cannot be changed. I was wondering if it was still possible to get the user credentials even though the...
  13. Extension

    Get 'Authorization' header (Code inside)

    Hi, I'm trying to get the "Authorization" header in order to extract the username from it which is encoded in Base64. To do so, I have to force a "401 Unauthorized" Status and then the "Authorization" header will be populated. Now with my current code, I can force the status to 401; but I...
  14. Extension

    HTTP Headers

    Hi, I would like to know how to retrieve (request) the HTTP headers. I've been reading some documentation about the LWP HTTP Headers module, but I can't find a way to print or manipulate the HTTP headers. Thanks in advance.
  15. Extension

    Get Windows Username &amp; Domain

    I'm trying to find a module that will return the Windows username and domain name of a user. I think that information is located in the HTTP header under 'www-authenticate'. Any help would be appreciated.
  16. Extension

    Simple comparison question

    Super easy question for you guys. I'm looking for a 'one-liner' that will achieve the following: - Check if param{'name'} equals "bozo" only is param{'name'} is not null (is defined). if ($param{'name'} ne '' && $param{'name'} eq 'bozo') { print "foo"; }
  17. Extension

    CFMAIL SMTP authentication with CF5

    Hi, I need to use CFMAIL to send email notifications via an exchange server. The issue: the server is running CF 5 and the exchange server requires SMTP authentication. As you may all know, there's no way to pass a username and password in CF5. So my question is, is there a module available...
  18. Extension

    Show/Hide GetElementbyId multiple instances

    Hi, I have a form in which I have a drop down menu. I want to show/hide specific row(s) in a table based on the selection. Currently, it's partially working, because only one instance is showing/hiding. So I was wondering how to make it will with multiples instances. I guess I would have to...
  19. Extension

    Send Outlook 2003 Calendar by email

    Hi, I'm using Outlook 2003 at work & at home and I would like to know if it's possible to send my work calendar by email in order to update my home Outlook calendar ? If not, is there any other solution (syncing utility ) ? Thanks
  20. Extension

    Simple Counter

    Hi, I'm currently working on a counter to log the visitors location (country). I'm using the ip-to-country service from api.hostip.com. I simply want to store the stats in a flat file in the following structure: United States (US)|34 Canada (CA)|10 My current code is working fine to get...

Part and Inventory Search

Back
Top