e browser, the output has no such
"FreeType Support"!
So imagettfbbox() does not exist.
Somebody could offer some suggestions??
Thank you veery much.
--
With best regards,
Shelley Shyan
http://phparch.cn
ch problem.
Anybody knows how to fix this problem?
Any help is appreciated & thanks in advance.
--
With best regards,
Shelley Shyan
http://php42.com
http://phparch.cn
On Wed, Nov 5, 2008 at 10:13 PM, Boyd, Todd M. <[EMAIL PROTECTED]> wrote:
> > -Original Message-
> > From: Shelley [mailto:[EMAIL PROTECTED]
> > Sent: Wednesday, November 05, 2008 4:19 AM
> > To: Aschwin Wesselius
> > Cc: php List
> > Subject: Re
yes, saw that.
but that's not what I wanted. :)
On Wed, Nov 5, 2008 at 6:04 PM, Aschwin Wesselius <[EMAIL PROTECTED]>wrote:
> Shelley wrote:
>
> Hi all,
>
> Do you know how to generate the screenshot of some URL with PHP?
>
> Fyi,
> should work under linux
Hi all,
Do you know how to generate the screenshot of some URL with PHP?
Fyi,
should work under linux environment.
Thanks in advance.
--
With best regards,
Shelley Shyan
http://phparch.cn
as going to say "what's wrong with that?", but then remembered that
> I use them too...
>
> --
> Richard Heyes
>
> HTML5 Graphing for FF, Chrome, Opera and Safari:
> http://www.rgraph.org
>
--
With best regards,
Shelley Shyan
http://phparch.cn
and the URL has
> PHP
> > in it...
> > >
> > > ;)
> > >
> > > Wolf
> > >
> >
> > I think the PHP part of the URL was added by the mailing list. Short of
> > that, I think it's just some schmuck trying to boost his/her SEO
> > ranking.
> >
> >
> > Ash
> > www.ashleysheridan.co.uk
> >
>
--
With best regards,
Shelley Shyan
http://phparch.cn
2008/9/28 tedd <[EMAIL PROTECTED]>
> At 1:06 PM +0800 9/27/08, Shelley wrote:
>
>> 2008/9/26 tedd <<mailto:[EMAIL PROTECTED]>[EMAIL PROTECTED]>
>> there are three that you apparently don't know.
>>
>> ??? What is "three", excuse me?
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-basic
interpretation page for your
reference.
2008/9/26 Robert Cummings <[EMAIL PROTECTED]>
> 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:
> >
>
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
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
lay_errors', true);
>
> to the top of your script.
>
> Any errors/notices/warnings?
>
> --
> Postgresql & php tutorials
> http://www.designmagick.com/
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
With best regards,
Shelley Shyan
http://phparch.cn
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:
>>
<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
Hi all,
Is there any way to auto load a class without using __autoload() function?
As I want to load some classes under different paths, and that caused
redeclare of __autoload function.
Any suggestions appreciated.
--
With best regards,
Shelley Shyan
http://phparch.cn
各位好.
XHTML 移动概要 (XHTML MP) / WAP 2.0 教程:
http://www.phparch.cn/index.php/web/66-mobile/188
正在编写中,已完成部分已加链接。
欢迎大家多提意见或建议并留下你的想法供大家交流。
谢谢。
--
With best regards,
Shelley Shyan
http://phparch.cn
ttp://talk.cmyweb.net/
> Follow me: http://twitter.com/shiplu
>
--
With best regards,
Shelley Shyan
http://phparch.cn
that size.
>
> Thank you friends,
>
> kind regards,
>
> Sascha
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
With best regards,
Shelley Shyan
http://phparch.cn
deas and I will totally try eclipse.
>>
>> Hi,
> PHPed is nice
>
> Regards
>
> Carlos
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
With best regards,
Shelley Shyan
http://phparch.cn
ет, чтобы его выпустили.
>-- Сирил Коннолли
> [fortune]
>
--
With best regards,
Shelley Shyan
http://phparch.cn
Hi all,
Is there any difference between int(1) and int(11) when creating a table?
I checked the mysql manual and got that 1 and 11 are used to specify the
display width of an column.
Is there any other difference?
Any ideas appreciated.
Thx.
--
With best regards,
Shelley Shyan
http
splay correctly, you must use '&'
>
> Thank you,
> Micah Gersten
> onShore Networks
> Internal Developer
> http://www.onshore.com
>
>
>
> Shelley wrote:
> > Hi Richard,
> >
> > Not exactly actually.
> >
> > What I mean is:
>
> - strtr() will work for you. Or str_replace().
>
> --
> Richard Heyes
> http://www.phpguru.org
>
--
Regards,
Shelley
Hi all,
How can I make a string with & (NOT &, >, < or "), <, > xml
compatible?
What is the expression to use?
Thank you very much.
--
Regards,
Shelley
Well, as I said the cookies are disabled at the clients.
Anybody any opinions?
On Tue, Jul 15, 2008 at 7:23 PM, Thijs Lensselink <[EMAIL PROTECTED]> wrote:
> Quoting Shelley <[EMAIL PROTECTED]>:
>
> Hi all,
>>
>> What is your way to organize user login without
Sorry, should be "with Client Cookies being disabled" :)
On Tue, Jul 15, 2008 at 6:24 PM, Shelley <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> What is your way to organize user login without Client Cookies being
> disabled?
>
> Sample code will be appre
Hi all,
What is your way to organize user login without Client Cookies being
disabled?
Sample code will be appreciated.
Waiting for your reply...
--
Regards,
Shelley
t;
> Take a look at date() and time().
>
>
> /Per Jessen, Zürich
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
Regards,
Shelley
http://phparch.cn
Shelley
On Thu, Jun 12, 2008 at 3:01 PM, Iv Ray <[EMAIL PROTECTED]> wrote:
> Shelley wrote:
>
>> Probably you have noticed this:
>> The classes in a package are reused together. If you reuse one of the
>> classes in a package, you reuse them all.
>> If that's the
On Wed, Jun 11, 2008 at 12:02 PM, Larry Garfield <[EMAIL PROTECTED]>
wrote:
> On Tuesday 10 June 2008, Shelley wrote:
> > Hi all,
> >
> > If you are designing with OO principles, could you give an explanation of
> > what is the difference classes and packages?
ever be perfect, but you will become better. ;)
>
> Iv
>
> --
>
Thank you any way.
--
Regards,
Shelley
all.
but few explains the difference between them.
When I was summarizing the OO principles, that question confused me:
http://phparch.cn/index.php/php/43-php-advanced-programming/170-principles-of-object-oriented-design
Thanks in advance. :)
--
Regards,
Shelley
dge? or try to play it?? in that
> case you can't.
> i think you should get the streamming and try to play it with flash
>
> saludos
>
> On Thu, May 29, 2008 at 4:05 AM, Shelley <[EMAIL PROTECTED]> wrote:
> > 1. URL
> > http://pub.qmoon.net/WMSStatus/WMS.a
o stream with PHP?
Anybody some suggestions?
Thank you in advance.
--
Regards,
Shelley
n Cambridge? Employ me
>http://www.phpguru.org/cv
>
> +----+
> | Access SSH with a Windows mapped drive |
> |http://www.phpguru.org/sftpdrive|
> ++
>
--
Regards,
Shelley
Hi all,
Just a question, I want to replace some Chinese characters with
preg_replace().
But it does not work.
The string is
$str = 'test<<你好>>http://www.phparch.cn/ 完成';
The ideal output is :
testhttp://www.phparch.cn";>你好 完成
Any suggestion will be greatly appreciated.
--
Regards,
Shelley
Yea, of course.
On Tue, May 20, 2008 at 5:44 PM, jose javier parra sanchez <
[EMAIL PROTECTED]> wrote:
> Do you know that php runs on the server and that javascript runs on the
> client ?
>
> 2008/5/20 Shelley <[EMAIL PROTECTED]>:
> > Hi all,
> >
> > How
use the script tag in PHP
>
> Its like
>
>
> type="text\javascript"/>
>
> <script language=javascript>
> Funcyion()
>
>
>
>
> This works
>
> Chetan Dattaram Rane
> Software Engineer
>
>
>
> -Original Message
Hi all,
How can I call a javascript method inside PHP?
That is:
Suppose there is a js file: http://someurl/somejs.js
There are some js methods in that js file,
I want to include that js into PHP and call its methods.
Is it possible?
If it is, how?
Thank you very much.
--
Regards,
Shelley
Yeah, you are right, friend. Because users' input should be in tag
only.
On Wed, May 14, 2008 at 11:06 PM, Robert Cummings <[EMAIL PROTECTED]>
wrote:
>
> On Wed, 2008-05-14 at 18:50 +0800, Shelley wrote:
> > Thank you all.
> > I have made it working excellent fo
Thank you all.
I have made it working excellent for me now.
The solution is here: http://phparch.cn
On Tue, May 13, 2008 at 1:34 PM, Robert Cummings <[EMAIL PROTECTED]>
wrote:
>
> On Tue, 2008-05-13 at 01:27 -0400, Robert Cummings wrote:
> > On Tue, 2008-05-13 at 12:28 +0
to use SimpleXML unless there is a real need for DOM,
> and
> in that case most likey, you can get away w/ converting to DOM at runtime
> (again very little cost there) and doing a few operations, then carrying
> on
> w/ SimpleXML.
>
> -nathan
>
--
Regards,
Shelley
Maybe I didn't use that tidy correctly.
I don't want html, head, body things. Just parsed string.
On Tue, May 13, 2008 at 12:00 PM, Robert Cummings <[EMAIL PROTECTED]>
wrote:
>
> On Tue, 2008-05-13 at 11:34 +0800, Shelley wrote:
> > Hi all,
> >
> > T
html tags like table, tr, td, div, dt, dl, dd,
script, ul,
li, span, h1, h2, etc. are nested correctly. If any tags not matched, just
remove them.
Any suggection is greatly appreciated.
--
Regards,
Shelley
Hi all,
If I have an array like this:
$arr = array (
'c' => 'd',
'e' => 'f');
How can I convert this array into a string? I want to write an array into a
file.
Thanks in advance.
--
Regards,
Shelley
dividual may exclusively possess as long as he keeps it to
> himself; but the moment it is divulged, it forces itself into the
> possession
> of every one, and the receiver cannot dispossess himself of it." --
> Thomas
> Jefferson
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
Regards,
Shelley
On Wed, Apr 30, 2008 at 7:03 PM, Aschwin Wesselius <[EMAIL PROTECTED]>
wrote:
> Shelley wrote:
>
> Don't index just all integer fields. Keep track of the cardinality of a
> column. If you expect a field to have 100.000 records, but with only 500
> distinct values it
On Wed, Apr 30, 2008 at 5:14 PM, Aschwin Wesselius <[EMAIL PROTECTED]>
wrote:
> Shelley wrote:
>
> > Hi all,
> >
> > I am currently responsible for a subscription module and need to design
> > the
> > DB tables and write code.
> >
> > I
time the table will hold millions of records.
So the query and index optimization is very important.
Any suggestion will be greatly appreciated.
--
Regards,
Shelley
On Mon, 2008-03-31 at 17:05 -0700, mike wrote:
On Mon, 2008-03-31 at 21:08 -0400, Robert Cummings wrote:
On Tue, 2008-04-01 at 10:06 +0800, Shelley wrote:
:-(
On Tue, Apr 1, 2008 at 10:37 AM, Robert Cummings <[EMAIL PROTECTED]>
wrote:
>
> On Tue, 2008-04-01 at 10:06 +0800, S
s probably April Fool's in Australia.
>
> Cheers,
> Rob.
> --
> http://www.interjinn.com
> Application and Templating Framework for PHP
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
Regards,
Shelley ( Professional PHP Architecture || http://phparch.cn )
nual/en/install.windows.php
>
> ~Philip
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
Regards,
Shelley
Sorry. I won't. :(
On Thu, Mar 20, 2008 at 11:01 PM, Daniel Brown <[EMAIL PROTECTED]> wrote:
> On Thu, Mar 20, 2008 at 2:32 AM, Shelley <[EMAIL PROTECTED]> wrote:
> > Hi all,
> >
> > Here is the Xupload progress bar link:
> > http://www.sibs
Hi all,
Here is the Xupload progress bar link:
http://www.sibsoft.net/xupload.html
My question is:
Will the upload progress bar like that add too much weight to the Apache
server, especially to a server with millions of visitors each day?
Thanks in advance.
--
Regards,
Shelley ( PHP
/phparch.cn/index.php/mysql/35-MySQL-programming/126-fastest-way-to-get-total-records-from-a-table
--
Regards,
Shelley ( PHP Architecture: http://phparch.cn )
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
w in set (0.85 sec)
mysql> select count(1) from article;
+--+
| count(1) |
+--+
| 1065868 |
+--+
1 row in set (0.81 sec)
Seems that count(1) is always not a bad answer.
So, I determined to choose count(1).
Thank you all for your replies.
--
Regards,
Shelley ( PHP Archite
from table1;
+--+
| count(1) |
+--+
| 20795139 |
+--+
1 row in set (56.67 sec)
count(1) wins.
--
Regards,
Shelley ( PHP Architecture: http://phparch.cn )
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi all,
What do you think is the FASTEST sql to get the total number of a table
with millions of records?
--
Regards,
Shelley (http://phparch.cn)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ubject: Re: [PHP] PHP & Ajax progress bar
Quoting Shelley <[EMAIL PROTECTED]>:
Hi all,
I'm searching some file upload progress bar code.
But no good result was found. :(
So is there anybody please be kind enough to show some code here?
Great thanks.
--
Regard,
Shelley (http://phpa
Hi all,
I'm searching some file upload progress bar code.
But no good result was found. :(
So is there anybody please be kind enough to show some code here?
Great thanks.
--
Regard,
Shelley (http://phparch.cn)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Daniel Brown wrote:
On Fri, Feb 29, 2008 at 5:22 AM, Shelley <[EMAIL PROTECTED]> wrote:
Hi all,
What's the command to use if I want to remove all the directories and
files except 'a.gz' under a directory?
There isn't a "command" in PHP to do
Hi all,
Anybody knows what apache RewriteRule to use if I want url:
http://www.aaa.comm/user//
be rewritten as:
http://www.aaa.comm/user/index.php//
It is not a php question. But now Im not in apache list and it's a
little hurry.
Any help, thank you very much.
--
Cheers,
Sh
Hi all,
What's the command to use if I want to remove all the directories and
files except 'a.gz' under a directory?
Thanks in advance.
Regards,
Shelley
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Wolf wrote:
skylark wrote:
Hi guys,
Relex a little on the topic "What design patterns do you usually use".
Choose the ones you use often at: http:// phparch [dot] cn
And this will answer that question, isn't it?
Those options are the ones that we often use. If there is any option
needed
to b
Hi all,
What do you think is the best way to display string 'abcdef' as 'fedcba'?
Any ideas appreciated.
Thanks in advance.
--
Regards,
Shelley
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Nathan Nobbe wrote:
On Wed, Feb 27, 2008 at 11:54 PM, Shelley <[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>> wrote:
Nathan Nobbe wrote:
> On Wed, Feb 27, 2008 at 11:45 PM, Shelley <[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>
> <mailto:[EMAIL PROTE
Nathan Nobbe wrote:
On Wed, Feb 27, 2008 at 11:45 PM, Shelley <[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>> wrote:
Really? What I know is there are 70 questions.
But Im interested in how many right answers you should make to
pass the exam. :-)
well im sure you can se
Nathan Nobbe wrote:
On Wed, Feb 27, 2008 at 10:31 PM, Shelley <[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>> wrote:
Greetings all,
Im just need some guidance of how to prepare for the ZCE exam.
Is there somebody passed the exam? Any help infor is highly
appreciat
Greetings all,
Im just need some guidance of how to prepare for the ZCE exam.
Is there somebody passed the exam? Any help infor is highly appreciated.
Thanks in advance.
--
Regards,
Shelley
Greetings all,
Im just need some guidance of how to prepare for the ZCE exam.
Is there somebody passed the exam? Any help infor is highly appreciated.
Thanks in advance.
--
Regards,
Shelley
One solution I can think of is:
$showCode = highlight_file($fileWithPath, true);
echo str_replace('', "\n", $showCode);
It may not be the best one. But it's not recommanded to use
echo wordwrap($showCode, 70);
Because you may break into something like
X
Regards,
Shelley
-Original Message-
From: Eric Butera [mailto:[EMAIL PROTECTED]
Sent: Saturday, January 19, 2008 12:03 AM
To: Jochem Maas
Cc: php-general@lists.php.net
Subject: Re: [PHP] A stupid question?
On Jan 18, 2008 10:49 AM, Jochem Maas <[EMAIL PROTECTED]> wrote:
&g
Hi all,
Maybe this is a somehow stupid question.
I want to know how php could know whether session_start() has been called, that
is, whether session has been started.
I Googled, but got little help.
Thank you for help!
Any tip is greatly appreciated.
Regards,
Shelley
no problem once you have managed mssql.
It talks to sql server 2005/2000 quite well.
Regards,
Shelley
-Original Message-
From: Alexis [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 09, 2008 6:07 AM
To: php-general@lists.php.net
Subject: [PHP] MSSQL
Hi,
I am pulling my hair out try
Richard is right.
If you want to get where __FILE__ is exactly in, __FILE__ is the option.
Else, use $_SERVER['PHP_SELF']. (And this should be what you expected)
Regards,
Shelley
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Christoph
Hi all,
How could I convert a hex msg to ascii msg?
Is there a php function or sth?
Thanks.
Regards,
Shelley
Hi all,
It may not be a php question, but I want to get the filename lists that a
.tar.gz file contains and give it to an array.
How can I manage that?
Thank you very much for your consideration.
Regards,
Shelley
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http
nd
1. Any user input should be escaped before they went to database.
You can use htmlentities(), addslashes(), strip_tags(), etc...
2. You can encapsule those functions in a function, and use it for each user
input.
3. No sure. Probably they do.
Anybody any ideas?
Regards,
Sh
It has, but you should install them manually...
Try help-> Software updates -> Find and install...
Regards,
Shelley
-Original Message-
From: Peter Ford [mailto:[EMAIL PROTECTED]
Sent: Monday, November 12, 2007 5:24 PM
To: php-general@lists.php.net
Subject: Re: [PHP] PHP ide?
I often see that it uses .afm files, can it use .ttf format files?
If yes, how to?
Thank you very much.
Regards,
Shelley
-Original Message-
From: George Pitcher [mailto:[EMAIL PROTECTED]
Sent: Friday, November 09, 2007 3:38 PM
To: Shelley Shyan; php-general@lists.php.net
Subject: RE
Hi all,
I want to create a pdf file with several fonts. Which tool is better, pdflib,
ezpdf, ?
Any suggestions?
Regards,
Shelley
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Zend Studio or
PHPEd
Regards,
Shelley
-Original Message-
From: Hulf [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 08, 2007 6:02 PM
To: php-general@lists.php.net
Subject: [PHP] PHP ide?
Just wondering if anyone uses an IDE and if so what ones?
Ta,
H.
--
PHP General Mailing List
83 matches
Mail list logo