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 Chriss Miller 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: spyderco
  • Content: Threads
  • Order by date
  1. 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...
  2. 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...
  3. 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...
  4. 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...
  5. 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?
  6. 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...
  7. 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...
  8. 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...
  9. 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...
  10. 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...
  11. 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...
  12. 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...
  13. spyderco

    How to secure a mailing script

    I am looking for your ideas on making a mailing script (for example a contact form) secure from exploits and spam usage without the use of SSL. I have integrated the following into my scripts and so far I haven't had any problems but I feel there are other steps to take that I haven't thought...
  14. spyderco

    Users online script

    Hi everyone, have a quick question on a USERS ONLINE script I am writing. The script just tells you the number of people who have accessed your web site in the past 5 minutes. It also gives you a number of total unique visitors in the past 24 hours (NOT days, but 24 hours ago). The users...
  15. spyderco

    open custom window

    All I need is to open a window with an HTML/JS link to a specific size and without all the toolbars, scrollbars and extra stuff. I tried <a href="yourcurrentfile.html" onClick="window.open('yournewfile.html','nameforyournewbrowserwindow', 'width=275,height=425,status=no,toolbar=no,location=no...
  16. spyderco

    array not functioning

    I have a form which stores data into an array. When I do a test print on the array @mails, it prints out the email addresses that are inside. The array can have anywhere between 1 and 5 email addresses as these are form fields. my $fmail1 = param("fmail1"); my $fmail2 =...
  17. spyderco

    for loops

    Beginners FOR loop question.. I need to do "for ( 1 .. _varHere) { # do this }" in vb.net. This is the perl equivelent. Can someone post what I'll need for this to work in VB?
  18. spyderco

    Working with time

    Who would have thought working with times would be so hard? This is what I've been having problem with for a few days and I'm absolutely dumbfounded! The second msgbox shows the right time, almost. Since it's trimming down characters, if it's more than 10 seconds it cuts it off to just one...
  19. spyderco

    Public vars

    Just finished the meta tag generator yesterday and it works great. Now onto a reaction time game that changes the background and sees how fast you react. The first question is, how do I make public variables? I tried "public _startTime as DateTime" but that didn't work and either did taking...
  20. spyderco

    Testing for data

    This was asked yesterday and it works without "error" but it's not really doing what expected. I need to append data to a variable IF and ONLY if that variable contains data. If the testing variable is empty, it should move on to the next test. The following adds lines that test false...

Part and Inventory Search

Back
Top