The Usage of Quotation mark for PHP Script Optimization
The usage of quotation mark in script PHP very often we meet, maybe can be every script that we make existed the usage of quotation mark referred. In PHP the usage of quotation mark differentiated between single quotation mark and double quote. This Difference is made not without meaning and its use each can we [...]
Tags: Double quote, optimization, PHP, single quote
22.Oct.08
PHP
Comments (0)
Shuffle Function in Array
This function randomizes the order of the elements in an array also used together with srand() function. shuffle() example: $ar_value = range(‘A’,'F’); // create and fill the elements of $sar_value = array(‘A’,'B’,…’F'); echo “First value: \n”; WHILE(list($key,$value) = each($ar_value)){ echo “Index[ {$key} ] => $value \n”; } echo “ \n”; echo “After shuffle(): \n”; srand((float)microtime()*1000000); [...]
Tags: array, function, shuffle
20.Oct.08
PHP
Comments (0)
Membangun Web Service Open Source dengan SOAP
Apa sich teknologi web service itu? web service adalah sebuah sistem yang dirancang untuk dapat mendukung interaksi komunikasi antar mesin-mesin pada suatu jaringan (w3c.org). Teknologi web service memungkinkan kita dapat menghubungkan berbagai jenis software yang memiliki platform dan sistem operasi yang berbeda. Jadi, kita tetap mendapatkan sebuah potongan informasi dari suatu website tanpa harus mengunjungi [...]
Tags: client, nusoap, Server, soap, webservice
19.Oct.08
PHP, Web Service
Comments (3)
PHP WebService Programming with NuSOAP Using WSDL
Sekedar referensi untuk WebService dan implementasi webservice di PHP itu baca dan gunakan NuSoap bisa download di : http://dietrich.ganx4.com/nusoap/ Trus sebelum mencoba, baca dulu refernsi ini : http://www.wackylabs.net/?submit=Search&s=nusoap http://www.scottnichol.com/soap.htm ini contoh scriptnya: Server : myserver.php // ## part I – setup // includes the nusoap.php file, sets up the namespace and wsdl object // Pull [...]
Tags: nusoap, soap, webservice, wsdl
18.Oct.08
PHP, Web Service
Comment (1)
Signs for Regular Expresions
^ Start of line $ End of line n? Zero or only one single occurrence of character ‘n’ n* Zero or more occurrences of character ‘n’ n+ At least one or more occurrences of character ‘n’ n{2} Exactly two occurrences of ‘n’ n{2,} At least 2 or more occurrences of ‘n’ n{2,4} From 2 to [...]
Tags: Regular Expresions
11.Oct.08
PHP, Programming
Comment (1)