Development Environment, comments, variables, arrangement, associated arrays, operators, and special characters

Source: Internet
Author: User
$ B, $ c, and $ d have different variable types in function test and are not affected. Development Environment, comments, variables, arrangement, associated arrays, operators, and special characters

Because there are more and more websites that can use PHP, it is necessary to verify the difference with Perl.
Unlike Perl, PHP is easy to connect with SQL and RDBMS.
PHP + MySQL should also be verified one by one.
Investigate the differences between the article structure of PostgreSQL and MySQL.

Hello PHP

Test PHP-the work promised.

 

PHP, which is not found in function files such as fopen, indicates that error handling is stopped.
If you want to process the returned code when it is not found, the Error Trap should be done, and the @ sign should be made before the function, as shown below.
In this case, the error is blocked.

$fno = @fopen("path/filename", 'r');

PHP and permission settings do not seem to need to be used.
Because PHP does not actually work in an international Internet environment, I have to believe it now.
Use an intranet to work at www.
It does not work when it is the same as CGI-Perl and is placed on cgi-bin.
(This may be what the environment is set .)

It seems to be CGI-Perl, but the path to PHP is not in front.

PHP code starts with a representation.
This is similar to ASP.
In addition

 <%... %>

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.