PHP
downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

Первая страница на PHP> <Приступая к работе
Last updated: Fri, 26 Sep 2008

view this page in

Краткое руководство

Содержание

В данном кратком руководстве на примерах объясняются основы PHP. Это руководство включает в себя только создание динамических Web-страниц с помощью PHP, однако реальная область применения PHP гораздо шире. В разделе "Что может PHP" приведена дополнительная информация.

Созданные с использованием PHP Web-страницы обрабатываются, как обычные HTML-страницы. Их можно создавать и изменять точно таким же образом, как и обычные страницы на HTML.

Что потребуется?

В данном руководстве мы предполагаем, что ваш сервер имеет поддержку PHP и что все файлы, заканчивающиеся на .php, обрабатываются PHP. В большинстве серверов это расширение используется для PHP по умолчанию, но все-таки не лишним будет уточнить это у вашего администратора сервера. Если ваш сервер поддерживает PHP, то у вас есть все, что требуется. Просто создавайте ваши файлы .php и размещайте их в вашем каталоге Web-сервера - они будут обрабатываться автоматически. Не нужно ничего компилировать, не нужно никаких дополнительных программ. Считайте файлы PHP обычными файлами HTML с набором новых "волшебных" тегов, которые позволяют вам делать все, что угодно.



add a note add a note User Contributed Notes
Краткое руководство
dnrlvs at gmail dot com
06-Oct-2008 01:42
I'm new to PHP and recently setup my local machine with PHP and MySQL for doing development.  I was sort of stuck when I needed to post my work for the user to test and review.  After looking around a bit I found a site that hosts PHP and MySQL apps.  I was surprised that it was free - it seems they're offering the service at no cost until 2012.  At that point they'll change over to a fee-based service.  However, in the meantime, it's a great place to do anything from demo and sandbox right up to posting sites for real.

Their pitch is as follows:

"This is absolutely free, there is no catch. You get 350 MB of disk space and 100 GB bandwidth. They also have cPanel control panel which is amazing and easy to use website builder. Moreover, there is no any kind of advertising on your pages."

Check it out using this link:

http://www.000webhost.com/83188.html

Thanks and good luck!
chris dot fernald at gmail dot com
05-Oct-2008 11:19
I'm new to PHP and recently setup my local machine with PHP and MySQL for doing development.  I was sort of stuck when I needed to post my work for the user to test and review.  After looking around a bit I found a site that hosts PHP and MySQL apps.  I was surprised that it was free - it seems they're offering the service at no cost until 2012.  At that point they'll change over to a fee-based service.  However, in the meantime, it's a great place to do anything from demo and sandbox right up to posting sites for real.

Their pitch is as follows:

"This is absolutely free, there is no catch. You get 350 MB of disk space and 100 GB bandwidth. They also have cPanel control panel which is amazing and easy to use website builder. Moreover, there is no any kind of advertising on your pages."

Check it out using this link:

http://www.000webhost.com/83188.html

Thanks and good luck!
ctestroote at bresnan dot net
10-Sep-2008 02:21
If youre just learning PHP, then the simpliest thing to use is called Xampp, just install the Apache server and save your php files in the htdocs folder. Then when you open your browser you would type http://127.0.0.1/htdocs/example.php to see your php.

I also use Notepad++ to write my php files but there are many others to use.
Michael
01-Mar-2007 11:54
Agreed. Some of the pre-configured packs and associated tutorials really can simplify the installation and get you up and running in minutes but you MUST make sure that as an absolute minimum you add a secure password - ideally a mix of letters, numbers, not a real word etc. Otherwise, when your site/system is live, it will be potentially open to abuse.
cvncpu
25-Oct-2006 09:53
just keep in mind that these installation packages are for development use, and are not built for a production enviroment, the preformance and security of these tools is not setup for use in a public website.

 
show source | credits | stats | sitemap | contact | advertising | mirror sites