You can have a session start in an htaccess file.
.htaccess
php_value session.auto_start 1
Do not scream at me if you do not like this approach or it does not work for
you.
I use it and it works well for me.
Simply a suggestion.
Richard L. Buskirk
-Original Message-
From: Ross Ha
Unless your adding more code to your included file it isn't worth having it as
an include as there is more typing/text involved. For management purposes also
it would also look ugly if you were just having one file purely for
session_start();
> From: p...@computer.org
> Date: Tue, 17 May 2011
Great Idea, and I cant wait!
On May 17, 2011, at 8:28 PM, Daniel Brown wrote:
>Hey, folks;
>
>To try to boost a bit of creative thinking and increase list
> traffic a bit, let's reach back into the past this Friday and bring
> back an oldie-but-goodie:
>
>PHP Brainteasers
>
>
On 05/17/2011 09:09 PM, ad...@buskirkgraphics.com wrote:
> That is exactly it.
> Thanks James I knew it was simple just forgot how it was done.
>
>
>
>
>
> Richard L. Buskirk
>
> -Original Message-
> From: James Yerge [mailto:ja...@nixsecurity.org]
> Sent: Tuesday, May 17, 2011 8:51 PM
> T
That is exactly it.
Thanks James I knew it was simple just forgot how it was done.
Richard L. Buskirk
-Original Message-
From: James Yerge [mailto:ja...@nixsecurity.org]
Sent: Tuesday, May 17, 2011 8:51 PM
To: ad...@buskirkgraphics.com
Cc: 'Marc Guay'; php-general@lists.php.net
Subje
On 05/17/2011 07:53 PM, ad...@buskirkgraphics.com wrote:
> The desired result is.
>
> Array
> (
> [0] = > "On the";
> [1] = > "course or in the";
> [2] = > "of colver";
> );
>
> I am just not sure the delimiter can be an array in the Explode function.
>
>
>
>
>
>
> Richard L. Busk
Hey, folks;
To try to boost a bit of creative thinking and increase list
traffic a bit, let's reach back into the past this Friday and bring
back an oldie-but-goodie:
PHP Brainteasers
The old-heads on the list may remember how, a few years ago, we
had a rather long group of t
On 05/17/2011 07:53 PM, ad...@buskirkgraphics.com wrote:
> The desired result is.
>
> Array
> (
> [0] = > "On the";
> [1] = > "course or in the";
> [2] = > "of colver";
> );
>
> I am just not sure the delimiter can be an array in the Explode function.
>
>
>
>
>
>
> Richard L. Busk
The desired result is.
Array
(
[0] = > "On the";
[1] = > "course or in the";
[2] = > "of colver";
);
I am just not sure the delimiter can be an array in the Explode function.
Richard L. Buskirk
-Original Message-
From: Marc Guay [mailto:marc.g...@gmail.com]
> $one = array(0 =>'golf', 1 => 'field');
> $two = array(0 => "On the golf course or in the field of clover");
> $array_exp = explode($one, $two);
What's the desired result?
array('golf' => "On the golf course or in the field of clover",
'field' => "On the golf course or in the field of clover")
On Tue, May 17, 2011 at 18:51, HallMarc Websites
wrote:
> My concern is with the admission of belonging to 137 mailing lists! Where do
> you find the time?
Actually, I just looked, and I am subscribed to 114 lists, and
that's after a mass-unsubscription of all but one of the Mozilla lists
wh
I need to explode an array with an array.
$one = array(0 =>'golf', 1 => 'field');
$two = array(0 => "On the golf course or in the field of clover");
$array_exp = explode($one, $two);
print_r('');
print_r($array_exp);
print_r('');
Notice: Array to string conversion.
I have done this before bu
> On 17 May 2011 18:15, Daniel Brown wrote:
> > On Tue, May 17, 2011 at 13:11, Michelle Konzack
> > wrote:
> >> Hmmm, this is now the 68th mailinglist (out of
> >> 137 where I am subscribed) which he has spamed!
> >>
My concern is with the admission of belonging to 137 mailing lists! Where do
yo
On 17 May 2011 18:15, Daniel Brown wrote:
> On Tue, May 17, 2011 at 13:11, Michelle Konzack
> wrote:
>> Hmmm, this is now the 68th mailinglist (out of
>> 137 where I am subscribed) which he has spamed!
>>
>> Is this not longer subscriber only?
>
> Actually, it never has been. It's subscriptio
On Tue, 2011-05-17 at 15:07 -0400, Daniel Brown wrote:
> On Tue, May 17, 2011 at 15:00, Michelle Konzack
> wrote:
> >
> > Ist there a way to set my account to NOMAIL option?
>
> To stop receiving emails you mean? As in unsubscribing?
>
> --
>
> Network Infrastructure Manager
> http://www
On Tue, May 17, 2011 at 15:00, Michelle Konzack
wrote:
>
> Ist there a way to set my account to NOMAIL option?
To stop receiving emails you mean? As in unsubscribing?
--
Network Infrastructure Manager
http://www.php.net/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
It appears that PHP is truncating the constant 0x8000 to be within
MIN_INT and MAX_INT instead of as a bit field, but when shifting 1 << 31 it
doesn't do apply any constraints. That's pretty typical of bit-manipulation:
it will merrily slide 1 bits off either end. This explains why & produces 0
Hello Daniel Brown,
Am 2011-05-17 13:15:50, hacktest Du folgendes herunter:
> On Tue, May 17, 2011 at 13:11, Michelle Konzack
> wrote:
> > Is this not longer subscriber only?
> Actually, it never has been. It's subscription to receive, but
> open to the public for one-off postings.
Hmmm, wh
On Tue, May 17, 2011 at 13:11, Michelle Konzack
wrote:
> Hmmm, this is now the 68th mailinglist (out of
> 137 where I am subscribed) which he has spamed!
>
> Is this not longer subscriber only?
Actually, it never has been. It's subscription to receive, but
open to the public for one-off post
Hmmm, this is now the 68th mailinglist (out of
137 where I am subscribed) which he has spamed!
Is this not longer subscriber only?
Thanks, Greetings and nice Day/Evening
Michelle Konzack
--
# Debian GNU/Linux Consultant ##
Development of Intranet a
On Tue, May 17, 2011 at 5:40 PM, Richard Quadling wrote:
> On 17 May 2011 17:04, Tony Mak wrote:
> > Thanks for your replys.
> >
> > Of course >>PHP 2.7.2<< was a careless mistake, i meant PHP 5.2.7, to
> > underline i'm not able to use those neat namespace features in PHP 5.3.
> >
> >
> > Let me
On 17 May 2011 17:04, Tony Mak wrote:
> Thanks for your replys.
>
> Of course >>PHP 2.7.2<< was a careless mistake, i meant PHP 5.2.7, to
> underline i'm not able to use those neat namespace features in PHP 5.3.
>
>
> Let me provide you with more details.
>
> As already mentioned cron.php should i
Thanks for your replys.
Of course >>PHP 2.7.2<< was a careless mistake, i meant PHP 5.2.7, to
underline i'm not able to use those neat namespace features in PHP 5.3.
Let me provide you with more details.
As already mentioned cron.php should include at least two other
php-scripts because she
On Tuesday 17 May 2011 18:31:00 Bálint Horváth wrote:
> Hi,
> Hmm.. interesting...
> "tst1=-2147483648, tst1_eq=-2147483648, tst1_type=integer tst2=2147483648,
> tst2_eq=-2147483648, tst2_type=double" at me...
> PHP Version 5.3.3-1ubuntu9.5 (Apache 2.0 - i686)
That is what I expected too.
There ar
Hello Eli,
I'm using this code:
private function HeaderEncode ($str) {
// For the compatibility with PHP versions lower than 5.3.0
if (!function_exists ('quoted_printable_encode')) {
function quoted_printable_encode ($str) {
$res=str_replace ("+", "_", str_replace ("%", "=", urlencode($str)
Hi,
Hmm.. interesting...
"tst1=-2147483648, tst1_eq=-2147483648, tst1_type=integer tst2=2147483648,
tst2_eq=-2147483648, tst2_type=double" at me...
PHP Version 5.3.3-1ubuntu9.5 (Apache 2.0 - i686)
Valentine
On Tue, May 17, 2011 at 5:19 PM, Vitalii Demianets
wrote:
> Hello, all!
>
> I've encounter
On May 17, 2011 4:32 PM, "Daniel Brown" wrote:
>
> On Mon, May 16, 2011 at 18:46, Richard Quadling
wrote:
> >
> > "2.7.2"? I'm guessing 5.7.2.
>
>Then you're guessing wrong, sir. There was no 2.7.2, and it's
> highly unlikely there would ever be a 5.7.2 either.
>
>Closest I can guess is
On May 17, 2011 5:05 PM, "tedd" wrote:
>
> At 1:19 PM +0100 5/17/11, Richard Quadling wrote:
>>
>> On 17 May 2011 12:45, Singapore Citizen Mr. Teo En Ming (Zhang Enming)
>> -snip-
>>
>> > Please remember what Singapore Citizen Mr. Teo En Ming (Zhang Enming)
have
>>>
>>> said. Mark my words. You
Hello, all!
I've encountered odd behavior of PHP regarding bitwise AND operation when
dealing with 31-st bit, and kindly ask to give me some pointers.
Consider the following snippet:
$tst1 = (1 << 31);
$tst2 = 0x8000;
$tst1_eq = $tst1 & 0x8000;
$tst2_eq = $tst2 & 0x8000;
print "tst1=
Hi,
For the subject you can use sg. like this:
So first you have to try encode your string to set as subject.
Could be utf8_encode or base64_encode...
http://php.net/manual/en/function.utf8-encode.php
http://php.net/manual/en/function.mail.php
*Valentine*
On Tue, May 17, 2011 at 4:59 PM, Eli
At 1:19 PM +0100 5/17/11, Richard Quadling wrote:
On 17 May 2011 12:45, Singapore Citizen Mr. Teo En Ming (Zhang Enming)
-snip-
> Please remember what Singapore Citizen Mr. Teo En Ming (Zhang Enming) have
said. Mark my words. You will know the truth in future. It is no longer a
conspiracy the
Hi,
I'm trying to enable a whole Email as UTF-8 - The Body is OK but the
Subject remains ANSI - Please help
$headers = "From:$from". "\r\n" .
"Reply-To:$from" . "\r\n" .
"*Content-type:text/html;charset=utf-8;"*."\r\n" .
"X-Mailer: PHP/".phpversio
On 17 May 2011 15:29, Daniel Brown wrote:
> On Mon, May 16, 2011 at 18:46, Richard Quadling wrote:
>>
>> "2.7.2"? I'm guessing 5.7.2.
>
> Then you're guessing wrong, sir. There was no 2.7.2, and it's
> highly unlikely there would ever be a 5.7.2 either.
>
> Closest I can guess is Apache ht
On Mon, May 16, 2011 at 18:46, Richard Quadling wrote:
>
> "2.7.2"? I'm guessing 5.7.2.
Then you're guessing wrong, sir. There was no 2.7.2, and it's
highly unlikely there would ever be a 5.7.2 either.
Closest I can guess is Apache httpd 2.2.7, or perhaps some other
all-in-one installer
Hello David,
Friday, The first of April...
Sorry for the off-topic :-)
--
With best regards from Ukraine,
Andre
Skype: Francophile
My blog: http://oire.org/menelion (mostly in Russian)
Twitter: http://twitter.com/m_elensule
Facebook: http://facebook.com/menelion
Original message --
Richard Quadling wrote:
> On 17 May 2011 12:45, Singapore Citizen Mr. Teo En Ming (Zhang Enming)
> wrote:
>> 16 May 2011 Monday 7:28 P.M. Singapore Time
>> For Immediate Release
>>
>>
>
> Is it Friday?
>
>
Clearly it is Friday on the planet where Mr Wossname lives :-)
Cheers
--
David Robl
On 17 May 2011 12:45, Singapore Citizen Mr. Teo En Ming (Zhang Enming)
wrote:
> 16 May 2011 Monday 7:28 P.M. Singapore Time
> For Immediate Release
>
> SINGAPORE, SINGAPORE - Singapore Citizen Mr. Teo En Ming (Zhang Enming)
> would like to report first hand account of mind intrusion and mind readi
16 May 2011 Monday 7:28 P.M. Singapore Time
For Immediate Release
SINGAPORE, SINGAPORE - Singapore Citizen Mr. Teo En Ming (Zhang Enming)
would like to report first hand account of mind intrusion and mind
reading. I have been hearing voices for quite some time now but I have
not been able to i
16 May 2011 Monday 7:28 P.M. Singapore Time
For Immediate Release
SINGAPORE, SINGAPORE - Singapore Citizen Mr. Teo En Ming (Zhang Enming)
would like to report first hand account of mind intrusion and mind
reading. I have been hearing voices for quite some time now but I have
not been able to i
Paul Halliday wrote:
> Is it OK to have session_start as an include?
>
Yes.
--
Per Jessen, Zürich (18.1°C)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Is it OK to have session_start as an include?
I have something like this:
// Session init
session_start();
function sKill() {
session_destroy();
session_unset();
header ("Location: login.php");
exit();
}
function sInt() {
header ("Location: login.php");
exit();
}
if (
41 matches
Mail list logo