php & post_max_size – upload_max_filesize

<p>Für den upload grösserer Dateien in einem post reicht es nicht, in der php.ini nur den “upload_max_filesize” zu erhöhen – es braucht ebenfalls den “post_max_size”.<br /> <br /> Wer eine “globale” Einstellung vermeiden will, kann die Import Werte auch über eine .htaccess Datei verändern – so zumindestens lt. diesem <a href=”http://www.andi.de/2006/11/18/wordpress-upload-aufbohren/” target=”_blank”>Artikel</a></p>

Read More

WordPress and Permalinks

How to switch from unfriendly URLs to friendly ones, e.g.: http://bernhard.hensler.net/?p=1001 becomes http://bernhard.hensler.net/post-with-friendly-url

Read More

SSL for wordpress login and admin section

     add define(‘FORCE_SSL_ADMIN’, true); in wp-config.php      edit /etc/apache2/listen.conf and add NameVirtualHost *:443      add a virtualHost section to your httpd.conf DocumentRoot “var/local/wwwroot/bernhard/” ServerName bernhard.hensler.net ErrorLog /var/log/apache2/error_log TransferLog /var/log/apache2/access_log SSLEngine on SSLCipherSuite ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+ LOW:+SSLv2:+EXP:+eNULL SSLCertificateFile /etc/apache2/ssl.crt/server.crt SSLCertificateKeyFile /etc/apache2/ssl.key/server.key

Read More

offline blog editor wordpress.com : screenshot tool : Mac

     ecto (20$) seems to be a good desktop offline editor // browser plugins, openSource etc. not handy; images will automatically be uploaded and added to mediathek      wordpress.com offers the “new post” as part of their header frame meanwhile, which seems to be doing the job for me      instantShot! is […]

Read More

max upload size

php.ini ; Maximum allowed size for uploaded files. ; http://php.net/upload-max-filesize upload_max_filesize = 64M ; Maximum size of POST data that PHP will accept. ; Its value may be 0 to disable the limit. It is ignored if POST data reading ; is disabled through enable_post_data_reading. ; http://php.net/post-max-size post_max_size = 64M

Read More

functions.php // wp_log_http_requests

/* WP LOG HTTP REQUESTS */ function wp_log_http_requests( $response, $args, $url ) { // set your log file location here $logfile = plugin_dir_path( __FILE__ ) . ‘/http_requests.log’; // parse request and response body to a hash for human readable log output $log_response = $response; if ( isset( $args[‘body’] ) ) { parse_str( $args[‘body’], $args[‘body_parsed’] ); […]

Read More