On 29/11/2011 17:16, Daniel Brown wrote:
On Sat, Nov 19, 2011 at 09:33, richard gray wrote:
This happens because PHP is writing to STDOUT, of course, and then the
command line redirection grabs that information and puts it into the
file. Unfortunately, by itself, this won't work in the backgro
On 23/11/2011 18:49, Alain Williams wrote:
On Wed, Nov 23, 2011 at 06:14:07PM +0100, richard gray wrote:
Reading symbols for shared libraries + done
0x000101d057ee in __ioctl ()
Any clues? To me it looks like PHP cli is trying to do some I/O but I'm
just a dumb developer... :)
ioctl on a
On Wed, Nov 30, 2011 at 12:58:26PM +0100, richard gray wrote:
> On 29/11/2011 17:16, Daniel Brown wrote:
> >On Sat, Nov 19, 2011 at 09:33, richard gray wrote:
> >This happens because PHP is writing to STDOUT, of course, and then the
> >command line redirection grabs that information and puts it i
On Wed, Nov 30, 2011 at 01:01:48PM +0100, richard gray wrote:
> >You need a bit more info, get a backtrace with 'where'.
> Thanks for the response Alain - below is the output:-
Ah, much more useful .
> [rich@LeMans] (/Web/scripts)> gdb --pid=3294
> GNU gdb 6.3.50-20050815 (Apple version gdb-
Hey Laruence,
I have tried the below example, but did not really get it work.
My code looks like this:
public function _initRoute(Yaf_Dispatcher $dispatcher) {
$route = new Yaf_Route_Regex (
"#(.*)#",
array(
"controller" => "index",
Hi:
Yaf_Router::addRoute is not a static method.
you should do like:
$dispatcher->getRouter()->addRoute("regex", $route); //
http://www.php.net/manual/en/yaf-dispatcher.getrouter.php
btw: when you in development environ, it is useful to keep
error_reporting on and look at error_
Hello,
That worked like a charm! Thx!
I thought that the error reporting was on, sorry for that.
edi
2011/11/30 Laruence
> Hi:
> Yaf_Router::addRoute is not a static method.
>
> you should do like:
>
> $dispatcher->getRouter()->addRoute("regex", $route); //
> http://www.php.net/manua
Hey
Laruence,
I have another more questions.
Modules and plugins. How do they work, how are they loaded?
In my current php framework database is a module, cache also.
There are no plugins there.
Thx in advance,
edi
Hello all.
I am using the following function to encrypt a string:
define('SALT', 'myvalueforsalthere');
function encrypt($text)
{
return trim(base64_encode(mcrypt_encrypt(MCRYPT_RIJNDAEL_256,
SALT, $text, MCRYPT_MODE_ECB,
mcrypt_create_iv(mcrypt_get_iv_size(MCRYPT_RIJNDAEL_256,
MCRYPT
On Wed, Nov 30, 2011 at 9:57 PM, Rick Dwyer wrote:
> Hello all.
>
> I am using the following function to encrypt a string:
>
> define('SALT', 'myvalueforsalthere');
>
> function encrypt($text)
> {
> return trim(base64_encode(mcrypt_encrypt(MCRYPT_RIJNDAEL_256, SALT,
> $text, MCRYPT_MODE_ECB,
>
On Wed, Nov 30, 2011 at 3:57 PM, Rick Dwyer wrote:
> Hello all.
>
> I am using the following function to encrypt a string:
>
> define('SALT', 'myvalueforsalthere');
>
> function encrypt($text)
> {
>return trim(base64_encode(mcrypt_**encrypt(MCRYPT_RIJNDAEL_256, SALT,
> $text, MCRYPT_MODE_ECB,
On Wed, Nov 30, 2011 at 4:14 PM, Matijn Woudt wrote:
> On Wed, Nov 30, 2011 at 9:57 PM, Rick Dwyer wrote:
> > Hello all.
> >
> > I am using the following function to encrypt a string:
> >
> > define('SALT', 'myvalueforsalthere');
> >
> > function encrypt($text)
> > {
> >return trim(base64_en
On Wed, Nov 30, 2011 at 10:18 PM, Adam Richardson wrote:
> On Wed, Nov 30, 2011 at 4:14 PM, Matijn Woudt wrote:
>
>> On Wed, Nov 30, 2011 at 9:57 PM, Rick Dwyer wrote:
>> > Hello all.
>> >
>> > I am using the following function to encrypt a string:
>> >
>> > define('SALT', 'myvalueforsalthere');
On Wed, Nov 30, 2011 at 4:25 PM, Matijn Woudt wrote:
> On Wed, Nov 30, 2011 at 10:18 PM, Adam Richardson
> wrote:
> > On Wed, Nov 30, 2011 at 4:14 PM, Matijn Woudt wrote:
> >
> >> On Wed, Nov 30, 2011 at 9:57 PM, Rick Dwyer
> wrote:
> >> > Hello all.
> >> >
> >> > I am using the following func
On Wed, Nov 30, 2011 at 10:34 PM, Adam Richardson wrote:
> On Wed, Nov 30, 2011 at 4:25 PM, Matijn Woudt wrote:
>
>> On Wed, Nov 30, 2011 at 10:18 PM, Adam Richardson
>> wrote:
>> > On Wed, Nov 30, 2011 at 4:14 PM, Matijn Woudt wrote:
>> >
>> >> On Wed, Nov 30, 2011 at 9:57 PM, Rick Dwyer
>> w
My decrypt is below:
$myval=$_GET["myval"];
// let the encryption begin
define('SALT', 'myvalueforsalthere');
function decrypt($text)
{
return trim(mcrypt_decrypt(MCRYPT_RIJNDAEL_256, SALT,
base64_decode($text), MCRYPT_MODE_ECB,
mcrypt_create_iv(mcrypt_get_iv_size(MCRYPT_RIJNDAEL_256,
I'm puzzled why the if statement executes as true when the first date
(job_closedate) is not less than the second date (now).
The if statement claims that "12/02/2011" is less than "11/30/2011".
if (date("m/d/Y",strtotime($jobs_closedate)) <=
date("m/d/Y",strtotime("now"))){
On Wed, Nov 30, 2011 at 11:00 PM, Marc Fromm wrote:
> I'm puzzled why the if statement executes as true when the first date
> (job_closedate) is not less than the second date (now).
> The if statement claims that "12/02/2011" is less than "11/30/2011".
>
> if (date("m/d/Y",strtotim
On Wed, Nov 30, 2011 at 10:57 PM, Rick Dwyer wrote:
> My decrypt is below:
>
> $myval=$_GET["myval"];
>
>
> // let the encryption begin
>
> define('SALT', 'myvalueforsalthere');
>
> function decrypt($text)
> {
> return trim(mcrypt_decrypt(MCRYPT_RIJNDAEL_256, SALT,
> base64_decode($text), MCRYP
On Nov 30, 2011, at 5:13 PM, Matijn Woudt wrote:
Your decrypt function seems fine, and the encrypt/decrypt functions
work fine both in the same file for me. Now you say you use
$_GET["myval"], which means you get them from URL. Base64 is not URL
safe, have you used urlencode()?
Matijn
OK,
On Thu, Dec 1, 2011 at 1:14 AM, Rick Dwyer wrote:
> On Nov 30, 2011, at 5:13 PM, Matijn Woudt wrote:
>>>
>>
>> Your decrypt function seems fine, and the encrypt/decrypt functions
>> work fine both in the same file for me. Now you say you use
>> $_GET["myval"], which means you get them from URL. Ba
On Nov 30, 2011, at 7:38 PM, Matijn Woudt wrote:
On Thu, Dec 1, 2011 at 1:14 AM, Rick Dwyer
wrote:
On Nov 30, 2011, at 5:13 PM, Matijn Woudt wrote:
Your decrypt function seems fine, and the encrypt/decrypt functions
work fine both in the same file for me. Now you say you use
$_GET["myval"
On Nov 30, 2011, at 5:04 PM, Matijn Woudt wrote:
> On Wed, Nov 30, 2011 at 11:00 PM, Marc Fromm wrote:
>> I'm puzzled why the if statement executes as true when the first date
>> (job_closedate) is not less than the second date (now).
>> The if statement claims that "12/02/2011" is less than "1
23 matches
Mail list logo