Fyi,
The interpretation of the score is added.
Welcome to check your programming knowledge level:
http://www.phparch.cn/index.php/php/34-php-basics/202-the-data-literacy-test
:)
--
With best regards,
Shelley Shyan
http://phparch.cn
The opposite might be true of user
code though as developers become presumptive of the compiler doing their
work for them :)
Like PHP... which does absolutely no optimizations.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Thu, 2008-09-25 at 23:17 -0700, steve wrote:
The opposite might be true of user
code though as developers become presumptive of the compiler doing their
work for them :)
Like PHP... which does absolutely no optimizations.
You must not be using an optimizer. It may not be PHP
On Fri, 2008-09-26 at 14:02 +0800, Shelley wrote:
Fyi,
The interpretation of the score is added.
Welcome to check your programming knowledge level:
http://www.phparch.cn/index.php/php/34-php-basics/202-the-data-literacy-test
:)
From the interpretation:
20–24 You are an expert
On Thu, 2008-09-25 at 23:02 -0400, Robert Cummings wrote:
On Fri, 2008-09-26 at 02:10 +0200, Jochem Maas wrote:
Ashley Sheridan schreef:
On Fri, 2008-09-26 at 01:05 +0200, Jochem Maas wrote:
tedd schreef:
At 3:44 PM -0400 9/24/08, Robert Cummings wrote:
Seems kind of silly to have
2008/9/24 Shelley [EMAIL PROTECTED]
http://phparch.cn/index.php/php/34-php-basics/202-the-data-literacy-test
The
Data Literacy Test:
http://www.phparch.cn/index.php/php/34-php-basics/202-the-data-literacy-test
--
With best regards,
Shelley Shyan
http://www.phparch.cn
WTF! Don't you
Hi,
I don't think that one is quite right... Your optionals (?) are
confusing. Why [0-3]?[0-9] AND the \d?
No reason.
Why [0-9] at all (since \d is
essentially [0-9])?
Again, no reason.
Why use the discarded capture group (?:) since the
[0-3] is already optional?
It makes it look more
Please don't top post any more. thank you.
Because it's such a cardinal sin and will result in you being sent
straight to hell. I've heard that it's not so nice there at this time
of year, though the heat is more bearable.
--
Richard Heyes
HTML5 Graphing for FF, Chrome, Opera and Safari:
Tom Chubb wrote:
2008/9/24 Shelley [EMAIL PROTECTED]
http://phparch.cn/index.php/php/34-php-basics/202-the-data-literacy-test
The
Data Literacy Test:
http://www.phparch.cn/index.php/php/34-php-basics/202-the-data-literacy-test
--
With best regards,
Shelley Shyan
http://www.phparch.cn
well said :)
Richard Heyes wrote:
Please don't top post any more. thank you.
Because it's such a cardinal sin and will result in you being sent
straight to hell. I've heard that it's not so nice there at this time
of year, though the heat is more bearable.
--
PHP General Mailing List
Richard Heyes wrote:
Hi,
I don't think that one is quite right... Your optionals (?) are
confusing. Why [0-3]?[0-9] AND the \d?
No reason.
Why [0-9] at all (since \d is
essentially [0-9])?
Again, no reason.
Why use the discarded capture group (?:) since the
[0-3] is already optional?
Thiago H. Pojda wrote:
This is slightly OT but I honestly don't know what else I can do.
I was asked to migrate a website from diff hosts. Okay, pretty easy, right?
Well, as usual, it wasn't.
Site pages content type was ISO-8559-1 and it was developed for a MySQL5
database that used latin1 as
hate to say this but why not cater for all eventualities and just use
strtotime( $whatever );
Well it just doesn't have enough geek factor...
--
Richard Heyes
HTML5 Graphing for FF, Chrome, Opera and Safari:
http://www.phpguru.org/RGraph
--
PHP General Mailing List (http://www.php.net/)
To
This may be more a general HTML question, so let me know if I should post
somewhere else.
I was hoping to do some logic in a script, and then pass the results of that
script to an iframe for more processing. Is it secure to include those
variables as get parameters to the iframe, though? In
Well it just doesn't have enough geek factor...
So true it hurts Mr Heyes
Lol.
and very nice work on the RGraph! just noticed it
in your tag - having a good read now :)
Thanks. Sad that IE8 won't (I think) support the canvas tag. Though
Chrome, Firefox, Safari and Opera do and it's in the
On Sep 26, 2008, at 7:23 AM, Richard Heyes wrote:
Well it just doesn't have enough geek factor...
So true it hurts Mr Heyes
Lol.
and very nice work on the RGraph! just noticed it
in your tag - having a good read now :)
Thanks. Sad that IE8 won't (I think) support the canvas tag. Though
At 2:02 PM +0800 9/26/08, Shelley wrote:
Fyi,
The interpretation of the score is added.
Welcome to check your programming knowledge level:
http://www.phparch.cn/index.php/php/34-php-basics/202-the-data-literacy-test
:)
The answer as I see it is 27.
While we both agree that elongated stream,
Hello everyone!
I have local dates (Belgium), which I want to convert to GMT+1 date.
The dates are stored in the DB and are of the following format: '2008-06-24
23:30:02'
So I think I'll need to check wether the date in DB is GMT+1 or GMT+2
(winter or summer),
if date is GMT+2, subtract one
On Fri, Sep 26, 2008 at 8:52 AM, debussy007 [EMAIL PROTECTED] wrote:
Hello everyone!
I have local dates (Belgium), which I want to convert to GMT+1 date.
The dates are stored in the DB and are of the following format:
'2008-06-24
23:30:02'
So I think I'll need to check wether the date
debussy007 wrote:
Hello everyone!
I have local dates (Belgium), which I want to convert to GMT+1 date.
The dates are stored in the DB and are of the following format: '2008-06-24
23:30:02'
So I think I'll need to check wether the date in DB is GMT+1 or GMT+2
(winter or summer),
if date is
On Fri, Sep 26, 2008 at 7:17 AM, Waynn Lue [EMAIL PROTECTED] wrote:
This may be more a general HTML question, so let me know if I should post
somewhere else.
I was hoping to do some logic in a script, and then pass the results of
that
script to an iframe for more processing. Is it secure
On Fri, Sep 26, 2008 at 8:52 AM, debussy007 [EMAIL PROTECTED] wrote:
Hello everyone!
I have local dates (Belgium), which I want to convert to GMT+1 date.
The dates are stored in the DB and are of the following format: '2008-06-24
23:30:02'
So I think I'll need to check wether the date in
On Sep 24, 2008, at 8:22 PM, Shelley wrote:
2008/9/25 Philip Thompson [EMAIL PROTECTED]
On Sep 24, 2008, at 7:29 AM, Maciek Sokolewicz wrote:
tedd wrote:
At 12:25 PM +0100 9/24/08, Ashley Sheridan wrote:
On Wed, 2008-09-24 at 09:20 +0800, Shelley wrote:
-Original Message-
From: Waynn Lue [mailto:[EMAIL PROTECTED]
Sent: Friday, September 26, 2008 6:17 AM
To: PHP General list
Subject: [PHP] Passing Variables to an iframe
This may be more a general HTML question, so let me know if I should
post
somewhere else.
I was hoping to do
yeah, already saw that.
2008/9/26 Philip Thompson [EMAIL PROTECTED]
On Sep 24, 2008, at 8:22 PM, Shelley wrote:
2008/9/25 Philip Thompson [EMAIL PROTECTED]
On Sep 24, 2008, at 7:29 AM, Maciek Sokolewicz wrote:
tedd wrote:
At 12:25 PM +0100 9/24/08, Ashley Sheridan wrote:
On Wed,
Waynn Lue wrote:
I was hoping to do some logic in a script, and then pass the results of that
script to an iframe for more processing.
why pass the results back to the client when your not finished
processing them? simply include the next script and only pass user the
*final* results (?)
Hello,
On Fri, Sep 26, 2008 at 9:07 AM, Daniel Jaeger wrote:
I had similar problems, I cant get the whole situation out of what you
wrote but here are two hints.
If you got SSH Access you can try to import the DB by following command
I don't have SSH access :/
Otherwise if you can't
I thought that the json extensions where in =PHP5.2. Here's my example file
and the output. What's up? Do I need to install something else.
file:
?php
echo PHP version: , phpversion(), br/;
if (function_exists('json_encode'))
echo json_encode() exists;
else
echo json_encode() doesn't
On Fri, Sep 26, 2008 at 8:50 AM, Dan Zilavy [EMAIL PROTECTED] wrote:
I thought that the json extensions where in =PHP5.2. Here's my example
file and the output. What's up? Do I need to install something else.
file:
?php
echo PHP version: , phpversion(), br/;
if
Am 2008-09-24 10:59:18, schrieb Richard Heyes:
Hi,
As a follow up, I've just switched from Paypal to Google Checkout.
Setup was quick and pain free (easily less than 2 hours), and I would
recommend it (so far). Like other people have said though, it's just
UK and USA at the moment.
Googly
Am 2008-09-21 14:34:18, schrieb Eric Butera:
Cute, get gmail and you won't have such problems.
I can not use gmail by law...
I am mot willing to share my self informations with the NSA/CIA or any
other US American Organizations, lso I am spamed masively by gmail and
googlemail and will never
Am 2008-09-21 15:21:51, schrieb Eric Butera:
I could also always bcc replies to you so you get three. How great
would that be? :D
I could setup a botnet and subscribe you to 100.000 usenet groups...
Thanks, Greetings and nice Day/Evening
Michelle Konzack
Systemadministrator
24V
On Thu, Sep 25, 2008 at 3:25 PM, Michelle Konzack
[EMAIL PROTECTED] wrote:
There is not a singel advantage @Google except your finacial outing
and the fact that it appears that PayPal is now selectively
choosing to up their prices and charge variable amounts per
transaction. I had
On Fri, Sep 26, 2008 at 9:19 AM, Nathan Nobbe [EMAIL PROTECTED]wrote:
did you configure w/ --disable-json ?
heres a way to run a quick test from the command line,
php -i | grep json
if that doesnt say 'enabled' on one of the lines youll have to recompile php
and not provide --disable-json to
On Thu, Sep 25, 2008 at 3:12 PM, Michelle Konzack
[EMAIL PROTECTED] wrote:
Am 2008-09-21 15:21:51, schrieb Eric Butera:
I could also always bcc replies to you so you get three. How great
would that be? :D
I could setup a botnet and subscribe you to 100.000 usenet groups...
Thanks,
On Fri, 26 Sep 2008 10:39:33 +0100, Nathan Rixham wrote:
[...]
I couldn't find any good function/script to convert all my files to UTF-8
and then I built my own. It uses iconv and works like a charm. But
unfortunately I still can't get all pages to work. I have no idea why or
how, but *some*
-Original Message-
hate to say this but why not cater for all eventualities and just use
strtotime( $whatever );
Well it just doesn't have enough geek factor...
Plus, strtotime() does non-intuitive things with some inputs...
I'd insist on at least some kind of confirmation page if
On Fri, Sep 26, 2008 at 12:03 PM, Richard Lynch [EMAIL PROTECTED] wrote:
-Original Message-
hate to say this but why not cater for all eventualities and just use
strtotime( $whatever );
Well it just doesn't have enough geek factor...
Plus, strtotime() does non-intuitive things
Eric Butera wrote:
On Fri, Sep 26, 2008 at 12:03 PM, Richard Lynch [EMAIL PROTECTED] wrote:
-Original Message-
hate to say this but why not cater for all eventualities and just use
strtotime( $whatever );
Well it just doesn't have enough geek factor...
Plus, strtotime() does
On Fri, Sep 26, 2008 at 12:23 PM, Nathan Rixham [EMAIL PROTECTED] wrote:
Eric Butera wrote:
On Fri, Sep 26, 2008 at 12:03 PM, Richard Lynch [EMAIL PROTECTED] wrote:
-Original Message-
hate to say this but why not cater for all eventualities and just use
strtotime( $whatever );
Googly Checkout can not be use in over 80 countries...
Googly? Sure sounds cuter... But regardless, it can be used in two,
and I'm in one of them.
There is not a singel advantage @Google except your finacial outing
Financial outing? Do you mean their commission? 89 pence compared with
over £2
On Fri, Sep 26, 2008 at 12:38 PM, Richard Heyes [EMAIL PROTECTED] wrote:
Googly Checkout can not be use in over 80 countries...
Googly? Sure sounds cuter... But regardless, it can be used in two,
and I'm in one of them.
There is not a singel advantage @Google except your finacial outing
On Fri, Sep 26, 2008 at 12:47 PM, Dan Joseph [EMAIL PROTECTED] wrote:
There is also the side that no one has mentioned... Offering all payment
methods that would appeal to your customers. PayPal or Google Checkout
being better is really a relative statement. If you have demands from your
Hello everybody,
I have a mysql result set that I want to print out in an html table.
But some times it gets so big that I will probably need to separate it
in to multiple ones. I wrote a function that separates the result set
into three ones like this:
function
Sorry to bother you all, I just did the whole process again using only
phpmyadmin and notepad++ (yes, I'm under windows) I could import the
database successfully. The whole thing was converted to UTF8.
@Richard:
I'm using both, META and header. I didn't know IE6 had issues with header(),
Thodoris wrote:
Hello everybody,
I have a mysql result set that I want to print out in an html table.
But some times it gets so big that I will probably need to separate it
in to multiple ones. I wrote a function that separates the result set
into three ones like this:
...
But I really
On Fri, Sep 26, 2008 at 12:54 PM, Daniel Brown [EMAIL PROTECTED] wrote:
Yes, that's correct, Other Dan, that is something I do.
Same here. I have Visa/MC, Discover, Amex, PayPal, and Google Checkout.
I'll add Revolution Money Exchange when the demand tools are there.
Also, in the
On Wed, Sep 24, 2008 at 6:20 PM, Ashley Sheridan
[EMAIL PROTECTED]wrote:
On Wed, 2008-09-24 at 16:59 -0400, James wrote:
On Wed, September 24, 2008 2:53 pm, Tiji varghese wrote:
Hi all,
I want to show '.ppt' (Power Point) files on my web page either as a
flash
Hi forum
I try install library GD on Centos 5
I download the gd-2.0.35.tar with the next sentece
./configure --prefix=/usr/local --with=/usr/local --with-jpeg=/usr/local
make
make install
Here all ok.
And next install the php-5.2.6
./configure (... n parameter...) --with-gd=/usr/local/lib
Thodoris wrote:
Hello everybody,
I have a mysql result set that I want to print out in an html
table. But some times it gets so big that I will probably need to
separate it in to multiple ones. I wrote a function that separates
the result set into three ones like this:
...
But I
Might I suggest you count the fields and divide it by the cols you want to
display?
Example:
$forest = mysql_query(SELECT * FROM your_table);
$gump = mysql_num_fields($forest);
Because I know my table contains 15 rows I can do this.
$tulip = floor($gump /5);
I know how many fields to display
Might I suggest you count the fields and divide it by the cols you want to
display?
Example
$forest = mysql_query(SELECT * FROM your_table);
$gump = mysql_num_fields($forest);
Because I know my table contains 15 rows I can do this.
$tulip = floor($gump /5);
I know how many fields to display
On Fri, 2008-09-26 at 13:50 -0400, [EMAIL PROTECTED] wrote:
Might I suggest you count the fields and divide it by the cols you want to
display?
Example
$forest = mysql_query(SELECT * FROM your_table);
$gump = mysql_num_fields($forest);
Because I know my table contains 15 rows I can do
The json extension is included as default if the debug option is enabled, but
the json extension isn't included if the debug option is disabled. Bummer!
- Original Message
From: Nathan Nobbe [EMAIL PROTECTED]
To: Dan Zilavy [EMAIL PROTECTED]
Cc: php-general@lists.php.net
Sent:
Anybody can see it and change it.
All user input, which always includes GET/POST/COOKIE data is always
untrustworthy.
-Original Message-
From: Waynn Lue [mailto:[EMAIL PROTECTED]
Sent: Friday, September 26, 2008 6:17 AM
To: PHP General list
Subject: [PHP] Passing Variables to an
On Fri, Sep 26, 2008 at 11:00 AM, Dan Zilavy [EMAIL PROTECTED] wrote:
The json extension is included as default if the debug option is enabled, but
the json extension isn't included if the debug option is disabled. Bummer!
i don't use debug and it is there just fine. are you -sure- there's
With debug enable php -m shows json present and without debug json isn't. BTW,
I'm on FreeBSD 7.0 if that makes a difference.
- Original Message
From: mike [EMAIL PROTECTED]
To: Dan Zilavy [EMAIL PROTECTED]
Cc: php-general@lists.php.net
Sent: Friday, September 26, 2008 12:12:47 PM
I rebuild again without debug and now it's working. Go figure! Thanks for the
help all.
- Original Message
From: mike [EMAIL PROTECTED]
To: Dan Zilavy [EMAIL PROTECTED]
Cc: php-general@lists.php.net
Sent: Friday, September 26, 2008 12:12:47 PM
Subject: Re: [PHP] JSON in PHP5?
On
On Fri, 2008-09-26 at 13:50 -0400, [EMAIL PROTECTED] wrote:
Might I suggest you count the fields and divide it by the cols you want to display?
Example
$forest = mysql_query(SELECT * FROM your_table);
$gump = mysql_num_fields($forest);
First of all the problem is with the rows not
With debug enable php -m shows json present and without debug json isn't. BTW,
I'm on FreeBSD 7.0 if that makes a difference.
- Original Message
From: mike [EMAIL PROTECTED]
To: Dan Zilavy [EMAIL PROTECTED]
Cc: php-general@lists.php.net
Sent: Friday, September 26, 2008 12:12:47 PM
On Fri, 2008-09-26 at 21:23 +0300, Thodoris wrote:
On Fri, 2008-09-26 at 13:50 -0400, [EMAIL PROTECTED] wrote:
Might I suggest you count the fields and divide it by the cols you want to
display?
Example
$forest = mysql_query(SELECT * FROM your_table);
$gump =
On Fri, Sep 26, 2008 at 2:41 PM, Robert Cummings [EMAIL PROTECTED] wrote:
On Fri, 2008-09-26 at 21:23 +0300, Thodoris wrote:
On Fri, 2008-09-26 at 13:50 -0400, [EMAIL PROTECTED] wrote:
Might I suggest you count the fields and divide it by the cols you want
to display?
Example
$forest
Hi,
is there any predefined function in php that allows to remove an element from
an associative array?
Thank you
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On 26 Sep 2008, at 21:15, It flance wrote:
is there any predefined function in php that allows to remove an
element from an associative array?
http://php.net/unset
unset($array['key']);
-Stut
--
http://stut.net/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
On Fri, Sep 26, 2008 at 2:41 PM, Robert Cummings [EMAIL PROTECTED] wrote:
On Fri, 2008-09-26 at 21:23 +0300, Thodoris wrote:
On Fri, 2008-09-26 at 13:50 -0400, [EMAIL PROTECTED] wrote:
Might I suggest you count the fields and divide it by the cols you want to
display?
On Fri, Sep 26, 2008 at 4:43 PM, Thodoris [EMAIL PROTECTED] wrote:
On Fri, Sep 26, 2008 at 2:41 PM, Robert Cummings [EMAIL PROTECTED]
wrote:
On Fri, 2008-09-26 at 21:23 +0300, Thodoris wrote:
On Fri, 2008-09-26 at 13:50 -0400, [EMAIL PROTECTED] wrote:
Might I suggest you count the
Ah, that makes sense. Given all the input on this thread, I'll see if I can
get sessions do what I want.
Thanks!
Waynn
On Fri, 2008-09-26 at 14:41 -0400, Robert Cummings wrote:
On Fri, 2008-09-26 at 21:23 +0300, Thodoris wrote:
On Fri, 2008-09-26 at 13:50 -0400, [EMAIL PROTECTED] wrote:
Might I suggest you count the fields and divide it by the cols you want
to display?
Example
$forest =
Actually, I think the author meant that you already read through those books
and learned those terms,
rather than mean that you are cheating on the test.
As the author recommended you read the books listed below if you are not an
expert yet.
Those recommended books are also added on the
2008/9/26 tedd [EMAIL PROTECTED]
At 2:02 PM +0800 9/26/08, Shelley wrote:
Fyi,
The interpretation of the score is added.
Welcome to check your programming knowledge level:
http://www.phparch.cn/index.php/php/34-php-basics/202-the-data-literacy-test
:)
The answer as I see it is 27.
On Sat, 2008-09-27 at 13:02 +0800, Shelley wrote:
Actually, I think the author meant that you already read through those books
and learned those terms,
rather than mean that you are cheating on the test.
As the author recommended you read the books listed below if you are not an
expert yet.
71 matches
Mail list logo