Search found 121 matches

by dusty
Tue Sep 17, 2002 8:16 am
Forum: Javascript
Topic: prevent a page from being picked up by a search engine
Replies: 4
Views: 5251

google has to reindex your site for the changes to take place i believe. some search engines are manual and you have to login and do it yourself.
by dusty
Tue Sep 17, 2002 8:12 am
Forum: PHP - Code
Topic: Switch problem?!
Replies: 5
Views: 960

I probably wouldn't have even posted mine if i had noticed your post first.. between eating cereal and watching cartoons it took me awhile to get to finishing it.

yes matt, twigletmac's code works fine. my post is another solution that shows you can cut down on the code a bit.
by dusty
Tue Sep 17, 2002 7:40 am
Forum: PHP - Code
Topic: Switch problem?!
Replies: 5
Views: 960

<? // no need for the list of possibles and then explode to make an array, just make them an array from the start $chassis_type = array("Eagle","Lotus","Honda","Cooper","BRM","Brabham"); // get the number of elements in an array $to...
by dusty
Tue Sep 17, 2002 2:43 am
Forum: Javascript
Topic: prevent a page from being picked up by a search engine
Replies: 4
Views: 5251

<META NAME="ROBOTS" CONTENT="NOINDEX">
by dusty
Tue Sep 17, 2002 1:12 am
Forum: PHP - Code
Topic: How to make this work
Replies: 3
Views: 839

Code: Select all

$nums = array("43","2","56","38");
$nums2 = array("34","53","4","9");

if(in_array($f,$nums)) {
  //Do stuff
} elseif(in_array($f,$nums2)) {
  //Do stuff
} else {
  //Do stuff
}
by dusty
Mon Sep 16, 2002 6:44 pm
Forum: PHP - Code
Topic: Encryption of a string
Replies: 38
Views: 5932

if someone enters a password and has access to your database and sees someone with the same encryption string they know what the password is. so if you salt the password and then encrypt it will be a different string with the same password. ie: i was saying to just use your username and password. $u...
by dusty
Mon Sep 16, 2002 1:13 pm
Forum: PHP - Code
Topic: Email Frustrations
Replies: 21
Views: 4546

i'm guessing you're on a windows server and smtp isn't set in php.ini
by dusty
Mon Sep 16, 2002 12:34 pm
Forum: PHP - Code
Topic: Email Frustrations
Replies: 21
Views: 4546

{$_GET['Address']} in the email body. you forgot the opening {
by dusty
Mon Sep 16, 2002 12:10 pm
Forum: General Discussion
Topic: SPAM - its not just for dinner anymore
Replies: 17
Views: 9344

proxomitron works pretty good to stop the pop ups. and spam isn't so bad if you fry it and eat it like a hamburger.
by dusty
Sun Sep 15, 2002 3:40 pm
Forum: General Discussion
Topic: A really good PHP editor...
Replies: 47
Views: 31898

well i guess for the ones that use notepad a toolbar would be too much to handle. that's about the only likeness i can pick out of word and context.
by dusty
Sun Sep 15, 2002 1:54 pm
Forum: PHP - Code
Topic: post method upload question
Replies: 4
Views: 761

post some of the code you're using
by dusty
Sun Sep 15, 2002 12:58 pm
Forum: General Discussion
Topic: A really good PHP editor...
Replies: 47
Views: 31898

i never upgraded context after 0.96.3 because of all the bug complaints but that version seems to work fine for me. if anyones wants it AIM me and i'll be happy to send.
by dusty
Sun Sep 15, 2002 12:45 pm
Forum: General Discussion
Topic: A really good PHP editor...
Replies: 47
Views: 31898

what version of notepad doesn't have ctrl f and ctrl s?

context is still number 1 to me :) people who say notepad is the best are just fooling themselves.
by dusty
Sun Sep 15, 2002 12:36 pm
Forum: General Discussion
Topic: PHP Blackjack
Replies: 15
Views: 6391

it just counted the dealers had of 3,j,a,8,6 as 18.
also isnt it only blackjack when you get 21 in the first 2 cards (ace and a ten card)? it said blackjack when i took a hit and got 21.
by dusty
Sun Sep 15, 2002 12:17 pm
Forum: PHP - Code
Topic: Encryption of a string
Replies: 38
Views: 5932

a quick fix for salting is to make the password a combination of the username and password encrypted.