Browse > Home / Archive by category 'Webmaster Tutorials'

| Subcribe via RSS

A Web Standards Checklist, How to make a proper website

A web standards checklist

The term web standards can mean different things to different people. For some, it is ‘table-free sites’, for others it is ‘using valid code’. However, web standards are much broader than that. A site built to web standards should adhere to standards (HTML, XHTML, XML, CSS, XSLT, DOM, MathML, SVG etc) and pursue best practices (valid code, accessible code, semantically correct code, user-friendly URLs etc).

More »

Designing Complete Web Templates By PJ

Click the More to see more video parts
More »

Joomla Themes from a Photoshop Template Design in Seconds

Create a working Joomla Template from your Photoshop PSD design in seconds.

More »

10 Ways to inprove your PHP

Ok heres a list of ways to improve your PHP Programming..

1. Use the cheat sheets

When ever your programming in php and mysql you should always have a cheet sheet at hand!,
there are several out there for you to use as references here are just some.

  • MySql
    • http://www.addedbytes.com/cheat-sheets/download/mysql-cheat-sheet-v1.png
  • PHP
    • http://www.addedbytes.com/cheat-sheets/download/php-cheat-sheet-v1.png

More »

Tags: , , ,

How to hide css code

‘Rippers’ are always trying to steal your design or style? I think this will help you.

More »

Tags: , ,

Questions to ask a web hosting company

Before you sign any contract or pay for hosting, better ask some of this questions. You will have more information about your host, plus the chances for being scammed are minimal.

More »

Tags: , ,

Simple login system with php

Today I will be creating my first post for WarezTeacher and to help you create a simple login system for your admin… 

Firslty we need to create a file that will hold your password and security check!

Step 1 (Create Auth File).

Create a new file and name it anything you want but for this example we’ll use auth.php.

  1. <?php
  2. session_start();//this will be used to hold your admin session
  3. $MyPassword = "Admin"; //this will be your login password
  4. $Form = '<form action="" method="post" name="loginForm">
  5. <input name="password" type="password" />
  6. <input type="submit" value="Submit" />';
  7.  
  8. if(!$_SESSION['AdminAuth']){//check if allready logged in
  9. if(!$_POST['password']){
  10. die($Form);
  11. }else{
  12. if($_POST['password'] != $MyPassword ){
  13. die('PASSWORD FAIL!');
  14. }else{
  15. $_SESSION['AdminAuth'] = TRUE;
  16. }
  17. }
  18. }
  19. ?>

Now what ever pages you want to secure you should just include the file with the include command at the very top of your sucure page.

Hope you like this tutorial and please stay tuned at WarezTeacher for more!!!

Tags: , ,

Installing/Configuring LiteSped w/ PHP

What is LiteSpeed?

LiteSpeed Web Server is the leading high-performance, high-scalability web server. It is completely Apache interchangeable so LiteSpeed Web Server can quickly replace a major bottleneck in your existing web delivery platform. With its comprehensive range of features and easy-to-use web administration console, LiteSpeed Web Server can help you conquer the challenges of deploying an effective web serving architecture.

LiteSpeed Web Server has superior performance in terms of both raw speed and scalability. Our benchmarks demonstrate that it is more than 6 times faster than Apache. When serving static content, LiteSpeed surpasses well-respected content accelerators including thttpd, boa and TUX. When it comes to dynamic content, LiteSpeed is more than 50% faster in PHP content delivery than Apache with mod_php. Don’t just take our word for it. Download the LiteSpeed free or trial version and experience it for yourself.

Since its 3.0 release, LiteSpeed Web Server works flawlessly alongside web hosting control panels including cPanel, DirectAdmin, etc. as a drop-in Apache replacement. Easily increase PHP performance and security while doubling server capacity. LiteSpeed is the best choice for shared hosting service providers.

More »

Tags: , , , ,

Locking the “www” in URL’s

This technique will make sure that all visitors go to the same URL. There is a difference between http://www.site.com and site.com . This may also result in Pagerank dropping/not rising.

What is a pagerank?
Google’s Scale of Measurement which determines in Google’s eyes how relevant or important a website is. The higher your pagerank is (0->10) , the better your site is and the better you will get listed.

More »

Tags: ,

PHP Image Resize Script

This is a little script that is very handy for webmasters who often use the loading of images. As you already may have noticed somethimes images tend to go bad when resizing. That’s why I’m sharing this script with you all. This is definately not hard to modify and I will do my best to explain everything.

More »

Tags: , ,