[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

Fwd: [PHP] Re: Class variable value lost

2009-09-09 Thread Sumit Sharma
-- From: Ashley Sheridan a...@ashleysheridan.co.uk Date: Wed, Sep 9, 2009 at 9:14 PM Subject: Re: [PHP] Re: Class variable value lost To: Shawn McKenzie nos...@mckenzies.net Cc: Sumit Sharma sumitp...@gmail.com, PHP General Mailing List php-general@lists.php.net On Wed, 2009-09-09 at 10:36 -0500, Shawn

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

2009-08-20 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] Re: How to download and configure php mvc website locally

2009-08-20 Thread Sumit Sharma
not 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 sumitp...@gmail.com wrote: Hi, Please help as I have downloaded

[PHP] pdf_new()

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

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 mpet...@mac.com wrote: Sumit Sharma wrote: Hi, Unable the create new pdf file object. Getting an error when coding as following: ?php $pdf=pdf_new

[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 http://localhost/function.mail]: Failed to connect to mailserver at localhost port 25, verify your SMTP and smtp_port setting in php.ini or use

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

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 les...@lsces.co.uk wrote: Sumit Sharma wrote: 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

Re: [PHP] change server time

2009-05-24 Thread Sumit Sharma
A. Peters mpet...@mac.com 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 locally. Thanks, Sumit Not sure about windows

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 oorza...@gmail.com 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 sumitp

Re: Re: [PHP] change server time

2009-05-24 Thread Sumit Sharma
. On Mon, May 25, 2009 at 9:24 AM, oorza...@gmail.com 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, Sumit Sharma sumitp

[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

[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

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

2009-05-21 Thread Sumit Sharma
Subject: Re: [PHP] SECURITY PRECAUTION BEFORE SUBMITTING DATA IN DATABASE To: Sumit Sharma sumitp...@gmail.com 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