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 strongm 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. spyderco

    Get page URL

    Hi. Thank you for that. Now I am lost as to how to pass that string over to a server side script. Can you or anyone else give me a little push here? Thank you!
  2. spyderco

    Get page URL

    Sorry if this is a basic question, I don't know JS to any degree. I have a CGI script located as an SSI include on my web site. Since HTML is stateless, I can't accurately display where current users are visiting (this is a users online script). The best I can do is check the HTTP_REFERER and...
  3. spyderco

    usersonline script not accurate

    I know I asked this a while in the past but I figure I'd give it another go. This users online script shows the current users online. It does NOT accurately report back the number of users that were seen in the last 24 hours. This number just grows infinitely each day. Does anyone know how...
  4. spyderco

    mysql tables for shopping cart

    Sorry for cross posting. I thought about it and thought I'd be better to be asked here since it is programmed in Perl. I am still quite new with MySQL and need some help getting the basic setup. I am creating a mini shopping cart and I need some help to make sure I am getting the tables...
  5. spyderco

    setting up tables for shopping cart

    I am still quite new with MySQL and need some help getting the basic setup. I am creating a mini shopping cart and I need some help to make sure I am getting the tables correct. There are 4 tables. [/code] --------- --------- |products| | temp | --------- --------- id...
  6. spyderco

    Ounces and pounds conversion

    I have a $num that contains ounces. I need to convert these ounces into pounds and keep the extra ounces. I cannot divide the number by 16 because that gives a decimal, I need the real left over ounces, too. I need them separated into two variables $ounces and $pounds. Any ideas?
  7. spyderco

    html table changes location

    Thanks for your reply. I realized the 100% didn't do anything on either table after I noticed the problem. I was adding the heights to see if that would fix the problem. This bug is happening in IE and I'm still pulling my hair out over it. I need the outermost table because it adds my left...
  8. spyderco

    Get Windows Login name from within a CGI

    There's /no/ way to do that. This question was asked without giving enough information so I am left to assume it's for malicious activities. There is zero reason the computer login information of a Windows or any other OS user should be should be attainable. If this is an intranet there are...
  9. spyderco

    html table changes location

    I've finished most of the work on my new site but there's a small glitch. The main table changes it's height location from one page to the next. On the index, it sits about an inch from the top of the screen. On Searching, it's up to the top of the screen. I THINK this may have to do with...
  10. spyderco

    html not validation through w3c

    I am getting the following errors on www.learntogoogle.com/test/test.shtml and I can't seem to fix them. I tried switching to the XML doctype or header and I had 63 warnings!! Eek. I'll stick with making this one work, for now. Any idea how to fix these? 1) Line 7 column 6: end tag for...
  11. spyderco

    Problems with Google search

    I added a few Google search things on http://www.learntogoogle.com/google-search.html and only the first one is working. The others aren't displaying any results. I thought at first it was encoding everything funny like " and :. But now I'm not sure. Anyone familiar with these forms care to...
  12. spyderco

    Should i "use CGI" for a simple HTML file output?

    If you want to use CGI.pm, that's fine. I would encourage it personally but depending on what your script does, you may not need to load it. If not, it's just needless overhead (even if it is a little bit). I always use it because of the scripts I am working on. Using CGI.pm with the objects...
  13. spyderco

    Should i "use CGI" for a simple HTML file output?

    My scripts are pretty darn secure if I do say so myself (and I do!) and I don't hardcode CGI. When I first started I used print h1; and such but it's not very time effective. The reason I was told it still exists is because it'll make your code more portable into other computers and operating...
  14. spyderco

    Regex for the regex lovers!

    I would do that except the colors to s/// are actually a dynamic configuration. The admin can add/remove colors from the MySQL db as they please so there's really no way to go about this method, unfortunately.
  15. spyderco

    Regex for the regex lovers!

    I have a chatterbox and I want to add color codes to the messages. Hi there yep And it would parse in the real HTMl font color tags. I actually have this working with the following regex. $line =~ s/\[$cname\](.+?)\[\/$cname$\]/<font color="$ccolor">$1<\/font>/gi; There is a...
  16. spyderco

    Random while statement does not exit

    I concur. Not using strict is flirting with the devil... but be careful, he has a nasty bite!
  17. spyderco

    flatfile db issue

    I've been working on this for a few days now and I cannot get the code to work fully. There are 2 questionable parts.. 1) Use of uninitialized value in pattern match: refering to $ARGV[0] line. 2) The database doesn't store the last word it flips through. Ever. The script loads the...
  18. spyderco

    Playing MP3 through the command line

    Hi. Because there's no other way, I converted the MP3 to WAV. And right,the licensing was the problem. "At this time, the evaluation license is not available". I couldn't downloaded it if I wanted to.
  19. spyderco

    Playing MP3 through the command line

    I need a solution to play an MP3 file through the command line on Windows XP. It cannot launch an external player like WMP. There is an MPEG::MP3 mod that says it will do it but it requires Xaudio libraries which are no longer downloadable so I can't get ahold of it. Or maybe there is a MP3...
  20. spyderco

    Logging into a website with cookies

    This question has been asked a number of times before and I've read them and actually tried doing it once a while back (different project but even then, it never did it right. It never logged in and stayed logged in). I want to create a script that logs into Neopets.com. It has a two page login...

Part and Inventory Search

Back
Top