Tags » PHP 2

PHP 5 Introduction

What You Should Already Know

Before you continue you should have a basic understanding of the following:

  • HTML
  • CSS
  • JavaScript .

What is PHP?

  • PHP is an acronym for “PHP: Hypertext Preprocessor”
  • 203 more words

Abstract Classes and Interface in PHP

Abstract class and Interface in php play very important role in oop. In this section we will discuss following point

  1. What is abstract classes.
  2. What is interface…
  3. 1,393 more words

How to Calculate Distance Between Two Location by PHP Code

If you would like to calculate air distance between two location without any API or mysql query. You can use below code to get distance between two location. 60 more words


Remove the elements from array in php


echo “<pre>”;
OUTPUT OF print_r($string_array);
[0] => a
[1] => b
[2] => c
[3] => d
) 179 more words


Download large files in PHP

Developers experience issues while downloading large files using PHP, there are no of possible things to cause issue, i.e incorrect headers for browsers or incorrect file streaming. 270 more words


How to Apply Style to a Cakephp Debug Console

We have cakephp debug on or off option in core.php file, if debug is on then all errors and query will show at the bottom of the page. 84 more words


Pengolahan Data String Pada PHP

Kali ini saya akan berbagi mengenai beebrapa fungsi yang sering digunakan dalam pengolahan string. Fungsi yang akan saya bahas adalah strlen(), strpos(), explode(), implode(), str_replace(), count(), substr(), htmlentities(), md5(), trim(), fungsi-fungsi pengubah kapitalisasi huruf dan beberpa fungsi lainnya. 741 more words