Actual Results
- o[tter]
- Forum: Microsoft Windows Forum
- Topic: Windows XP Runs Out of New Windows?
- Subject: Windows XP Runs Out of New Windows?
- Replies: 0
- Views: 178
- Subject: Windows XP Runs Out of New Windows?
Posted: June 11th, 2009, 5:08 am
Is there any way to fix the fact that windows XP seems to have a limited amount of windows it can draw at one time? After a couple weeks of uptime, this computer will always stop being able to draw more windows for me. This means that new applications won't open, dialog boxes like "search"...
- o[tter]
- Forum: Programming / Scripting / Coding Forum
- Topic: Need "else if" Statement For PHP Script
- Subject: Need "else if" Statement For PHP Script
- Replies: 6
- Views: 310
Posted: November 25th, 2007, 12:20 am
X3ndou wrote:
I'm not sure what the hell everyone else is talking about here, but you can just use a for loop.
But then you lose the error checking entirely on all but the first email address. I suppose you could just let it fail silently in the mail() function.
- o[tter]
- Forum: Programming / Scripting / Coding Forum
- Topic: Need "else if" Statement For PHP Script
- Subject: Need "else if" Statement For PHP Script
- Replies: 6
- Views: 310
Posted: November 24th, 2007, 5:38 pm
There are a number of ways to do it. As righteous_trespasser said, the most basic way is going to be to put the whole thing inside a function and call it several times. Something like this: [php]<?php function sendmail ($tomail) { //EVERYTHING FROM THE SCRIPT GOES HERE //EXCEPT THE LINE SETTING $...
- o[tter]
- Forum: Programming / Scripting / Coding Forum
- Topic: Centering a string on part of an image with GD
- Subject: Centering a string on part of an image with GD
- Replies: 2
- Views: 257
Posted: November 24th, 2007, 5:25 pm
As far as I can tell, that code should work like you want it. Assuming you are using a fixed width font with 7.5 pixel wide characters.
- o[tter]
- Forum: Programming / Scripting / Coding Forum
- Topic: script help
- Subject: script help
- Replies: 7
- Views: 443
- Subject: script help
Posted: November 15th, 2007, 10:01 am
The reason you list the file itself as the source is because of this bit of the script:
It checks if "gim" has been set to 1 (which you're doing with ?gim=1 in the src attribu...
if ($_REQUEST[gim] == 1) { header("Content-type: image/jpeg"); print $bytes; exit (); }
- o[tter]
- Forum: Programming / Scripting / Coding Forum
- Topic: script help
- Subject: script help
- Replies: 7
- Views: 443
- Subject: script help
Posted: November 14th, 2007, 10:23 pm
Right now the image tag is being output as:
<img src="file:///L|/EasyPHP1-8/www/uploader/upload55.php?gim=1"/>
It should be:
<img src="upload55.php?gim=1"/>
I tested it with firebug and it worked fine after that change.
<img src="file:///L|/EasyPHP1-8/www/uploader/upload55.php?gim=1"/>
It should be:
<img src="upload55.php?gim=1"/>
I tested it with firebug and it worked fine after that change.
- o[tter]
- Forum: Programming / Scripting / Coding Forum
- Topic: script help
- Subject: script help
- Replies: 7
- Views: 443
- Subject: script help
Posted: November 14th, 2007, 8:19 am
It looks like it needs to have an actual value for the src attribute. Which would should be the file itself followed by ?gim=1 (i.e. if this file is named picture.php, it would be src="picture.php?gim=1").
- o[tter]
- Forum: Website Design Forum
- Topic: Music Question
- Subject: Music Question
- Replies: 5
- Views: 488
- Subject: Music Question
Posted: July 2nd, 2006, 1:46 pm
To keep it running, you either need to use frames, or open the music player in a seperate window. Or make the entire thing in flash so that only one flash file ever gets loaded and it loads everything else as it's needed. But... Don't put music on your site that plays before the user clicks on a pla...
- o[tter]
- Forum: Website Design Forum
- Topic: How To Make a Counter for My website that counts backwards?
- Subject: How To Make a Counter for My website that counts backwards?
- Replies: 7
- Views: 543
Posted: July 2nd, 2006, 2:51 am
Your idea of sending them back to a php page after their purchase which deducts the number they bought from the running total sounds good. Just store the total in a text file. To solve the refresh problem, have the php file send out an http redirect header. It's still possible that something could g...
- o[tter]
- Forum: General Discussion
- Topic: To iPod or not to iPod?
- Subject: To iPod or not to iPod?
- Replies: 16
- Views: 3146
- Subject: To iPod or not to iPod?
Posted: May 2nd, 2005, 4:46 pm
I haven't had any issues with lockups ever. Battery life has been good, it's getting down to the point where I should probably change it. There are kits now that make it incredibly easy. I've had a couple friends do it. As long as I hook it up to my computer whenever I'm home, it never dies on me wh...
- o[tter]
- Forum: General Discussion
- Topic: To iPod or not to iPod?
- Subject: To iPod or not to iPod?
- Replies: 16
- Views: 3146
- Subject: To iPod or not to iPod?
Posted: May 1st, 2005, 11:44 pm
- When unprotected .MP3 music is put on to an iPod, can it be played on different machines (during the day at work, and then later at home)? With iTunes, the iPod will associate itself with one computer and songs can be copied onto the iPod but not off of it. With the winamp plugin, you can play son...
- o[tter]
- Forum: General Discussion
- Topic: To iPod or not to iPod?
- Subject: To iPod or not to iPod?
- Replies: 16
- Views: 3146
- Subject: To iPod or not to iPod?
Posted: May 1st, 2005, 11:32 pm
Absolutely get an iPod. I've had mine for years and love it. Don't get the radio transmitter thing; get a cassette adapter. The transmitter works, but it takes a bit of setup time and never matches the quality of the cassette. I don't have a cassette player in one car, so I have to use the FM transm...
- o[tter]
- Forum: Programming / Scripting / Coding Forum
- Topic: PHP/Pear smtp to gmail?
- Subject: PHP/Pear smtp to gmail?
- Replies: 1
- Views: 589
- Subject: PHP/Pear smtp to gmail?
Posted: March 24th, 2005, 9:52 pm
Right then, I did some more checking and apparently it's not authenticating, and I think that's because gmail wants STARTTLS and all I can figure out how to do in PHP is SSL and TLS.... anyone know if/what I can do?
- o[tter]
- Forum: Programming / Scripting / Coding Forum
- Topic: PHP/Pear smtp to gmail?
- Subject: PHP/Pear smtp to gmail?
- Replies: 1
- Views: 589
- Subject: PHP/Pear smtp to gmail?
Posted: March 24th, 2005, 9:35 pm
Okay, so I've got a apache server running a simple site. I've also got mercury mail server running to send email with the from address as my gmail address. That all works fine, but there are several email servers that block the email because I'm on a cable connection. So, I thought I'd try using the...
- o[tter]
- Forum: Programming / Scripting / Coding Forum
- Topic: Javascript force link to IE?
- Subject: Javascript force link to IE?
- Replies: 5
- Views: 342
- Subject: Javascript force link to IE?
Posted: February 15th, 2005, 1:01 am
I could, but I much prefer firefox for all the rest of my browsing (with the tabs and intuitive buttons and plugins.) I've compromised and just stuck a shortcut to ie in my quicklaunch and set my homepage as a page with links to the two things I use that need IE. Ideally, all sites would work equall...

