摘要:
当前域名访问 me.com 文件<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js"></script><script>$.getJSON('http://localhost/test.php?callback=?',{p1:'11'},function(msg){ //调用域localhost的test.php(其实两个文件在相同目录下) 阅读全文
摘要:
<?php/** * php 快速排序 */$arr = array(7,8,6,5,3,10);function quick($array){ if(count($array) <=1) return $array; $k = $array[0]; $left = array(); $right = array(); for($i =1; $i< count($array); $i++){ if($array[$i] <= $k){ $left[] = $array[$i... 阅读全文