PHP Magic Book – Free PHP Scripts, Tutorials and Downloads, PHP AtoZ Reloaded, free php tutorials, free php downloads, php scripts, PHP tips

Hide WordPress WP-Admin Login Page

Here is a code which you can use to hide your wp-admin screen. Change YOURSECRETWORDHERE to something else. It can be any word you want. Just make sure it’s unique and somewhat long. Make it, like, your pets name or something random. Change ADMINFOLDER to the new folder name you want. Letters, numbers, underscores, and dashes only. That ^ in front of it is on purpose. Don’t delete that. Back up your original .htaccess file before making any changes. I am not responsible for any mess up.

Read the rest of this entry »

Posted in: Hacks, WordPress
Post's RSS » RSS 2.0
Post's Comments RSS » RSS 2.0
Respond: Post A Comment

Enable Gravatar/Avatar at Your Website – Gravatar Image PHP Script

gravatarYou might have already created an account at gravatar (Globally Recognized Avatars) and enjoying your display picture or avatar at forums and blogs when you just post your comment with your email and there you are — it displays your avatar along with your comment. If you are a developer and you create websites – PHP websites – and wondering how you can enable gravatars / avatars in your next project then here is very easy to use working solution – PHP script to enable gravatar at your PHP website / blog / forum / project.

Read the rest of this entry »

Tags: , , , ,
Posted in: Scripts, Useful Scripts
Post's RSS » RSS 2.0
Post's Comments RSS » RSS 2.0
Respond: Post A Comment

Allow htaccess and Mod Rewrite in Wamp

You must enable mod_rewrite before you can use it. If you want to enable it in httpd.conf, then use

Options FollowSymLinks Fileinfo
or
Options SymLinksIfOwnerMatch Fileinfo

If you wish to enable mod_rewrite at the .htaccess level (i.e. only in certain (sub)directories within each vHost and not for all (sub)directories of each vHost), then you must set allowOverride Options (at a minimum) in httpd.conf, and place one of

Options +FollowSymLinks
or
Options +SymLinksIfOwnerMatch

in the .htaccess file(s) to enable mod_rewrite.

Read the rest of this entry »

Tags: , , , ,
Posted in: Mod Rewrite, htaccess
Post's RSS » RSS 2.0
Post's Comments RSS » RSS 2.0
Respond: Post A Comment

PHP Script Not Working – Solution

Ever wondered that most of the PHP scripts you download, do not do anything. I mean you downloaded the PHP script, uploaded at your host or copied at localhost and when you run it, it will not display results. In most cases it happens. One reason might be that the script is not properly written. But the fact is, scripts are written correctly in most cases. The problem is that the developers miss something very important in most cases. Next time you download scripts, those should run if you follow this instruction I am going to tell you.

Read the rest of this entry »

Tags: , , , ,
Posted in: Post & Get
Post's RSS » RSS 2.0
Post's Comments RSS » RSS 2.0
Respond: Post A Comment

Customizing WordPress Tags Cloud – A Guide

tags-cloud

If you have already used some social networking website or you are a blogger then you definitely know what the tags are. WordPress offers Tags Cloud which can be customized the way you use it at your blog. By default WP Tag Cloud will generate limited number of tags in alphabetical order. Custom templates for tags can be made which means that you can have a full page of tags as you want it. Look at the 404 page of phpmagicbook. I have used tags to give the users some more options to browse if he gets distracted by ‘page not found error’. I was thinking to give my users all tags option to click at any one. Okay now this is just one use. You can have your own customized tags page which can contain just tags and nothing more. We explore some ways about how we can customize tags/tags template/tags page at our WordPress blog.

Read the rest of this entry »

Tags: , , , ,
Posted in: Hacks, WordPress
Post's RSS » RSS 2.0
Post's Comments RSS » RSS 2.0
Respond: Post A Comment


Related Posts




  Subscribe Via RSS
  Subscribe Via Email