Check: Make sure your <form> tag has the enctype=”multipart/form-data” attribute Check php.ini for: file_uploads = On, post_max_size = 100M, upload_max_filesize = 100M (Note it’s “M”, not “MB”)You might need to use .htaccess or .user.ini if you are on shared hosting and don’t have access to php.ini.
All posts by
Alter Image
Change img src HTML CSS
Debugging Arrays
Echo the contents of an array If you want to return it, not echo it
QRCode.js generate QR codes in browser
QRCode.js is a really simple javascript library that has the browser create the QR code itself (there is no image file created at the server) Download library http://davidshimjs.github.io/qrcodejs/ or https://github.com/davidshimjs/qrcodejs Upload the file “qrcode.min.js” to your server (only file required). If your site doesn’t have jquery already then you’ll also need “jquery.min.js” (not required for […]
Leave a comment form display
Visualisation of the available hooks: https://wordpress.stackexchange.com/questions/39028/hook-filter-before-and-after-comments
Comments Display
comment_text hook
Time difference
human_time_diff() – Get human readible time difference
DNS for email send
The 3 DNS Records you should use for good email delivery are: Reverse DNS (PTR) SPF (Sender Policy Framework) DKIM (DomainKeys Identified Mail) Reverse DNS (PTR) Aparently the most important one to use, BUT You can only have 1 domain assigned to a PTR record. This creates a problem if you have multiple domains on […]
Email never arrives
Some things to check if an email sent never arrives… Is the email being sent from and to domains on the same server? If you are using an external email provider (e.g. gmail) ensure that email service is not turned on for the destination domain on your server. If it is then the email will […]
reCAPTCHA Control Panel
Create and view your reCAPTCHA keys https://www.google.com/recaptcha/admin/ If you have none set yet then you won’t get a control panel, just the create a new key page