On 20/05/2013, Maciek Sokolewicz maciek.sokolew...@gmail.com wrote:
On 20-5-2013 22:14, Tim Schofield wrote:
Matijn
There are well over half a million lines of source code in PHP. It seems
a
little unhelpful to tell someone to go and read half a million lines of C
when you could just tell
thank you.
I read the source code and it helps a lot, now I know the behavior
of the code is consistent with the NOTE.
I think the reason is that If the 'new' session_id we want to set
already exists on the server, but does not exist on the client's
cookie, the server must send a set-cookie header
On Mon, May 20, 2013 at 5:33 AM, 孟远涛 yuantao.m...@gmail.com wrote:
I find the Note in PHP document.
http://www.php.net/manual/en/function.session-id.php
Note: When using session cookies, specifying an id for session_id() will
always send a new cookie when session_start() is called,
Matijn
There are well over half a million lines of source code in PHP. It seems a
little unhelpful to tell someone to go and read half a million lines of C
when you could just tell them the answer?
Thanks
Tim
Course View Towers,
Plot 21 Yusuf Lule Road,
Kampala
T +256 (0) 312 314 418
M +256 (0)
On Mon, May 20, 2013 at 4:14 PM, Tim Schofield t...@weberpafrica.com wrote:
Matijn
There are well over half a million lines of source code in PHP. It seems a
little unhelpful to tell someone to go and read half a million lines of C
when you could just tell them the answer?
Thanks
Tim
On 20-5-2013 22:14, Tim Schofield wrote:
Matijn
There are well over half a million lines of source code in PHP. It seems a
little unhelpful to tell someone to go and read half a million lines of C
when you could just tell them the answer?
Thanks
Tim
Course View Towers,
Plot 21 Yusuf Lule
On Mon, May 20, 2013 at 10:46 PM, David OBrien dgobr...@gmail.com wrote:
On Mon, May 20, 2013 at 4:14 PM, Tim Schofield t...@weberpafrica.com
wrote:
Matijn
There are well over half a million lines of source code in PHP. It seems
a
little unhelpful to tell someone to go and read half a
On May 20, 2013 8:45 PM, Matijn Woudt tijn...@gmail.com wrote:
On Mon, May 20, 2013 at 10:46 PM, David OBrien dgobr...@gmail.com wrote:
On Mon, May 20, 2013 at 4:14 PM, Tim Schofield t...@weberpafrica.com
wrote:
Matijn
There are well over half a million lines of source code in PHP. It
Op 21 mei 2013 03:59 schreef David OBrien dgobr...@gmail.com het
volgende:
On May 20, 2013 8:45 PM, Matijn Woudt tijn...@gmail.com wrote:
On Mon, May 20, 2013 at 10:46 PM, David OBrien dgobr...@gmail.com
wrote:
On Mon, May 20, 2013 at 4:14 PM, Tim Schofield t...@weberpafrica.com
I find the Note in PHP document.
http://www.php.net/manual/en/function.session-id.php
Note: When using session cookies, specifying an id for session_id() will
always send a new cookie when session_start() is called, regardless if the
current session id is identical to the one being set.
I feel
I have noticed when doing a top via SSH on my GoDaddy virtual dedicated
server that every time a user logs in in the COMMAND column I see the
PHP-CGI process start to run, followed by mysqld. Often when these two
processes run I start to see a spike in average load, and sometimes this
spike spins
Am 03.11.12 01:30, schrieb Silvio Siefke:
Hello,
i have compile PHP 5.4.8 on my Debian System. I have before Version 5.4.7.
I delete before all old Files from PHP and then run the commands:
./configure --sysconfdir=/usr/local/etc --with-pear --enable-bcmath
--with-bz2=/usr
Hello,
i have compile PHP 5.4.8 on my Debian System. I have before Version 5.4.7.
I delete before all old Files from PHP and then run the commands:
./configure --sysconfdir=/usr/local/etc --with-pear --enable-bcmath
--with-bz2=/usr --disable-calendar --enable-ctype --without-curl
Op 17 jul. 2012 05:23 schreef James Newman james.new...@primalmedia.co.nz
het volgende:
I'm having a few authentication issues and I'm not sure if it's my code or
the web service I'm connecting to. The code below shows what I'm working
with not sire if I'm going about it the right way.
This
That's not a helpful answer. I'd be curious at a real answer
for this, too. I'm sure that there is something going on with
session management on the client side as authentication has probably
already happened, but the author doesn't know how to handle the response
to the authentication
I agree with your response, the payment gateway insists that the
authentication I have been given is correct. My question was more around
was I using the function correctly. It says authentication failed but
I've followed he documentation to the letter. Is there a way I can output
what the
Op 17 jul. 2012 22:44 schreef James Newman james.new...@primalmedia.co.nz
het volgende:
I agree with your response, the payment gateway insists that the
authentication I have been given is correct. My question was more around
was I using the function correctly. It says authentication failed
I'm having a few authentication issues and I'm not sure if it's my code or
the web service I'm connecting to. The code below shows what I'm working
with not sire if I'm going about it the right way.
This is the error I get!
Fatal error: Uncaught SoapFault exception: [soap:Client]
On Fri, Dec 30, 2011 at 5:33 PM, Eric Lommatsch er...@pivotaldata.net wrote:
When I try this method:
$interval = $dteStartDate[$intCnt]-diff($dteEndDate[$intCnt]); I get the
following error when I run the page:
Fatal error : Call to undefined method DateTime::diff() in
Ext 23
Fax 888-282-9927
www.pivotaldata.com
er...@pivotaldata.com
-Original message-
From: Frank Arensmeier farensme...@gmail.com
Sent: Thu 29-12-2011 15:25
To: Eric Lommatsch er...@pivotaldata.net;
CC: php-general@lists.php.net;
Subject: Re: [PHP] Question about date
; 'Frank Arensmeier'
farensme...@gmail.com;
CC: 'Eric Lommatsch' er...@pivotaldata.net; php-general@lists.php.net;
Subject: RE: [PHP] Question about date calculations
-Original Message-
From: Fatih P. [mailto:fatihpirist...@gmail.com]
Sent: Thursday, December 29, 2011 5:10 PM
To: Frank
...@gmail.com; 'Eric Lommatsch'
er...@pivotaldata.net; php-general@lists.php.net;
Subject: Re: [PHP] Question about date calculations
On 12/30/2011 12:19 AM, ad...@buskirkgraphics.com wrote:
-Original Message- From: Fatih P. [ mailto:fatihpirist...@gmail.com ]
Sent: Thursday, December
On 12/29/2011 01:22 PM, Eric Lommatsch wrote:
Hello List,
I am using PHP version 5.2.6.
I am using PHP V5.3.3
In my setup, the following lines give me errors stating that PHP cannot
convert the DateTime object to a string. I was able to get around the
error by changing your code to the
-Original Message-
From: Eric Lommatsch [mailto:er...@pivotaldata.com] On Behalf Of Eric
Lommatsch
Sent: Friday, December 30, 2011 12:31 PM
To: Fatih P.; ad...@buskirkgraphics.com
Cc: 'Frank Arensmeier'; 'Eric Lommatsch'; php-general@lists.php.net
Subject: RE: Re: [PHP] Question
Hello List,
I am using PHP version 5.2.6.
I have a page I am trying to create where I am comparing the values of two
MySQL date fields with the current date. One of the MySQL Date fields is a
class start date, the other is the class end date.
First I need to calculate the number of
29 dec 2011 kl. 22.22 skrev Eric Lommatsch:
So far in looking at the functions that are available at
http://www.php.net/manual/en/ref.datetime.php I have not been able to figure
out how to do what I need to do. Below is a snippet showing approximately
what I am trying to do.
On the same
On Thu, Dec 29, 2011 at 11:40 PM, Frank Arensmeier farensme...@gmail.comwrote:
29 dec 2011 kl. 22.22 skrev Eric Lommatsch:
So far in looking at the functions that are available at
http://www.php.net/manual/en/ref.datetime.php I have not been able to
figure
out how to do what I need to
-Original Message-
From: Fatih P. [mailto:fatihpirist...@gmail.com]
Sent: Thursday, December 29, 2011 5:10 PM
To: Frank Arensmeier
Cc: Eric Lommatsch; php-general@lists.php.net
Subject: Re: [PHP] Question about date calculations
On Thu, Dec 29, 2011 at 11:40 PM, Frank Arensmeier
On 12/30/2011 12:19 AM, ad...@buskirkgraphics.com wrote:
-Original Message-
From: Fatih P. [mailto:fatihpirist...@gmail.com]
Sent: Thursday, December 29, 2011 5:10 PM
To: Frank Arensmeier
Cc: Eric Lommatsch; php-general@lists.php.net
Subject: Re: [PHP] Question about date calculations
Fatih P. wrote:
well then look deeper in the question:
I have a page I am trying to create where I am comparing the values of two
MySQL date fields with the current date. One of the *MySQL Date fields *is a
class start date,*the other* is the class end date.
all needs to do is modify his
Not sure how to ask this question... I've always eschewed consulting a
database on page loads to determine if a user is logged in, primarily
because of latency issues. For example, you could store a nonce like the
session ID in a table for a user when they log in. Then each time they
arrive at a
On Wed, Dec 14, 2011 at 1:25 AM, Matijn Woudt tijn...@gmail.com wrote:
On Wed, Dec 14, 2011 at 12:11 AM, Mihai Anghel mihaigrim1...@gmail.com
wrote:
Hello,
It appears to me that something is strange with the socket_select function.
From what I understand the value of the fourth parameter,
Hello,
It appears to me that something is strange with the socket_select function.
From what I understand the value of the fourth parameter, tv_sec,
should block the execution of the script for that number of seconds.
I tried this code :
?php
error_reporting(E_ERROR);
$serverSocket =
On Wed, Dec 14, 2011 at 12:11 AM, Mihai Anghel mihaigrim1...@gmail.com wrote:
Hello,
It appears to me that something is strange with the socket_select function.
From what I understand the value of the fourth parameter, tv_sec,
should block the execution of the script for that number of
Hi folks,
I am in doubt of this, I thought pure php iteration is slower than calling
join or other extension functions.
but the result shows: https://gist.github.com/b2a94c94ca66a55814d4
Using Pure PHP for iteration is faster than using join function. why ?
because of the php runtime
On Fri, Dec 9, 2011 at 5:04 PM, Lin Yo-An cornelius.h...@gmail.com wrote:
Hi folks,
I am in doubt of this, I thought pure php iteration is slower than calling
join or other extension functions.
but the result shows: https://gist.github.com/b2a94c94ca66a55814d4
Using Pure PHP for iteration
Hello list,
I am trying to start PHP FPM with 2600 worker pools with ondemand
processmanager. Each for one domain.
The problem is now, that the php-fpm quits with:
ERROR: pid 10937, fpm_shm_alloc(), line 28: unable to allocate 1040 bytes in
shared memory: Cannot allocate memory: Cannot allocate
On 11/23/2011 08:25 PM, Daniel Betz wrote:
Hello list,
I am trying to start PHP FPM with 2600 worker pools with ondemand
processmanager. Each for one domain.
The problem is now, that the php-fpm quits with:
ERROR: pid 10937, fpm_shm_alloc(), line 28: unable to allocate 1040 bytes in
I'm curious how others feel about this. When I'm creating an SQL
string, either for a non-prepared or prepared execution, I build it in
a variable and then pass the variable to the query or prepare
function. This lets me easily add something to view the SQL statement,
and also if there's an error,
On 11-11-12 06:30 AM, tamouse mailing lists wrote:
I'm curious how others feel about this. When I'm creating an SQL
string, either for a non-prepared or prepared execution, I build it in
a variable and then pass the variable to the query or prepare
function. This lets me easily add something to
On Sat, 12 Nov 2011, tamouse mailing lists wrote:
I'm curious how others feel about this. When I'm creating an SQL
string, either for a non-prepared or prepared execution, I build it in
a variable and then pass the variable to the query or prepare
function. This lets me easily add something to
On Sat, Nov 12, 2011 at 7:01 AM, Stephen stephe...@rogers.com wrote:
While I am not a big fan of OOP, I do like PDO, and recommend its use.
Right -- I wasn't actually inquiring about how to access a data base,
merely the pactice of using a variable for the SQL -- In your example,
you are doing
Hi gang:
I have a few questions -- this is my first one.
Please review this link:
http://webbytedd.com//perms/
This page simply reads the contents of a file of the user's choice and displays
the file's data.
My first question is with regard to reading a file ( fread() ):
If the user
On Thu, 2011-10-27 at 15:25 -0400, Tedd Sperling wrote:
Hi gang:
I have a few questions -- this is my first one.
Please review this link:
http://webbytedd.com//perms/
This page simply reads the contents of a file of the user's choice and
displays the file's data.
My first
On Thu, Oct 27, 2011 at 15:25, Tedd Sperling tedd.sperl...@gmail.com wrote:
Hi gang:
I have a few questions -- this is my first one.
Please review this link:
http://webbytedd.com//perms/
This page simply reads the contents of a file of the user's choice and
displays the file's data.
On Oct 27, 2011, at 5:14 PM, Daniel Brown wrote:
On Thu, Oct 27, 2011 at 15:25, Tedd Sperling tedd.sperl...@gmail.com wrote:
-snip my confusion -
No need to review the code. The first hunch I had proved correct.
PHP opens with a less-than (left carat, or 'less-than') symbol, as do
HTML
Hi:
I have a general question about PHP:
So basically I have a link, and I want the href to be absolute., so I
do 'https://' . $_SERVER['HTTP_HOST'] . '/login' ; this gives me
https://127.0.0.1/login on my local; however, what i really want is
https://127.0.0.1:9090/login, it is missing :9090. I
On 26 Sep 2011 at 23:45, vince chan rainma...@gmail.com wrote:
I have a general question about PHP:
So basically I have a link, and I want the href to be absolute., so I
do 'https://' . $_SERVER['HTTP_HOST'] . '/login' ; this gives me
https://127.0.0.1/login on my local; however, what i
Hi, I'm a bit of a newbie at PHP and programming in general.
Reading a PHP book by Larry Ullman, I was given instructions to install
Pear Auth package and also Pear DB.
As the Pear website said that DB has been deprecated in favor of MDB2, I
installed this latter package.
However, I am getting
I understand dir perms pretty well; but, have a question I can't readily find
the answer to.
Under a Linux system, scripts can't write, copy, etc. to other dirs unless the
perms are set for writable for the script e.g., nobody.
But, is there a way a script can write or copy within its own
Sure. The script runs with the permissions of whoever is running it.
In general, a PHP script that's a web page in linux will run by a user
called something like apache, apache2, www-user, or something similar.
If you give that user permissions -- either directly or through their
group, often
Al wrote:
I understand dir perms pretty well; but, have a
question I can't readily
find
the answer to.
Under a Linux system, scripts can't write, copy, etc. to other
dirs unless
the
perms are set for writable for the
script e.g., nobody.
But, is there a way a script can
write or copy
I noticed that some websites such as
polldaddyhttp://polldaddy.com/account/home.php has
fascinating poll service. And I am just curious about how it prevents user
from polling the same poll for more than once. Or more accurately, I am a
dynamic IP user. And I found that if I have polled once for a
Have you checked for any cookies left by that website?
Thanks,
Ash
http://www.ashleysheridan.co.uk
- Reply message -
From: 肖晗 xiaohan2...@gmail.com
Date: Fri, Nov 12, 2010 15:14
Subject: [PHP] question about preventing polling for more than once
To: php-general@lists.php.net
I noticed
@lists.php.net php-general@lists.php.net
Date: Friday, November 12, 2010, 5:14:49 PM
Subject: [PHP] question about preventing polling for more than once
I noticed that some websites such as
polldaddyhttp://polldaddy.com/account/home.php has
fascinating poll service. And I am just curious about how
Hello my name is Paulo Carvalho and I am struggling with the following:
I am building a website with basic CMS functionality.
My problem is that in one of the pages I am using Easyslider to display
small comments about the clients.
These comments are divided in 3 per slide.
ex:(li
pcomment
Paulo Work wrote:
Hello, Paulo!
I am building a website with basic CMS functionality.
My problem is that in one of the pages I am using Easyslider to display
small comments about the clients.
These comments are divided in 3 per slide.
ex:(li
pcomment 1/p
pcomment 1/p
pcomment 1/p
/li)
I am
Paulo Work wrote:
Hello my name is Paulo Carvalho and I am struggling with the following:
I am building a website with basic CMS functionality.
My problem is that in one of the pages I am using Easyslider to display
small comments about the clients.
These comments are divided in 3 per
Daniel Brown wrote:
On Mon, Sep 13, 2010 at 19:51, MikeBmpbr...@gmail.com wrote:
As part of the bug report I included a link to an image of my nntp config.
I saw that, thanks. I'll look into creating a mirror of the news
server, as well, for NNTP-only access. I won't lie and say that
Daniel Brown wrote:
On Mon, Sep 13, 2010 at 18:09, MikeB mpbr...@gmail.com wrote:
However, getting access seems to be hit-and-miss, since I more often than
not get a message that the connection to news.php.net timed out.
Is this an indication that the server is just very busy? I don't get this
Good to know there's a workaround. I am thinking of using one (or more) of
the old VOOM boxes to mirror the news server for NNTP-only access.
Sent from my DROID. Apologies if formatting is off or I'm top-posting on a
list.
On Sep 14, 2010 8:59 PM, Nathan Rixham nrix...@gmail.com wrote:
Daniel
If there is a more appropriate place to ask this, I apologize. Please
point me in the right direction.
I understand that the news server is based on a mailing list, but I
can't handle another high-volume source dumping stuff into my email
(even if I filter it into a separate folder) so I am
On Mon, Sep 13, 2010 at 18:09, MikeB mpbr...@gmail.com wrote:
However, getting access seems to be hit-and-miss, since I more often than
not get a message that the connection to news.php.net timed out.
Is this an indication that the server is just very busy? I don't get this on
any other news
Daniel Brown wrote:
I don't believe that we've been having any issues with the server,
no. Are you using NNTP to connect?
yes, NNTP.
You may want to consider using
the HTTP-based RSS and/or RDF feeds if it continues to be an issue.
If this persists, I'll look into the alternatives
On Mon, Sep 13, 2010 at 19:51, MikeB mpbr...@gmail.com wrote:
As part of the bug report I included a link to an image of my nntp config.
I saw that, thanks. I'll look into creating a mirror of the news
server, as well, for NNTP-only access. I won't lie and say that it's
a priority, but
On 09/13/2010 06:51 PM, MikeB wrote:
Daniel Brown wrote:
I don't believe that we've been having any issues with the server,
no. Are you using NNTP to connect?
yes, NNTP.
You may want to consider using
the HTTP-based RSS and/or RDF feeds if it continues to be an issue.
If this
Daniel Brown wrote:
On Mon, Sep 13, 2010 at 19:51, MikeBmpbr...@gmail.com wrote:
As part of the bug report I included a link to an image of my nntp config.
I saw that, thanks. I'll look into creating a mirror of the news
server, as well, for NNTP-only access. I won't lie and say that
I'm working on creating a compiled extension for some code I've written. Mostly
it's manipulating a very large multi-demensional array of values. This is some
pseudo code for the array.
// Imagine this but much much bigger
$big_ass_array = array('5' = array('0' = 4, '3' = 6, '8' = 7), '10' =
Joshua Kehn wrote:
I'm working on creating a compiled extension for some code I've written. Mostly
it's manipulating a very large multi-demensional array of values. This is some
pseudo code for the array.
// Imagine this but much much bigger
$big_ass_array = array('5' = array('0' = 4, '3' =
Jim-
Yes, that was a typo. The issues was I didn't cut / paste and instead retyped
it. Should be
foreach($array as $key1 = $list)
{
foreach($list as $key2 = $value)
I will check those links out, I had the first one not the second.
Regards,
-Josh
From: Ashley Sheridan
On Sat, 2010-08-07 at 10:43 +0800, lainme wrote:
thanks for the reply. I know it is not a PHP problem. And I want to
know
whether it is possible to make it architecture independent.
On Sat, Aug 7, 2010 at 10:38 AM, Ashley Sheridan
a...@ashleysheridan.co.ukwrote:
Hi, I recently compiled a portable portable web server for linux, using
lighttpd and php.
But it seems that php can only run on machine with the same glibc version
compiled it. How can I solve the problem?
On Sat, 2010-08-07 at 10:22 +0800, lainme wrote:
Hi, I recently compiled a portable portable web server for linux, using
lighttpd and php.
But it seems that php can only run on machine with the same glibc version
compiled it. How can I solve the problem?
It's not a PHP problem. If you
thanks for the reply. I know it is not a PHP problem. And I want to know
whether it is possible to make it architecture independent.
On Sat, Aug 7, 2010 at 10:38 AM, Ashley Sheridan
a...@ashleysheridan.co.ukwrote:
On Sat, 2010-08-07 at 10:22 +0800, lainme wrote:
Hi, I recently compiled a
On Sat, 2010-08-07 at 10:43 +0800, lainme wrote:
thanks for the reply. I know it is not a PHP problem. And I want to know
whether it is possible to make it architecture independent.
On Sat, Aug 7, 2010 at 10:38 AM, Ashley Sheridan
a...@ashleysheridan.co.ukwrote:
On Sat, 2010-08-07 at
-Original Message-
From: Tim Gallagher [mailto:tgallag...@danati.com]
Sent: Wednesday, July 21, 2010 12:49 PM
To: Andrew Ballard
Cc: php-general@lists.php.net
Subject: RE: [PHP] Question about SQL and Graph nodel trees
Thank you for the informaiton. I did see that code
I cannot be the only one that is having this problem, what are you using for
DAG (Direct Acrylic Graph)? I need to have a mesh node edge graph and am
having trouble with this? I see that Neo4j has a rest server and I can do this
in Java but I want to do it in PHP with a MYSQL or postgresql.
On Wed, Jul 21, 2010 at 11:04 AM, Tim Gallagher tgallag...@danati.com wrote:
I cannot be the only one that is having this problem, what are you using for
DAG (Direct Acrylic Graph)? I need to have a mesh node edge graph and am
having trouble with this? I see that Neo4j has a rest server and
-general@lists.php.net
Subject: Re: [PHP] Question about SQL and Graph nodel trees
On Wed, Jul 21, 2010 at 11:04 AM, Tim Gallagher tgallag...@danati.com wrote:
I cannot be the only one that is having this problem, what are you using for
DAG (Direct Acrylic Graph)? I need to have a mesh node edge
On 13 July 2010 15:46, Joey Hendricks j.hendrick...@comcast.net wrote:
Hi Mr. Quadling,
Thank you for the reply. I still don't understand how to get all the emails
into the function. Before I put in the function I had something like this-
for($i=0; $i=9; $i++)
{
if(!empty($_GET[email.$i]))
On 7/5/10, Gary[1] wrote:
The last few times I have posted to the board, I recieved an email, which
has the subject line of ??? ??? and is written in what appears to
be greek
Ukrainian or Russian I would guess, looking at the headers.
Anyone else have this happen?
Yes. Either some
On Tue, 2010-07-06 at 11:00 +0200, Gary . wrote:
On 7/5/10, Gary[1] wrote:
The last few times I have posted to the board, I recieved an email, which
has the subject line of ??? ??? and is written in what appears to
be greek
Ukrainian or Russian I would guess, looking at the
On 7/6/10, Ashley Sheridan wrote:
I have had a couple such emails, requesting me to log in somewhere in
order to have my address 'validated' as non-spam, but I ignored it and
nothing bad has happened to me yet!
Not yet.
*hides cattle prod behind back*
--
PHP General Mailing List
The last few times I have posted to the board, I recieved an email, which
has the subject line of ??? ??? and is written in what appears to
be greek, then english then seemingly some arabic language. It tells me
that it has recieved an email from me that it suspects is spam and it has
-Original Message-
From: James Colannino [mailto:ja...@colannino.org]
Sent: Tuesday, June 22, 2010 10:06 PM
To: PHP-General List
Subject: Re: [PHP] Question about logins and locking
Tommy Pham wrote:
1) Set an encrypted (to prevent hijacking and eavesdropping) cookie
On 23 June 2010 07:44, Tommy Pham tommy...@gmail.com wrote:
-Original Message-
From: James Colannino [mailto:ja...@colannino.org]
Sent: Tuesday, June 22, 2010 10:06 PM
To: PHP-General List
Subject: Re: [PHP] Question about logins and locking
Tommy Pham wrote:
1) Set an encrypted
Hey everyone,
I have a question about logins. Let's say that I want to allow each
user account to login only once at a time. I would then need some kind
of locking mechanism to make sure that the same user can't login again
somewhere else until first logging off. What's a good way to achieve
-Original Message-
From: James Colannino [mailto:ja...@colannino.org]
Sent: Tuesday, June 22, 2010 2:29 PM
To: php-general@lists.php.net
Subject: [PHP] Question about logins and locking
Hey everyone,
I have a question about logins. Let's say that I want to allow each user
Tommy Pham wrote:
1) Set an encrypted (to prevent hijacking and eavesdropping) cookie to
expire when browser closes
2) Have a table in the DB backend to keep track if the user is logged in or
not and when was the last time the validated user access your site (this
gets updated when the user
At 3:46 PM -0400 6/10/10, Paul M Foster wrote:
On Thu, Jun 10, 2010 at 11:16:08AM -0400, tedd wrote:
I spend much of my time thinking Did I do that before?
grin I know the feeling. I will say this, though. I have yet to figure
out, from your URLs, how your site(s) is/are organized. Maybe a
At 7:19 AM +0530 6/10/10, Shreyas wrote:
PHP'ers,
I am reading a PHP book which explains foreach and at the end says : *'When
foreach starts walking through an array, it moves the pointer to
the beginning of the array. You don't need to reset an array before
walking through it with foreach.'*
*
On Thu, Jun 10, 2010 at 07:03:28AM -0400, tedd wrote:
At 7:19 AM +0530 6/10/10, Shreyas wrote:
PHP'ers,
I am reading a PHP book which explains foreach and at the end says : *'When
foreach starts walking through an array, it moves the pointer to
the beginning of the array. You don't need to
All,
I tried and tested it but wanted a solid confirmation on it. I felt foreach
usage is better than manual way of next(), prev() et al.
Thanks for the comments. I consider the thread answered and solved unless
someone has anything more to add.
Regards,
Shreyas
On Thu, Jun 10, 2010 at 7:02
At 9:32 AM -0400 6/10/10, Paul M Foster wrote:
On Thu, Jun 10, 2010 at 07:03:28AM -0400, tedd wrote:
This is one of those questions that you can test very easily, just
initialize an array and try it.
+1
This is Tedd's modus operandi. His website(s) are full of exactly this
type of thing.
On Thu, Jun 10, 2010 at 11:16:08AM -0400, tedd wrote:
At 9:32 AM -0400 6/10/10, Paul M Foster wrote:
On Thu, Jun 10, 2010 at 07:03:28AM -0400, tedd wrote:
This is one of those questions that you can test very easily, just
initialize an array and try it.
+1
This is Tedd's modus
From: Paul M Foster
On Thu, Jun 10, 2010 at 11:16:08AM -0400, tedd wrote:
At 9:32 AM -0400 6/10/10, Paul M Foster wrote:
On Thu, Jun 10, 2010 at 07:03:28AM -0400, tedd wrote:
Paul:
Now, if I could get the old memory to lock in and remember it, it
would be great!
I spend much of my
On Thursday 10 June 2010 11:16:08 tedd wrote:
At 9:32 AM -0400 6/10/10, Paul M Foster wrote:
On Thu, Jun 10, 2010 at 07:03:28AM -0400, tedd wrote:
This is one of those questions that you can test very easily, just
initialize an array and try it.
+1
This is Tedd's modus operandi.
PHP'ers,
I am reading a PHP book which explains foreach and at the end says : *'When
foreach starts walking through an array, it moves the pointer to
the beginning of the array. You don’t need to reset an array before
walking through it with foreach.'*
*
*
*Does this mean - *
*1) Before I
On Wed, Jun 9, 2010 at 9:49 PM, Shreyas shreya...@gmail.com wrote:
PHP'ers,
I am reading a PHP book which explains foreach and at the end says : *'When
foreach starts walking through an array, it moves the pointer to
the beginning of the array. You don’t need to reset an array before
Shreyas wrote:
PHP'ers,
I am reading a PHP book which explains foreach and at the end says : *'When
foreach starts walking through an array, it moves the pointer to
the beginning of the array. You don’t need to reset an array before
walking through it with foreach.'*
*
*
*Does this mean - *
*1)
1 - 100 of 1773 matches
Mail list logo