PHP/Basic Code

From r00tedvw.com wiki
(Difference between revisions)
Jump to: navigation, search
Line 1: Line 1:
 
==Basics==
 
==Basics==
 +
;.php
 +
:all PHP pages end with the .php extension, this tells the browser there is php code in the file.
 
===delimiters - start & stop===
 
===delimiters - start & stop===
 
;<?php
 
;<?php

Revision as of 01:27, 26 December 2015

Basics

.php
all PHP pages end with the .php extension, this tells the browser there is php code in the file.

delimiters - start & stop

<?php
all php code begins with this.
?>
all php code ends with this

output text

echo
just like with scripting, echo can be used to output text
ie.
 <p>
  <?php
    echo "My first line of PHP!"; 
  ?>
 </p>
Personal tools
Namespaces

Variants
Actions
Navigation
Mediawiki
Confluence
DevOps Tools
Ubuntu
Ubuntu 22
Mac OSX
Oracle Linux
AWS
Windows
OpenVPN
Grafana
InfluxDB2
TrueNas
OwnCloud
Pivotal
osTicket
OTRS
phpBB
WordPress
VmWare ESXI 5.1
Crypto currencies
HTML
CSS
Python
Java Script
PHP
Raspberry Pi
Canvas LMS
Kaltura Media Server
Plex Media Server
MetaSploit
Zoneminder
ShinobiCE
Photoshop CS2
Fortinet
Uploaded
Certifications
General Info
Games
Meal Plans
NC Statutes
2020 Election
Volkswagen
Covid
NCDMV
Toolbox