php
文章平均质量分 62
hooroger
这个作者很懒,什么都没留下…
展开
-
How to fix Apache – "Could not reliably determine the server’s fully qualified d
To fix that problem, you need to edit the httpd.conf file. Open the terminal and type,sudo gedit /etc/apache2/httpd.confBy default httpd.conf file will be blank. Now, simply add the following ...原创 2013-03-27 12:56:08 · 67 阅读 · 0 评论 -
Enable mod_rewrite in a Ubuntu server
If you have done much work with Apache then most likely you have experienced a need for enabling the rewrite engine. If you are unfamiliar with the rewrite engine, you can think of it as a means for...原创 2013-03-27 13:09:34 · 130 阅读 · 0 评论 -
PHP and MySQL: Calculating Distance
This month I’ve been programming quite a bit in PHP and MySQL with respect to GIS. Snooping around the net, I actually had a hard time finding some of the Geographic calculations to find the distance...原创 2014-11-07 10:57:28 · 100 阅读 · 0 评论 -
Calculate the Distance Between Two Coordinates (latitude, longitude)
function distance($lat1, $lng1, $lat2, $lng2, $miles = true){$pi80 = M_PI / 180;$lat1 *= $pi80;$lng1 *= $pi80;$lat2 *= $pi80;$lng2 *= $pi80; ...原创 2014-11-07 10:58:16 · 197 阅读 · 0 评论 -
phpStorm使用技巧总结
1,从版本控制系统创建项目:CVS -> Checkout from Version Control 2, 关联DOC文档:右键External Librariese -> Configure PHP include paths 3, 去掉波浪线:settings -> Editor -> Colors & Fonts -> Ge...原创 2016-04-07 10:46:10 · 127 阅读 · 0 评论