Fwd: [PHP] Re: Class variable value lost

2009-09-09 Thread Sumit Sharma
-- From: Ashley Sheridan Date: Wed, Sep 9, 2009 at 9:14 PM Subject: Re: [PHP] Re: Class variable value lost To: Shawn McKenzie Cc: Sumit Sharma , PHP General Mailing List < php-general@lists.php.net> On Wed, 2009-09-09 at 10:36 -0500, Shawn McKenzie wrote: > Sumit Sharma wrote: > > Hi,

[PHP] Class variable value lost

2009-09-09 Thread Sumit Sharma
Hi, I have developed a listing site which is totally class based. Now when it authenticates a user login and set appropriate class variables to true and set user info in user class variables, value of all the set variables are lost when I forward the user to members page. When I check the the valu

[PHP] Re: How to download and configure php mvc website locally

2009-08-20 Thread Sumit Sharma
exist: F:/Rabin/xampp/htdocs/favicon.ico I think there is no file called favicon.ico but how to create this file. Is this something related to cakephp configuration. Regards, Sumit On Wed, Aug 19, 2009 at 8:25 PM, Sumit Sharma wrote: > Hi, > Please help as I have downloaded a php websi

[PHP] How to download and configure php mvc website locally

2009-08-19 Thread Sumit Sharma
Hi, Please help as I have downloaded a php website for my client which is developed using model view controller pattern. Now when I am accessing this site locally it is not showing any thing. Please tell me the what's the problem Thanks, Sumit Sharma

[PHP] Sending mail from localhost

2009-05-30 Thread Sumit Sharma
Hi, I am new to php and not able to send mail from localhost. when trying to do so getting following response: *Warning*: mail() [function.mail ]: Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use

Re: [PHP] pdf_new()

2009-05-30 Thread Sumit Sharma
Hi Michael, Now its working. Thanks, Sumit. On Sat, May 30, 2009 at 1:51 PM, Michael A. Peters wrote: > Sumit Sharma wrote: > > Hi, > > > > Unable the create new pdf file object. Getting an error when coding as > > following: > >

[PHP] pdf_new()

2009-05-30 Thread Sumit Sharma
Hi, Unable the create new pdf file object. Getting an error when coding as following: *Fatal error*: Call to undefined function pdf_new() in *C:\wamp\www\abc1.php * on line *3* Please Help. Thanks, Sumit.

Re: [PHP] change server time

2009-05-25 Thread Sumit Sharma
That's really a good bunch of information. Thanks, Sumit. On Mon, May 25, 2009 at 2:43 PM, Lester Caine wrote: > Sumit Sharma wrote: > >> Hi, >> >> What I mean is my windows time is set to local time but when I use any >> date >> function i

Re: Re: [PHP] change server time

2009-05-25 Thread Sumit Sharma
Hi, What I mean is my windows time is set to local time but when I use any date function in PHP it shows time in GMT on web browser and to change this I have to use putenv("TZ=asia/calcutta"); Thus: 1 There is no problem with Windows time its according to IST. 2 Problem start with PHP, which dis

Re: Re: [PHP] change server time

2009-05-24 Thread Sumit Sharma
. On Mon, May 25, 2009 at 9:24 AM, wrote: > In windows? I have no idea. I use linux for my server stacks. You'll have > to ask Dr. Google! I'd expect it's just like with normal windows, in the > date properties in the control panel. > > > On May 24, 2009 11:44pm, Sumi

Re: [PHP] change server time

2009-05-24 Thread Sumit Sharma
That's great but how to do this? On Mon, May 25, 2009 at 9:11 AM, Eddie Drapkin wrote: > If you want to change the server time ocmpletely and independent of PHP, > you're going to have to do it from the shell. > > > On Sun, May 24, 2009 at 11:36 PM, Sumit Sharma wr

Re: [PHP] change server time

2009-05-24 Thread Sumit Sharma
t 12:33 PM, Michael A. Peters wrote: > Sumit Sharma wrote: > >> Hi, >> >> Whenever I am using date('r') function It shows time in GMT instead of >> local time set on my machine. Do I need to configure the time separately. >> I >> am using WAMP server

[PHP] change server time

2009-05-23 Thread Sumit Sharma
Hi, Whenever I am using date('r') function It shows time in GMT instead of local time set on my machine. Do I need to configure the time separately. I am using WAMP server locally. Thanks, Sumit

Fwd: [PHP] SECURITY PRECAUTION BEFORE SUBMITTING DATA IN DATABASE

2009-05-22 Thread Sumit Sharma
Thanks to [0] => Ashley, [1] =>Bruce, [2] => Michael, [3] => Shawn, [4] => Eddie and php-general list for all your support from bottom of my heart. Now it seems as if I will be able to design my project more secured than before. If you get any other idea please suggest me. Thanks, Sumit

[PHP] session.auto_start

2009-05-22 Thread Sumit Sharma
Hi All, are there any *disadvantages of setting session.auto_start to true in terms of system resources or security or any other*. I have set this element to true in php.ini as follows. session.auto_start = 1. Millions of thanks, Sumit

Fwd: [PHP] SECURITY PRECAUTION BEFORE SUBMITTING DATA IN DATABASE

2009-05-21 Thread Sumit Sharma
PRECAUTION BEFORE SUBMITTING DATA IN DATABASE To: Sumit Sharma Cc: php-general@lists.php.net On Thu, 2009-05-21 at 18:22 +0530, Sumit Sharma wrote: > Hi, > > I am designing a php website for my client which interact with database. > This is my first project for any client (I hope he is

[PHP] SECURITY PRECAUTION BEFORE SUBMITTING DATA IN DATABASE

2009-05-21 Thread Sumit Sharma
Hi, I am designing a php website for my client which interact with database. This is my first project for any client (I hope he is not reading this mail ;-) ). I am a bit more concerned with database security. Can somebody shed some light on the security measurements, precautions, and functions r