[nyphp-talk] Re: installing xdebug on Fedora 7: where is php5-dev?

2008-05-22 Thread David Mintz
Just for the record: yum install php-devel On Thu, May 22, 2008 at 11:42 AM, David Mintz <[EMAIL PROTECTED]> wrote: > Greetings > > php5-dev seems to be prerequisite to installing xdebug via pecl. Anybody > know what the magic words are to install the php5-dev package on Fedora 7? > yum install

Re: [nyphp-talk] submitting two forms with one button - possible?

2008-05-22 Thread Rolan Yang
As an added protection, you should verify the Paypal payment with IPN (https://www.paypal.com/ipn) before sending off any products or authorizing memberships. ~Rolan Kristina Anderson wrote: http://www.captain.at/howto-ajax-form-post-request.php This AJAX stuff is a little hairy, I'm going t

Re: [nyphp-talk] submitting two forms with one button - possible?

2008-05-22 Thread Kristina Anderson
http://www.captain.at/howto-ajax-form-post-request.php This AJAX stuff is a little hairy, I'm going to play with it in the near future when I have time so that for future projects, I can do it like this. It's clearly a timesaver in the long run as it eliminates probably one of my LEAST favorit

Re: [nyphp-talk] need help with simple ajax demo project

2008-05-22 Thread Allen Shaw
Michael Southwell wrote: Hans Kaspersetz wrote: Doesn't this entire discussion belong on the Front-End list? It would be nice if the PHP list actually had PHP based discussion. good point - the end of this thread Michael, Are you subscribed to Front-End? A couple of people have responded to

Re: [nyphp-talk] submitting two forms with one button - possible?

2008-05-22 Thread sbeam
On Thursday 22 May 2008 11:27, Kristina Anderson wrote: > How to do this?  Can I call the second form submit programmatically at > the end of the first form submit in PHP?  Or with Javascript on the > second form submit call the first form to be submitted? I would recommend the former, because tha

Re: [nyphp-talk] submitting two forms with one button - possible?

2008-05-22 Thread Rolan Yang
Kristina Anderson wrote: How hard is #1? I have two situations that I have to handle in this manner (one with two forms and one with two submits of the same form and then the second form, to check if user account exists). Can you point me to some examples? Not that hard. It's actually s

[nyphp-talk] installing xdebug on Fedora 7: where is php5-dev?

2008-05-22 Thread David Mintz
Greetings php5-dev seems to be prerequisite to installing xdebug via pecl. Anybody know what the magic words are to install the php5-dev package on Fedora 7? yum install php5-dev doesn't do it: "No package php5-dev available" I assume there's a repository or something that I have to enable in a co

Re: [nyphp-talk] submitting two forms with one button - possible?

2008-05-22 Thread Kristina Anderson
How hard is #1? I have two situations that I have to handle in this manner (one with two forms and one with two submits of the same form and then the second form, to check if user account exists). Can you point me to some examples? > One way would be to do an ajax call to submit the form #1 da

Re: [nyphp-talk] submitting two forms with one button - possible?

2008-05-22 Thread Rolan Yang
One way would be to do an ajax call to submit the form #1 data to your database, then upon acknowledgment of success, do a regular form submit to payal (I'm guessing the user is supposed to be redirected to paypal to complete the transaction). The other way would be to do a regular submit, pas

[nyphp-talk] submitting two forms with one button - possible?

2008-05-22 Thread Kristina Anderson
I have a PHP page with two forms. One form posts the form data and inserts it into the database. The second form contains Paypal hidden variables and passes the transaction to the Paypal site. This has to happen seamlessly with one button and I can't combine the two forms as Paypal form has

[nyphp-talk] OT: Need Referral for Web Site Marketing

2008-05-22 Thread BAS
Hi Everyone, My apologies in advance if I shouldn't be posting this here, but since it's not regarding a job opening in the traditional sense, I figured it didn't belong on the jobs list. We have a client that's looking to do an online marketing campaign for an upcoming e-commerce site, prim

Re: [nyphp-talk] auto logout without activity

2008-05-22 Thread Bruce Martin
Set a cookie every time your user interacts with the server/site. You could use PHP or Javascript for that. Just update the expire time but only after you check for the existence of that cookie. Bruce Martin The Martin Solution [EMAIL PROTECTED] On May 22, 2008, at 9:43 AM, David Mintz wro

Re: [nyphp-talk] auto logout without activity

2008-05-22 Thread David Mintz
If you are doing Ajaxy stuff, though, could you not get auto-logged-out prematurely with this approach? That is, of course, unless you are relying on some client side stuff to reset the inactivity timer with each http request, ajax or otherwise. On Thu, May 22, 2008 at 9:38 AM, <[EMAIL PROTECTED]>

Re: [nyphp-talk] auto logout without activity

2008-05-22 Thread anoland
Use a META tag to refresh & redirect to logout page. That's the way my bank does it. -Original Message- From: chad qian <[EMAIL PROTECTED]> Date: Thursday, May 22, 2008 12:08 am Subject: [nyphp-talk] auto logout without activity To: Reply-To: NYPHP Talk When user login after 10 min

Re: [nyphp-talk] need help with simple ajax demo project

2008-05-22 Thread Michael Southwell
Hans Kaspersetz wrote: Doesn't this entire discussion belong on the Front-End list? It would be nice if the PHP list actually had PHP based discussion. good point - the end of this thread -- = Michael Southwell Vice President, Education NYPHP TRAINING: http://nyphp.com/Train

Re: [nyphp-talk] need help with simple ajax demo project

2008-05-22 Thread tedd
At 8:55 PM -0400 5/21/08, Michael Southwell wrote: My brain is fried; I need help with a simple AJAX demo. The intent is to show the color of some wines upon mousing over their names. -snip- What is wrong here? Now that you asked, you're using a complex solution to solve a very simple probl

Re: [nyphp-talk] auto logout without activity

2008-05-22 Thread Rich Buggy
Chad You could store the time of the last request in the session (or a cookie) then check it during the next request. If you store it in a cookie you'll want some way to validate they actually sent back the correct value. Rich On Thu, 2008-05-22 at 00:08 -0400, chad qian wrote: > When user l