|
iGaming CMS - Gaming content management system |
|
Written by Master
|
|
Wednesday, 17 October 2007 |
iGaming CMS is a content management system designed for gaming websites. The system is written in PHP and requires a Mysql database for operation. Comments (4) | Views: 1149 |
|
Last Updated ( Wednesday, 17 October 2007 )
|
|
Read more...
|
|
Creating a PHP-Based Content Management System, (Part 3) |
|
Written by Master
|
|
Saturday, 13 October 2007 |
|
In this series we've been working through the construction of a Content Management System, for use with an Intranet or Web site. The foundation has been laid in the form of a PHP class for accessing the database ('DbConnector'), and to kick off this month we'll set up the database itself, and create the first working part of the system. Creating the Database The first table we're going to add to our database will store articles, for display on the Intranet. The ability to share information is the most important function of an Intranet, and the job of the Content Management System is to make doing this as easy as possible. Consider your own data requirements, a few important ones spring to mind for most articles tables: | Field | Purpose | Type | | | | | | ID | A unique number given to each article, and the primary key of the table. | Integer | | Title | The title of the article | Varchar(300) | | Tagline | A very short summary of the article | Varchar(600) | | Section | The category to which the article belongs | Integer | | TheArticle | The article itself | Text |
Comments (2) | Views: 2123 |
|
Last Updated ( Saturday, 13 October 2007 )
|
|
Read more...
|
|
PHP и регулярные выражения |
|
Written by Master
|
|
Tuesday, 09 October 2007 |
|
Прежде всего, напомню, что регулярные выражения представляют собой обычные текстовые строки, которые используются как шаблоны для анализа текста. Эти строки составляются по специальным правилам, позволяющим описать практически любую последовательность символов.
В состав PHP входит три набора функций для работы с регулярными выражениями. К первому набору относятся функции, названия которых начинаются с ereg. Эти функции работают с регулярными выражениями стандарта POSIX. Второй набор функций, по сути, является расширением первого, и допускает использование в регулярных выражениях многобайтных символов (Unicode). Эти функции начинаются с mb_. Третий набор функций (PCRE библиотека) работает с PERL-совместимыми регулярными выражениями. Названия этих функций начинаются с приставки preg. Этот набор функций обеспечивает большую функциональность и быстродействие, поэтому рассказывать я буду именно о нем.
На правилах составления самих регулярных выражений останавливаться нет смысла. Даже их краткое описание займёт несколько десятков страниц. Поэтому перейдём к рассмотрению библиотеки. Она включает семь функций, которые позволяют выполнять поиск, замену и разбивку текста с помощью регулярных выражений. Для поиска в тексте используются функции: preg_grep() preg_match_all() preg_match() Be first to comment this article | Views: 891 |
|
Read more...
|
|
Creating a PHP-Based Content Management System (Part 2) |
|
|
<< Start < Prev 1 2 3 4 5 6 7 8 9 10 Next > End >>
|
| Results 61 - 70 of 122 |