How tot convert PHP-code into ASP-code



Can someone help me to convert this PHP-code into ASPcode (I am not
familiar with PHP)

<?php
if( ! ( isset( $_POST['empty1']) && ($_POST['lempty1']==""))
die("Spam";
?>

This code is part of a code to avoid spam in a formular.

Thanks.
.



Relevant Pages

  • Re: After browser quit
    ... PHP does not have any clue what the user is doing after the page has been sent to the user/browser. ... PHP cannot see if the user is closing his browser or thatelse the usr is doing. ... PHP only knows about the user again when the user click's on a button or URL-link en the PHP-code is started once again. ... When the user closes a page the JavaScript can then execute the final PHP code to do the clean-up. ...
    (php.general)
  • Re: After browser quit
    ... I think the mentiond function is a PHP functions wich has to run when the ... At this point the page is sent to the browser. ... URL-link en the PHP-code is started once again. ... When the user closes a page the JavaScript can then execute ...
    (php.general)
  • Re: Ruby and PHP code in html-page
    ... I want to include PHP-code. ... I want to include in html-file some php-code one of counter-systems ... I must write php-code to some php-file and when this php ...
    (comp.lang.ruby)
  • Re: Ruby and PHP code in html-page
    ... I want to include PHP-code. ... Try using SSI for the php code. ... I want to include in html-file some php-code one of counter-systems ... It might be possible to use ERb (Ruby) to insert the PHP. ...
    (comp.lang.ruby)