LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 06-30-2004, 06:12 AM   #1
sonesay
Member
 
Registered: May 2004
Location: AUCKLAND
Distribution: Fedora core 2 , RH9
Posts: 64

Rep: Reputation: 15
php REG_ECTYPE


Hey i've had this file called index.php on machine 1, there was no errors showing.. now i am using it on machine 2 and i get this error.

Warning: REG_ECTYPE in /var/www/html/index.php on line 22

is it serious? I dunno what it is.. I tried looking it up on google but found different things about reg_ectype .. i dont think its related to my error.
I treid a search for it on here but still nothing found.

where my line 22 of my code.
Code:
if (!isset($p['password']) || (trim($p['password']) == ""))
		$errors[] = "You must enter a password.";
	elseif ((strlen($p['password']) < 8) || (ereg('[^[:alum:][:punct:][:space:]]', $p['password'])))
		$errors[] = "You did not enter a valid password. Passwords are > 8 characters long and contain only
				letters, digits, punctuation and spaces.";
line 22 is the elseif line..

Last edited by sonesay; 06-30-2004 at 06:14 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Are PHP session variables held in memory when you leave a PHP site? Locura Programming 11 11-16-2008 08:37 PM
php5 apache2 mysql4 don't work, php does not seem to read php.ini atom Linux - Software 5 03-24-2005 11:05 AM
php apache or php cgi - php learner rblampain Linux - Security 3 12-17-2004 11:10 PM
PHP -- How to execute a shell script from PHP using FTP functions?? zoonalex Programming 3 07-29-2004 11:51 AM
Updating php 4.3.1 from tar and keeping current php configuration with mandrake 9.1 mrjeep Linux - General 0 04-02-2003 07:50 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 11:01 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration