Jump to content
Posted 17 May 2009 - 01:58 AM
Posted 17 May 2009 - 08:04 AM
That question doesn't exactly make sense. Langauges do not need 'protection.' The manner in which they are used can sometimes cause problems for the system on which they run, but that will in no way hurt the language itself.
Does php needs something to be protected?
Posted 17 May 2009 - 04:29 PM
Edited by Romeo29, 17 May 2009 - 04:30 PM.
Posted 18 May 2009 - 01:16 AM
Posted 19 May 2009 - 01:05 AM
Posted 08 November 2013 - 11:19 AM
Very clear and concise information. I learnt a lot also.
Posted 15 December 2013 - 12:01 AM
HTML: Hyer text markup language
PHP: Pre Hyper Processot : a server side script language
To execute php code you need php but html code can be executed in many way.
Posted 20 January 2014 - 12:55 PM
PHP originally meant Personal Home Page. Now it's a lot more, and we think of it as a pre-processor. PHP can generate a lot more than HTML. It can do things like upload files, generate images (with the GD library), send email, write to your server's filesystem and execute code, among other things. There's a reason WordPress and Joomla! are written in PHP.
PHP is also often the server-side code used with AJAX (it's the P in LAMP). It does NOT always return html. I use PHP to generate captcha images, and even the background which is always random. If you look at the source of that page, and then the style.css file, you'll see that the background is the url of a PHP file which generates the image.
Edited by groovicus, 20 January 2014 - 09:47 PM.
Posted 18 July 2015 - 03:29 AM
Posted 20 July 2015 - 01:07 PM
Annnnnnd here is my explaination. ( I just love giving my 2cents)
PHP is indeed a server side scripting language. So.. say for example you had a website where you are selling a <widget> and every time a buyer comes to your site you would like a new page generated to provide a special purchase discount code. Lets say you have a certain number of discounts and when those discounts are used, no more discounts will be available. You would need to use a php script to account for which codes have been used and then 'check off' that the code had been used and is no longer available. You cannot do this with regular HTML code, so you would need to use a scripting language. There are many scripting languages out there...
The list goes on. And yes there are client side scripts and server side scripts.
What I think you may want to focus on is CSS or custom style sheets. An example of a style sheet in use would be say you had built a website that is grown to be 200 pages (of HTML code) A page would be like clicking on forums up at the top of bleeping computer or clicking on Guides. Guides being one page and Forums being page 2. (as an example) Now say that Bleeping computer got bought out by someone and wanted to change the name. With regular old HTML code you would have to change the name of the page at the top of EVERY page. Using CSS you would only have to change 1 page and all the other pages would draw their information from it.
You can get great tutorials of many web tools from webmonkey.com
0 members, 4 guests, 0 anonymous users