Today I am telling you about How to Create Photoshop design white gold ring logo stock photo in photoshop.
[1] Take a new file of 500 pixels, 500 pixels, of resolution 72 dpi in the RGB mode.
[2] Using the “Pen Tool” draw a shape as shown below right click
select the make selection and fill that layer [...]
Today I am telling you about How to Create Photoshop steel kidney tray logo stock in photoshop.
[1] Take a new file of 500 pixels, 350 pixels, of resolution 72 dpi in the RGB mode.
[2] Using the “Pen Tool” draw a shape as shown below right click
select the make selection and fill that layer with #939999.
[3] [...]
test
In this small and short post i will be showing you how to place comments in your php coding for others to see which does not get shown when the file is executed only viewable in the source code.
First i will show you how to use a single line comment. Which is used just for [...]
The include() function is used to include another file in the current file. If you have set variables in one file i.e. config.php and you would like to include it in another file i.e. index.php you would use the include() function.
I will show you a example of this. The following file is config.php where i [...]
At some point you will want a random number string but dont have the time to create new ones all the time, this is where the rand() function comes in. rand() Function creates random numbers from the numbers you set.
<?php
echo rand(0, 10);
?>
The code above will create and display a random number anything from 0 to [...]
The function file_get_contents() reads a file into a string. Using the function doesnt always work or sometimes uses more server memory. Another way of grabbing content from a url is using cUrl. cUrl allows you to grab/retrieve content from another server/url.
I have written a simple function which will retrieve content from the given url using [...]
htmlentities function converts all applicable characters to HTML entities. For example “<b>Hello World</b>” is converted to ” <b>Hello World</b> “
Using this function is simple and easy. I have coded a example below;
<?php
$text = ‘<b>Hello World</b>’;
echo htmlentities($text);
?>
If you have any questions please post a comment and i will contact you as soon as possible.
Not everyone can afford a encoder or trust them, so why not create your own basic encoder! In this tutorial i will show you how to encode letters into another letter of your choice. For example the letter “a” will be known as letter “f” and so on.
First of all i wrote out all the [...]
Variables in PHP are represented by a dollar sign followed by the name of the variable. The variable name is case-sensitive.
<?php
$name = ‘John’;
$age = ‘23′;
$location = ‘London’;
echo ‘My name is: $name and i am $age years old, currently living in $location’;
?>
This is output the following:
My name is: John and i am [...]