ilable php library OAuth?
>
> http://oauth.net/
>
> On 9/1/09, Shawn McKenzie wrote:
> > Behzad wrote:
> >> Dear list,
> >>
> >> i'm trying to integrate two php-driven web applications, which both
> >> require the user to authenticate using
Thank you all for your answers.
i was looking for a simple and fast answer -> I'm going to store the a
unique id
in the database, and pass it between applications using the $_SESSION.
Shawn and Martin, Thank you very much for your help.
Kind regards,
-behzad
. The
challenge
is to automatically authenticate the user on the 2nd application as well.
i'm wondering how?
Is it secure to store the username and password in the $_SESSION, and
share the session between the two applications?
Please let me know what do you think.
Thank you in advance,
-behzad
ley Sheridan
> > On Tue, 2009-08-18 at 19:15 +0430, Behzad wrote:
> >>
> >> I'm faced with an interesting and challenging problem.
> >>
> >> Consider a database, designed for a hotel.
> >> At any given time, each room has a different status: It
s the application excist or u are doing a new one?
>
> if it excist, have a look how the availability of a room is calculated and
> then go from there. it would be the same calculation, just with backwards
> dates.
>
> hope that helps
>
> ralph_def...@yahoo.de
>
Dear list,
e-Greetings!
I'm faced with an interesting and challenging problem.
Consider a database, designed for a hotel.
At any given time, each room has a different status: It's Busy or Reserved,
or Free.
It's easy to retrieve number of Free rooms at the current time.
But how can I count the n
week.
>
> --
> Dotan Cohen
>
> http://what-is-what.com
> http://gibberish.co.il
>
> א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת
> ا-ب-ت-ث-ج-ح-خ-د-ذ-ر-ز-س-ش-ص-ض-ط-ظ-ع-غ-ف-ق-ك-ل-م-ن-ه-و-ي
> А-Б-В-Г-Д-Е-Ё-Ж-З-И-Й-К-Л-М-Н-О-П-Р-С-Т-У-Ф-Х-Ц-Ч-Ш-Щ-Ъ-Ы-Ь-Э-Ю-Я
> а-б-в-г-д-е-ё-ж-з-и-й-к-л-м-н-о-п-р-с-т-у-ф-х-ц-ч-ш-щ-ъ-ы-ь-э-ю-я
> ä-ö-ü-ß-Ä-Ö-Ü
>
--
Kind regards,
-behzad
responsible for this event. What a shame for mankind in 21th
century.
Forget this. This is SPAM and/or PROPAGANDA!
CHEERS!
-behzad
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: http://www.re
Latin and Numerical characters in a
string.
2) Regex to check whether the string only consists of certain characters.
Thanks you very much in adnvace,
Kind regards,
-behzad
10 matches
Mail list logo