in php used for one typ website
PHP is an Open Source Scripting Language. We can create Web Pages and Web Applications using PHP.
we cant use set timeout function in php because it is of java script function
Below is a simple example of how you could return a value in a PHP function. <?php function returnme($value) { return $value; } echo returnme('hello'); // outputs: hello ?>
function function_name() { .................... }
Zend optimizers can help PHP applications by making the PHP application easier to manipulate through the Zend Opimizer. They make great products for anyone trying to make a living at home.
The eval() function evaluates a string as PHP code. http://us.php.net/manual/en/function.eval.php
A simple function call <html> <body> <?php if(isset($_POST['button'])) { setValue(); // Function is called } function setValue() { echo "<br>The button property to call PHP function works"; // Your code here } ?> <input type="submit" name="button" onclick=<?php $_SERVER['PHP_SELF']; ?> /> </body> </head>
Java is primarily used to create desktop applications/software while PHP is used to make web applications/websites.Ofcourse both support website/web and desktop applications but you would find very few who interchange those two.Java is complex while PHP is a bit simpler.Java has a massive library while PHP has a small but quite useful library.Generally speaking JAVA developer earns more then PHP counterpart
chdir() PHP function helps in changing the current directory.
It gets options from the command line argument list. It can be used in PHP 4.3 and above, including PHP 5.
PHP is used for creating web portals, Websites, E-commerce Platform , CMS , ERP Systems, Web Services created in PHP are used in Android Applications.
There are many reasons to use PHP programming services. Some reasons are hundreds of existing php code examples, free, experienced support from a 1000 php communities, and php is scalable to the largest web applications.