[PHP] function exists in command line but not in browser

2010-07-19 Thread Shelley
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

[PHP] ie6 "memory could not be read" help!

2009-09-17 Thread Shelley
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

Re: [PHP] PHP screenshot capture code needed

2008-11-05 Thread Shelley
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

Re: [PHP] PHP screenshot capture code needed

2008-11-05 Thread Shelley
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

[PHP] PHP screenshot capture code needed

2008-11-05 Thread Shelley
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

Re: [PHP] Microsoft China to Punish private windows users

2008-10-16 Thread Shelley
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

Re: [PHP] Microsoft China to Punish private windows users

2008-10-15 Thread Shelley
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

Re: [PHP] The Data Literacy Test: Interpretation Added

2008-09-27 Thread Shelley
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?

Re: [PHP] The Data Literacy Test: Interpretation Added

2008-09-26 Thread Shelley
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

Re: [PHP] The Data Literacy Test: Interpretation Added

2008-09-26 Thread Shelley
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: > > >

Re: [PHP] The Data Literacy Test

2008-09-26 Thread Shelley
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

[PHP] The Data Literacy Test: Interpretation Added

2008-09-25 Thread Shelley
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

Re: [PHP] Wierd Variable Initialization

2008-09-24 Thread Shelley
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

Re: [PHP] The Data Literacy Test

2008-09-24 Thread Shelley
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: >>

[PHP] The Data Literacy Test

2008-09-23 Thread Shelley
<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

[PHP] __autoload alternative

2008-09-22 Thread Shelley
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

[PHP] XHTML 移动概要 (XHTML MP) / WAP 2.0 教程

2008-09-18 Thread Shelley
各位好. XHTML 移动概要 (XHTML MP) / WAP 2.0 教程: http://www.phparch.cn/index.php/web/66-mobile/188 正在编写中,已完成部分已加链接。 欢迎大家多提意见或建议并留下你的想法供大家交流。 谢谢。 -- With best regards, Shelley Shyan http://phparch.cn

Re: [PHP] how to write good code

2008-09-01 Thread Shelley
ttp://talk.cmyweb.net/ > Follow me: http://twitter.com/shiplu > -- With best regards, Shelley Shyan http://phparch.cn

Re: [PHP] PHP IDE needed

2008-08-28 Thread Shelley
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

Re: [PHP] PHP editor for linux

2008-08-27 Thread Shelley
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

Re: [PHP] Re: PHP editor for linux

2008-08-24 Thread Shelley
ет, чтобы его выпустили. >-- Сирил Коннолли > [fortune] > -- With best regards, Shelley Shyan http://phparch.cn

[PHP] int(1) and int(11)

2008-08-24 Thread Shelley
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

Re: [PHP] Regular Expression help need

2008-07-25 Thread Shelley
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: >

Re: [PHP] Regular Expression help need

2008-07-25 Thread Shelley
> - strtr() will work for you. Or str_replace(). > > -- > Richard Heyes > http://www.phpguru.org > -- Regards, Shelley

[PHP] Regular Expression help need

2008-07-25 Thread 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

Re: [PHP] Login without cookies enabled help

2008-07-15 Thread 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

[PHP] Re: Login without cookies enabled help

2008-07-15 Thread Shelley
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

[PHP] Login without cookies enabled help

2008-07-15 Thread Shelley
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

Re: [PHP] to get time

2008-07-09 Thread 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

Re: [PHP] class? package?

2008-06-12 Thread 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

Re: [PHP] class? package?

2008-06-12 Thread Shelley
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?

Re: [PHP] class? package?

2008-06-10 Thread Shelley
ever be perfect, but you will become better. ;) > > Iv > > -- > Thank you any way. -- Regards, Shelley

[PHP] class? package?

2008-06-10 Thread 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

Re: [PHP] Help mms (Get audio Stream)

2008-05-29 Thread 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

[PHP] Help mms (Get audio Stream)

2008-05-29 Thread Shelley
o stream with PHP? Anybody some suggestions? Thank you in advance. -- Regards, Shelley

Re: [PHP] Help preg_replace with Non-English character

2008-05-22 Thread Shelley
n Cambridge? Employ me >http://www.phpguru.org/cv > > +----+ > | Access SSH with a Windows mapped drive | > |http://www.phpguru.org/sftpdrive| > ++ > -- Regards, Shelley

[PHP] Help preg_replace with Non-English character

2008-05-22 Thread 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

Re: [PHP] Help Call Javascript Methods Inside PHP

2008-05-20 Thread 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

Re: [PHP] Help Call Javascript Methods Inside PHP

2008-05-20 Thread Shelley
use the script tag in PHP > > Its like > > > type="text\javascript"/> > > <script language=javascript> > Funcyion() > > > > > This works > > Chetan Dattaram Rane > Software Engineer > > > > -Original Message

[PHP] Help Call Javascript Methods Inside PHP

2008-05-20 Thread Shelley
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

Re: [PHP] Good HTML parser needed

2008-05-14 Thread 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

Re: [PHP] Good HTML parser needed

2008-05-14 Thread Shelley
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

Re: [PHP] Good XML Parser

2008-05-14 Thread Shelley
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

Re: [PHP] Good HTML parser needed

2008-05-12 Thread 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

[PHP] Good HTML parser needed

2008-05-12 Thread Shelley
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

[PHP] Get array as string --Help

2008-05-09 Thread 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

Re: [PHP] Best practices for using MySQL index

2008-04-30 Thread 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

Re: [PHP] Best practices for using MySQL index

2008-04-30 Thread 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

Re: [PHP] Best practices for using MySQL index

2008-04-30 Thread Shelley
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

[PHP] Best practices for using MySQL index

2008-04-29 Thread Shelley
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

Re: [PHP] MS purchase Yahoo

2008-03-31 Thread 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

Re: [PHP] MS purchase Yahoo

2008-03-31 Thread Shelley
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 )

Re: [PHP] How to install PHP 5.x on Windows Server 2000 with IIS 5 and MySQL 5.x

2008-03-27 Thread Shelley
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

Re: [PHP] Will the progress bar like Xupload add too much weight to the Apache server?

2008-03-20 Thread 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

[PHP] Will the progress bar like Xupload add too much weight to the Apache server?

2008-03-19 Thread Shelley
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

Re: [PHP] Fastest way to get table records' number

2008-03-19 Thread Shelley
/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

Re: [PHP] Fastest way to get table records' number

2008-03-19 Thread Shelley
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

Re: [PHP] Fastest way to get table records' number

2008-03-19 Thread Shelley
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

[PHP] Fastest way to get table records' number

2008-03-18 Thread Shelley
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

Re: [PHP] PHP & Ajax progress bar

2008-03-12 Thread Shelley
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

[PHP] PHP & Ajax progress bar

2008-03-11 Thread Shelley
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:

Re: [PHP] simple command help

2008-03-01 Thread Shelley
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

[PHP] RewriteRule help

2008-03-01 Thread Shelley
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

[PHP] simple command help

2008-02-29 Thread Shelley
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

Re: [PHP] Choose Your Common Design Patterns

2008-02-28 Thread Shelley
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

[PHP] reverse string without strrev();

2008-02-28 Thread Shelley
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

Re: [PHP] ZCE guidance needed

2008-02-27 Thread Shelley
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

Re: [PHP] ZCE guidance needed

2008-02-27 Thread Shelley
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

Re: [PHP] ZCE guidance needed

2008-02-27 Thread Shelley
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

[PHP] ZCE guidance needed

2008-02-27 Thread 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

[PHP] ZCE guidance needed

2008-02-27 Thread 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

RE: [PHP] Word Wrap on highlight_file

2008-01-20 Thread Shelley Shyan
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

RE: [PHP] A stupid question?

2008-01-20 Thread Shelley Shyan
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

[PHP] A stupid question?

2008-01-17 Thread Shelley Shyan
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

RE: [PHP] MSSQL

2008-01-08 Thread Shelley Shyan
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

RE: [PHP] Which file called the function?

2007-12-20 Thread Shelley Shyan
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

[PHP] convert hex message to ascii msg, How?

2007-12-06 Thread Shelley Shyan
Hi all, How could I convert a hex msg to ascii msg? Is there a php function or sth? Thanks. Regards, Shelley

[PHP] howto get .tar.gz content's filenames

2007-12-03 Thread Shelley Shyan
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

RE: [PHP] Input field

2007-11-13 Thread Shelley Shyan
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

RE: [PHP] PHP ide?

2007-11-12 Thread Shelley Shyan
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?

RE: [PHP] Creating PDF files with more than one font?

2007-11-09 Thread Shelley Shyan
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

[PHP] Creating PDF files with more than one font?

2007-11-08 Thread Shelley Shyan
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

RE: [PHP] PHP ide?

2007-11-08 Thread Shelley Shyan
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