Jump to content

.josh

Staff Alumni
  • Posts

    14,780
  • Joined

  • Last visited

  • Days Won

    43

Everything posted by .josh

  1. oh yeah alternatively you can put php_flag register_globals on in your .htaccess file
  2. If you have access to php.ini you can simply set it to on..
  3. Perhaps your id column is unique auto-inc and for some reason 4 was deleted?
  4. Yeah right. I bet they just wanted to see how long they could get away with having that in there.
  5. Don't get me wrong...I do understand that removing the File, View etc.. from the top is an effort to minimize toolbar space and maximize actual website space, so I do applaud the effort. But nonetheless I want that toolbar. There should be an option somewhere to show/hide that.
  6. Posting from Google Chrome. I haven't done any actual tests but just eyeballing it I really don't see a difference between this and FF3's loading performance...but to be fair, I do have a 12mb cable connect and I'm on a 2.5ghz quad core with 6gb ram... I think that tabs at the top are novel, but I'm so used to tabs being where they are on other things that it just doesn't seem that shiny to me. It kind of makes me feel like there is a separate navigation UI (url bar, buttons, bookmark quicklinks etc..) for each tab, which from a design PoV, somehow doesn't seem right. I don't like how the out of the box default is to not have the homepage button on the toolbar, though I suppose we could get into a long debate about whether that button is pointless or not, considering the whole bookmark toolbar. I don't like how opening a new tab automatically brings up that page with the most visited pages/bookmarks, and that you can't seem to change that to your homepage or something. You can't seem to change the new tab page at all. Being able to access a list of most recent stuff is okay but when I open a new tab, I'm looking for a list of known, set in stone options. Kind of like the home button or bookmark buttons toolbar. I would personally rather see those come up on the new tab page. I recognize this is a preference, but that's my point. I should be able to choose to customize the New Tab page somehow. Maybe I've been brainwashed, but I expect to see "File Edit View Tools Help..." at the top left of my window, no matter what window it is, and that includes my browser. Yes I see those options to the right of the url bar, but I am used to seeing them at the top left. That's one of the main things I dislike about IE (from a general UI PoV). I immediately dislike not having all the addons I use for firefox. I can't rightclick a word and have a list of options pop up like a definition or translation(s), being able to rightclick on a word and have it auto-open a tab with that word(s) submitted to a specific site (like dictionary.com, php.net, etc...). On that note, is Chrome going to even allow addons etc.. like firefox?
  7. foreach($page['array'] as $c) { $ids[] = $c['id']; } echo max($ids);
  8. What is it with me and commas today?? you can substr or rtrim the prev code or as darkwater suggested: $sql = "selece email from table"; $result = mysql_query($sql); while($r = mysql_fetch_assoc($result)) { $emails[] = $r['email']; } $emaillist = implode(',',$emails);
  9. $sql = "selece email from table"; $result = mysql_query($sql); while($r = mysql_fetch_assoc($result)) { $emaillist .= $r['email'] . ","; }
  10. I'm guessing you used $destination instead of destination as your column name.
  11. I don't know what gmail's limits are. Perhaps you should read their FAQ or ask them. But you are wanting to send them from your own domain so that's kind of irrelevant. And again, I don't know if it will come up as spam with them. Perhaps you should read their FAQ or ask them how they judge something to be spam.
  12. Yes, you can send an email to more than one person, by separating emails with a comma. If one or more of the emails are invalid, the other ones will still be sent. Depending on how many addresses you are sending to, it may or may time out, so you may want to send them in smaller chunks. Yes you have to make a script to do this, unless you want to just get a dump of email addresses and c/p it into your To: in your favorite email (like gmail or whatever). The script has to be executed in order for it to send the emails, so you can either make a request via your web browser or execute it on the command line through shell if you have access or even setup a cron job if you're looking to do it on some kind of regular basis. You know...you could have found out most of those questions simply by trying it and finding out...woulda taken you the same amount of time as asking on a forum...
  13. I don't think he necessarily cares about whether it's imploded or not...he didn't really specify his overall goal here. He was just using implode in his own code to get things to work. I don't really see how doing a substr or rtrim would be any more difficult but w/e. Anyways... Short tags are only in use because the goal is to only use single line of code. The reason you shouldn't use short tags is because they are not universally compatible with all server setups, and that may or many not change in the future. Your script may work fine today on your server, but it may not tomorrow, due to not adding on 3 little letters.
  14. If you're just wanting to print 0-9999 in a specific format, I don't really see the point in using range or foreach loop...just use a plain old loop... for ($x = 0;$x < 10000;$x++){ echo sprintf("%04d,",$x); }
  15. Can you post example output of what it looks like now vs. what you want it to look like?
  16. ah no i never read that. just wondering.
  17. I've gotten several PMs lately from people with post counts < 10. I thought there was a restriction. Was it removed?
  18. I hate the mouse on laptops. I'd rather have the little stick between the keys controller but most laptops these days have the pad instead. But even still, I always use a real mouse.
  19. cheater. Supposed to be one line. You know what he meant.
  20. DermFreaks.com ftw?
  21. Don't you think it would make more sense to ask on a board more geared towards photoshop, or at least, graphic/design in general? I really don't think you're gonna get much help from a php community...
  22. Well you can make use of that function under certain circumstances, but the point I was making was that you were checking for "username" not "logged".
  23. And how would you track attempts? IP address? Brute force behind a proxy. Not to mention, the more you try to prevent brute force attacks in that manner, the harder you're going to make it on legit users. Which is always one of the biggest issues with making things secure - still keeping them easy and usable.
  24. The overall idea of what your doing here is that you're creating a whitelist. It doesn't necessarily have to be numeric.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.