Re: [PHP] Happy 1234567890 day!

2009-02-13 Thread German Geek
It's not the 1234567890th day! Its the 12345Gmail - [PHP] Happy 1234567890 day! - th.he...@gmail.com 67890 second since beginning of 1970: 2009-02-14 12:31:30 is the result of $a = 1234567890;// * 60*60*24; die(date("Y-m-d H:i:s", $a)); Anyway happy 1234567890 second to all of you, although i'm

[PHP] Lightweight Picasa API v3

2009-02-13 Thread John Corry
Anyone using Cameron Hinkle's Picasa API? I'm having a bitch of a time trying to get the AuthSub methods working and would love to trade ideas if anyone is familiar. thanks, John Corry email: jco...@gmail.com

Re: [PHP] Opinions needed

2009-02-13 Thread Ashley Sheridan
On Fri, 2009-02-13 at 08:02 -0500, Al wrote: > > Rene Veerman wrote: > > Al wrote: > >> I'm scripting a light-weight, low volume signup registry for a running > >> club. Folks sign up to volunteer for events and the like. There will > >> generally be a handful of signup registries at any one ti

Re: [PHP] list all constitute group of array ?

2009-02-13 Thread Shawn McKenzie
Shawn McKenzie wrote: > Robert Cummings wrote: >> On Sat, 2009-02-14 at 07:41 +0800, LKSunny wrote: >>> >> $a = array("a", "b", "c", "d"); >>> >>> /* >>> how to list: >>> abcd >>> abc >>> ab >>> ac >>> ad >>> bcd >>> bc >>> bd >>> cd >>> a >>> b >>> c >>> d >>> >>> who have idea ? thank you very mu

Re: [PHP] list all constitute group of array ?

2009-02-13 Thread Shawn McKenzie
Robert Cummings wrote: > On Sat, 2009-02-14 at 07:41 +0800, LKSunny wrote: >> > $a = array("a", "b", "c", "d"); >> >> /* >> how to list: >> abcd >> abc >> ab >> ac >> ad >> bcd >> bc >> bd >> cd >> a >> b >> c >> d >> >> who have idea ? thank you very much !! >> */ >> ?> > > This looks like homewo

[PHP] Re: Help with MySQL

2009-02-13 Thread Shawn McKenzie
James Colannino wrote: > Hey everyone. I've been reading the list for a long time, but have only > really posted to the mailing list a few times. I just had a quick > question about MySQL. I'm not sure if this is exactly relevant to PHP, > but it is for a PHP application I'm writing, so hopefull

Re: [PHP] Happy 1234567890 day!

2009-02-13 Thread alexus
wot!!! On Fri, Feb 13, 2009 at 6:38 PM, Eric Butera wrote: > On Fri, Feb 13, 2009 at 5:13 PM, Gary Maddock-Greene > wrote: >> Note quite there yet here but yes Happy 1234567890 day to you too >> >> -- >> - Gary Maddock-Greene >> "Luke Slater" wrote in message >> news:200902131812.43295.

Re: [PHP] Help with MySQL

2009-02-13 Thread Waynn Lue
You can type "show create table " to see the datatypes. Waynn On 2/13/09, James Colannino wrote: > Hey everyone. I've been reading the list for a long time, but have only > really posted to the mailing list a few times. I just had a quick > question about MySQL. I'm not sure if this is exactl

Re: [PHP] list all constitute group of array ?

2009-02-13 Thread Robert Cummings
On Sat, 2009-02-14 at 07:41 +0800, LKSunny wrote: > $a = array("a", "b", "c", "d"); > > /* > how to list: > abcd > abc > ab > ac > ad > bcd > bc > bd > cd > a > b > c > d > > who have idea ? thank you very much !! > */ > ?> This looks like homework. Use recursion. Cheers, Rob. -- http://www.i

Re: [PHP] Happy 1234567890 day!

2009-02-13 Thread Eric Butera
On Fri, Feb 13, 2009 at 5:13 PM, Gary Maddock-Greene wrote: > Note quite there yet here but yes Happy 1234567890 day to you too > > -- > - Gary Maddock-Greene > "Luke Slater" wrote in message > news:200902131812.43295.l...@blog-thing.com... > > -- > PHP General Mailing List (http://www.php.net/)

Re: [PHP] Happy 1234567890 day!

2009-02-13 Thread Simon J Welsh
Happy 1234567890! (yes, 3.5 minutes late) On 14/02/2009, at 11:13 AM, Gary Maddock-Greene wrote: Note quite there yet here but yes Happy 1234567890 day to you too -- - Gary Maddock-Greene "Luke Slater" wrote in message news:200902131812.43295.l...@blog-thing.com ... -- PHP General Mailing

Re: [PHP] Happy 1234567890 day!

2009-02-13 Thread Don Collier
Lists wrote: :-) Donovan Is there going to be someone contacting me about my prize? :) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Help with MySQL

2009-02-13 Thread James Colannino
Hey everyone. I've been reading the list for a long time, but have only really posted to the mailing list a few times. I just had a quick question about MySQL. I'm not sure if this is exactly relevant to PHP, but it is for a PHP application I'm writing, so hopefully that makes this question

Re: [PHP] Happy 1234567890 day!

2009-02-13 Thread Gary Maddock-Greene
Note quite there yet here but yes Happy 1234567890 day to you too -- - Gary Maddock-Greene "Luke Slater" wrote in message news:200902131812.43295.l...@blog-thing.com... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Execute EXE with variables

2009-02-13 Thread Dan Shirah
> > Use the system() command, and enclose both your command and its > parameters in a pair of single quotes, as: > > system('mycmd -a alfa -b bravo'); > > Paul > -- > Paul M. Foster > Using both exec() and system() I am getting the error: Unable to fork

Re: [PHP] Execute EXE with variables

2009-02-13 Thread Paul M Foster
On Fri, Feb 13, 2009 at 02:30:38PM -0500, Dan Shirah wrote: > Hello all, > > Can someone point me in the right direction? > > I'm trying to call an EXE from PHP and pass it two variables. > > I looked at the exec() command and I see that this can call the executable, > but I don't see that it c

Re: [PHP] [PHP 5.2.8] Retrieve cookies from remote host and pass them back to client.

2009-02-13 Thread Jason Cipriani
On Fri, Feb 13, 2009 at 1:03 PM, Andrew Ballard wrote: > On Fri, Feb 13, 2009 at 12:42 PM, Jason Cipriani > wrote: >> >> I have a PHP 5.2.8 web application that needs to retrieve a resource >> from a remote URL. However, the remote host also sends a cookie back >> (in a Set-Cookie header), and I

[PHP] Execute EXE with variables

2009-02-13 Thread Dan Shirah
Hello all, Can someone point me in the right direction? I'm trying to call an EXE from PHP and pass it two variables. I looked at the exec() command and I see that this can call the executable, but I don't see that it can pass the variables to it. Dan

Re: [PHP] Happy 1234567890 day!

2009-02-13 Thread Virgilio Quilario
> http://coolepochcountdown.com/ > > On Fri, 2009-02-13 at 13:34 -0500, TG wrote: > >> http://timestamp1234567890.com/ > > > Happy cool epoch 1234567890 day! virgil http://www.jampmark.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Happy 1234567890 day!

2009-02-13 Thread Daevid Vincent
http://coolepochcountdown.com/ On Fri, 2009-02-13 at 13:34 -0500, TG wrote: > http://timestamp1234567890.com/

Re: [PHP] Happy 1234567890 day!

2009-02-13 Thread TG
http://timestamp1234567890.com/ - Original Message - From: Lists To: php-general@lists.php.net Date: Fri, 13 Feb 2009 11:33:28 -0600 Subject: [PHP] Happy 1234567890 day! > :-) > Donovan > > > -- >=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o >D. BROOKE

Re: [PHP] Happy 1234567890 day!

2009-02-13 Thread Luke Slater
On Friday 13 Feb 2009 17:39:09 Daniel Brown : > 2009/2/13 Lists : > > :-) > > > > Donovan > > To you, as well! I think it's really neat. For us in the EST > time zone, with time adjustments and such, it'll be 6:31:30p tonight. > > > > -- > > daniel.br...@parasane.net || danbr...@php.net > h

Re: [PHP] [PHP 5.2.8] Retrieve cookies from remote host and pass them back to client.

2009-02-13 Thread Andrew Ballard
On Fri, Feb 13, 2009 at 12:42 PM, Jason Cipriani wrote: > I have a PHP 5.2.8 web application that needs to retrieve a resource > from a remote URL. However, the remote host also sends a cookie back > (in a Set-Cookie header), and I need to grab that cookie and pass it > on to the client (so that i

[PHP] [PHP 5.2.8] Retrieve cookies from remote host and pass them back to client.

2009-02-13 Thread Jason Cipriani
I have a PHP 5.2.8 web application that needs to retrieve a resource from a remote URL. However, the remote host also sends a cookie back (in a Set-Cookie header), and I need to grab that cookie and pass it on to the client (so that it's stored by the client browser). I do know the name of the cook

Re: [PHP] Happy 1234567890 day!

2009-02-13 Thread Daniel Brown
2009/2/13 Lists : > :-) > Donovan To you, as well! I think it's really neat. For us in the EST time zone, with time adjustments and such, it'll be 6:31:30p tonight. -- daniel.br...@parasane.net || danbr...@php.net http://www.parasane.net/ || http://www.pilotpig.net/ Unadvertised dedicat

[PHP] Happy 1234567890 day!

2009-02-13 Thread Lists
:-) Donovan -- =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o D. BROOKE EUCA Design Center WEB:> http://www.euca.us =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/un

[PHP] Re: Simple open source CMS as a starting point

2009-02-13 Thread Shawn McKenzie
dzenan.cause...@wise-t.com wrote: > I need simple CMS sistem that I could use as a staring point (to save some > time in setting up the structure) in developing my own CMS. The code > should be simple to understand so that I can easily get on and start > building on it. It would be of great help if

Re: [PHP] Simple open source CMS as a starting point

2009-02-13 Thread Virgilio Quilario
> I need simple CMS sistem that I could use as a staring point (to save some > time in setting up the structure) in developing my own CMS. The code > should be simple to understand so that I can easily get on and start > building on it. It would be of great help if it already had features like > st

Re: [PHP] How can an elephant count for nothing?

2009-02-13 Thread Virgilio Quilario
> While PHP has a lot of nice features, it also has some traps which I am > forever falling > into. One which I find particularly hard to understand is how mixed mode > comparisons work. > For instance > > $string = 'elephant'; > If($string == 0) returns true; > If($string != 0) returns false; >

Re: [PHP] Opinions needed

2009-02-13 Thread Virgilio Quilario
> I'm scripting a light-weight, low volume signup registry for a running club. > Folks sign up to volunteer for events and the like. There will generally be > a handful of signup registries at any one time. A typical registry will only > contain 50 to 100 names. Each registry is only in existence

Re: [PHP] Re: Extract result from a https remote server response

2009-02-13 Thread Virgilio Quilario
> Sorry all, I was testing in a Windows environment. > I feel like an idiot... :) > > Thanks to all. > > -- > m a r k u s > > Bruno Fajardo wrote: >> >> Assigning the return of file_get_contents to a variable? >> Didn't get your point... >> >> 2009/2/13 m a r k u s >>> >>> Shawn McKenzie wrote: >>

Re: [PHP] APC problem with PHP

2009-02-13 Thread Virgilio Quilario
>> >> > Hmm, I'll try taking down the optimizer and seeing if it segfaults or >> > not. If that's what it is it's a crying shame that apc and >> > zend_optimizer can't get along. >> >> >> maybe give eaccelerator a shot, i believe theyve got an optimizer in there. >> im not sure how it stacks up to

Re: [PHP] [Fwd] How to make a secured login form

2009-02-13 Thread Virgilio Quilario
> I have secured the login form for my CMS with a challenge-response thing > that encrypts both username and password with the > (login-attempts-counted) challenge (and; here's my problem: a system > hash) sent by the server (it would end up in your html as a hidden > inputs, or as part of a json t

Re: [PHP] Opinions needed

2009-02-13 Thread Al
Rene Veerman wrote: Al wrote: I'm scripting a light-weight, low volume signup registry for a running club. Folks sign up to volunteer for events and the like. There will generally be a handful of signup registries at any one time. A typical registry will only contain 50 to 100 names. Each

Re: [PHP] Re: Extract result from a https remote server response

2009-02-13 Thread m a r k u s
Sorry all, I was testing in a Windows environment. I feel like an idiot... :) Thanks to all. -- m a r k u s Bruno Fajardo wrote: Assigning the return of file_get_contents to a variable? Didn't get your point... 2009/2/13 m a r k u s Shawn McKenzie wrote: Shawn McKenzie wrote: m a r k u s

Re: [PHP] Opinions needed

2009-02-13 Thread Rene Veerman
Al wrote: I'm scripting a light-weight, low volume signup registry for a running club. Folks sign up to volunteer for events and the like. There will generally be a handful of signup registries at any one time. A typical registry will only contain 50 to 100 names. Each registry is only in ex

[PHP] [Fwd] How to make a secured login form

2009-02-13 Thread Rene Veerman
Hi, I'm cross-posting this (from jquery-en js mailinglist) because it's something that i think is relevant for this list too.. You can ignore the jQuery in it, since all the jquery calls can be replaced with document.getElementById(). I have secured the login form for my CMS with a challe

Re: [PHP] Re: Extract result from a https remote server response

2009-02-13 Thread Bruno Fajardo
Assigning the return of file_get_contents to a variable? Didn't get your point... 2009/2/13 m a r k u s > > Shawn McKenzie wrote: >> >> Shawn McKenzie wrote: >>> >>> m a r k u s wrote: Hi all, Example : https://www.moneybookers.com/app/email_check.pl?email=t...@toto.com&

[PHP] Re: Extract result from a https remote server response

2009-02-13 Thread m a r k u s
Shawn McKenzie wrote: Shawn McKenzie wrote: m a r k u s wrote: Hi all, Example : https://www.moneybookers.com/app/email_check.pl?email=t...@toto.com&cust_id=123546&password=123 The MB server response displayed is : Illegal operation. We would like to put the result below in a php variable an

[PHP] Re: Extract result from a https remote server response

2009-02-13 Thread m a r k u s
Shawn McKenzie wrote: m a r k u s wrote: Hi all, Example : https://www.moneybookers.com/app/email_check.pl?email=t...@toto.com&cust_id=123546&password=123 The MB server response displayed is : Illegal operation. We would like to put the result below in a php variable and process it . An idea

Re: [PHP] How can an elephant count for nothing?

2009-02-13 Thread Yeti
I guess the main reason for PHP to behave like this is to make life easier for many everyday situations. EXAMPLE: User input via GET or POST - usually string You compare it to some value - int/string or whatever So if a user posts '17' (string) and you compare it to 17 (int), unless you are using

Re: [PHP] fork/spawnzombie question

2009-02-13 Thread Per Jessen
bruce wrote: > Hi Nathan/Torok... > > Hey guys... got a bit of a question. > > I'm playing around with the php/for/pcntl_exec functions and I've got > a process that spawns off a bunch of child processes. Unfortunately, > I'm getting to where I have 100's of zombie child processes that I can > s

Re: [PHP] Opinions needed

2009-02-13 Thread Per Jessen
Al wrote: > I'm scripting a light-weight, low volume signup registry for a running > club. Folks sign up to volunteer for events and the like. There will > generally be a handful of signup registries at any one time. A typical > registry will only contain 50 to 100 names. Each registry is only i