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!

Recent content by Tupps

  1. Tupps

    Getting username from .htaccess protection?

    Wow, that's quite a bit of work! I'll copy it, and test both that and the $ENV ones Thanks! Danny
  2. Tupps

    Hash inside hash - database?

    Well, I think MySQL sounds best then. As it'll probably be very small to start with, and it may grow to a few hundred members. Thanks to everyone for the pov's, I'll make sure if I'll take them into consideration each time I need a database! Thanks again, Tupps
  3. Tupps

    Hash inside hash - database?

    I wanted to use perl, as it seems to parse files and text quite quick. I need something I can both read and write data too (unlike some things I downloaded which don't have a feature to actually write the data!!)... I'm getting confused... TIMTOWTDI!!! :-? Oh well, I may go back to my original...
  4. Tupps

    Getting username from .htaccess protection?

    Someone else just told me to try $ENV{'REMOTE_USER'} so I'm sure one of them will work! Thanx for your help. Danny
  5. Tupps

    Getting username from .htaccess protection?

    I have a folder protected with .htaccess and I need to get the username. Any ideas? With php I just use $PHP_AUTH_USER, but I guess having PHP in, that won't work. I can't find it anywhere in the docs, nor in the camel book. Thanks in advance, Danny
  6. Tupps

    Hash inside hash - database?

    I'm writing on WinMe, but uploading to a Unix server. Both Apache, Perl, PHP etc. I was just thinking... I have MySQL, whish I use with PHP.. I sit the same commands as with that? (eg "SELECT * FROM table WHERE f_name = 'Danny'" ??) Thanks, Danny
  7. Tupps

    Hash inside hash - database?

    DBM? Is that perl mod? Is it included as the standard distribution (I think I have it, but not sure if my host does). I did start using $$username{item} eg. $dannytuppeny{name} and $jimbob{email} etc., but I suppose a database would be better. Thanks
  8. Tupps

    HTML form plus Perl script

    You could also try cgi-resources.com, they have hundreds of form-2-mail scripts. This may sound a stupid question, but you definately have Perl access, and are putting the script in your cgi-bin and checking it has the right permissions?
  9. Tupps

    Hash inside hash - database?

    I'm gonna write a forum in Perl, and I just wondered the best way to store the member details. I didn't want to read through each member file just to load their "number of posts" or something each time someone views a topic, so I thought about using hashes, eg: $users = {...

Part and Inventory Search

Back
Top