RE: [PHP] Group By problems

2005-07-03 Thread yangshiqi
If your action of sending email to the users is not very often, you can select email from comment into a tmp table, then make the users data table joining the temp one, and this should be more efficacious. Best regards, Shiqi Yang -Original Message- From: W Luke [mailto:[EMAIL PRO

[PHP] about the absolutely path

2005-06-06 Thread yangshiqi
I have a php application (let's call it app A) which is developed separated in a test domain name, like http://testa.xxx.com /. But now I have to move it to another app (called B) using http://testb.xxx.com /, and the app A becomes just a subsystem o

RE: [PHP] Session time out

2005-03-16 Thread yangshiqi
In your php.ini, session.gc_maxlifetime=1440; Best regards, Yang Shiqi -Original Message- From: Jacques [mailto:[EMAIL PROTECTED] Sent: Thursday, March 17, 2005 1:48 PM To: php-general@lists.php.net Subject: [PHP] Session time out What is the life time of a PHP session object (v

RE: [PHP] which class it is?

2005-03-06 Thread yangshiqi
choice. Best regards, Yang Shiqi -Original Message- From: Jochem Maas [mailto:[EMAIL PROTECTED] Sent: Friday, March 04, 2005 11:10 PM To: Jason Barnett Cc: php-general@lists.php.net Subject: Re: [PHP] which class it is? Jason Barnett wrote: > Yangshiqi wrote: > >>And I do not w

RE: [PHP] which class it is?

2005-03-04 Thread yangshiqi
And I do not want all my classes to inherit the debughelper. Best regards, Yang Shiqi -Original Message- From: yangshiqi [mailto:[EMAIL PROTECTED] Sent: Friday, March 04, 2005 5:41 PM To: 'Jochem Maas' Cc: 'php-general@lists.php.net' Subject: RE: [PHP] which

RE: [PHP] which class it is?

2005-03-04 Thread yangshiqi
ROTECTED] Sent: Friday, March 04, 2005 4:43 PM To: yangshiqi Cc: php-general@lists.php.net Subject: Re: [PHP] which class it is? yangshiqi wrote: > I have a question that how to get the class name, which is initialized by > other class or function. > ... > > > How can I

[PHP] which class it is?

2005-03-03 Thread yangshiqi
I have a question that how to get the class name, which is initialized by other class or function. For example: Class a { Function a(){} } Class b { Function b() { $a= new a; ... } } How can I get class b's

RE: [PHP] Setting cookie on first visit

2005-03-02 Thread yangshiqi
When the user first visits your site, there is no skin in your cookie. Then you can give a default value. And after the user modifies his/her profile, you can set it to the cookie. So I don't think it is a problem of setting cookie. Best regards, Yang Shiqi -Original Message- From

RE: [PHP] auto refresh once

2005-03-02 Thread yangshiqi
I can't guess your purpose, but may be you can do it like this. function refreshByOnce() { $isVisit = isset($_SESSION['isVisit'])?$_SESSION['isVisit']:false; If (!$isVisit) { $_SESSION['isVisit'] = true; Header('Location:http://yourdomain.co

RE: [PHP] PHP book recommendations>

2005-02-15 Thread yangshiqi
I enjoy the "Core PHP Programming, Third Edition by Leon Atkinson" very much. Best regards, Yang Shiqi -Original Message- From: Joe Harman [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 16, 2005 3:20 AM To: php-general@lists.php.net Subject: Re: [PHP] PHP book recommendations

RE: [PHP] Problem with session

2005-02-05 Thread yangshiqi
Make sure that in your php.ini, include this: variables_order = "GPC" gpc_order = "GPC" there C means $_COOKIES Best regards, Yang Shiqi -Original Message- From: Theeraputh Mekathikom [mailto:[EMAIL PROTECTED] Sent: Sunday, February 06, 2005 2:52 PM T

[PHP] about watermark

2005-02-05 Thread yangshiqi
Does anyone can recommend some app about watermark(open source)? Coz I want to use it in our production, so I must use sth which is certified very safely and fast. Thx. Best regards, Yang Shiqi

RE: [PHP] Job Recruitment and Support Ticketing Appz

2005-02-05 Thread yangshiqi
Pls go to sourceforge or freshmeat.net. Best regards, Yang Shiqi -Original Message- From: Jason Paschal [mailto:[EMAIL PROTECTED] Sent: Saturday, February 05, 2005 3:53 AM To: php-general@lists.php.net Subject: [PHP] Job Recruitment and Support Ticketing Appz A friend of mine is

RE: [PHP] Headers already sent error

2005-02-03 Thread yangshiqi
Pls Make sure that outside your tags, these is no any blankspace or sth else. Best regards, Yang Shiqi -Original Message- From: Chris [mailto:[EMAIL PROTECTED] Sent: Thursday, February 03, 2005 3:44 PM To: [php] PHP General List Subject: Re: [PHP] Headers already sent error Tim

RE: [PHP] Re: Pagination Optimization

2005-01-18 Thread yangshiqi
Yes. I just use the same method which Curt mentioned below and seem well. But I met the problem a little bit complex that the sql used "group by". Any idea? Best regards, Yang Shiqi -Original Message- From: Curt Zirzow [mailto:[EMAIL PROTECTED] Sent: Sunday, January 09, 2005 2:37

答复: [PHP] header information problem

2004-12-18 Thread yangshiqi
And if you have some special intent, you can use ob_start(). Best regards, Yang Shiqi -邮件原件- 发件人: yangshiqi [mailto:[EMAIL PROTECTED] 发送时间: 2004年12月18日 19:36 收件人: 'Ahmed Abdel-Aliem'; '[EMAIL PROTECTED]' 主题: 答复: [PHP] header information problem I don't u

答复: [PHP] header information problem

2004-12-18 Thread yangshiqi
I don't understand why you want to include header.html before you redirect the users to the login_success.php? By the way, you 'd better to add mysql_escape_string() with the username and password to ensure the security of your code. Coz we can't believe any users' input from web. May be the sql i

答复: [PHP] IDE recommendation-- (Free?)

2004-12-18 Thread yangshiqi
Or may be you can use vim + ctags + cscope. I use these for months and I think these are best tools for develop on unix/linux. Very powerfull. Best regards, Yang Shiqi -邮件原件- 发件人: Jeffery Fernandez [mailto:[EMAIL PROTECTED] 发送时间: 2004年12月17日 21:45 收件人: [EMAIL PROTECTED] 主题: Re: [PHP] ID

答复: [PHP] Re: upload file warning

2004-12-17 Thread yangshiqi
14:48 收件人: [EMAIL PROTECTED] 主题: [PHP] Re: upload file warning Yangshiqi wrote: > I got a php waring when I upload my file: > > > > Warning: MAX_FILE_SIZE of 20 bytes exceeded - file [imgpath=mz-n10.pdf] > not saved in Unknown on line 0 > that seems like a very

[PHP] upload file warning

2004-12-16 Thread yangshiqi
so, what 's wrong? And can I catch the exceeded file error before it is passed back to the client? Best wishes. yangshiqi

答复: [PHP] empty() problem

2004-12-12 Thread yangshiqi
Maybe this can help you. If (empty((string)$Game_rating)) …… -邮件原件- 发件人: Ahmed Abdel-Aliem [mailto:[EMAIL PROTECTED] 发送时间: 2004年12月12日 21:58 收件人: [EMAIL PROTECTED] 主题: [PHP] empty() problem Hi Group Members i have a problem with function empty() i use it to check if user entered the fo

答复: [PHP] Close all open tags in HTML text

2004-12-08 Thread yangshiqi
May be you could use a iframe to ensure your own page much safer, despite show the users' inputs is very dangerous. -邮件原件- 发件人: Raditha Dissanayake [mailto:[EMAIL PROTECTED] 发送时间: 2004年12月9日 12:26 抄送: [EMAIL PROTECTED] 主题: Re: [PHP] Close all open tags in HTML text Matt Palermo wrote:

答复: [PHP] Pass mysql array into SESSION?

2004-12-08 Thread yangshiqi
Yes. And also look at your php.ini, if the session's name and path is not set , You must set it above session_start(); Like : session_name('test'); session_save_path("/homes/eric/temp"); session_start(); ... -邮件原件- 发件人: Marek Kilimajer [mailto:[EMAIL PROTECTED] 发送时间: 2004年12月9日 10:15

[PHP] how to display the content step by step

2004-12-07 Thread yangshiqi
here know about this? Best wishes, Yangshiqi