Jump to content


  • Posts

  • Joined

  • Last visited

Contact Methods

  • Website URL
  • ICQ

Profile Information

  • Interests

airjunkie2000's Achievements


Contributor (5/14)

  • First Post
  • Collaborator
  • Conversation Starter
  • Week One Done
  • One Month Later

Recent Badges



  1. Here is a sam0ple of the if statements. I want to filter it if it "contains" the word or phrase, not if it equals it... ////////////// if(document.form1.name.value == "www") { alert("No Spamming Please"); document.form1.name.focus(); return false; } if(document.form1.comment.value == "www") { alert("No Spamming Please"); document.form1.comment.focus(); return false; } ///////////////// see this filters out "www" if you type that, but not www.spamsite.com, any suggestions? Thank you
  2. home grown, really basic... I have figured out how to block an exact word, for instance if I just type "www" it will block it, but if I type "www.fjkgsdfjkgs" it will not
  3. Ya know how you can use the if function to weed out strings that contain something by using "==". My problem is that I need to weed things out that contain a certain few lters in a certain order. Whats going on id people are spamming the hell out of my comment adding script and I need to block all comments and names that contain www, http, .com, or .net Any help is appreciated Thanks
  4. The img in css with a class and text decoration no is working ok! Thanks a lot
  5. Thank you for the input. I want to try the text decoration. I can use that on the img tag also in css right? If this doens't work I will post the url of the page, Thanks
  6. Hello, I have a question. At first I thought that I could easily make this happen, but it turned out to be more difficult than i thought. I am simply trying to make all img borders to be a certain color in css. So I found the way you put img with attributes in css, and even do the hover highlight. The problem is that the images bottom borders do not change, but the right, left sides and the top do. The bottoms stay the typical IE link blue? Does anyone have any snipets or solutions for this in css? Thanks for your time
  7. Just a follow up, I changed the javascript to mysql, and cut 4 seconds off my initially load time as alexa reports it. Deffinitely an improvement. Thanks again
  8. Thanks a lot for the help. I will move forward building the mysql query
  9. Thanks for the info ok, so when you say 5000 queries do you mean 5000 mysql strings that do the query or do you mean query a databse with 5000 entries. Sorry Im new to Mysql... I have 8 randomizing javascripts running and I want to put in 1 mysql query in place instead. That will amek the total queries on that one page equal to 7. I guess I don't forsee a problem
  10. Hello, Im working on some randomizing scripts to display random data. I can either use a javascript with each line being one of the entries and randomly choose and display them or I can put the entries into mysal and selct random from a database. Which is better for speed )which will slow the site down less). Which creates less load on the server? Also in general how many Mysql queries per page is it safe to have if you are concerned with page loading speed? Thanks for any input
  11. Hi guys/gals, I have a few questions regarding java game developement. Basically I have been looking around for a developer to help me with a project I have. (I know Im prob not suposed to try to do biz deals in the TCH forums) but really I am looking for some advice as to how long of a time frame I should expect for a certain project I have outlined. If anyone can help me with it please PM me or post back. Thanks
  12. Turns out you were right about the rand statement, it was retuning a media_id that did not exist in the database, so instead I just user ORDER BY RAND() and then displayed 3 results, thanks both of you.
  13. Thanks for the input I will try both these suggestions
  14. Im sure Im missing something obvious here, but its still not working correct. Im trying to display 3 random images from a database... I don't get any coding errors, parse errors, but it displays nothing? Here's the code: <?php $result = mysql_query("SELECT media_id, thumbnail, file, path FROM media_info WHERE media_id = RAND() LIMIT 3") or die(mysql_error()); while($row=mysql_fetch_array($result)) { ?> <a href="<?=$row[path];?>?media_id=<?=$row[media_id];?>"><img src="<?=$row['thumbnail']?>" alt="" width="100" height="80"></a></td> <br> <? } ?> Thanks for any help
  • Create New...