borfast
Members-
Posts
3,271 -
Joined
-
Last visited
Everything posted by borfast
-
I saw some pictures of their building some time ago... but it's always a joy to see it once more. The environment really makes me want to work there... http://aintitcool.com/display.cgi?id=19658#1
-
If I recall correctly, there's no way to set the cookies not to expire. What you can do is, like Bruce said, set the date for several years in the future.
-
Same result as Bruce. Visited all three sites, clicked around and not even one pop-up or pop-under appeared. I really think this has to do with settings...
-
Glad it helped you, Weezy
-
carbonize, yes, register_globals is turned on on TCH's servers. Is it a bad thing? Yes and no. If you don't know how to write secure PHP code, you might end up doing exactly what I described above and get yourself into trouble. On the other hand, there are lots of scripts out there that use global variables like this and many TCH customers use them, so turning register_globals off would break those scripts, leaving many customers without an alternative. Do I agree with this? As a programming and security geek, no, I don't. You want to write PHP scripts? Learn to do it the right way and use $_POST, $_GET, etc. On the other hand, from a web hosting point of view, yes, I agree. It is important to keep your customers' sites working and suddenly breaking their sites is not a nice thing to do. In the end, since this is a hosting company and not my personal hosting playground, register_globals must be kept on to ensure that clients have their sites running smoothly.
-
Yes, Greg. That's safe. The big problem with includes (the one you probably heard of and made you post this question ) is if you use variables in your include() or require() statements and register_globals is turned on. for example, imagine someone goes to your site and types an extra parameter in the URL, like http://******/index.php?file=/etc/passwd and inside index.php you have something like include($file)... Since register globals is turned on, that expression would automatically be converted into include("/etc/passwd") and... well, I guess you can imagine the rest
-
Just a little tip: you don't need to put form information into an array since it is already returned in that way: $_POST Also, since you're using the "long" version of foreach, you can access the values of the variables directly ><input type="text" name="name" size="20" /> <input type="text" name="address" size="20" /> <input name="color" type="checkbox" value="1" /> >foreach($_POST as $key => $value) { $_POST[$key] = htmlspecialchars($value); }
-
I'm also using FF 1.0.1 and never had any problems with pop-ups or pop-unders. I Also tried drudgereport.com but nothing happened. PS - youneverknow, that sig of yours is pretty nice
-
Functions may return references or copies of their results, depending on how you declare them.
-
No problem Just in case you haven't seen it yet, cPanel has Mailman installed for you, so there's no need to go through the nightmare of setting it up yourself, just create the mailing lists, configure their options and you're all set
-
Pocketman, I never used Dada mail extensively, but I belive they serve different purposes. Dada Mail is more geared towards announcements mailing-lists (i.e., the mailing list owner sends e-mail messages to everyone on the list but list members can't send messages to each other). Mailman on the other hamd is a fully-featured mailing-list software, allowing everyone to participate in the discussions. Imagine these forums but instead of you having to visit the forums via your browser, you'd receive all new posts and post your messages via e-mail. Someone correct me if I'm wrong about Dada if but I think that's pretty much it. Hope it helps
-
Yes, they intend to make Firefox their flagship product, along with Thunderbird to replace the e-mail client in the Mozilla Application suite.
-
That's a cool thing, Thomas! I never thought much about live bookmarks but I guess they are useful after all Thanks for the tip
-
Sorry, never used Entropy chat but I assume that by constantly "loading" information you refer to the webpage being refreshed every x seconds (at least that's how these chat scripts usually work), am I right? If so, I wouldn't worry too much about it, as it is mainly text being transferred - unless you intend to have a chat room with thousands of people, ofcourse
-
Nat, sorry about what happened to your forums. If you did have the latest version of phpBB (2.0.13) then it means that the hacker(s) entered either via an unknown (or at least no yet disclosed to the public) phpBB vulnerability or simply by using the front door, meaning they knew your password. How? Trojans, social engineering, etc... Just to be on the safe side, I'd advise you to change your password, so they won't be able to use the same password again and run a full virus/spyware check on your computer.
-
Welcome to the forums, pamw!
-
Welcome to the forums John!
-
Sorry, I don't use it but perhaps someelse does and can help you.
-
Pretty cool, huh
-
Welcome aboard, Bill!
-
Actually, spambots would capture any e-mail address, even if it's not linke as a mailto: address. That's why people use "name _at_ domain _dot_ com" or even "name@domain.nospam.com" and alert visitors to make the necessary alterations to the address.
-
Welcome to the forums, globmul!
-
Nice tip! A Google search for "file_get_contents include performance" found me this interesting page about a comparisson of various methods to include static content with PHP. Looks like fpassthru is an even faster alternative.
-
Same here (mail() instead of SMTP - never had a problem). Always use mail() instead of SMTP unless you have a good reason to do so.
-
Welcome to the forums rjn, Wendy and Monkey! Glad to have you on board
