Linux.com: PHP Questions

By ServerWatch Staff (Send Email)
Posted Aug 28, 2000


"A great deal of Linux users have heard about PHP, the Hypertext Preprocessor. PHP is the engine behind many dynamic Web sites, including this one, Linux.com. Recently, a friend of mine asked a few general questions about PHP. I thought that it would be worthwhile to share my responses with our readers." A great deal of Linux users have heard about PHP, the Hypertext Preprocessor. PHP is the engine behind many dynamic Web sites, including this one, Linux.com. Recently, a friend of mine asked a few general questions about PHP. I thought that it would be worthwhile to share my responses with our readers.

"What is PHP?"

"PHP is a scripting language, much like Perl or Python, which is embedded in HTML to create dynamic Web sites. PHP's syntax is drawn mostly from C and Perl. According to Netcraft, PHP is being used by over a million domains on the Internet."

"Is PHP a safer alternative to CGI?"

"You can run into security problems with some CGI implementations. If you develop a CGI script in C, for example, you could run into buffer overflows which lead to root exploits. Similarly, you can run into security problems if malicious users cause Perl scripts to invoke processes on the server system."

Want to discuss PHP with other Apache Today readers? Then check out the PHP discussion at Apache Today Discussions.

Page 1 of 1


Comment and Contribute

Your name/nickname

Your email

(Maximum characters: 1200). You have characters left.


 

 


Thanks for your registration, follow us on our social networks to keep up-to-date