Re: [PHP] Question about the exit() command

2002-12-19 Thread Mike Joseph
No, for that use a if statement if($fname == "Select") { $errormessage = $error; include( "other.html" ); exit; } else { //code } A switch works like this switch($var) { case 1: //if $var==1 $thisvar = $something; break; case 2: //if $var==2 $thisvar = $something2; break; } ~M

[PHP] PHP and secure transactions

2003-07-17 Thread Mike Joseph
Hey everyone, Anyone have any tips on books, sites, news groups... anything where I can get some *good* information on using PHP to process secure transactions (the real ones, with an RSA Certificate). Thanks in advance, ~Mike -- -==- Mike Joseph Unix Geek / Code Monkey "Gripped by fear m

Re: [PHP] PHP and secure transactions

2003-07-17 Thread Mike Joseph
Not exactly sure what you mean.. do you want a php script to make a secure connection with some external website? Perhaps... we are just in the planning stages right now. I have books upon books on writing code for secure transactions (processing credit card numbers, mostly) in Java and C++, but