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 Mike Lewis 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: *

  1. Kachoo

    Help Perl CGI: website navigation.cgi

    Well, never got a responce. I learned alot of regex and this code works after many many hours of learning. It plays out clean on everything I throw it. Parses the request perfectly. #!/usr/bin/perl -wT #use strict; use LWP::Simple; use CGI; my $cgi = new CGI; #Default if not provided my...
  2. Kachoo

    Regex's

    yea I am a BB noob too, I posted this question with a news tag!
  3. Kachoo

    Regex's

    Hey guys, I been doing alot of research on regex yet I am still not sucessful at extracting a domain name, directory name, file name out of a string in this format using regex's. (Im new to perl) Can someone show me how this could be done? http:// will always be at the start of the line...
  4. Kachoo

    Help Perl CGI: website navigation.cgi

    heh after reading this I know it sounds like an obscene request but my coding platform is notepad and my testing platform is via ftp to my remote domain. Im not sure if everyone codes like this but having 5 browsers for regex references, a ftp client, notepad, and windows explorer open is a...
  5. Kachoo

    Help Perl CGI: website navigation.cgi

    Hey prex1, thanks for your input! Your code worked like a dream untill I realized I would be dealing with elements in a url too. I have been racking my brain trying to learn regex. Would it be too much if I asked you to finnish this code for me? I been plugging away for hours at this getting...
  6. Kachoo

    Help Perl CGI: website navigation.cgi

    Right you are! I think I bit off a little more then I can chew on this project not being native to perl but its been a really good learning exp. This code segment is actually a vital portion of a project I am building. The project basically acts like server side frames. I have a 4 sided html...
  7. Kachoo

    Help Perl CGI: website navigation.cgi

    Ok, here is my script finalized the way I need it, if anyone sees an error or something that can make it better please let me know. #!/usr/bin/perl -wT use LWP::Simple; use CGI; my $cgi = new CGI; #Default if not provided my $localdomain = 'http://www.iterm.mobi'; my $domain = $localdomain...
  8. Kachoo

    Help Perl CGI: website navigation.cgi

    Nice, I didnt know about that function. Will save some processing time, great catch!
  9. Kachoo

    Help Perl CGI: website navigation.cgi

    ok, I got it, I started over for the 100th time after finding a sweet reverse() function and this does exactly what I wanted it to do. Like I said, Im not good at perl its a new language for me meaning I've been using it for about a week now so if anyone can improve on this please let me know...
  10. Kachoo

    Help Perl CGI: website navigation.cgi

    Ok guys, I don't know whats going on. Something I figured would be a simple cgi script has become a nightmare that I can't figure out without using an extensive "if" process. Here is what I am trying to do. I am by far not an expert in perl coming from a vb background so my code is probably...

Part and Inventory Search

Back
Top