php-general Digest 15 Nov 2008 09:10:44 - Issue 5791
Topics (messages 283308 through 283318):
user access/roles/privs functionality
283308 by: bruce
Re: mySQL query question
283309 by: Jim Lucas
283310 by: Michael S. Dunsavage
283311 by: Jim Lucas
php-general Digest 15 Nov 2008 23:08:05 - Issue 5792
Topics (messages 283319 through 283324):
Re: Variable Argument List
283319 by: Richard Heyes
Re: RegEx to check for non-Latin characters
283320 by: Yeti
283322 by: Behzad
user access/roles/privs functionality
For a Form Validation process, I need a function to avoid Latin characters
to be provided as the first or last name. Since we expect our users to
enter their personal info in Persian.
Do you know any regular expression to provide this functionality?
1) Regex to check whether there are Latin
...
And you might also be interested in func_get_args(), which returns an
array of args passed to the function (don't know what it does if used
outside a function. Probably get an error).
--
Richard Heyes
HTML5 Graphing for FF, Chrome, Opera and Safari:
http://www.rgraph.org (Updated November
Hi Behzad,
I would try a different approach ...
EXAMPLE (UTF-8):
!DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd;
html xmlns=http://www.w3.org/1999/xhtml;
head
meta http-equiv=Content-Type content=text/html; charset=utf-8 /
Hi list...
I need a way of managing users/teams/etc.. implementing roles/access
rights/privs,etc...
I'd like a way of being able to have users report to the resource above
them, ie, the ability to have a hierarchical kind of tree approach would be
good as wel, as this would allow different
Thanks everyone. I guess I find the answer:
*// return true if the $str ONLY consists of Arabic characters and
space-character
public function isArabicString($str)
{
return preg_match('/^([\p{Arabic}]|\s)*$/u', $str);
}
*
PHP 5.1.x or higher is required.
@see:
Hi gang:
I posted this question on the Google Map Discussion group/list
thingie, but got zip in replies. Maybe someone here might have an
idea.
Here's the url:
http://masoncollision.com/contact.php
In both Safari and FireFox for the Mac (I have not tested it with
other browsers) as the
Hi list...
starting to go through a debug/understanding session of a couple of php web
apps. i'm wondering if there's any kind of tool/method that i can use to see
which files are accessed/included/required when a given page is displayed..
this would allow me to quickly understand the flow of
Is there a way to modify this code so it will always be the *next*
Christmas and Easter?
?php
$todays_date_seasonal_format = DATE(Y-m-d);
$next_Christmas = DATE(Y) . -12-25;
$next_Easter = date(D d M Y, strtotime(2009-03-21
+.easter_days(2009). days));
$days_until_Christmas = (
On Sat, Nov 15, 2008 at 6:07 PM, bruce [EMAIL PROTECTED] wrote:
Hi list...
starting to go through a debug/understanding session of a couple of php web
apps. i'm wondering if there's any kind of tool/method that i can use to see
which files are accessed/included/required when a given page is
On Sat, Nov 15, 2008 at 11:21 AM, bruce [EMAIL PROTECTED] wrote:
Hi list...
I need a way of managing users/teams/etc.. implementing roles/access
rights/privs,etc...
I'd like a way of being able to have users report to the resource above
them, ie, the ability to have a hierarchical kind of
Ron Piggott wrote:
Is there a way to modify this code so it will always be the *next*
Christmas and Easter?
?php
$todays_date_seasonal_format = DATE(Y-m-d);
$next_Christmas = DATE(Y) . -12-25;
$next_Easter = date(D d M Y, strtotime(2009-03-21
+.easter_days(2009). days));
Michael S. Dunsavage wrote:
On Fri, 2008-11-14 at 12:46 -0800, Jim Lucas wrote:
SELECT @confirm_number AS confirm_number;
Are we not SELECTING the column value here? should we be selecting
confirm_number as confirm_number?
The idea is to give you the number that was used in the INSERT
14 matches
Mail list logo