Category Php
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 |
class A { public function myage() { return ' age is 80'; } } class B extends A { public function mysonage() { return ' age is 50'; } } class C extends B { public |
1 2 3 4 5 |
<FilesMatch "\.(ttf|otf|eot|woff)$"> <IfModule mod_headers.c> Header set Access-Control-Allow-Origin "*" </IfModule> </FilesMatch> |
Functions
HTML
Click on Wamp icon and open Apache/httpd.conf and search “#LoadModule rewrite_module modules/mod_rewrite.so”. Remove # as below and save it
1 |
LoadModule rewrite_module modules/mod_rewrite.so |
and restart all service.
1 2 3 4 5 6 |
SELECT *, ( 6371 * acos( cos( radians({$lat}) ) * cos( radians( `lat` ) ) * cos( radians( `lng` ) - radians({$lng}) ) + sin( radians({$lat}) ) * sin( radians( `lat` ) ) ) ) AS distance FROM `positions` HAVING distance <= {$radius} ORDER BY distance ASC |
Now you can go \wamp\alias\phpmyadmin.conf and edit this file.
it should look like this although your version of phpMyAdmin will probably be different