Insert Coin Source
If I knew what any of that meant, I would say something meaningful PHP is.... CSS?
PHP tells the server what HTML to output.
Very simple example:
<?php
$x = true;
if($x == true)
echo "<b>TRUE</b>";
else
echo "<i>FALSE</i>";
?>
The source actually includes PHP files, CSS files, JavaScript files, an SQL file and images.
Very simple example:
<?php
$x = true;
if($x == true)
echo "<b>TRUE</b>";
else
echo "<i>FALSE</i>";
?>
The source actually includes PHP files, CSS files, JavaScript files, an SQL file and images.
---
Tell me to get back to rewriting this site so it's not horrible on mobileUnlike everyone else here I know what you mean and know what you are doing. I just don't know how to code what and what effect it does.
One of the site's forefathers.
Play fighting games!
Well, there are two points to understand:
1 - PHP (amd other server-side languages) allows you to reuse code, such as menus and headers, across multiple pages while only writing it once in one file. Though technically I could pull this off with JavaScript.
2 - It allows interaction with a database. This is the most important since it means you can add and edit content without editing a single file. This comment, for example, just inserts into a database table.
1 - PHP (amd other server-side languages) allows you to reuse code, such as menus and headers, across multiple pages while only writing it once in one file. Though technically I could pull this off with JavaScript.
2 - It allows interaction with a database. This is the most important since it means you can add and edit content without editing a single file. This comment, for example, just inserts into a database table.
---
Tell me to get back to rewriting this site so it's not horrible on mobile
Log in or Register for free to comment
Recently Spotted:
SupremeAC (2m)
For the sake of it with things progressing further toward open-source, I've made the entire Insert Coin PHP source code (as of June 24, 200 available for download.
http://www.4shared.com/file/52584333/d1386c3d/insert_coin_2008_6_24.html
In my relative hurry to get the site up and running, the commenting is sorely lacking, but that will progress with time and future updates made available.
I use two different freely available PHP utilities, on top of my own code:
-HTML Purifier
-phpThumb
And two freely available JavaScript utilities
-Prototype.js
-tinyMCE
---
Tell me to get back to rewriting this site so it's not horrible on mobile