You cannot post messages because only members can post, and you are not currently a member.
Description:
The Connecticut PHP Developers Group (CPDG) is aimed to have a local community of PHP Developers in Connecticut. Promote, share, ask...
|
|
|
Welcome to our newest member
|
| |
Is been a while since we have some activity, everyone has there hands
full. But lets give a welcome to our newest member Michael.
|
|
PHP and the DOM
|
| |
I've been having an issue with a few of my scripts. I'm echoing
elements to the page that I wish to use with some of javascript's DOM
functions such as getElementById, etc. These work fine if I echo the
elements from the main script, or if I echo them from an include
file. The problem I'm running into is that when I echo from an... more »
|
|
Red Form 0.1
|
| |
Here is my first contribution. This is a form management. I was tired
of creating a processor for each form a created. I decided to create a
processor that can handle any type of form and any type of required
fields.
This processor contain numbers validation, email format validation,
required fields validation, anti-headers injections, post enforcer,... more »
|
|
Parsing XML from a returned file.
|
| |
One of the features of the project I'm currently working on is a
function that will find the driving distance between two points, with
"driving" being the key word. There's numerous utilities that will
find the distance "as the crow flies" (a straight line), but the
client needs to know driving distance. I thought doing it with the... more »
|
|
Fatal error: Cannot redeclare
|
| |
I just had a problem that took me 15 minutes to solve, so I figured I
would post the answer here to help anyone with the same issue:
In an include file (f\customer.php), I'm calling a utility module that
contains some functions for an application I'm working on. I was
getting the following error when I tried to load the page containing... more »
|
|
chmod and php
|
| |
The chmod command (abbreviation of change mode) is a unix command that
will allow to change permissions of a file. This is a very useful when
working with OSCommerce and any application that writes the
configuration files. For security reason you will want to change the
permission to read only.... more »
|
|
CPDG New Official Domain
|
| |
I want to let you know that I have already register CTPHP.org and is
live. It only contains a link to the group for the moment. Later on
when the website is up I will create emails for the managers. POP3 of
course.
|
|
MySQL connect Function and Close to use on a class.
|
| |
This will save you time on coding a DB connection. This is to use on a
class.
--------------------------/
Connection /----------------------------- -------------------------
function db_connection($host,$user,$pas s,$data){
$conn = @mysql_connect($host,$user,$pa ss);
if(!$conn){
$error = TRUE;... more »
|
|
Check for Empty String, $_POST, $_GET function
|
| |
This function will allow you to check if a value is empty or NULL.,
very useful on forms.
------------------------------ ------------------------------ ------------------------------ ------------------------------ ---
function checkEmpty($variable){
if($variable == NULL || $variable == ''){
$isempty = true;... more »
|
|
|