This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <a href="irrevocable-action.php?doitnow=yes" onclick="return confirm('Are you really, really, really sure you want to do this?')">Do It!!</a> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <script> | |
| document.write("<a href='mailto:" + 'moc.elpmaxe@em'.split("").reverse().join("") + "'>email</a>"); | |
| </script> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public static string b2s(byte b) { | |
| string result = Convert.ToString(b, 2); | |
| while(result.Length < 8 ) result = "0" + result; | |
| return result; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| if(isset($_REQUEST['rd'])) { | |
| $new = $_REQUEST['rd']; | |
| // DB access | |
| include("db.php"); | |
| $sql = "SELECT rdURL FROM rd WHERE rdName='".$new." LIMIT 1';"; | |
| $result = mysql_query($sql); | |
| mysql_close($conn); | |
| if($result) { | |
| $row = mysql_fetch_array($result); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| val = (numberA / numberB) | 0; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function trim(str, chars) { | |
| return ltrim(rtrim(str, chars), chars); | |
| } | |
| function ltrim(str, chars) { | |
| chars = chars || "\\s"; | |
| return str.replace(new RegExp("^[" + chars + "]+", "g"), ""); | |
| } | |
| function rtrim(str, chars) { | |
| chars = chars || "\\s"; | |
| return str.replace(new RegExp("[" + chars + "]+$", "g"), ""); |
NewerOlder