Questions asked on the site require some preparation, such as showing that you've done your homework.
Sorry, but this is not an answer.
Please read the [faq].
Please read about XXX in the [faq#XXX].
| <?php # -*- coding: utf-8 -*- | |
| header( 'Content-Type: text/plain;charset=utf-8' ); | |
| interface Simple_Type | |
| { | |
| public function __construct( $var ); | |
| public function __get( $var ); | |
| } |
| # -*- coding: utf-8 -*- | |
| """ | |
| Performance test for different types of update | |
| Results sample | |
| ----------------------------------------------- | |
| In [1]: import db_test |
| <IfModule mod_rewrite.c> | |
| RewriteEngine On | |
| RewriteRule ^index\.php$ - [L] | |
| RewriteRule (.*) ./index.php?id=$1 [L] | |
| </IfModule> |
| <?php # -*- coding: utf-8 -*- | |
| /** | |
| * Plugin Name: T5 Spam Block | |
| * Description: Block spam before it reaches the database. | |
| * Plugin URI: https://github.com/toscho/T5-Spam-Block | |
| * Version: 2013.03.31 | |
| * Author: Thomas Scholz | |
| * Author URI: http://toscho.de | |
| * Licence: MIT | |
| * License URI: http://opensource.org/licenses/MIT |
| <?php | |
| /* | |
| Plugin Name: Easy Digital Downloads - Variable Pricing License Activation Limits | |
| Plugin URL: http://easydigitaldownloads.com/extension/ | |
| Description: Limit the number of license activations permitted based on variable prices | |
| Version: 1.0 | |
| Author: Pippin Williamson | |
| Author URI: http://pippinsplugins.com | |
| Contributors: mordauk | |
| */ |
Questions asked on the site require some preparation, such as showing that you've done your homework.
Sorry, but this is not an answer.
Please read the [faq].
Please read about XXX in the [faq#XXX].
| <?php | |
| function is_user_logged_in() { | |
| $loggedin = false; | |
| foreach ( (array) $_COOKIE as $cookie => $value ) { | |
| if ( stristr($cookie, 'wordpress_logged_in_') ) | |
| $loggedin = true; | |
| } | |
| return $loggedin; | |
| } | |
| if ( ! stristr($_SERVER['REQUEST_URI'], '/wp-admin') && ! stristr($_SERVER['REQUEST_URI'], '/wp-login.php') && ! is_user_logged_in() ) |