php-general Digest 1 Apr 2012 11:56:20 -0000 Issue 7755

2012-04-01 Thread php-general-digest-help
php-general Digest 1 Apr 2012 11:56:20 - Issue 7755 Topics (messages 317396 through 317403): Re: Watch out for automatic type casting 317396 by: Maciek Sokolewicz Websocket using php 317397 by: Leandro Dardini 317401 by: Matijn Woudt 317403 by: Tim Streater

php-general Digest 2 Apr 2012 02:25:33 -0000 Issue 7756

2012-04-01 Thread php-general-digest-help
php-general Digest 2 Apr 2012 02:25:33 - Issue 7756 Topics (messages 317404 through 317409): Command line has no network access 317404 by: Lester Caine 317406 by: David OBrien 317407 by: Matijn Woudt 317408 by: Lester Caine Re: Could apc_fetch return a

Re: [PHP] Websocket using php

2012-04-01 Thread Tim Streater
On 31 Mar 2012 at 16:14, Leandro Dardini ldard...@gmail.com wrote: Hello, I have the need to use websockets for the server part of an application I am developing and I found with a big surprise no websocket class or procedure is available on the net. Have I missed looking in some place?

[PHP] Command line has no network access

2012-04-01 Thread Lester Caine
OK I probably know how to do this 10 years ago, but I'm not finding any prompts to remind me. Windows 2000, PHP5.2.10 cli ... I'm trying to set up a simple dump to run from scheduler. The code runs perfectly via the browser so I'm manually having to log in each day to run it. I've got an

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

2012-04-01 Thread Simon
On 1 April 2012 13:52, Simon slg...@gmail.com wrote: On 31 March 2012 20:44, Stuart Dallas stu...@3ft9.com wrote: On 31 Mar 2012, at 13:14, Simon wrote: Thanks again Stuart. On 31 March 2012 12:50, Stuart Dallas stu...@3ft9.com wrote: On 31 March 2012 11:19, Simon slg...@gmail.com

Re: [PHP] Command line has no network access

2012-04-01 Thread David OBrien
On Apr 1, 2012 12:11 PM, Lester Caine les...@lsces.co.uk wrote: OK I probably know how to do this 10 years ago, but I'm not finding any prompts to remind me. Windows 2000, PHP5.2.10 cli ... I'm trying to set up a simple dump to run from scheduler. The code runs perfectly via the browser so

Re: [PHP] Command line has no network access

2012-04-01 Thread Matijn Woudt
On Sun, Apr 1, 2012 at 6:10 PM, Lester Caine les...@lsces.co.uk wrote: OK I probably know how to do this 10 years ago, but I'm not finding any prompts to remind me. Windows 2000, PHP5.2.10 cli ... I'm trying to set up a simple dump to run from scheduler. The code runs perfectly via the

Re: [PHP] Command line has no network access

2012-04-01 Thread Lester Caine
Matijn Woudt wrote: This is usually because of security settings. You might want to check under which user the scheduler starts the php script. Runs as administrator, it's on a secure internal network so it's not locked down. There aren't any other users on the machine anyway. wget has solved

Re: [PHP] whats wrong

2012-04-01 Thread tamouse mailing lists
On Sat, Mar 31, 2012 at 6:36 AM, Maciek Sokolewicz maciek.sokolew...@gmail.com wrote: On 31-03-2012 10:29, tamouse mailing lists wrote: On Sat, Mar 31, 2012 at 1:45 AM, saeed ahmedmycomputerbo...@gmail.com  wrote: i have made a php script with a tutorial helpi dont know where is a

[PHP] Variable representation

2012-04-01 Thread Ron Piggott
Hi Everyone: I am assigning the value of 4 images to variables following a database query: $image_1 = stripslashes( $row['image_1'] ); $image_2 = stripslashes( $row['image_2'] ); $image_3 = stripslashes( $row['image_3'] ); $image_4 = stripslashes( $row['image_4'] ); What I need help with is

[PHP] PHP ISSUE!!!

2012-04-01 Thread Karl James
Is anyone online at the moment. I need help with a phpmyadmin table issue. I get a critical error when I try to upload images From the web portal admin page. I can send you a screen shot and allow you access to The database to help out. Some have told me this is A Auto_increment issue, but

Re: [PHP] PHP ISSUE!!!

2012-04-01 Thread tamouse mailing lists
On Sun, Apr 1, 2012 at 11:03 PM, Karl James karlja...@tampabay.rr.com wrote: Is anyone online at the moment. I need help with a phpmyadmin table issue. I get a critical error when I try to upload images From the web portal admin page. I can send you a screen shot and allow you access to

Re: [PHP] Variable representation

2012-04-01 Thread Adam Randall
It would better to just use an array, and then iterate through that. $images[] = stripslashes( $row['image_1'] ); $images[] = stripslashes( $row['image_2'] ); $images[] = stripslashes( $row['image_3'] ); $images[] = stripslashes( $row['image_4'] ); foreach( $images as $k = $v ) { $k++;

Re: [PHP] Variable representation

2012-04-01 Thread Mihamina Rakotomandimby
On 04/02/2012 06:52 AM, Ron Piggott wrote: $image_1 = stripslashes( $row['image_1'] ); $image_2 = stripslashes( $row['image_2'] ); $image_3 = stripslashes( $row['image_3'] ); $image_4 = stripslashes( $row['image_4'] ); [...] (Not all 4 variables have an image.) How is it meant in the database?

Re: [PHP] Variable representation

2012-04-01 Thread Mihamina Rakotomandimby
On 04/02/2012 07:46 AM, Adam Randall wrote: $images[] = stripslashes( $row['image_1'] ); $images[] = stripslashes( $row['image_2'] ); $images[] = stripslashes( $row['image_3'] ); $images[] = stripslashes( $row['image_4'] ); $images[1] = stripslashes( $row['image_1'] ); $images[2] =

Re: [PHP] Variable representation

2012-04-01 Thread tamouse mailing lists
On Sun, Apr 1, 2012 at 10:52 PM, Ron Piggott ron.pigg...@actsministries.org wrote: Hi Everyone: I am assigning the value of 4 images to variables following a database query: $image_1 = stripslashes( $row['image_1'] ); $image_2 = stripslashes( $row['image_2'] ); $image_3 = stripslashes(

Re: [PHP] Variable representation

2012-04-01 Thread tamouse mailing lists
Ugh, gmail mangled the code there. Here's a pastebin of the response which is better formatted: http://pastie.org/3712761 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Variable representation

2012-04-01 Thread tamouse mailing lists
On Mon, Apr 2, 2012 at 12:20 AM, tamouse mailing lists tamouse.li...@gmail.com wrote: Ugh, gmail mangled the code there. Here's a pastebin of the response which is better formatted: http://pastie.org/3712761 Sweet. I spent so long on my reply, two others snuck in before me. :) -- PHP General