PHPMagicBook has been very modest, small, insignificant and under the hood. It is still modest but now with a fresh look. PHPMagicBook has got a new logo style. Lately we have not been posting enough due to lack of time and some other projects. We could not respond to guests. But now in following few days, you shall observe a start in regular activity here. We aim to solve problems for people who want to do it themselves. People who are designers and HTML developers, but can’t code PHP. In result they lose projects sometimes because they can not take whole project from starting point of Design and then HTML development and finally integration of PHP scripts at website to make it dynamic and responsive to its users. We just want to enable everybody to use PHP.
We provide working scripts. We test scripts, We write scripts and then we share it with you here. We are soon creating a section which will work like reference sheets for PHP scripts. You can not remember all PHP scripts you will ever need, right? So you need a reference sheet and ready to use functions of PHP. We are going to provide guests with the best practices and solution for PHP.
Check back soon and thanks to all PHPMagicBook guests, visitors, contributors and everybody who subscribed. PHPMagicBook has been reloaded and its going to start a new journey. Cheers!
about site, personal, progress, updates

ColorizeIt is an online color scheme editor. You can select or upload a design, change colors, download modified design and use it. ColorizeIt is a perfect solution for owners of forums, blogs and turnkey websites. You no longer have to search for a design that matches color scheme you want, you can take any design and quickly alter its color scheme online.
blog, colors, customization, customize, live, phpbb, scheme, theme, tools, WordPress

You will install PHPBB and wonder what next? How to change its header and PHPBB logo? I did. First day I just stumbled through its admin settings, here and there and then searched quite a bit for default theme Prosilver’s customizations. Finally got it. Let’s come down to exactly how we do it. If you have been using WordPress then probably you will find PHPBB customization a bit nerdy task.
Go to sitename.com/styles/prosilver in your FTP
Folder Theme contains css files
Folder Template contains template files
I have been experimenting with .htaccess a lot regarding with mod rewriting and URL rewriting and had a lot of difficulty finding the solutions regarding to exact problem I faced. This stuff is such a headache. I am feeling headache right now as I am typing after messing with a lot of .htaccess codes. Here is an update regarding essential stuff which you will find useful if you are trying to change your URLS from index.php to index.html or index.php to index and if after putting RewriteEngine on images are not showing up at pages. Following exercises will answer these tasks in htacces mod rewrite:
1- How to enable RewriteEngine for htaccess and localhost
2- Images are not showing after RewriteEngine on
3- Images in second level directory are not showing after RewriteEngine on
e.g. images/1.jpg is showing but images/icons/2.jpg is not showing up
4- Want to change index.php into index or about.php into about
5- Want to change all pages.php to pages.html for site using htaccess
6- Want to Rewrite yoursite.com/user.php?username=xyz to yoursite.com/xyz
7- Want to Rewriting product.php?id=12 to product/ipod-nano/12.html
8- Want to change product.php?id=5 to porduct-5.html
Protect hotlinking the right way. There are content stealers out there who will copy your links and images and display them at their websites in result of which you pay more for bandwidth. If you do not do it the right way, you can block google and feedburner also. Here is a code to do it the right way. Any incoming direct request for your image file, zip file or rar will will display your specified image instead of that.
bandwidth, hotlinking, htaccess
You can trace which user is logged in. Users at WordPress have levels for access. Admin access level is 10. You can simply trace if the admin is logged in and hide ads from your blog so that admin may not see ads. If you are admin of a blog and post a lot then its a chance that you submit impressions for ads by yourself while checking your posts after publishing. More impressions but less click = less earnings. Hide your ads from you. You definitely don’t want to click your own ads, for sure. That’s why it is useful to hide your own ads from you to reduce load time + avoid impressions you do not want + more earnings.
If you use a plugin to add avatars to your blog, there might be a setting in the plugin’s options page for choosing the default avatar. If you use WordPress 2.5+, then you probably use a template tag like the following for your avatars.
< ?php echo get_avatar( $comment, 32 ); ?>
You can easily modify this code to show a default customized gravatar to appear if the comment author has no gravater to show.
If you are the only owner of any website or blog and want to protect your admin directory then you can allow that admin directory for just your IP and deny from all others. Here it is how.
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.



