2012/4/1 Simon
>
> Another thing that's possible in .NET is the Singleton design pattern.
> (Application variables are an implementation of this pattern)
>
> This makes it possible to instantiate a static class so that a single
> instance of the object is available to all threads (ie requests) acr
On Mon, Apr 2, 2012 at 12:20 AM, tamouse mailing lists
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 Mailing List (http://w
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
On Sun, Apr 1, 2012 at 10:52 PM, Ron Piggott
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( $row['image_3'] );
> $image_
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] = strips
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?
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++; /
On Sun, Apr 1, 2012 at 11:03 PM, Karl James 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
>
> The database t
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
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 how
On Sat, Mar 31, 2012 at 6:36 AM, Maciek Sokolewicz
wrote:
> On 31-03-2012 10:29, tamouse mailing lists wrote:
>>
>> On Sat, Mar 31, 2012 at 1:45 AM, saeed ahmed
>> wrote:
>>>
>>> i have made a php script with a tutorial helpi dont know where is a
>>> error.please have a look
>>
>>
>> Before y
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
On Sun, Apr 1, 2012 at 6:10 PM, Lester Caine 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 I'm man
On Apr 1, 2012 12:11 PM, "Lester Caine" 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 I'm manually h
>
> On 1 April 2012 13:52, Simon wrote:
>
>>
>>
>> On 31 March 2012 20:44, Stuart Dallas wrote:
>>
>>> On 31 Mar 2012, at 13:14, Simon wrote:
>>>
>>> > Thanks again Stuart.
>>> >
>>> > On 31 March 2012 12:50, Stuart Dallas wrote:
>>> >> On 31 March 2012 11:19, Simon wrote:
>>> >> Thanks for you
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 entry
On 31 Mar 2012 at 16:14, Leandro Dardini 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?
>
> Being really in
17 matches
Mail list logo