- Original Message -
From: "Shawn McKenzie"
To:
Cc:
Sent: Saturday, April 17, 2010 3:41 AM
Subject: Re: changing NULL behavior in PHP arithmetic
On 04/15/2010 02:46 AM, cr.vege...@gmail.com wrote:
Hi All,
Is there an option in PHP to change the behavior of NULL in PHP functions
Hi,
Code:
=
ob_start();
switch ($this->command)
{
case 'include':
@include($x);
break;
default:
@readfile($x);
}
$data = ob_get_contents();
ob_end_clean();
=
The above code snippet is used in a class which would al
> if allow_url_include is turned off, you don't have to worry much about http,
> if '.' is a invalide char, you can't include *.php...
> the include path probably should be the inc(whatever the name)
> folder(not accessible from web) instead of the web root and '..'
> should be disallowed
Hi Ryan!
On 04/15/2010 02:46 AM, cr.vege...@gmail.com wrote:
> Hi All,
>
> Is there an option in PHP to change the behavior of NULL in PHP functions ?
> Now PHP uses NULL as a 0 (zero) for arithmetic, for example:
> NULL + 6 = 6
> NULL * 6 = 0
> NULL / 6 = 0
> 6 / NULL = Division by zero
>
> What I need i
you can setup a schedule table in db
and have a cron php script check the db every time
and send email if the current time is around the scheduled_at time
and close the schedule after you send the email
On Fri, Apr 16, 2010 at 5:35 PM, Adam Richardson wrote:
> On Fri, Apr 16, 2010 at 5:15 PM, Don
if allow_url_include is turned off, you don't have to worry much about http,
if '.' is a invalide char, you can't include *.php...
the include path probably should be the inc(whatever the name)
folder(not accessible from web) instead of the web root and '..'
should be disallowed
On Fri, Apr 16, 20
On Fri, Apr 16, 2010 at 5:15 PM, Don Wieland wrote:
> On Apr 16, 2010, at 1:26 PM, Bastien Koert wrote:
>
> Run a cronjob at midnight and send the email. Track who it got sent
>> to, so you don't duplicate it. Easy peasy!
>>
>
> This is fine if the email is to be sent at midnight.
>
> I am lookin
On Apr 16, 2010, at 1:26 PM, Bastien Koert wrote:
Run a cronjob at midnight and send the email. Track who it got sent
to, so you don't duplicate it. Easy peasy!
This is fine if the email is to be sent at midnight.
I am looking for more refinement.
For example:
A user signs up for an event -
On Fri, Apr 16, 2010 at 4:20 PM, Don Wieland wrote:
> Hi all,
>
> I am in need to schedule reminder emails and was wonder how to do this via
> PHP / mySQL
>
> For example, I would like to give my user the ability to sign-up for an
> event and have an email reminder generated X amount of time befor
Hi all,
I am in need to schedule reminder emails and was wonder how to do this
via PHP / mySQL
For example, I would like to give my user the ability to sign-up for
an event and have an email reminder generated X amount of time before
the event.
I appreciate any feedback on how to do thi
Hi,
Code:
=
ob_start();
switch ($this->command)
{
case 'include':
@include($x);
break;
default:
@readfile($x);
}
$data = ob_get_contents();
ob_end_clean();
=
The above code snippet is used in a class which would allow d
Need help with reCAPTCHA. Never installed it before.
When Submit is clicked the "quoterequest-redirect.php" is run but I think it
would be better to test the reCAPTCHA before the "quoterequest-redirect.php"
program has been run.
The reCPATCHA show correctly but I need some help here.
Thank
At 3:21 PM -0400 4/15/10, Jack wrote:
Hello All,
Can anyone recommend a good open source zip code search application and
database?
Thanks,
Jack
Do you mean something like this:
http://php1.net/b/zipcode/
Cheers,
tedd
--
---
http://sperling.com http://ancientstones.com http://earths
At 3:46 PM +0200 4/16/10, Michiel Sikma wrote:
On 16 April 2010 14:06, Paulo-WORK wrote:
-snip-
The nicest way, in my opinion, is to simply display the alternative content
for the site and override it if Javascript is present. If it's turned off,
people will see your static content, and if it'
tedd wrote:
> At 9:06 AM -0400 4/16/10, Robert Cummings wrote:
>>
>> It runs in a terminal!
>>
>> Cheers,
>> Rob.
>
> That's not good. Airport security frowns on that.
>
> Cheers,
>
> tedd
>
Mac users might get a little upset if Airport security doesn't allow them to use
their terminals to run
At 9:06 AM -0400 4/16/10, Robert Cummings wrote:
It runs in a terminal!
Cheers,
Rob.
That's not good. Airport security frowns on that.
Cheers,
tedd
--
---
http://sperling.com http://ancientstones.com http://earthstones.com
--
PHP General Mailing List (http://www.php.net/)
To unsubsc
thanks for all your reply, since all these classes have main entry in
cron.php, I have moved validation there.
Richard, your solution seems interesting, maybe I can use it later :)
On Thu, Apr 15, 2010 at 4:46 AM, Richard Quadling
wrote:
> On 13 April 2010 17:25, Ryan Sun wrote:
>> this is a cla
There's a limit to how deep var_dump goes, at least if you're using
xdebug. Compare the output with that of print_r which is not limited
in the same way.
On 16 April 2010 16:15, Ashley Sheridan wrote:
> I'm seeing some strange behaviour with var_dump. Is there a limit to how
> many levels deep th
I'm seeing some strange behaviour with var_dump. Is there a limit to how
many levels deep that var_dump can display?
Basically, my object looks like this:
object(Gantt)[1]
public 'tasks' =>
array
1 =>
object(Gantt_Task)[2]
public 'name' => string 'task 1' (length 6)
On 16 April 2010 14:06, Paulo-WORK wrote:
> On 16/04/2010 12:54, Ashley Sheridan wrote:
>
>> On Fri, 2010-04-16 at 12:50 +0100, Paulo-WORK wrote:
>>
>>> Hello and thanks for any replies that this message may get.
>>> I have a issue to solve regarding PHP.
>>> My website relies heavlly on jquery
Jan G.B. wrote:
2010/4/16 Adam Richardson :
On Thu, Apr 15, 2010 at 5:55 PM, Jason Pruim wrote:
On Apr 15, 2010, at 8:55 AM, tedd wrote:
At 4:13 PM -0400 4/14/10, Al wrote:
Incidentally, about formatting scripts, one of the reasons I like phpEdit
is that it has a terrific code beautifier.
Hi Rasmus,
Thanks for reply.
The requirement I was looking for is to read/write given only the file
descriptor number.
PHP-CGI binary is invoked by a webserver that runs in jail-directory and
doesn't have access to the file path directory.
So, it communicates with another daemon that opens a sock
On 16/04/2010 12:54, Ashley Sheridan wrote:
On Fri, 2010-04-16 at 12:50 +0100, Paulo-WORK wrote:
Hello and thanks for any replies that this message may get.
I have a issue to solve regarding PHP.
My website relies heavlly on jquery and does not dowgrade properly.
I use codeigniter framework as
On 16 April 2010 13:54, Ashley Sheridan wrote:
> On Fri, 2010-04-16 at 12:50 +0100, Paulo-WORK wrote:
>
>> Hello and thanks for any replies that this message may get.
>> I have a issue to solve regarding PHP.
>> My website relies heavlly on jquery and does not dowgrade properly.
>> I use codeigni
On Fri, 2010-04-16 at 12:50 +0100, Paulo-WORK wrote:
> Hello and thanks for any replies that this message may get.
> I have a issue to solve regarding PHP.
> My website relies heavlly on jquery and does not dowgrade properly.
> I use codeigniter framework as this website has a backend .
> Is it p
Javascript is client-side - only way to detect it is to have a page
send back information (post/get). What might work easiest is to have
jquery look for a given cookie upon page render, and if it doesn't
find it, then do an ajax call to the server. On the server side,
initiate a session for the use
Hello and thanks for any replies that this message may get.
I have a issue to solve regarding PHP.
My website relies heavlly on jquery and does not dowgrade properly.
I use codeigniter framework as this website has a backend .
Is it possible to detect if js is on with php?
And if so can it be set
2010/4/16 Adam Richardson :
> On Thu, Apr 15, 2010 at 5:55 PM, Jason Pruim
> wrote:
>
>>
>> On Apr 15, 2010, at 8:55 AM, tedd wrote:
>>
>> At 4:13 PM -0400 4/14/10, Al wrote:
>>>
Incidentally, about formatting scripts, one of the reasons I like phpEdit
is that it has a terrific code bea
28 matches
Mail list logo