It does?! I got it for something around $100 if I remember right. I
don't remember you specifying that it had to be free either.
On Jun 27, 2007, at 11:10 AM, Tijnema wrote:
On 6/27/07, Dan <[EMAIL PROTECTED]> wrote:
Check out Delphi for PHP by Borland, this does pretty much what
you're
Greg Beaver wrote:
brian wrote:
PHP 5.1.4 on Fedora 2
I recieved a note from a client about a problem with their site today.
Looking at the error log, i found that the DB connection script that's
included into any other that needs it was throwing an error because
MDB2.php couldn't be found:
F
brian wrote:
> PHP 5.1.4 on Fedora 2
>
> I recieved a note from a client about a problem with their site today.
> Looking at the error log, i found that the DB connection script that's
> included into any other that needs it was throwing an error because
> MDB2.php couldn't be found:
>
> Failed o
Shekar Iyer wrote:
>
> How can one find the bit-size of the system on which PHP
> is running. php_uname() does not return bit type
>
> Thanks
> Shekar
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
For instance, say you have
PHP 5.1.4 on Fedora 2
I recieved a note from a client about a problem with their site today.
Looking at the error log, i found that the DB connection script that's
included into any other that needs it was throwing an error because
MDB2.php couldn't be found:
Failed opening required 'MDB2.ph
This isn't exactly what was asked for but when I TA'd the principles
of programming languages course, an assignment I gave was to write a
simple poker game in Haskell. If anyone's interested here's the sample
solution I gave:
http://smokinn.tengun.net/comp348/poker.hs
It's all console based of c
Hi all,
Just wanting to pick your collective brains on this one:
How do you go about implementing a swear / bad-word filter in PHP?
Reasons for needing one aside, I'm just wondering if you favour a
regexp, a substr_count, or what? Do you like to *** out the bad words,
or just error back to the u
Anyone using or know the status of the FreeMovie PHP toolkit?
Seems like development stopped in 2004...
David
> You can better check it through phpinfo(), because it might be changed
> through httpd.conf or maybe you're looking at the wrong php.ini...
> Just to be sure :)
>
> Tijnema
> --
safe_mode entry shows it is put Off and opendbase_dir shows "no value" in
phpinfo(). Confirmed I have only one php.ini
Shekar Iyer wrote:
>
> In other words, How do I find if the system on which
> PHP is running is 32-bit or 64-bit programmatically?
>
echo 'This is a ', is_int(2147483647 + 1) ? 64 : 32 , ' bit box';
HTH
--
View this message in context:
http://www.nabble.com/Bit-size-of-machine-tf3989360.ht
On 6/27/07, Dan <[EMAIL PROTECTED]> wrote:
Check out Delphi for PHP by Borland, this does pretty much what you're
looking for.
- Dan
Uhm, Delphi for PHP costs €259,00, I was looking for something free ;)
Tijnema
"Tijnema" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> On 6/27
Jochem Maas wrote:
Stut wrote:
Shekar Iyer wrote:
How can one find the bit-size of the system on which PHP
is running. php_uname() does not return bit type
A bit is a bit is a bit. It's not a different size on different systems.
ho ho ho stut :-)
I think he's looking for the 'word' size of
Check out Delphi for PHP by Borland, this does pretty much what you're
looking for.
- Dan
"Tijnema" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
On 6/27/07, Jochem Maas <[EMAIL PROTECTED]> wrote:
Tijnema wrote:
> On 6/27/07, Jochem Maas <[EMAIL PROTECTED]> wrote:
>> Tijnema wr
On 6/27/07, Gowranga <[EMAIL PROTECTED]> wrote:
>>From the PHP docs:
>
> CURLOPT_FOLLOWLOCATION (integer)
> This constant is not available when opendbase_dir or safe_mode
> are enabled.
>
> Do you have openbase_dir or safe_mode on?
>
> Cheers,
> Rob.
> --
Thanks Robert, for your mai
Shekar Iyer wrote:
> How can one find the bit-size of the system on which PHP
> is running. php_uname() does not return bit type
...also this might be of help: getrandmax()
>
> Thanks
> Shekar
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub
Stut wrote:
> Shekar Iyer wrote:
>> How can one find the bit-size of the system on which PHP
>> is running. php_uname() does not return bit type
>
> A bit is a bit is a bit. It's not a different size on different systems.
ho ho ho stut :-)
I think he's looking for the 'word' size of the CPU (32
In other words, How do I find if the system on which
PHP is running is 32-bit or 64-bit programmatically?
""Shekar Iyer"" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> How can one find the bit-size of the system on which PHP
> is running. php_uname() does not return bit type
>
>
Shekar Iyer wrote:
How can one find the bit-size of the system on which PHP
is running. php_uname() does not return bit type
A bit is a bit is a bit. It's not a different size on different systems.
-Stut
--
http://stut.net/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, v
How can one find the bit-size of the system on which PHP
is running. php_uname() does not return bit type
Thanks
Shekar
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
>>From the PHP docs:
>
> CURLOPT_FOLLOWLOCATION (integer)
> This constant is not available when opendbase_dir or safe_mode
> are enabled.
>
> Do you have openbase_dir or safe_mode on?
>
> Cheers,
> Rob.
> --
Thanks Robert, for your mail. Both these settings are Off in my php.ini file.
On 6/27/07, Daniel Brown <[EMAIL PROTECTED]> wrote:
Hooray! I started a thread that's been able to get beyond 40
posts, and it's not a flame war of wit or a CAPTCHA discussion.
haha, the CAPTCHA discussions were nice :)
This may be a bit nested and obscure, but it's actually a quote we
Hooray! I started a thread that's been able to get beyond 40
posts, and it's not a flame war of wit or a CAPTCHA discussion.
This may be a bit nested and obscure, but it's actually a quote we
see on the list quite often and I get a kick out of it each time I
see it.
> window.txt');
On Wed, 2007-06-27 at 16:01 +0100, Stut wrote:
> Robert Cummings wrote:
> > On Wed, 2007-06-27 at 09:52 -0500, Jay Blanchard wrote:
> >> Ignoring the extra $ and moving on... I would code it like this...
> >>
> >> function think(&$i)
> >> {
> >> $i = 'am';
> >> }
> >>
> >> If I call think, the
On Wed, 2007-06-27 at 09:37 -0500, Jay Blanchard wrote:
> [snip]
> Just noticed something else though... what function does $return
> contain? >:)
> [/snip]
>
> A typo. What else did you notice?
Well since you've asked... the braces are all wrong, they should be
vertically aligned *ducks and fle
[snip]
Just noticed something else though... what function does $return
contain? >:)
[/snip]
A typo. What else did you notice?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
[snip]
>
> function think($i) {
> TRUE == $i ? 'self-aware' : 'cow';
> $return($i);
$return($i); ?? You sure about that one?
[/snip]
*applause* We have a thinker here ladies and gentlemen! OK Stut, for the
$10,000 bonuswhat should you return here and what is the least
amount of
On Wed, 2007-06-27 at 10:28 -0400, Robert Cummings wrote:
> On Wed, 2007-06-27 at 09:25 -0500, Jay Blanchard wrote:
> > [snip]
> > >
> > function think($i) {
> > TRUE == $i ? 'self-aware' : 'cow';
> > $return($x);
> > }
> >
> > ?>
> > [/snip]
> >
> > Ooops, typo;
> > >
> > function t
Robert Cummings wrote:
On Wed, 2007-06-27 at 09:52 -0500, Jay Blanchard wrote:
Ignoring the extra $ and moving on... I would code it like this...
function think(&$i)
{
$i = 'am';
}
If I call think, then I am thinking, therefore $i should become 'am'.
If you return 'am' rather than changi
On Wed, 2007-06-27 at 09:52 -0500, Jay Blanchard wrote:
>
> Ignoring the extra $ and moving on... I would code it like this...
>
> function think(&$i)
> {
> $i = 'am';
> }
>
> If I call think, then I am thinking, therefore $i should become 'am'.
>
> If you return 'am' rather than changing $
Jay Blanchard wrote:
[snip]
[snip]
$return($i); ?? You sure about that one?
[/snip]
*applause* We have a thinker here ladies and gentlemen! OK Stut, for
the
$10,000 bonuswhat should you return here and what is the least
amount of code you can do it in?
I'm not sure here, but are you
Jay Blanchard wrote:
[snip]
[snip]
$return($i); ?? You sure about that one?
[/snip]
*applause* We have a thinker here ladies and gentlemen! OK Stut, for
the
$10,000 bonuswhat should you return here and what is the least
amount of code you can do it in?
I'm not sure here, but are you
Ryan,
if you want to port the java code to php it wouldnt be very difficult since
this code doesnt rely heavily on much besides core language constructs.
really you could just save it as a php file and start making changes where
needed; it wouldnt take too long to port.
as for the compilation iss
[snip]
> [snip]
>> >
>> function think($i) {
>> TRUE == $i ? 'self-aware' : 'cow';
>> $return($i);
>
> $return($i); ?? You sure about that one?
> [/snip]
>
> *applause* We have a thinker here ladies and gentlemen! OK Stut, for
the
> $10,000 bonuswhat should you return here and what
[snip]
Well since you've asked... the braces are all wrong, they should be
vertically aligned *ducks and flees*
[/snip]
They were when I sent it.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Jay Blanchard wrote:
[snip]
$return($i); ?? You sure about that one?
[/snip]
*applause* We have a thinker here ladies and gentlemen! OK Stut, for the
$10,000 bonuswhat should you return here and what is the least
amount of code you can do it in?
I'm not sure here, but are you being sar
[snip]
>
> function think($i) {
> TRUE == $i ? 'self-aware' : 'cow';
> $return($x);
> }
>
> ?>
I'd hazard a guess at "I think therefore I am", but looking at it it
seems more like...
If I think then I'm self-aware otherwise I'm a cow, but regardless
of my thinking I'm nothing.
Jay Blanchard wrote:
[snip]
?>
[/snip]
Ooops, typo;
$return($i); ?? You sure about that one?
-Stut
--
http://stut.net/
}
?>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
PHP General Mailing List (http://www.php.net/)
To un
On Wed, 2007-06-27 at 09:25 -0500, Jay Blanchard wrote:
> [snip]
>
> function think($i) {
> TRUE == $i ? 'self-aware' : 'cow';
> $return($x);
> }
>
> ?>
> [/snip]
>
> Ooops, typo;
>
> function think($i) {
> TRUE == $i ? 'self-aware' : 'cow';
> $return($i);
> }
>
> ?>
On Wed, 2007-06-27 at 09:21 -0500, Jay Blanchard wrote:
> [snip]
> I like this one:
>
> for ($i = "an"; $i=="an"; );
>
> ?>
> [/snip]
>
> Wow, that is a stumper. Here is another, should be quite simple;
>
>
> function think($i) {
> TRUE == $i ? 'self-aware' : 'cow';
> $return($x)
[snip]
[/snip]
Ooops, typo;
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Wednesday 27 June 2007 06:32, Edward Vermillion wrote:
> Most /tmp directories are world rwx. So anyone that can log into the
> server through a shell, or any account running on the server, has at
> least read access to anything in the /tmp directory. They wouldn't
> need to do it through a web
[snip]
I like this one:
[/snip]
Wow, that is a stumper. Here is another, should be quite simple;
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Wed, 2007-06-27 at 14:33 +0100, Colin Guthrie wrote:
> Daniel Brown wrote:
> >What the hell? Why not start a thread that can be fun and
> > challenging for all of us. It's something I haven't seen done
> > anywhere else yet, but I wouldn't be surprised if it has been. Let's
> > put togeth
Daniel Brown wrote:
>What the hell? Why not start a thread that can be fun and
> challenging for all of us. It's something I haven't seen done
> anywhere else yet, but I wouldn't be surprised if it has been. Let's
> put together some names, phrases, and other stuff expressed as PHP
> code an
On 6/27/07, Stephen <[EMAIL PROTECTED]> wrote:
Tijnema <[EMAIL PROTECTED]> wrote:
Well, I find this a very interesting thing ;)
I have played quite a lot poker, and I still play it sometimes, and
this doesn't seems too hard for me :)
My approach would be this:
1) Deal cards, rand(1,13) for the
On Wed, 2007-06-27 at 10:10 +0100, David Restall - System Administrator
wrote:
>
> Probably a more accurate solution would be :-
>
> function x()
> {
> static $count = 0;
> $count++;
> switch ($count % 3)
> {
> case 0:
> case 2: return 'shy';
>
>
On Wed, 2007-06-27 at 16:33 +0530, Gowranga wrote:
> Hello,
>
> I have the following installed on a Redhat ES4 system:
>
> curl 7.12.1 (i686-redhat-linux-gnu) libcurl/7.12.1 OpenSSL/0.9.7a
> zlib/1.2.1.2 libidn/0.5.6
> Protocols: ftp gopher telnet dict ldap http file https ftps
> Features: GSS-Ne
On Wed, 2007-06-27 at 09:26 +0100, Colin Guthrie wrote:
> Robert Cummings wrote:
> > On Tue, 2007-06-26 at 17:00 -0700, Eric Newberry wrote:
> >> I think I have to answer to this one: 'If at first you don't succeed try,
> >> try again'.
> >
> > Here's another one...
> >
> > >
> > $x = rand
Tijnema <[EMAIL PROTECTED]> wrote: Well, I find this a very interesting thing
;)
I have played quite a lot poker, and I still play it sometimes, and
this doesn't seems too hard for me :)
My approach would be this:
1) Deal cards, rand(1,13) for the numbers(1-> Ace, 11->Jack,
12->Queen, 13->King)
[EMAIL PROTECTED] wrote:
hello,
i wrote a small RSS reader using file_get_contents to get the XML from
the URI - however i noticed that this does not leave trace (User Agent)
in the remote server logs.
is there a way in PHP to get XML from URI and leave UA trace in the
remote server logs?
Paul Scott <[EMAIL PROTECTED]> wrote:
On Wed, 2007-06-27 at 14:17 +0200, Tijnema wrote:
> Not too hard to program right?
As long as you keep on assuming that you are playing with infinite decks
of cards, and not marking cards as dealt as you deal.
--Paul
Hey Paul,
Actually, I have already f
On 6/27/07, Paul Scott <[EMAIL PROTECTED]> wrote:
On Wed, 2007-06-27 at 14:17 +0200, Tijnema wrote:
> Not too hard to program right?
As long as you keep on assuming that you are playing with infinite decks
of cards, and not marking cards as dealt as you deal.
--Paul
Hmm, good point I just fo
On Wed, 2007-06-27 at 14:17 +0200, Tijnema wrote:
> Not too hard to program right?
As long as you keep on assuming that you are playing with infinite decks
of cards, and not marking cards as dealt as you deal.
--Paul
All Email originating from UWC is covered by disclaimer
http://www.uwc.ac.za/
On 6/27/07, Jochem Maas <[EMAIL PROTECTED]> wrote:
Tijnema wrote:
> On 6/27/07, Jochem Maas <[EMAIL PROTECTED]> wrote:
>> Tijnema wrote:
>> > Hello all!
>> >
>> > I was wondering if there is some kind of extension available that does
>> > the same as PHP-GTK, Winbinder, etc. but not for the CLI b
On 6/27/07, Ryan A <[EMAIL PROTECTED]> wrote:
<...>
Tijnema, thanks for giving it a go...
Sorry it didnt compile,with my limited (and old) rusty knowledge of java 1.1 i
couldnt make out too much and i dont have any java server to run this on to
check it.
I pretty much left Java years back once
hello,
i wrote a small RSS reader using file_get_contents to get the XML from
the URI - however i noticed that this does not leave trace (User Agent)
in the remote server logs.
is there a way in PHP to get XML from URI and leave UA trace in the
remote server logs?
thanks,
iv
--
PHP Genera
Tijnema wrote:
> On 6/27/07, Jochem Maas <[EMAIL PROTECTED]> wrote:
>> Tijnema wrote:
>> > Hello all!
>> >
>> > I was wondering if there is some kind of extension available that does
>> > the same as PHP-GTK, Winbinder, etc. but not for the CLI but for the
>> > web? Something that will look like Ey
Hey all!
So you expect PHP ppl to do your job and test a JAVA class to tell u
if it's worth porting it to php?
Nice thoughts...
Andy... why be a moron?
I just wanted someone with java knowledge to have a look at the code and see if
it ran properly.. something that should take an experienced
On 6/27/07, Jochem Maas <[EMAIL PROTECTED]> wrote:
Tijnema wrote:
> Hello all!
>
> I was wondering if there is some kind of extension available that does
> the same as PHP-GTK, Winbinder, etc. but not for the CLI but for the
> web? Something that will look like EyeOS [1].
>
> Tijnema
>
> [1] http
Tijnema wrote:
> Hello all!
>
> I was wondering if there is some kind of extension available that does
> the same as PHP-GTK, Winbinder, etc. but not for the CLI but for the
> web? Something that will look like EyeOS [1].
EyeOS is php.
>
> Tijnema
>
> [1] http://demo.eyeos.org/
--
PHP Genera
Hello all!
I was wondering if there is some kind of extension available that does
the same as PHP-GTK, Winbinder, etc. but not for the CLI but for the
web? Something that will look like EyeOS [1].
Tijnema
[1] http://demo.eyeos.org/
--
Vote for PHP Color Coding in Gmail! -> http://gpcc.tijnema.i
On 6/27/07, Ryan A <[EMAIL PROTECTED]> wrote:
Hey all!
Was looking at trying some stuff with php and p oker (texas hold'em).
After searching the net for some clues as to how i can do this, i came accross the class
on the php classes site (but that codes to bruteforce-ish) so continued looking
So you expect PHP ppl to do your job and test a JAVA class to tell u
if it's worth porting it to php?
Nice thoughts...
Andy
Ryan A wrote:
> Hey all!
>
> Was looking at trying some stuff with php and p oker (texas hold'em).
>
> After searching the net for some clues as to how i can do
Hello,
I have the following installed on a Redhat ES4 system:
curl 7.12.1 (i686-redhat-linux-gnu) libcurl/7.12.1 OpenSSL/0.9.7a
zlib/1.2.1.2 libidn/0.5.6
Protocols: ftp gopher telnet dict ldap http file https ftps
Features: GSS-Negotiate IDN IPv6 Largefile NTLM SSL libz
Server version: Apache/2.
Hey all!
Was looking at trying some stuff with php and p oker (texas hold'em).
After searching the net for some clues as to how i can do this, i came accross
the class on the php classes site (but that codes to bruteforce-ish) so
continued looking and came accross some valuable suggestions on h
Daniel Brown wrote:
>What the hell? Why not start a thread that can be fun and
... here's a easy one:
interface Currency {}
interface Employee {}
class Peanut implements Currency {}
class Primate implements Employee {}
abstract class HeadHunter {
static function match(Currency $c) {
Stut wrote:
> Surely this should be...
>
> function x()
> {
> static $count = 0;
> $count++;
> switch ($count)
> {
> case 1: return 'bitten';
> case 2: return 'shy';
> }
> return '';
> }
:p
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
David Restall - System Administrator wrote:
Hi,
Colin Guthrie wrote:
Daniel Brown wrote:
What the hell? Why not start a thread that can be fun and
challenging for all of us. It's something I haven't seen done
Here's another quickie: Dead simple one!
Surely this should be...
function
Hi,
> Colin Guthrie wrote:
> > Daniel Brown wrote:
> >>What the hell? Why not start a thread that can be fun and
> >> challenging for all of us. It's something I haven't seen done
> >
> > Here's another quickie: Dead simple one!
> >
> > >
> > function x($x)
> > {
> > switch ($x)
> >
Colin Guthrie wrote:
Daniel Brown wrote:
What the hell? Why not start a thread that can be fun and
challenging for all of us. It's something I haven't seen done
Here's another quickie: Dead simple one!
Surely this should be...
function x()
{
static $count = 0;
$count++;
sw
Robert Cummings wrote:
> On Tue, 2007-06-26 at 17:00 -0700, Eric Newberry wrote:
>> I think I have to answer to this one: 'If at first you don't succeed try,
>> try again'.
>
> Here's another one...
>
>
> $x = rand( 1, 20 );
> for( $i = 0; $i < $x; $i++ );
> while( --$i > 0
LOL, a penny saved is a penny earned
--
Regards,
Clive.
Real Time Travel Connections
{No electrons were harmed in the creation, transmission or reading of
this email. However, many were excited and some may well have enjoyed
the experience.}
--
PHP General Mailing List (http://www.php.
72 matches
Mail list logo