КОМПЬЮТЕРЫ И ИНТЕРНЕТ: экспорт материалов
Скачать бесплатно! Научная работа на тему PHP frequently asked questions [на английском]. Аудитория: ученые, педагоги, деятели науки, работники образования, студенты (18-50). Minsk, Belarus. Research paper. Agreement.
Опубликовано в библиотеке: 2004-09-28
1. General Information 1.1. What is PHP? From the manual: PHP is an HTML-embedded scripting language. Much of its syntax is borrowed from C, Java and Perl with a couple of unique PHP-specific features thrown in. The goal of the language is to allow web developers to write dynamically generated pages quickly.
A nice introduction to PHP by Stig Sжther Bakken can be found here on the Zend website.
PHP Frequently Asked Questions This is a list of Frequently Asked Questions about PHP and their answers.
1. General Information 1.1. What is PHP? 1.2. What is the relation between the versions? 1.3. Can I run several versions of PHP at the same time? 1.4. What are the differences between PHP 3 and PHP 4? 2. PHP mailing lists 2.1. Is there a PHP mailing list? 2.2. Help! I can't seem to subscribe/unsubscribe to/from the mailing list! 2.3. Is there an archive of the mailing list anywhere? 2.4. What can I ask the mailing list? 2.5. What information should I include when posting to the mailing list? 3. Obtaining PHP 3.1. Where can I obtain PHP? 3.2. Are pre-compiled binary versions available? 3.3. Where can I get libraries needed to compile some of the optional PHP extensions? 3.4. How do I get these libraries to work? 3.5. I got the latest version of the PHP source code from the CVS repository on my Windows 95/NT machine, what do I need to compile it? 3.6. Where do I find the Browser Capabilities File? 4. Connecting to databases 4.1. I heard it's possible to access Microsoft SQL Server from PHP. How? 4.2. Can I access Microsoft Access databases? 4.3. I saw PHP offers persistent database connections. What does that mean? 4.4. I upgraded to php4, and now mysql keeps telling me "Warning: MySQL: Unable to save result set in ...". What's up? 4.5. After installing shared mysql support, Apache dumps core as soon as libphp4.so is loaded. Can this be fixed? 5. Installation 5.1. Where should my php3.ini file be located? 5.2. I installed PHP using RPMS, but Apache isn't processing the PHP pages! What's going on here? 5.3. I installed PHP using RPMS, but it doesn't compile with the database support I need! What's going on here? 5.4. How do I get these libraries to work? 6. Build Problems 6.1. I got the latest version of PHP using the anonymous CVS service, but there's no configure script! 6.2. I'm having problems configuring PHP to work with Apache. It says it can't find httpd.h, but it's right where I said it is! 6.3. When I run configure, it says that it can't find the include files or library for GD, gdbm, or some other package! 6.4. When it is compiling the file language-parser.tab.c, it gives me errors that say 'yytname undeclared'. 6.5. When I run 'make', it seems to run fine but then fails when it tries to link the final application complaining that it can't find some files. 6.6. When linking PHP, it complains about a number of undefined references. 6.7. I can't figure out how to build PHP with Apache 1.3. 6.8. I have followed all the steps to install the Apache module version on UNIX, and my PHP scripts show up in my browser or I am being asked to save the file. 6.9. It says to use: --activate-module=src/modules/php4/libphp4.a, but that file doesn't exist, so I changed it to --activate-module=src/modules/php4/libmodphp4.a and it doesn't work!? What's going on? 6.10. When I try to build Apache with PHP as a static module using --activate-module=src/modules/php4/libphp4.a it tells me that my compiler is not ANSI compliant. 6.11. When I try to build PHP using --with-apxs I get strange error messages. 6.12. During 'make', I get errors in microtime, and a lot of 'RUSAGE_' stuff. 7. Using PHP 7.1. I would like to write a generic PHP script that can handle data coming from any form. How do I know which POST method variables are available? 7.2. I need to convert all single-quotes (') to a backslash followed by a single-quote. How can I do this with a regular expression? 7.3. When I do the following, the output is printed in the wrong order, what's going on? 7.4. Hey, what happened to my newlines? 7.5. I need to access information in the request header directly. How can I do this? 7.6. When I try to use authentication with IIS I get 'No Input file specified'. 7.7. I've followed all the instructions, but still can't get PHP and IIS to work together! 7.8. My PHP script works on IE and Lynx, but on Netscape some of my output is missing. When I do a "View Source" I see the content in IE but not in Netscape. 7.10. How am I supposed to mix XML and PHP? It complains about my tags! 7.10. How can I use PHP with FrontPage or Dreamweaver or some other HTML editor that insists on moving my code around? 7.11. Where can I find a complete list of pre-set variables available to me, and why are these not documented in the PHP documentation? 7.12. Why do I get an error that looks something like this: "Warning: 0 is not a MySQL result index in on line " or "Warning: Supplied argument is not a valid MySQL result resource in on line ? 7.13. I'm trying to use an tag, but the $foo.x and $foo.y variables aren't available. Where are they? 7.14. How do I get all the results from a SELECT MULTIPLE HTML tag? 8. PHP and HTML 8.1. How do I create arrays in a HTML
LIBRARY.BY - это электронная онлайн библиотека. Мы собираем научные и литературные авторские произведения Загрузить свои работы При использовании материалов библиотеки обязательно ставьте обратную активную гиперссылку на источник.