The reason PHP is so popular has a lot to do with the ease at which it can be learnt.
It is extremely easy to get started with PHP, within hours I had designed an online calculator and connected to a database called MYSQL. The critics however will say that the Language has no structure and that coders new to php will slip into bad habits because they start out by mixing PHP with HTML which is not good practiceong> . Well I cannot argue with the critics. It is true that PHP has no default structure you can become a very lazy coder mixing countless HTML pages with PHP but before long you will find that this unstructured programming approach is an absolute nightmare when you try to debug or change the script, so a junior programmer will inevitably come to a grinding halt with his coding and start looking for a more organised approach that separates the PHP from the HTML and greatly improves debugging. By this time a coder will have learnt some valuable lessons about bad scripting practice that he/she wouldn’t have been able to if the structure was strict. In my opinion it is important to go through this stage. Their are many “design patterns“ that greatly improve the lazy structure of PHP and a massive user base community to tap into.
So to summarize PHP has a lot to offer anyone looking for a scripting language with a gradual learning curve and all the functionality of the other more complicated server side languages should definitely give it a try.
Watch the video related to Php Scripts
Help answer the question about Php Scripts
Is there a way of writing a PHP script that executes itself automatically without me having to open it?Usually when you want the code of a PHP script to be executed, you open the PHP file on your web browser. Is it possible to write a script that executes itself to perform a given task, say, every week, without me having to open it with the browser? Thanks!
About Author
Mark Cunningham
Teachers Assistant
PHP Tutorials
Nice work, you did pretty good.
You’re really good man. You’ve got excellent talent.
Perfect.
You can use a menu maker if you're not sure how to code something on your own. There are a gazillion of them out there and many are even free. Pick one that suits you…
http://www.google.com/search?source=ig&hl=en&rlz=&q=web+menu+maker&btnG=Google+Search
The "something" can be accessed very easily with PHP. If you have a web page address that looks like this:
index.php? month=september&name=smith&age=24
Then you can access those values in PHP like this:
<?php
echo $_GET('month');
echo $_GET('name');
echo $_GET('age');
?>
This will print septembersmith24.
As for accessing a text file, that's easy too:
<?php
$text = file_get_contents( 'textfile.txt' );
echo $text;
?>
This will read the entire contents of the file textfile.txt into the variable $text, and then print it out for you.
You can also access many databases with PHP, I highly recommend you use MySQL. It's a bit too complicated to describe here, though. There are some good references made to good books by folks above. The "Teach Yourself" series is great.
Brilliant Willy, Just Brilliant =D
Windows XP PRO has functionality for running a web server built in
IIS is an option, however, under a "Default" installation of XP Pro, it might not be installed
Control panel – > add / remove programs -> Add Remove Windows COmponents – Check "Internet Information Services"
You could also look @ apache as has been mentioned, however, IIS is PART of windows.
amazing! Willy teach me how to paint like you!
woww that’s really relax and beatiful soung .good picture of jhony depp !
Very nice!!
:O
:O
:O
how is this not a real photo?
Hi,
Best Site to Learn PHP http://www.w3schools.com/php/default.asp
I know this Answer Will solve your problem. Do one thing visit http://www.zakhas.com/Forum be a member first and Download 1800 Industry standard PHP Projects and source codes. Directly without any interrupting. Follow below link for direct access to the download link.http://www.zakhas.com/Forum/ViewThread.asp?Thread=161&Forum=26
Definitly it will solve your problem. Download it BE Quick.
Or you can try this sites below
http://www.planetsourcecodes.com
or
http://www.scriptswave.com/free/scripts/php_scripts/9.html
If you find this answer is best then you can choose it as best answer.
If you have sensitive files that should be accessible only by scripts, put them somewhere on the server other than the web root. Your scripts will still be able to access them, but nobody can pull them off the web.
/
– /htdocs
– — /www.site.com
– /securedocs
http://www.phpfreaks.com
If you are ready invest: Get Larry Ullman: 'PHP …" Nice book
I don't think there is such a thing as a PHP emulator, and I don't know why you'd need one. It's likely that you either didn't install PHP and apache correctly or you aren't using it right.
Use XAMPP to install PHP and apache. It will also include MySQL and phpMyAdmin (which you will need sooner or later) and some other good stuff too. It's much easier than trying to configure PHP and apache by hand. Best of all, it's all configured to run together immediately. XAMPP and all of its components are free and open source.
http://www.apachefriends.org/en/xampp.html
Once you've got a web server, you need to turn it on (that's not automatic.) There's a nice control panel that makes this easy with XAMPP. PHP files will only work if they're in a specific subdirectory (usually htdocs in the apache directory structure) Also, you can't just load a PHP file into the browser the same way you do an HTML file. Instead, you need to point the browser to
http://localhost/yourFileName.php
PHP is called by the server, so if you use a mechanism (like the file:// directive) that bypasses the server, your PHP programs won't run.
hm i couldn’t tell the difference between photograph and painting comparing the final resault.
This is sick
http://www.phpfreaks.com/tutorial_cat/8/Basics-&-Beginner-Tutorials.php
http://www.elite.ro/free-hosting-php/
http://www.awardspace.com/
http://www.free-phphosts.com/
http://www.freehostia.com/free_hosting.html
Really what you need to run php is some one who also offers a sql database these do but I dont get the website builder thing?
if your messing around with php why would you need a WYSIWYG builder?