Categories
git

Git Tutorial Part 2: Repository, Cloning, Tracking and Staging

This article gives the basics for a beginner user who needs to start tracking and contributing to projects managed with git. The Git Repository Initialising from an existing directory git init This command creates the .git directory.At this point nothing is tracked though. git add * git add README git commit -m ‘Initial Commit’ Cloning […]

Categories
git

Git Tutorial Part 1: Git Configuration

This Git Config Basics Tutorial will help you find out how configuration works and how you can configure your git Types of Configuration System Wide: This configuration file is found at: /etc/gitconfig. This contains the default values for all users on the system. git config –system Global/Per User: Found at: ~/.gitconfig. This is the configuration […]

Categories
Zend Framework 1.12

Zend form Error: String was not found in the haystack

Solution to: Zend Form Error: String was not found in the haystack Ok So you submit your form with everthing correctly entered and bang…String was not found in the haystack. What does this mean? Well this is actually the best defence of CSFR – Request Forgery that Zend has. This is basically tampering with the $_POST variable […]

Categories
HTML5 Uncategorized

HTML Forms and Submit Button Changing Name

This article explores HTML webforms and specifically the submit button in terms of changing the name, id and value. We explore Submit Button Changing Name Examples. Example 1: Simple form tags and a frugal submit input <form> <input type=”submit” /> </form> Result 1: Submit label is ‘Submit’, Default action is to do a Get. Example […]

Categories
PHP 5

PHP echo does not work on Server to Test

So you are trying to test a solo PHP script on a webserver and it is not working? It is not printing anything at all. Here is a checklist to help you sort it out: 1. Make sure your server supports PHP 2. Make sure the PHP module is enabled 3. Make sure the script […]