Jump to content

Maq

Administrators
  • Posts

    9,363
  • Joined

  • Last visited

  • Days Won

    3

Everything posted by Maq

  1. I think he's saying to use regular expressions rather than just an array list. So, is it easier for you to list what you want to keep or what you want to disregard? If it's easier to list what you want to keep, use REGEX, if not use the array, IMO.
  2. Big bucks, right...
  3. Cool. @Mark Baker: That's a neat little function, but again, what's the point? Do you want to add IP's together or something?
  4. You've come to the right place then You definitely have! I joined here August '08 during an internship for school, didn't really know anything about PHP (don't look up my old posts!) and learned more than I ever thought I could. This is a great community that offers amazing help. I just landed a full-time Software Development (Java) position so I won't be around as much (although you may see me on Sun's forum a lot). So I guess my New Year's resolution is to do well at my job! (Which should be my goal anyway...)
  5. Put them all in an array and use str_replace. $search=array("'", "\"", " ", "[" ........ ); $new_filename = str_replace($search, "", $new_filename);
  6. -You select the same database twice. -$pnts is never declared.
  7. Maq

    isset help

    if(isset($dtypewc) && trim($dtypewc) != "") {
  8. I can't see the benefit of storing an IP as a integer... Like I said before, it would be difficult (maybe impossible) to determine where the dots should be placed. What is the point?
  9. That would explain, because your server's version of PHP probably doesn't have short tags turned on.
  10. Maq

    isset help

    What is $dtypewc? We will need to see more of your script.
  11. 1) 71 Never close your table tag 2) 64 Never use short tags 3) 69 Missing semi-colon (not necessary) These shouldn't be the cause of your error. The error usually refers to what you mentioned in your first post (missing braces...).
  12. It's not only Javascript it's many other languages as well.
  13. Heh, didn't know that, thanks PFMaBiSmAd!
  14. Like this: $date = "01/01/2009"; $output = date("Y-m-d, strtotime($date)); echo $output; premiso stop posting before me!!!!
  15. 'OR' & 'AND' should both work depending on what restrictions you want. But looks like premiso is right with the 'OR'
  16. Have you tried appending another conditional? I think that should work. $result = mysql_query("SELECT departureDate, expireDate, airport, destination, resort, hotel, duration, board, price, description, customerRef, mystiqueRef, stars FROM holiday WHERE destination LIKE '%$where%' AND duration LIKE '%$stay%'");
  17. Sorry I'm not familiar with the API that you're using. Maybe you could put the images as a background?
  18. Is it encapsulated in form tags? if(isset($_POST['submit'])) { echo "You submitted, wow!"; } </pre> <form method="POST" action="<?php%20echo%20%24_SERVER%5B'PHP_SELF'%5D;%20?>"> <
  19. I think that would be a good idea. Maybe have sort of a Welcome/Getting Started page to go along with it.
  20. Just don't add $_GET['search'] to the URL?
  21. We need to see your relevant CSS. We also need to know exactly what you mean. When I view your page in FF3 it looks like the only problem is that the little gray rectangles don't encapsulate your thumbnails. IE6 looks fine.
  22. So what is the problem besides, it doesn't do what I want it to do? Use code tags, please!
  23. There are so many classes already made for almost everything you just need to google, include, and modify.
  24. The method presented in the article is shaky at best, in that a lot of bogus registrations are still going to pass on through. I find it a bit humorous that two of the three bogus emails he mentions, donald@duck.com and emailthis@hahaha.com, would pass the test he wrote. So 33% of the time, it works every time. I was a bit lazy with the link as a mentioned I have not tried it. It came up top 10 on Google so I thought it may be good. It was primarily supposed to give you more so an idea rather than a solution but w/e. I do strongly suggest that you use multiple techniques to filter out the most emails, there's almost always going to be a couple that squeeze by but there's nothing you can really do. As bluesoul said: Words from a statistical genius
×
×
  • 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.