RE: [PHP] Anyone jump from Studio 5.5.x - Zend Eclipse?

2008-03-02 Thread Andrés Robinet
-Original Message- From: Steve Finkelstein [mailto:[EMAIL PROTECTED] Sent: Sunday, March 02, 2008 12:48 AM To: php-general Subject: [PHP] Anyone jump from Studio 5.5.x - Zend Eclipse? Hi all, I've tried googling around to find some blogs with decent information on whether Zend

[PHP] Multiple sessions open at same time, is it possible?

2008-03-02 Thread Richard
Hello, I'm quite new to sessions, an am trying to program a script which needs two sessions ... I have a members area which uses 1 session, and when you click on disconnect it closes the session and the user returns to the login page. I also am programming a shopping cart so members can

Re: [PHP] Multiple sessions open at same time, is it possible?

2008-03-02 Thread Stut
On 2 Mar 2008, at 14:49, Richard wrote: I'm quite new to sessions, an am trying to program a script which needs two sessions ... I have a members area which uses 1 session, and when you click on disconnect it closes the session and the user returns to the login page. I also am

Re: [PHP] Anyone jump from Studio 5.5.x - Zend Eclipse?

2008-03-02 Thread Ray Hauge
Steve Finkelstein wrote: Hi all, I've tried googling around to find some blogs with decent information on whether Zend Eclipse is mature enough to make the jump over from 5.5.x just yet. Admittedly, I've dropped Zend Studio as of late and been writing all of my code in TextMate -- but at the

Re: [PHP] Multiple sessions open at same time, is it possible?

2008-03-02 Thread Richard
Stut a écrit : On 2 Mar 2008, at 14:49, Richard wrote: I'm quite new to sessions, an am trying to program a script which needs two sessions ... I have a members area which uses 1 session, and when you click on disconnect it closes the session and the user returns to the login page. I also

Re: [PHP] Multiple sessions open at same time, is it possible?

2008-03-02 Thread Stut
On 2 Mar 2008, at 15:28, Richard wrote: Stut a écrit : On 2 Mar 2008, at 14:49, Richard wrote: I would there for need to have two seperate sessions one for the cart, and one for the members area. And sometimes I will need to have them both open. Is this possible ? I've searched google but

Re: [PHP] Multiple sessions open at same time, is it possible?

2008-03-02 Thread Richard
Stut a écrit : On 2 Mar 2008, at 15:28, Richard wrote: Stut a écrit : On 2 Mar 2008, at 14:49, Richard wrote: I would there for need to have two seperate sessions one for the cart, and one for the members area. And sometimes I will need to have them both open. Is this possible ? I've

Re: [PHP] Multiple sessions open at same time, is it possible?

2008-03-02 Thread Stut
On 2 Mar 2008, at 15:59, Richard wrote: Stut a écrit : On 2 Mar 2008, at 15:28, Richard wrote: However, is there a way to limit the session stay alive time for just one variable ? If for example, if a user has not done anything in his members area for more than 30 minutes I would like to

Re: [PHP] Multiple sessions open at same time, is it possible? [ Solved, thankyou !]

2008-03-02 Thread Richard
Stut a écrit : On 2 Mar 2008, at 15:59, Richard wrote: Stut a écrit : On 2 Mar 2008, at 15:28, Richard wrote: However, is there a way to limit the session stay alive time for just one variable ? If for example, if a user has not done anything in his members area for more than 30 minutes I

Re: [PHP] Multiple sessions open at same time, is it possible? [ Solved, thankyou !]

2008-03-02 Thread Stut
On 2 Mar 2008, at 16:32, Richard wrote: Stut a écrit : Just curious... why are you setting the password to an empty array? You'd probably be better off unset'ing it so you can use isset to check for it. Oh right ! :) Yes you're right about the array, I used it by mistake, as to reset a

Re: [PHP] Multiple sessions open at same time, is it possible? [ Solved, thankyou !]

2008-03-02 Thread Richard
Stut a écrit : On 2 Mar 2008, at 16:32, Richard wrote: Stut a écrit : Just curious... why are you setting the password to an empty array? You'd probably be better off unset'ing it so you can use isset to check for it. Oh right ! :) Yes you're right about the array, I used it by mistake,

Re: [PHP] Making sure an include file works

2008-03-02 Thread Chris
have you considered installing a local copy of php (and suitable webserver) so you can test it there? I'd also suggest using a revision control system (subversion or git) and have pre-commit hooks to check the syntax. It's a bit of work to set up but once it's done you'll notice a

Re: [PHP] Importing and exporting from MySQL, escape slash problem

2008-03-02 Thread Richard Lynch
It's possible that there is an .htaccess file in phpMyAdmin that has Magic Quotes on that is messing you up... Other than that, it's specific to phpMyAdmin, so maybe ask those guys what they did... On Sat, March 1, 2008 7:38 pm, Dave M G wrote: PHP List, MySQL List In my PHP environment, I

Re: [PHP] Importing and exporting from MySQL, escape slash problem

2008-03-02 Thread Chris
Richard Lynch wrote: It's possible that there is an .htaccess file in phpMyAdmin that has Magic Quotes on that is messing you up... Other than that, it's specific to phpMyAdmin, so maybe ask those guys what they did... Also make sure you are running the latest version, in case it's something

[PHP] Weird Zend IDE Issue

2008-03-02 Thread Steve Finkelstein
Hi all, I know this isn't a forum for Zend IDE, but since there's probably a decent population here using it, I figured I'd ask away. I'm using 5.5.1 Professional on Mac OSX 10.5.2. My issue here is that all left brackets, (eg: [ ) are not showing up in the code editor. I have a screenshot of

[PHP] Re: Importing and exporting from MySQL, escape slash problem

2008-03-02 Thread Jed Reynolds
Dave M G wrote: PHP List, MySQL List In my PHP environment, I have Magic Quotes turned off, and I use the mysql_real_escape_string() function clean strings of SQL syntax before inserting them into my database. So the data stored in my database does not have escape characters in it.

Re: [PHP] Weird Zend IDE Issue

2008-03-02 Thread Bojan Tesanovic
Did you try to restart Zend studio, I am using same setup as you are except that my zend is 5.5.0 I never had problem with [ . though sometimes editor goes crazy and (doesnt show all lines or hides some characters at end of line ) but restarting Zend solves the problem, if this issues

Re: [PHP] Anyone jump from Studio 5.5.x - Zend Eclipse?

2008-03-02 Thread Bojan Tesanovic
I agree with Ray Eclipse has more extensibility than Z. Studio , but the question is do you need it, I preffer doing PHP coding in Studio, I learned a lot of shortcuts and doing coding is so much faster and less frustrating than doing it in Eclipse though et the end of the day it is up to

[PHP] Can PHP do this? -- w/o using event handler

2008-03-02 Thread Louie Miranda
Could PHP do.. 1. Connect and send a parameter to a remote host 2. Wait for the host to reply -- not using event handler 3. Send XML data to the host -- Louie Miranda ([EMAIL PROTECTED]) http://www.axishift.com Security Is A Series Of Well-Defined Steps chmod -R 0 / ; and smile :)

Re: [PHP] Making sure an include file works

2008-03-02 Thread Aschwin Wesselius
Chris wrote: have you considered installing a local copy of php (and suitable webserver) so you can test it there? I'd also suggest using a revision control system (subversion or git) and have pre-commit hooks to check the syntax. It's a bit of work to set up but once it's done you'll