| |
KB Article |
|
|
Mike Prestwood
|
1. .PHP Execute Rights
Do PHP scripts need execute rights?
|
 FAQ
 3069 Hits
|
Adam Lum
|
2. A 10 Minute PHP Quick Start
An Introduction to PHP. Installing PHP on Your Computer and Running your First Script.
7 years ago, and updated 34 months ago
|
 KB Post
 3948 Hits
|
Mike Prestwood
|
3. Borland CodeGear Releases Delphi for PHP
CodeGear, a leader in developer tools, today announced Delphi for PHP, a component-based rapid application development (RAD) IDE, and VCL for PHP, an open source visual component library.
6 years ago, and updated 6 years ago
|
 News
 1947 Hits
|
Mike Prestwood
|
4. Changed PHP Global Variables
PHP has become more conformed to CGI specifications and as such, you will need to make changes to your code in order for global variables to be filled in.
|
 KB Post
 2861 Hits
|
Wes Peterson
|
5. Delphi for PHP 2.0 ships
After selling tens of thousands of units of the initial version of Delphi for PHP, first released in February of 2007, in early March, CodeGear announced the availability of version 2.0.
5 years ago, and updated 5 years ago
(1 Comments
, last by adamlum )
|
 News
 3329 Hits
|
Mike Prestwood
|
6. Delphi for PHP Free Trial
Free trial of Delphi for PHP.
5 years ago, and updated 52 months ago
|
 Download
 3752 Hits
|
Mike Prestwood
|
7. Delphi PHP V
What PHP version does Delphi for PHP support?
59 months ago, and updated 34 months ago
|
 FAQ
 3793 Hits
|
Mike Prestwood
|
8. Download PHP (Install it)
Download page from PHP.Net.
54 months ago, and updated 34 months ago
|
 Download |
 Article |
 3653 Hits
|
Mike Prestwood
|
9. PHP
A recursive acronym that stands for:
PHP: Hypertext Preprocessor
|
 Definition
 3412 Hits
|
Adam Lum
|
10. PHP and MySQL Basics
The basics to get you going in PHP with a MySQL Database.
7 years ago, and updated 5 years ago
|
 KB Post
 2633 Hits
|
Mike Prestwood
|
11. PHP Assignment (=)
PHP uses = for it's assignment operator.
|
 Code
 2658 Hits
|
Mike Prestwood
|
12. PHP Associative Array
Declare associative array with initial known values. You can also add to associative array. (You can just assign values without ever declaring it too!)
54 months ago, and updated 52 months ago
|
 Code |
 KB Post |
 3625 Hits
|
Mike Prestwood
|
13. PHP Code Blocks ({ })
In .PHPhtml pages, you embed PHP code between <?PHP and ?>.
For PHP, JavaScript, Java,and C++, I prefer to put the first { at the end of the first line of the code block as in the example above because I see morePHP codeformatted that way (and on PHP.Net).
PHP Alternative Syntax
Although I don't like to use it, PHP offers an alternative syntax for if, while, for, foreach, and switch. These code blocks are surrounded by statement ending keywords that all use End with camel caps such as endif, endwhile, endfor, endforeach,and endswitch.
54 months ago, and updated 52 months ago
|
 Code
 2991 Hits
|
Mike Prestwood
|
14. PHP Comments (# or // or /* ... */)
Commenting Code Use the multi-line to comment out large blocks of code and to write multiple line comments.
54 months ago, and updated 52 months ago
|
 Code
 2627 Hits
|
Mike Prestwood
|
15. PHP Comparison Operators (==, != or <>)
Common comparison operators:
| == |
equal |
| != or <> |
not equal |
| < |
less than |
| > |
greater than |
| <= |
less than or equal |
| >= |
greater than or equal |
PHP 4 and above also offers === for indentical (equal plus same type) and !== for not identical (not equal or not same type).
|
 Code
 2837 Hits
|
Mike Prestwood
|
16. PHP Constants (define)
In PHP, you declare constants using the define keyword: define("CONST_NAME", "Value");
Constants in PHP are case sensitive. A common standard in PHP is to use all-uppercase letters, with underscores to separate words within the name.
|
 Code
 2576 Hits
|
Mike Prestwood
|
17. PHP Custom Function (function)
PHP uses functions and loosely typed parameters. Function definitions can come before or after their usage so my preference when mixing PHP in with a mostly HTML page is to put the functions after the </html> tag.
54 months ago, and updated 52 months ago
|
 Code |
 KB Post |
 3202 Hits
|
Mike Prestwood
|
18. PHP Deployment Overview
With PHP, you simply copy your files to a web server that is capable of running PHP pages.
|
 Code
 3092 Hits
|
Mike Prestwood
|
19. PHP Development Tools
Many developers just use a text editor. There are many PHP editors available including phpDesigner, and Delphi for PHP.
54 months ago, and updated 52 months ago
|
 Code
 2402 Hits
|
Mike Prestwood
|
20. PHP File Extensions (.php)
.php is the default extension for PHP although some developers will change the default extension in an effort to add an additional security level. If your code is tied to a particular version of PHP then some developers at the major PHP version number to the extension as in .php3, .php4, .php5, etc.
.phtml is also sometimes used especially for files that contain both HTML and Perl code.
54 months ago, and updated 52 months ago
|
 Code
 2242 Hits
|
Mike Prestwood
|
21. PHP If Statement (if..elseif..else)
The PHP if statement consists of using if, elseif, and else.
|
 Code
 2853 Hits
|
Mike Prestwood
|
22. PHP Literals (quote or apostrophe)
In PHP you can use quotes, or apostraphies as in "Prestwood", and 'Prestwood'. Use a slash in front of a quote or apostrophe to embed same type as in \' and \".
54 months ago, and updated 52 months ago
|
 Code |
 KB Post |
 5047 Hits
|
Mike Prestwood
|
23. PHP Logical Operators (and, &&, or, ||, !, Xor)
PHP logical operators:
| and, && |
and, as in this and that |
| or, || |
or, as in this or that |
| ! |
Not, as in Not This |
| Xor |
either or, as in this or that but not both |
|
 Code
 3353 Hits
|
Mike Prestwood
|
24. PHP Overloading
PHP
55 months ago, and updated 52 months ago
|
 Code
 2957 Hits
|
Mike Prestwood
|
25. PHP Overview and History
PHP is a hybrid language with both traditional PHP and OOP features. PHP is widely-used general-purpose scripting language that is especially suited for web development and can be embedded into HTML. PHP has been used to create some amazing web content, particularly outstanding message boards.
Target Platforms: PHP is most suitable for creating websites targeting any browser (any web server with PHP installed).
53 months ago, and updated 52 months ago
|
 Code
 2663 Hits
|
Mike Prestwood
|
26. PHP Report Tools Overview
Because website development targets a client browser (a document interfaced GUI), a common solution is to simply output an HTML formatted page with black text and a white background (not much control but it does work for some situations).
54 months ago, and updated 53 months ago
|
 Code
 2361 Hits
|
Mike Prestwood
|
27. PHP String Concatenation (.)
PHP uses a period (.) known as a dot to concatenate strings.
54 months ago, and updated 52 months ago
|
 Code |
 KB Post |
 2778 Hits
|
Mike Prestwood
|
28. PHP Unary Operators
A unary operator operates on only one value.
PHP Examples:
- ! negation operator
- ++ increment operator
- -- decrement operator
54 months ago, and updated 51 months ago
|
 Code
 3709 Hits
|
Mike Prestwood
|
29. PHP Variables ($x = 0;)
PHP is a loosely typed language. No variable types in PHP. Declaring and using variables are a bit different than in other languages. In PHP, you identify and use a variable with a $ even within strings!
You assign by reference with & as in &$MyVar.
54 months ago, and updated 52 months ago
|
 Code |
 KB Post |
 3017 Hits
|
Mike Prestwood
|
30. UBB Threads
http://www.ubbcentral.com/
|
 Link
 2932 Hits
|