Rabu, 21 Agustus 2013

PHP Variable String and Number

PHP has 8 type data of Variable: Boolean (True - False), Integer, Floating
point(decimal), String, Array, Object, Resource, and Null.

In this page i want to explain about using Variable with String in PHP:

There some rule for writing Variable in PHP:

- Writing PHP variable begins with '$' (dollar) character.
- When it included with 2 words, dont input  between both, you can use '_'
(underscore) or combine that 2 words.
- The Character must letter or underscore after '$', cant use Number or Symbol.
- Variable in PHP is Case-sensitive.

Example: $variableName
         $variable_Name
         $variableName with $Variablename is Different.

When we want to fill and show the values of a Variable where the type data is
"String", it need ';' for ending. And if we want include words inside the
command viewer we must use " (double quote).

Example: echo $variableName;
         print $variableName;
         echo "Hi, $variableName";

Here Example for writing Variable with String type data:

< ?php
$fullName = " Bagus Rizaldy S";
echo "My Full Name is$fullName";
echo "My Full Name is".$fullName";
?>

the output will be appear like this:

so, the explanation is we call the contents of the Variable, when we want to combine the Variable and String we must put "." between it. And then try to Number or Numeric: < ?php $number1 = 2; $number2 = "3"; $number3 = "4four"; echo "$number1*$number2"; echo $number1*$number2; echo $number1+$number3; ?> the output will be appear like this:
so, the explanation is see on first output it appear 2*3, why it is not calculate? becuse it use quotes so it detected as string, only appearing and not calculate it, so if you want to make calculate Number or Numerical dont put any quotes like at operaion number 2 when the output 6, so if we didnt put qoutes the letter wont to detect like variable $number3.

Jumat, 02 Agustus 2013

Open file in internal browser at phpDesigner8


Tutorial PHP at phpDesigner8
In this page i'll share how to open .php file in internal
browser from phpDesigner8 software.

1. Open your phpDesigner and Project --> Project Manager

2. And then will approach 'Project Manager' click 'New' fill your 'Project Title:' and click 'Next'
3. After that we need to fill our 'Project Root Folder' fill the destination of folder and click 'Next'
4. we done about 'Project folder setting' and then we go to localhost tab, fill your localhost,local path, and your localhot port then click 'Ok'
5. and last steps, open your php project, click 'Run' and this project will appear on internal browser.

Kamis, 01 Agustus 2013

Open File with 'Shift+F6' to External Browser at NetBeansIDE


Tutorial PHP at NetBeansIDE
In this page i'll share how to open .php file with software NetBeansIDE
and use 'Shift+F6' open files to External browser(im using Firefox)

1. Open your NetBeansIDE and 'New Project...'. On tab steps '1. Choose Project'
   categories 'PHP' select Project and hit 'Next'

2. Now tab 'Name and Location' fill the Sources Folder with file directory and hit 'Finish'
3. File directory opened, and Properties
4. On tab Categories choose 'Run Configuration' look at 'Project URL' change the address localhost port if you change it and hit 'Ok'
5. change you External browser opener: Tools --> Options
6. Open subProject choose file and hit 'Shift+F6' and look at your browser the file opened!

Tutorial Change Apache Port


How to change Apache Port
If it can't to running we must change our Apache Port to 24(for my example,
whatever you want to change the port) for one reason, for example because it
clashed with IIS(Internet Information Service)

1. go to your xampp directory: (C:\xampp\apache\conf)

2. search file named: "httpd.conf" and open to edit
3. search "Listen 80" (default)
4. and change only Listen 80 what ever you want for my example i change it to Listen 24
5. save it, and Restart your Apache server 6. Done!

Rabu, 31 Juli 2013

Live View and Browser external at Dreamweaver


Tutorial PHP at Dreamweaver

If it can't to running we must change our Apache Port to 24(for my example,
whatever you want to change the port) for one reason, for example because it
clashed with IIS(Internet Information Service).Tutorial

1. Make PHP file in folder -> xampp/htdocs/PraktikumPHP/latihan1.php. 
   Create a program featuring "Hello World, my name is bla bla..."

2. Open your Dreamweaver

3. Click New Site
4. On "Site" Tab, fill your "Site Name" and "Local Site Folder" for example:
5. On "Servers" Tab. fill your "Server Name" for my example "Server Name : localhost24" 24 on here is the Apache port. so, on "Web URL" we need to change it to http://localhost:24/PraktikumPHP/
6. and you will see the "Live View" on your Dreamweaver:
7. from External Browser:

Jumat, 26 Juli 2013

Advanced Systemcare Ultimate 6


Advanced Systemcare Ultimate 6

Advanced SystemCare is a computer tool for Windows 8, Windows 7, Windows Vista, Windows XP, and Windows 2000 created by IObit. It is stated to improve computer performance and speed.

>>>>>>>>>>>>
Download Here
>>>
>>>>>>>>>>>>

Password :

set.tea.am.both.do




Quick care options includes two functions: Diagnose System and Maintain Windows. Diagnose System includes optimizing and repairing the system configuration, preventing spyware, defragmenting the disk and a security analyzer, which scans the computer to find hijacked settings. The Maintain Windows includes cleaning up spyware, cleaning up the registry, privacy sweep and cleaning up junk files.

How to use ImgTool [Tutorial]


How To Use ImgTool on GTA Sand-Andreas

For example, changing weapon Ak-47 to Ak-Sopmod, here's the file:
Ak-Sopmod.rar
You must have ImgTool for change the default file.

Steps:

1. Extract Ak-Sopmod.rar:


after extracting you will see folder and 2 important file included the folder:




-ak47.dff
-ak47.txd


2. Open your ImgTool, File -> Open or Ctrl+L :




3. search your Gta Sand-Andreas Folder and Open this file "GTA Sand-Andreas/models/gta3.img" :



4. And find the file called ak47.dff. File -> Find / F2 :





5. after you find the file Right Klick -> Replace "Dont Forget Backup the file first" :





Search your folder included file for replace ak47.dff :





After klick Open, the file ak47.dff has changed, and next to ak47.txd the steps same with step 4 :





6. Finished ^^



I hope it's Helped you . . .