Php Basis

Posted in Tutorials, Php by Rz on the October 31st, 2005

This tutorial explain the Php basis. The objective is to get you familiar with Php commands.

» So what is the aim of those < ? ?> ?
Php is an “Interpreted” language. This means that Php is NOT compiled, it is parsed at runtime (the time when the script is run. ex : user visits the page).

All Php code is enclosed within “< ?" and "?>“. Functions (text that causes action in the script), are ended by the semicolon (”;”). Comments (or escaped text) are as follows:

#Comments => shell style comment
//Comments => standard comment
/* Comments */ => C-style comment

» What does a Php page look like ?

< ?
$name = "RZ::DESIGN";
echo "<html><head><title>Php Tutorial</title></head>”;
echo “<body>”;
echo “Welcome in $name”;
echo “</body>”;
echo “</html>”;

This code just write the text : Welcome in RZ::DESIGN in a standard html page.

Now lets take a look at this. First, we initialize the Php interpreter. On the second line, we assign the variable “$name” to the value “RZ::DESIGN”. This is done by first giving the variable a name.

All variables (with the exception of constants, which you need not to worry about) start with the dollar sign (”$”). After we give the variable a name, we assign it a value, with the Assignment Operator (”=”). The value can be enclosed in either double or single quotes. Use double when you want to invoke “Variable Interpolation”. This means that if a variable is found in between ” and “, the value will be printed. But, if you use single quotes, the values will not be printed, instead, the variable name will be printed.


< ?
$variable = "Here's the variable";
//Next line will print : Where is the variable ? Here's the variable;
echo "Where is the variable ? $variable";
//Next line will print : Where is the variable ? $variable;
echo 'Where is the variable ? $variable';

Next, we use the echo function. There are many ways to display text in Php, echo is the most common. We do four lines of the echo statement to demonstrate how PHP can be integrated with Html. The first line prints the head and title information, the second line starts the body tag, the third line prints the text “Welcome in RZ::DESIGN”, and the fourth line closed the Html. Finally, we end the script, closing the Php tag.

» Conclusion
Now you understand what a sample Php page looks like, and how one works. You have learned about variables, the echo statement, and variable interpolation.

If you get confused, refer back to the manual (

Virus Warning !

Posted in Site News by Rz on the October 31st, 2005

One of u got my email adress in his adress book and is infected by the SOBIG worms ! I’ve received about 10 emails per day (Mail delivery faillure) !

I’m not infected by this worms then check all your PC !!! :(

Moreover, the returned mails inform me that they were sent by Outlook express… I don’t use Outlook Express to check my Hotmail account…

Symantec has develop a tool to remove this worms !
U can find it here :

Mcafee got a very useful tool that remove 30 early known worms…
U can find it here :

Good Luck ! ;)

Dodged smoke

Posted in Tutorials, Photoshop by Rz on the October 31st, 2005

This tutorial explain how to create realistic dodge blending smoke. It quite easy to create , so be aware of all the details it have. You may create your own thing to come up with something pretty different each time.

» 1st step

First of all, let create a 200×200 pixels window.
Be sure to have monochromatic colors. (F:White/B:Black).
Let select Filter > Render > Clouds.
(You may have the same or aproximative result at what i got here : )
It already make some smoke but we’re ain’t at our satisfaction. Lets call this layer (Basic smoke).

» 2nd step

Make a copy of basic smoke.
Put the mode to color dodge.
Name that layer dodged smoke.
Now you should have more light then the original one.
Hide the new layer.

» 3rd step

Now is the funniest part.
Click on the basic smoke layer to select it.
Let put up some distort on it. Filter > Distort > Waves
Play with the setting until you think it look raw!
Ok, it look cool isnt it ?
we are quite far from the end. Bring the brightness down a bit. Image > Adjust > Brightness/contrast about -30.
Select Dodged smoke layer, (we see him now thrue the background) and change his saturation (CTRL+U).
You can choose the color you want, but let the saturation to about 20-25.
If you are away from what i got here , please restart.

» 4th step

Always on a dodged smoke layer, make a wave distort on him, but make it different from the first layer, the basic smoke one.
Adjust the brightness/contrast again to make it real about B: -24 C: +4.
Well it should look like this , or near.
I hope you got some or more knowledge on blending. ;)

» Extra

You can play with the light with Filter > Render > Lighting effect to come up with a tasty piece.