Passing JavaScript variables to PHP PHP / Miscellaneous
JavaScript is mainly used as a client side scripting language, while PHP is a server side technology. Unlike Java or ASP.Net, PHP doesn't have tools to make it work client side. That is why you need to combine JavaScript and PHP scripts to develop powerful web-applications.
PHP Babysteps Tutorial PHP / Getting Started
PHP is a server-side scripting language for creating dynamic Web pages. It has a very elegant design, that is both easy to use and powerful. PHP stands for PHP: Hypertext Preprocessor. It is a server side, HTML embedded language like ASP, SSI etc.
File System PHP / File Operations
One of the most useful features of a server side language is its ability to interface with the file system on the server that hosts the website. This feature clearly distinguishes the language from a client side language such as JavaScript. While JavaScript is sent down to the client's browser and is then interpreted on their computer, server side languages such as PHP are interpreted and resolved on the server, and only the end result is sent down to the client's browser. It is because of this fact that the language has the ability to interface with the files on the server. PHP has the ability to work with both text files and sophisticated database systems. This part of the tutorial discusses text files; we'll get into databases later.
Templates and Template Engines PHP / Templates
Templates provide a simple means to separate server side code from client side code in our scripts. This article looks at when template systems are useful, their shortcomings and why template engines are a bad idea.
A Beginners Guide to Server Side Includes PHP / Getting Started
While much has been written about Server Side Includes (SSIs -also known as Virtual Includes) much of this information is designed for intermediate to advanced webmasters. This article is aimed at beginners. It is assumed that the reader has no prior knowledge of scripting languages, servers, or any other advanced computer skills. This article will introduce the reader to SSIs and explain how they are used in web site development. SSIs are guaranteed to save you time as your web site develops and changes over time.
Validation on the Server and Client PHP / Security
Validation is essential to web database applications. Ensuring that data meets user and system requirements is important, but ensuring that the database constraints are met by the data is critical. There are three possible data environments in which validation can occur in a three-tiered web database application: in the DBMS, in server-side scripts, and on the client. We discuss the merits and possibilities of these approaches to validation in this tutorial.
PHP for beginners PHP / Getting Started
PHP is a server-side, cross-platform, HTML embedded scripting language.This online manual is meant to serve as a place to start for people not familiar with PHP.
A Complete Membership System PHP / Membership
In this multi-page article I'm going to show you how to set up the server side scripting for a complete membership system, including everything from registration, to changing your password, validation emails, etc.
Sending emails with php PHP / Emailing
We will see how the PHP server-side scripting language can be used to send email, and explore how to send complex message types such as HTML email or emails with file attachments.
Storing Data in the Client PHP / Miscellaneous
One of the things that all programmers love is to write a program which writes another program. On the web we have two different programming environments: the client (browser) and the server. Due to the HTTP protocol definition we can write a program on the server which writes another program to be executed on the client. Let's pick PHP (of course) for the server and JavaScript for the client. We'll show you in this article how you can use this scheme to store data in the client and then minimize the data transfered between the server and the browser for interactive applications like a chat room, a news system or whatever you want.
Getting to know Midgard PHP / CMS
Server-side scripting languages such as PHP are great for creating dynamic, creative, and compelling Web sites. Unfortunately they have always left the mechanics of creating, rendering, and administering dynamic content to the script author -- until now. This article introduces and shows you how to use Midgard, an open-source system based on PHP that takes over the job of looking after content, allowing you to concentrate on site aesthetics and functionality.
PHP:Form Series: Validators & Client-side Validation PHP / Forms
This tutorial is really helpful to those of us who are a little intimidated by PHP:form. All of those hard to answer questions are easily explained in this simple to use educational web page.
PHP For Beginners - Free Courses from www.iTechCollege.com PHP / Getting Started
What is PHP? PHP is a computer scripting language, which is originally designed for creating dynamic web pages. PHP is an open-source language, used primarily for dynamic web content and server-side applications.
In this course, you will learn how to:
How to write to screen; Generate and Retrieve a query string; Use functions; Redirect a page; Show environment variables; How to use cookies in PHP; Include a page; How to connect to MySql database; PHP`s most advantage: create an image directly.
Sessions PHP / Sessions and Cookies
Stateful web database applications can be built using sessions, and session management is the topic of this tutorial. In this tutorial we:
* Discuss how sessions are managed in the stateless environment of the Web and introduce the three characteristics of server-side session management
* Introduce cookies for storing state
* Show how to use and configure the PHP session management library
* Use PHP session management to improve the client entry <form> in the winestore case study
* Provide a brief list of reasons for using, or avoiding, session management over the Web.
Get the full URL of your page using PHP PHP / General Development
Very often we need to have the ful URL of the page and use it somehow in our code, for example a dynamic script with social bookmarks or anything else we can think of. This can be done using Javascript but I prefer to use PHP since it's not based on the client side and it works with or without Javascript turned on in our browsers.