Re: [PHP] Could apc_fetch return a pointer to data in shared memory ?

2012-04-02 Thread Simon
On 2 April 2012 22:25, Stuart Dallas wrote: > On 2 Apr 2012, at 15:37, Simon wrote: > > > On 2 April 2012 14:27, Stuart Dallas wrote: > >> On 2 Apr 2012, at 14:12, Simon wrote: > >> > >> > Thanks Maciek > >> > > >> > On 2 April 2012 10:37, Maciek Sokolewicz >wrote: > >> > > >> >> On 02-04-2012

Re: [PHP] Adding Rows In PHPMYADMIN

2012-04-02 Thread Tommy Pham
On Mon, Apr 2, 2012 at 5:46 PM, Karl James wrote: > Hello, > > ** ** > > Hey guys, I figured out my critical error. I have a table that has a limit > of 30 rows. > > How can I add more rows to a table so that we can upload more images? > > Below is what I need to change. > > ** **

[PHP] Adding Rows In PHPMYADMIN

2012-04-02 Thread Karl James
Hello, Hey guys, I figured out my critical error. I have a table that has a limit of 30 rows. How can I add more rows to a table so that we can upload more images? Below is what I need to change. Thanks, karl Indexes:

Re: [PHP] Variable representation

2012-04-02 Thread tamouse mailing lists
On Mon, Apr 2, 2012 at 4:34 AM, Maciek Sokolewicz wrote: > Usually if you think you need to use eval: think again. In this case, it > again holds true. > > Instead of doing what you do, you can also reference the variable as: > echo ${'image_'.$i}; > or > echo $GLOBALS['image_'.$i]; > > Both are p

Re: [PHP] Could apc_fetch return a pointer to data in shared memory ?

2012-04-02 Thread Stuart Dallas
On 2 Apr 2012, at 15:37, Simon wrote: > On 2 April 2012 14:27, Stuart Dallas wrote: >> On 2 Apr 2012, at 14:12, Simon wrote: >> >> > Thanks Maciek >> > >> > On 2 April 2012 10:37, Maciek Sokolewicz >> > wrote: >> > >> >> On 02-04-2012 10:12, Simon wrote: >> >> >> >>> Thanks Simon. you got my ho

Re: [PHP] Thinking out loud - a continuation...

2012-04-02 Thread Robert Cummings
On 12-04-02 04:36 PM, Jay Blanchard wrote: [snip] function getTiersJson( $company ) { $tiers = getTiers( $company ); $json = JSON_encode( $tiers ); } $tiersJson = getTiersJson( 1 ); ?> This will output JSON with the following structure: [/snip] OK, now I know I am being dense - but

Re: [PHP] Thinking out loud - a continuation...

2012-04-02 Thread Matijn Woudt
On Mon, Apr 2, 2012 at 10:36 PM, Jay Blanchard wrote: > [snip] >>> function getTiersJson( $company ) >>> { >>>    $tiers = getTiers( $company ); >>>    $json = JSON_encode( $tiers ); >>> } >>> >>> $tiersJson = getTiersJson( 1 ); >>> >>> ?> >>> >>> This will output JSON with the following structure

Re: [PHP] Thinking out loud - a continuation...

2012-04-02 Thread Jay Blanchard
[snip] >> function getTiersJson( $company ) >> { >>$tiers = getTiers( $company ); >>$json = JSON_encode( $tiers ); >> } >> >> $tiersJson = getTiersJson( 1 ); >> >> ?> >> >> This will output JSON with the following structure: >> [/snip] OK, now I know I am being dense - but don't I have

Fwd: [PHP] Could apc_fetch return a pointer to data in shared memory ?

2012-04-02 Thread Simon
On 2 April 2012 14:27, Stuart Dallas wrote: > On 2 Apr 2012, at 14:12, Simon wrote: > > > Thanks Maciek > > > > On 2 April 2012 10:37, Maciek Sokolewicz >wrote: > > > >> On 02-04-2012 10:12, Simon wrote: > >> > >>> Thanks Simon. you got my hopes up there for a second. > >>> > >>> From the php do

[PHP] building php x64 for windows

2012-04-02 Thread 小鱼虾
I want to building php5.4 x64 for windows. I have see https://wiki.php.net/internals/windows/stepbystepbuild. but I do extensions always show wrong. Have any friend help for this? php error LNK2019 unresolved external. -- Yon.

Re: [PHP] Could apc_fetch return a pointer to data in shared memory ?

2012-04-02 Thread Stuart Dallas
On 2 Apr 2012, at 14:12, Simon wrote: > Thanks Maciek > > On 2 April 2012 10:37, Maciek Sokolewicz wrote: > >> On 02-04-2012 10:12, Simon wrote: >> >>> Thanks Simon. you got my hopes up there for a second. >>> >>> From the php docs page: >>> >>> Critics further argue that it is pointless to u

Re: [PHP] Could apc_fetch return a pointer to data in shared memory ?

2012-04-02 Thread Simon
Thanks Maciek On 2 April 2012 10:37, Maciek Sokolewicz wrote: > On 02-04-2012 10:12, Simon wrote: > >> Thanks Simon. you got my hopes up there for a second. >> >> From the php docs page: >> >> Critics further argue that it is pointless to use a Singleton in a Shared >>> >> Nothing Architecture

[PHP] Dynamic open_basedir and mod_vhost_alias

2012-04-02 Thread Alex Domoradov
Maybe anyone can point me in the right direction. I need to modify this patch http://www.phpbuilder.com/lists/php-developer-list/2000101/0994.php and replace VIRTUAL_DOCUMENT_ROOT with real path. As described in patch note - "When using mod_vhost_alias the DOCUMENT_ROOT = PATH_TRANSLATED - SCRIPT

Re: [PHP] Could apc_fetch return a pointer to data in shared memory ?

2012-04-02 Thread Maciek Sokolewicz
On 02-04-2012 10:12, Simon wrote: Thanks Simon. you got my hopes up there for a second. From the php docs page: Critics further argue that it is pointless to use a Singleton in a Shared Nothing Architecture like PHP where objects are unique>within the Request only anyways. I want the the si

Re: [PHP] Variable representation

2012-04-02 Thread Maciek Sokolewicz
On 02-04-2012 07:15, tamouse mailing lists wrote: As for doing what you originally asked, that requires doing an eval() on the statement utilizing string interpolation, like so: eval('echo "image $i is $image_' . $i . '".PHP_EOL;'); but I think that's a bit harder to read and understand what

Re: [PHP] Could apc_fetch return a pointer to data in shared memory ?

2012-04-02 Thread Simon
Thanks Simon. you got my hopes up there for a second. >From the php docs page: >Critics further argue that it is pointless to use a Singleton in a Shared Nothing Architecture like PHP where objects are unique >within the Request only anyways. I want the the singleton class to be global to the en