<script language=”javascript” type=”text/javascript”>
function myFunction() {
}
if(window.myFunction) {
alert(“‘myFunction’ already exists”);
} else {
alert(“‘myFunction’ does not already exists”);
}
</script>
<script language=”javascript” type=”text/javascript”>
function myFunction() {
}
if(window.myFunction) {
alert(“‘myFunction’ already exists”);
} else {
alert(“‘myFunction’ does not already exists”);
}
</script>
<?php $number = 5030; echo number_format($number); // 5,030 ?>
<?php echo chr(50).","; echo chr(55).","; echo chr(53); ?>
<?php echo base64_encode("First"); ?>
<?php if(file_exists($filePath)) echo "Exists" ?>
<?php chmod("../".$image_thumb_path_medium,0777) or die("Could not change permission thumb"); chmod("../".$image_thumb_path_medium,0777) or exit("Could not change permission thumb"); ?>
<?php chmod("/your_dir/your_file", 0600); // Read and write for owner, nothing for everybody else chmod("/your_dir/your_file", 0644); // Read and write for owner, read for everybody else chmod("/your_dir/your_file", 0755); // Everything for owner, read and execute for others chmod("/your_dir/your_file", 0750); // Everything for owner, read and execute for owner's group ?>