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...
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...
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...
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...
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?
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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 =...
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?
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...
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...
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.