Crap! I wish this list would have a reply-to list automatically
-- Forwarded message --
From: Philip Thompson philthath...@gmail.com
Date: Mon, Aug 15, 2011 at 2:11 PM
Subject: Re: [PHP] Keeping session info in $_SESSION or in database?
To: LAMP l...@afan.net
On Mon, Aug 15
On Mon, Aug 15, 2011 at 2:36 PM, Stuart Dallas stu...@3ft9.com wrote:
On 15 Aug 2011, at 20:28, LAMP wrote:
On Aug 15, 2011, at 2:11 PM, Philip Thompson wrote:
On Mon, Aug 15, 2011 at 1:43 PM, LAMP l...@afan.net wrote:
Hi all,
This is THE question that bothers me for a while... I
On Thu, Jun 2, 2011 at 12:02 PM, Daniel Brown danbr...@php.net wrote:
On Tue, May 31, 2011 at 22:13, Bill Guion bgu...@comcast.net wrote:
So if I understand, you want an explode() with empty parameters to
explode
the host machine?
That's correct. If it causes too much userland
On Fri, May 27, 2011 at 1:36 PM, Micky Hulse mickyhulse.li...@gmail.comwrote:
On Fri, May 27, 2011 at 10:27 AM, Micky Hulse
mickyhulse.li...@gmail.com wrote:
Would it be safe for me to conclude that Pair is not setup properly?
Haha, Pear the package, not the host. :D
http://www.pair.com/
On Tue, May 3, 2011 at 5:18 AM, Florin Jurcovici florin.jurcov...@gmail.com
wrote:
Hi.
Create a page containing just:
?php
phpinfo()
?
open it in a browser, then see if SQLite appears in the resulting web
page. If yes, you're done - you can use an actual database, although
an embedded
On Dec 10, 2010, at 12:00 AM, Paul M Foster wrote:
On Thu, Dec 09, 2010 at 07:41:32PM -0800, Daevid Vincent wrote:
-Original Message-
If you value CPU time over developer time, by all means avoid ORM
frameworks (and *all* frameworks). The point of a common
framework is to
trade a
Hi all.
Having an issue with some CakePHP 1.3 stuff. I've read and read and read and
haven't found my solution. I'm fairly new to Cake, so be nice. I'm trying to
access a method from a different controller than the one I'm in and it's not
letting me.
-location.php (model) - create the
On Aug 13, 2010, at 10:49 AM, Philip Thompson wrote:
Hi all.
Having an issue with some CakePHP 1.3 stuff. I've read and read and read and
haven't found my solution. I'm fairly new to Cake, so be nice. I'm trying to
access a method from a different controller than the one I'm in and it's
Hi all.
Long time no talk. I'm getting a little bit more involved with CakePHP and I
wanted to get some feedback from some seasoned veterans. From what I've played
around with so far, I enjoy its structure and ability to create sites quickly.
I was curious about some of the pros and cons that
On Aug 2, 2010, at 5:29 PM, Ashley Sheridan wrote:
On Mon, 2010-08-02 at 18:43 -0300, Martín Marqués wrote:
Is there a way (I haven't found it yet) to create with a sequence of
gifs an animated gif using php-gd?
--
Martín Marqués
select 'martin.marques' || '@' || 'gmail.com'
DBA,
On May 25, 2010, at 8:27 PM, David Mehler wrote:
Hello,
I'm trying to display mysql database output in a formatted table. My
problem is i'm getting a blank screen with no errors. I've got
debugging on, and have run the cli php on this file which produces no
errors either, but neither does it
Hello all.
Long time no see! Anyway, I'm having an issue with strtotime(). Why do the
following return valid timestamps?
?php
echo strtotime ('a').': '.date (m/d/Y, strtotime ('a')).br/;
echo strtotime ('a,a').': '.date (m/d/Y, strtotime ('a,a')).br/;
echo strtotime ('a,a,a').': '.date (m/d/Y,
On May 5, 2010, at 10:12 AM, Peter Lind wrote:
On 5 May 2010 16:58, Philip Thompson philthath...@gmail.com wrote:
Hello all.
Long time no see! Anyway, I'm having an issue with strtotime(). Why do the
following return valid timestamps?
?php
echo strtotime ('a').': '.date (m/d/Y
On Dec 15, 2009, at 9:50 AM, Richard Quadling wrote:
2009/12/15 Philip Thompson philthath...@gmail.com:
On Dec 14, 2009, at 8:47 PM, James McLean wrote:
On Tue, Dec 15, 2009 at 10:03 AM, Philip Thompson
philthath...@gmail.com wrote:
My head hurts from hitting it on my desk all day, so I
On Dec 15, 2009, at 6:03 AM, Ashley Sheridan wrote:
On Tue, 2009-12-15 at 02:53 +, Joseph Masoud wrote:
On 14 Dec 2009, at 22:01, Ashley Sheridan a...@ashleysheridan.co.uk
wrote:
On Mon, 2009-12-14 at 15:59 -0600, Philip Thompson wrote:
On Dec 14, 2009, at 12:51 AM, Lester
On Dec 16, 2009, at 9:22 AM, Andrew Ballard wrote:
On Tue, Dec 15, 2009 at 10:13 AM, Philip Thompson philthath...@gmail.com
wrote:
On Dec 14, 2009, at 8:47 PM, James McLean wrote:
Why not just use the built in MySQL libraries or PDO?
Oh, that would be my preference. However, the database
On Dec 16, 2009, at 1:48 PM, Yousif Masoud wrote:
On Wed, Dec 16, 2009 at 3:14 PM, Philip Thompson philthath...@gmail.com
wrote:
On Dec 15, 2009, at 6:03 AM, Ashley Sheridan wrote:
On Tue, 2009-12-15 at 02:53 +, Joseph Masoud wrote:
On 14 Dec 2009, at 22:01, Ashley Sheridan
On Dec 14, 2009, at 8:47 PM, James McLean wrote:
On Tue, Dec 15, 2009 at 10:03 AM, Philip Thompson
philthath...@gmail.com wrote:
My head hurts from hitting it on my desk all day, so I thought I'd turn to a
fresher set of eyes. The issue I'm having is getting PHP to connect ODBC. I
can get
On Dec 15, 2009, at 3:12 AM, Joseph Masoud wrote:
On 15 Dec 2009, at 08:50, Ali Asghar Toraby Parizy
aliasghar.tor...@gmail.com wrote:
Which one is more active than others? I mean which project extends
faster and better, in future?
On Tue, Dec 15, 2009 at 1:37 AM, Philip Thompson
On Dec 14, 2009, at 12:51 AM, Lester Caine wrote:
Lenin wrote:
You might also like this:
Come on Monty - Lukas Smith http://bit.ly/5lmwwD
I've been watching some of this debate with interest, but I'll stay with a
database that has none of the baggage that MySQL has always had, and IS
On Dec 14, 2009, at 2:14 AM, Angelo Zanetti wrote:
Hi all,
I know there are a lot of scripts that one can pay for, for live chat -
website support.
Are there are any free open source ones that work well?
I found: www.phplivechat.com
But still waiting to evaluate it.
Please send
On Dec 14, 2009, at 4:27 AM, Ali Asghar Toraby Parizy wrote:
Hi
I think the best choice is jquery until now.
But, is it reasonable to combine jquery and other library to client
side and server side scripting respectively?
By the way, where i can find good lessons about jquery and php?
I
Hello all.
My head hurts from hitting it on my desk all day, so I thought I'd turn to a
fresher set of eyes. The issue I'm having is getting PHP to connect ODBC. I can
get it to work using isql from the command line. Can you verify my settings:
/etc/odbc.ini:
[MySQL]
Description =
On Dec 8, 2009, at 6:12 AM, Ashley Sheridan wrote:
On Tue, 2009-12-08 at 12:08 +, Tarek Kaddoura wrote:
__
Subject: RE: [PHP] request for support
From: a...@ashleysheridan.co.uk
To: stevewiese...@hotmail.com
CC:
On Dec 8, 2009, at 11:10 AM, tedd wrote:
At 9:07 PM -0600 12/7/09, Philip Thompson wrote:
-snip-
Good stuff.
Thanks,
tedd
You say so much with so little...
~Philip
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Dec 7, 2009, at 4:39 PM, Allen McCabe wrote:
I have a shopping cart type system set up which keeps track of the cart
contents using a SESSION variable, where $_SESSION['cart'][$item_id'] is
equal to the quantity, so the name/value pair is all the information I need.
But sessions are
On Dec 7, 2009, at 4:40 PM, Ashley Sheridan wrote:
On Mon, 2009-12-07 at 14:39 -0800, Allen McCabe wrote:
I have a shopping cart type system set up which keeps track of the cart
contents using a SESSION variable, where $_SESSION['cart'][$item_id'] is
equal to the quantity, so the name/value
On Dec 7, 2009, at 4:46 PM, Ashley Sheridan wrote:
On Mon, 2009-12-07 at 16:48 -0600, Philip Thompson wrote:
On Dec 7, 2009, at 4:40 PM, Ashley Sheridan wrote:
On Mon, 2009-12-07 at 14:39 -0800, Allen McCabe wrote:
I have a shopping cart type system set up which keeps track
On Dec 7, 2009, at 5:02 PM, Skip Evans wrote:
Hey all,
I have an HTML field like this
input type=text name=qty[] value=!!quantity!! size=4
style=text-align: right; onblur=calculateBidUnit();
... and what I need to do is pass to the calculateBidUnit function the value
of quantity, do
On Dec 7, 2009, at 6:32 PM, Skip Evans wrote:
Hey Philip,
But will that ID value identify the right member of each array? I thought
about that but just assumed that it would not.
Skip
Philip Thompson wrote:
On Dec 7, 2009, at 5:02 PM, Skip Evans wrote:
Hey all,
I have an HTML
On Nov 30, 2009, at 5:37 AM, helderfelipe wrote:
I have a query who is returning a NUMERIC(18,8) column.
In the IBExpert, te resultset is:
30,9127
836,5800
But PHP returns in a strange format:
3.9127
83.65800
Somebody help ?
That strange format you're referring
On Nov 25, 2009, at 4:32 AM, Ashley Sheridan wrote:
On Tue, 2009-11-24 at 23:27 -0800, Allen McCabe wrote:
If I were to loop through my inputs, I could just exclude any
problematic names, eg.:
foreach ($_POST as $var = $val)
{
if ($var != filter.x || $var != filter.y)
{
$var =
On Nov 23, 2009, at 6:22 PM, Allen McCabe wrote:
Hi, thanks for reading, I hope you can help:
In my main file for an orders page I have the following code:
if (isset($_GET['filterby']))
{
$resultOrders = adminFilterQuery();
$numberOfOrders = mysql_num_rows($resultOrders);
}
else
On Nov 23, 2009, at 7:37 PM, Don Wieland wrote:
Hello,
I have a mySQL database server in Florida USA (EST) and I want to do a query
on a record in California, USA (PST) 3 hours earlier using PST instead of EST.
I would like to add to my CORE page that offset of the timezone so I can use
On Nov 3, 2009, at 11:24 AM, Kim Madsen wrote:
Hi Philip
Try to post a link to a page, that prints phpinfo()
--
Kind regards
Kim Emax
Philip Thompson wrote on 2009-11-03 17:11:
Hi all.
This seems like a trivial issue to fix, but I'm having issues. I'm
running a script via command line
Hi all.
This seems like a trivial issue to fix, but I'm having issues. I'm
running a script via command line and it's throwing out PHP notices.
Well, I want to suppress those notices. At the top of my script I have
the line...
?php
error_reporting (E_ERROR);
?
...thinking that this
On Oct 20, 2009, at 3:44 PM, Kim Madsen wrote:
Philip Thompson wrote on 2009-10-20 21:58:
I got it to draw the different background colors successfully.
However, drawing borders is not as straight forward. I'm sure I
could get it working as well... but I'd rather it work *out of the
box
On Oct 20, 2009, at 1:48 PM, Gary wrote:
NO I have not, I think my issue is I hate when I run across one, it
usually
takes me more than one try to actually figure out what the charactor
is, so
hence my disdain.
GAry
Here are some captchas:
What's three minus two?
Which word is listed
Hi all.
I'm running into a random issue where sometimes it take several
minutes (up to 10 or 15) to complete a query. According to 1 or 2
references, this may be a mysql bug. These links explain the similar
problem I'm experiencing:
http://forums.mysql.com/read.php?24,57257
On Oct 22, 2009, at 3:26 PM, Eddie Drapkin wrote:
On Thu, Oct 22, 2009 at 4:14 PM, Philip Thompson philthath...@gmail.com
wrote:
Hi all.
I'm running into a random issue where sometimes it take several
minutes (up
to 10 or 15) to complete a query. According to 1 or 2 references,
this may
On Oct 20, 2009, at 10:34 AM, resea soul wrote:
Hi,
I'm using the function file_get_contents($url). If the url is
invalid the
function displays a warning message while I am using my own customized
message. I want to get rid of the warning message.
Thank you
@file_get_contents(...)
On Oct 19, 2009, at 4:21 PM, Floyd Resler wrote:
Nope. I've never had any troubles with it. I've been able to
produce all kinds of PDFs including loan agreements, inventory pick
lists with barcodes, and various others. I find it incredibly
powerful and easy to use.
Take care,
Floyd
PM, Philip Thompson wrote:
On Oct 19, 2009, at 4:21 PM, Floyd Resler wrote:
Nope. I've never had any troubles with it. I've been able to
produce all kinds of PDFs including loan agreements, inventory
pick lists with barcodes, and various others. I find it
incredibly powerful and easy
Hi all.
I know this question has been asked a thousand times on the list, but
my searches in the archives are not being nice to me. So... please
don't kick me.
Currently, we use DOMPDF to generate PDFs from HTML. However, it's no
longer maintained and it has a few bugs that we just can
On Oct 19, 2009, at 3:52 PM, Floyd Resler wrote:
Phillip,
I use ezpdf (http://www.ros.co.nz/pdf/). I've been using it for
years and have found it very capable of making any PDF I want.
Take care,
Floyd
This one seems fairly neat. However, it appears as though the author
no longer
On Oct 12, 2009, at 2:37 PM, Andrea Giammarchi wrote:
bitwise right shift is probably the fastest cast to int so far ...
still in many languages, intval is a function call
being a cast in both cases (int) is good as well ... bitwise,
casting, works with strings, arrays, boolean, whatever
On Oct 5, 2009, at 7:42 PM, Manuel Lemos wrote:
Hello,
on 10/05/2009 03:02 PM Philip Thompson said the following:
I try to avoid the use of hidden form elements as much as possible,
especially for tracking whether a user has submitted a form or
not...
I use name=submit for the submit
On Oct 6, 2009, at 2:26 PM, MEM wrote:
Sorry all,
It's ok. The sintax:
?php echo (isset($erros['anexo']) ? 'div
class=mensagemErro'.$erros['anexo'].'/div' :''); ?
Was right all the time.
Anyway, I've learn something new: having a var with '' is not the
same thing
as not been unset. So we
On Oct 2, 2009, at 3:00 AM, Manuel Lemos wrote:
Hello,
on 10/02/2009 04:41 AM kranthi said the following:
I try to avoid the use of hidden form elements as much as possible,
especially for tracking whether a user has submitted a form or not...
I use name=submit for the submit button instead,
On Sep 29, 2009, at 5:51 PM, Jim Lucas wrote:
Philip Thompson wrote:
On Sep 29, 2009, at 4:38 PM, Jim Lucas wrote:
Philip Thompson wrote:
On Sep 28, 2009, at 4:40 PM, jeff brown wrote:
Yes, that's the best way to clean up after yourself. And you
really
should use that on anything you
On Sep 29, 2009, at 6:15 PM, Eddie Drapkin wrote:
On Tue, Sep 29, 2009 at 6:51 PM, Jim Lucas li...@cmsws.com wrote:
Philip Thompson wrote:
On Sep 29, 2009, at 4:38 PM, Jim Lucas wrote:
Philip Thompson wrote:
On Sep 28, 2009, at 4:40 PM, jeff brown wrote:
Yes, that's the best way to clean
On Sep 29, 2009, at 3:23 PM, Philip Thompson wrote:
On Sep 29, 2009, at 3:07 PM, jeff brown wrote:
Philip Thompson wrote:
On Sep 28, 2009, at 4:40 PM, jeff brown wrote:
Yes, that's the best way to clean up after yourself. And you
really should use that on anything you have sitting around
On Sep 29, 2009, at 4:38 PM, Jim Lucas wrote:
Philip Thompson wrote:
On Sep 28, 2009, at 4:40 PM, jeff brown wrote:
Yes, that's the best way to clean up after yourself. And you really
should use that on anything you have sitting around daemon like.
Jeff
Philip Thompson wrote:
On Sep 28
Hi all.
I have a script that opens a socket, creates a persistent mysql
connection, and loops to receive data. When the amount of specified
data has been received, it calls a class which processes the data and
inserts it into the database. Each iteration, I unset/destruct that
class I
On Sep 21, 2009, at 6:20 PM, Jim Lucas wrote:
Jim Lucas wrote:
Jônatas Zechim wrote:
Hi there, i've the following strings:
$string1 = 'Lorem ipsum dolor http://site.com sit amet';
$string2 = 'Lorem ipsum dolor http://www.site.com/ sit amet';
$string3 = 'Lorem ipsum dolor http://www.site.net
On Sep 23, 2009, at 9:48 AM, Dan Shirah wrote:
From reading the other responses to this thread, it seems that you
want
to
skip or exclude rows in the results where my_column === null.
If this is correct, why not do it in the SELECT statement to begin
with?
$my_query = SELECT my_column
On Sep 17, 2009, at 4:04 AM, Ashley Sheridan wrote:
On Thu, 2009-09-17 at 16:41 +0800, Shelley wrote:
Hi all,
With IE6,
After the pages i developed was loaded, there seems to be no problem,
but when you then click a link, refresh the page, etc. it shows
memory
could not be 'read' error
Hi.
During a socket read, why would all the requested number of bytes not
get sent? For example, I request 1000 bytes:
?php
$data = @socket_read ($socket, 2048, PHP_BINARY_READ);
?
This is actually in a loop, so I can get all the data if split up. So,
for example, here's how the data
On Aug 26, 2009, at 11:56 AM, Bob McConnell wrote:
From: Philip Thompson
During a socket read, why would all the requested number of bytes not
get sent? For example, I request 1000 bytes:
?php
$data = @socket_read ($socket, 2048, PHP_BINARY_READ);
?
This is actually in a loop, so I can get
On Aug 26, 2009, at 2:47 PM, Bob McConnell wrote:
From: Philip Thompson
On Aug 26, 2009, at 11:56 AM, Bob McConnell wrote:
From: Philip Thompson
During a socket read, why would all the requested number of bytes
not
get sent? For example, I request 1000 bytes:
?php
$data = @socket_read
On Jun 23, 2009, at 9:29 AM, Martin Zvarík wrote:
Don't htmlentiies() before DB save. In general:
- mysql_real_escape_string() before DB insertion
- htmlentities() before dispaly
I, on the other hand, would do htmlentities() BEFORE insertion.
Pros:
---
The text is processed once and
On Apr 29, 2009, at 11:42 AM, Matt Neimeyer wrote:
I have a function that currently takes a boolean value as a parameter.
But now I want to expand it to 3 options... So if I have...
function doFooBar($doFoo = false)
{
if($doFoo)
{ echo Did Foo; }
else
{ echo Did Bar; }
}
Is
Hi. I did some searching in the archives, but didn't quite find what I
was looking for. Maybe a few of you can assist me...
We have an application that's currently in production, but we're
constantly modifying/upgrading it. We did not do unit testing early on
because of the lack of time.
according to a certain structure...
Simon
On Mon, Apr 27, 2009 at 12:16 PM, Nathan Rixham nrix...@gmail.com
wrote:
Philip Thompson wrote:
Hi. I did some searching in the archives, but didn't quite find
what I was
looking for. Maybe a few of you can assist me...
We have an application that's
On Apr 19, 2009, at 9:43 AM, MEM wrote:
Hello, I have something like this:
$stmt = $this-_dbh-prepare(INSERT INTO DOG (name_dog, race_dog,
id_vet)
VALUES (?, ?, ?));
$stmt-bindParam(1, $this-getNameDog() );
$stmt-bindParam(2, $this-getRaceDog());
On Apr 20, 2009, at 8:48 AM, Marc Christopher Hall wrote:
Sun buys MySQL and now Oracle buys Sun (not final, yet). What will
happen
with the main db we PHP'ers have come to know and love especially
since v 5
Probably nothing. It would not behoove Oracle to get rid of or
significantly
On Apr 17, 2009, at 10:17 AM, Stefan Langwald wrote:
MySQLs own Function AES_(EN|DE)CRYPT is pretty cool for this case.
--
Stefan Langwald
We use MySQL's AES_(EN|DE)CRYPT. It's fast, easy to use and uses 128
bit encryption (optionally 256).
On Feb 19, 2009, at 10:55 AM, Jochem Maas wrote:
please keep replies on list.
Sorry!
Philip Thompson schreef:
On Feb 19, 2009, at 2:59 AM, Jochem Maas wrote:
Philip Thompson schreef:
Hi all.
What are your thoughts? Does this seem like a reasonable
implementation?
Useful
Hi all.
Maybe I'm wanting more Java-like functionality out of PHP, but I don't
really like getting and setting members directly (even for public
members) - I'd rather use accessors. This way you can control what is
getting set and what is returning. However, I also don't really want
to
In my php.ini, I have
error_reporting = E_ALL ~E_NOTICE
When I run a script from the command line, I get a lot of notices
even when I said I don't want them. Also, in my script, I specified
error_reporting(E_ERROR) in attempts to explicitly tell it what I
want. It doesn't work
On Feb 5, 2009, at 4:17 PM, Ashley Sheridan wrote:
On Thu, 2009-02-05 at 15:45 -0600, Philip Thompson wrote:
In my php.ini, I have
error_reporting = E_ALL ~E_NOTICE
When I run a script from the command line, I get a lot of notices
even when I said I don't want them. Also, in my script
On Feb 5, 2009, at 4:10 PM, Chris wrote:
Philip Thompson wrote:
In my php.ini, I have
error_reporting = E_ALL ~E_NOTICE
When I run a script from the command line, I get a lot of
notices even when I said I don't want them. Also, in my script,
I specified error_reporting(E_ERROR
On Feb 5, 2009, at 4:20 PM, Boyd, Todd M. wrote:
-Original Message-
From: Philip Thompson [mailto:philthath...@gmail.com]
Sent: Thursday, February 05, 2009 3:45 PM
To: PHP General list
Subject: [PHP] CLI not obeying php.ini
In my php.ini, I have
error_reporting = E_ALL ~E_NOTICE
Hello all.
I'm pretty new to Imagick. I'm merely attempting the examples on the
PHP site (http://php.net/manual/en/imagick.examples-1.php), but I'm
having some issues. I'm attempting the reflection of an image example
and when I attempt to:
$canvas-setImageFormat(png);
I get an error
On Jan 29, 2009, at 4:20 PM, Philip Thompson wrote:
Hello all.
I'm pretty new to Imagick. I'm merely attempting the examples on the
PHP site (http://php.net/manual/en/imagick.examples-1.php), but I'm
having some issues. I'm attempting the reflection of an image
example and when I attempt
On Jan 20, 2009, at 9:16 AM, Paul M Foster wrote:
I'd like a side check on what I'm doing to print on our internal
network.
We have an internal server/site which uses PHP code I've written to
run the business-- invoicing, A/P, inventory, etc. Some things, like
invoices and reports, need to be
2 things. In that query, you can't have a comma in your 172,800. It's
going to fail b/c 800 isn't a column name. Unless it actually is, then
you're good to go. =D Secondly, to be more user friendly, if the user
has viewed that news item, then mark it as read (take away the
new.gif). There
On Oct 14, 2008, at 6:17 PM, Jochem Maas wrote:
Nathan Rixham schreef:
Ashley Sheridan wrote:
On Tue, 2008-10-14 at 14:54 -0700, Ryan S wrote:
quite a few sites seem to have a very neat way of implementing this
with (url rewriting?) something like
http://sitename/blog/tags/tag-comes-here/
On Oct 8, 2008, at 4:13 PM, Daniel Brown wrote:
On Wed, Oct 8, 2008 at 5:09 PM, Ashley Sheridan
[EMAIL PROTECTED] wrote:
I really meant standards when I said basics. IMHO, standards are the
[snip!]
None of the list-newbies get smiley-less jokes here anymore. What
is this world coming
On Oct 3, 2008, at 12:22 PM, Jim Lucas wrote:
Maciek Sokolewicz wrote:
P.S. you are quite late with migrating, PHP 5 has been out for
several
years now
As stated in many other threads. Some people do not have a choice.
They are
not allowed to upgrade. Or, as is in many cases, the
On Oct 4, 2008, at 7:38 AM, Ashley Sheridan wrote:
On Sat, 2008-10-04 at 13:48 +0200, Nitsan Bin-Nun wrote:
It depends how much stuff you have in the first div, it there are a
lot of
images and the user will have to load them again (in case there is
no cache)
and you care for the traffic
On Sep 29, 2008, at 11:08 AM, Boyd, Todd M. wrote:
-Original Message-
From: It flance [mailto:[EMAIL PROTECTED]
Sent: Monday, September 29, 2008 11:04 AM
To: php-general@lists.php.net
Subject: [PHP] extract column from multidimentional array
Hi,
below you will find the code for a
On Sep 24, 2008, at 8:22 PM, Shelley wrote:
2008/9/25 Philip Thompson [EMAIL PROTECTED]
On Sep 24, 2008, at 7:29 AM, Maciek Sokolewicz wrote:
tedd wrote:
At 12:25 PM +0100 9/24/08, Ashley Sheridan wrote:
On Wed, 2008-09-24 at 09:20 +0800, Shelley wrote:
http://phparch.cn/index.php/php/34-php
On Sep 24, 2008, at 7:29 AM, Maciek Sokolewicz wrote:
tedd wrote:
At 12:25 PM +0100 9/24/08, Ashley Sheridan wrote:
On Wed, 2008-09-24 at 09:20 +0800, Shelley wrote:
http://phparch.cn/index.php/php/34-php-basics/202-the-data-literacy-test
The
Data Literacy Test:
On Sep 20, 2008, at 7:28 AM, Ashley Sheridan wrote:
On Fri, 2008-09-19 at 10:17 -0500, Philip Thompson wrote:
Hi all.
Let me start out by saying, I have STFW and read through the list
archives. Now that that's out of the way.
To speed up our application, we want to implement using SESSIONs
On Sep 21, 2008, at 2:24 PM, Eric Butera wrote:
On Sun, Sep 21, 2008 at 3:26 PM, Ashley Sheridan
[EMAIL PROTECTED] wrote:
On Sun, 2008-09-21 at 15:21 -0400, Eric Butera wrote:
On Sun, Sep 21, 2008 at 3:17 PM, Ashley Sheridan
[EMAIL PROTECTED] wrote:
On Sun, 2008-09-21 at 14:34 -0400, Eric
On Sep 22, 2008, at 9:24 AM, tedd wrote:
At 8:37 PM +0100 9/21/08, Stut wrote:
That's what the DocType is. It tells the browser what version of
(X)HTML you're using and therefore which tags are allowed and which
are not. It has a major effect on some browsers, and if you use the
right one
On Sep 22, 2008, at 9:52 AM, Nathan Rixham wrote:
[EMAIL PROTECTED] wrote:
Hi,
What methods do you guys use to keep a mysql table encryped, or
well atleast a major part of it. Security is very important and I
want to use a public and private key. Is GPG the only safe way?
It's hell of an
On Sep 22, 2008, at 10:29 AM, tedd wrote:
At 10:15 AM -0500 9/22/08, Philip Thompson wrote:
And br/br is just not right at all (at least for XHTML, and I
doubt for any other doctype). You can look at the DTD for XHTML and
see that br/br is not an option.
http://www.w3.org/QA/2002/04/valid
Hi all.
Let me start out by saying, I have STFW and read through the list
archives. Now that that's out of the way.
To speed up our application, we want to implement using SESSIONs in
some locations. Beforehand, on every page, we would run approximately
30-40 queries just to get the page
On Sep 19, 2008, at 9:00 AM, Nathan Rixham wrote:
Per Jessen wrote:
Thodoris wrote:
So what do you think is the best way to use crypt, mcrypt, hash or
perhaps md5 and what are really the differences because I am not
sure
if I get it right.
We use md5 for that sort of thing. /Per Jessen,
On Sep 19, 2008, at 10:54 AM, Wolf wrote:
Philip Thompson [EMAIL PROTECTED] wrote:
Hi all.
Let me start out by saying, I have STFW and read through the list
archives. Now that that's out of the way.
To speed up our application, we want to implement using SESSIONs in
some locations
On Sep 19, 2008, at 11:10 AM, Eric Butera wrote:
On Fri, Sep 19, 2008 at 12:05 PM, Philip Thompson
[EMAIL PROTECTED] wrote:
On Sep 19, 2008, at 10:54 AM, Wolf wrote:
Philip Thompson [EMAIL PROTECTED] wrote:
Hi all.
Let me start out by saying, I have STFW and read through the list
On Sep 19, 2008, at 1:12 PM, Stut wrote:
On 19 Sep 2008, at 18:47, Philip Thompson wrote:
I've narrowed it down to 10 initial queries...
1. Grab system config data (that's used in lots of places)
Does it change often? No? Then cache it in a PHP script. Use
var_export to create a file
I have more questions/responses throughout...
On Sep 19, 2008, at 1:12 PM, Stut wrote:
On 19 Sep 2008, at 18:47, Philip Thompson wrote:
I've narrowed it down to 10 initial queries...
1. Grab system config data (that's used in lots of places)
Does it change often? No? Then cache it in a PHP
On Sep 19, 2008, at 4:01 PM, Stut wrote:
On 19 Sep 2008, at 21:44, Philip Thompson wrote:
On Sep 19, 2008, at 1:12 PM, Stut wrote:
On 19 Sep 2008, at 18:47, Philip Thompson wrote:
4. Grab user privs
IMHO you should only grab these when you need them.
I will need these on most pages
On Sep 16, 2008, at 6:26 PM, tedd wrote:
At 8:11 PM +0100 9/16/08, Ashley Sheridan wrote:
Would it be totally off topic if everyone were to say what their
favourite OS was and why? I'm just a little curious as to what OS's
people use in this field.
Obviously, mine is Mac and OSX 10.4.11.
On Sep 12, 2008, at 3:13 AM, Colin Guthrie wrote:
Sancar Saran wrote:
Don't expect anything good from M$...
Oh I don't expect anything good from them, never have, never will,
[snip!]
Ok, let's not forget about the Xbox! ;)
~Philip
--
PHP General Mailing List (http://www.php.net/)
To
Hi all.
Curious. Which do you prefer and why?
?php
class Hello {
public $hi;
function __construct () {
$this-hi = 'Well Hello There!';
}
function hi () {
return $this-hi;
}
}
$hello = new Hello ();
// Access the value this way...
echo $hello-hi;
// or
On Aug 21, 2008, at 9:44 PM, Keith Spiller wrote:
Hi,
RE: Restore Leading Zeros in Zip Codes
Does anyone happen to have a script that will restore the leading
zeros in a mixed data set of 5 digit zip codes and 10 digit zip+4
codes? Any suggestions?
Thanks,
Keith
?php
$len = strlen
1 - 100 of 342 matches
Mail list logo