Include

Usage The PHP include statement is a widely used statement in PHP. As the name suggests, the include statement is used to include files within another file (think of #include from C++). However, it does more than that, PHP also parses the file it includes. The file can be eithe ...read more

From Php To Python

Work in progress; more will be added over time. Control Structures PHP if; else if; else → Python if; elif; else PHP if ($x == 1){ // ... } else if ($x > 2){ // ... } else { // ... } // Or... if ($x == 1): ...read more

The Basics

As we all know the only way to making a web page is by using a specific language known as HTML (Hypertext Markup Language). Here i will teach you the basics of HTML. I will show you how to start off, where to put things, etc. Keep in mind that HTML is not case-sensitive, meaning that big or small ...read more

China Paint Effect

Open an image of your choice, a big landscape image is nice. CS users Image > Adjustments > Shadow/Highlight: Shadows = 100%, Highlights = 0%. 7 (or below)Choose the curves or levels setting to brighten the image. Now, Filter > Stylize > Find Edges ...read more

Box-shadow Counter-intuitively Conflicts With Outline In Firefox

So just about every other standards-compliant browser out there that supports both box shadows and outlines renders both the way we'd expect them to. However, Firefox, presumably the most popular standards-compliant browser out there, at least up to version 3.6 (perhaps it'll be fixed in 3.7&mda ...read more