Re: [PHP] Paged Results Set in MySQL DB with one result

2006-05-03 Thread Edward Vermillion
Or just break the "page" up into sections and grab subsequent sections from the DB. (?) That way you could easily code in a 'jump to page 3 from page 6' type function, and your still just grabbing data and spitting it out with out worrying about sessions getting mangled or parsing for html

Re: [PHP] Paged Results Set in MySQL DB with one result

2006-05-03 Thread Jochem Maas
Edward Vermillion wrote: Or just break the "page" up into sections and grab subsequent sections from the DB. (?) that, or any number of other ideas. but I know from experience that offering seperate records for each section generally leads to a less intuitive (read: easy to use) editing inter

RE: [PHP] Creating an OO Shopping Cart

2006-05-03 Thread Chris W. Parker
Edward Vermillion on Wednesday, May 03, 2006 4:15 PM said: > Ahh!! *thud* > > Count me in the heart attack group. So would it be a reasonable risk > if it was *your* cc # that was stolen? And do your customers *know* > that you're handling their sensitive in

Re: [PHP] I need to Index and to research files PDF

2006-05-03 Thread Jochem Maas
Carlos Augusto Falcão da Silva wrote: I'm so sorry, but I didn't notice that it had duplicated the message. :-( no problem :-) there are worse crimes. Thank you for help let us know what your solution ends up being - it might help others, I'd be especially interested what your experiences a

[PHP] idn-functions in PHP

2006-05-03 Thread Marten Lehmann
Hello, is there any function in PHP which binds to libidn? I found only a PEAR-project, but PEAR-projects are often beta and not as stable as PHP-builtin functions. Regards Marten -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Paged Results Set in MySQL DB with one result

2006-05-03 Thread Miles Thompson
At 03:51 PM 5/3/2006, Phillip S. Baker wrote: Greetings Gents, I have an interesting problem I would like some ideas on for a solution. I cannot seem to find any code examples on the net, though I might not be looking in the right place really. I have some articles stored in a MySQL DB. What

Re: [PHP] Portfolio suggestions

2006-05-03 Thread Robert Cummings
On Wed, 2006-05-03 at 18:24, Rory Browne wrote: > It's just struck me, that even though I've been using PHP for six years, > Most of my code, has either been integrated into specialised systems, or for > random administrative job, I've got very little in the line of a portfolio. > > I'd like to re

Re: [PHP] PHP Upgrade Question

2006-05-03 Thread Eric Butera
Ok so I can't find apxs on the server at all, even though the 4.3.4phpinfo claims to have been configured with --with-apxs2=/usr/sbin/apxs2-prefork. I did some search via google and I reconfigured using --enable-cli and --disable-cgi but I still had to use --with-apache2=/usr/sbin/httpd2 because

Re: [PHP] Portfolio suggestions

2006-05-03 Thread Chris
Rory Browne wrote: It's just struck me, that even though I've been using PHP for six years, Most of my code, has either been integrated into specialised systems, or for random administrative job, I've got very little in the line of a portfolio. I'd like to rectify this, but I can't think of a

Re: [PHP] Creating an OO Shopping Cart

2006-05-03 Thread Mark Charette
Chris W. Parker wrote: I'm definitely open to suggestions on how we can minimize our customers' risk At least run GPG on the data immediately, keep the private key somewhere other than on the server, and decrypt only for the moment its needed. -- PHP General Mailing List (http://www.php.net/)

Re: [PHP] Paged Results Set in MySQL DB with one result

2006-05-03 Thread Chris
Phillip S. Baker wrote: Greetings Gents, I have an interesting problem I would like some ideas on for a solution. I cannot seem to find any code examples on the net, though I might not be looking in the right place really. I have some articles stored in a MySQL DB. What I want is if the artic

Re: [PHP] Portfolio suggestions

2006-05-03 Thread Paul Novitski
At 03:24 PM 5/3/2006, Rory Browne wrote: It's just struck me, that even though I've been using PHP for six years, Most of my code, has either been integrated into specialised systems, or for random administrative job, I've got very little in the line of a portfolio. This is such a great challe

[PHP] php script fails when run from cron

2006-05-03 Thread blackwater dev
I have a script which runs fine from the command line but when I try to run it via cron, it seems to fail when the db class is instatiated, here is some code: $yesterday = date("Y-m-d",mktime(0, 0, 0, date("m") , date("d")-1, date("Y"))); $file=fopen("/usr/local/apache2/htdocs/core/logs/import.

Re: [PHP] php script fails when run from cron

2006-05-03 Thread Chris
blackwater dev wrote: I have a script which runs fine from the command line but when I try to run it via cron, it seems to fail when the db class is instatiated, here is some code: $yesterday = date("Y-m-d",mktime(0, 0, 0, date("m") , date("d")-1, date("Y"))); $file=fopen("/usr/local/apache2

Re: [PHP] php script fails when run from cron

2006-05-03 Thread Chris
blackwater dev wrote: Chris, The double php thing is very likely as it is a box from my host and I installed php5 so I think php4 is on there somewhere as well without mssql support. I am simply running it like 15 21 * * * php /usr/local/apache2/htdocs/import.php How can I tell it which one

Re: [PHP] List of sessions

2006-05-03 Thread Tony Aldrich
Well, I mean visitors of site. They can open it in several windows or in several browsers. I understand that each browser on a machine will be a session (in simple explanation). And for all of them I create some info in database. Then they close browser. I must clean up unused info. That's why I w

Re: [PHP] List of sessions

2006-05-03 Thread Joe Wollard
If you store your sessions in a database then your could gain a little mode control over your session, but I think what you're asking is if there's a way to tell if a user has closed the browser thus killing the session on their side. If that's what you're asking then the answer is not going to li

Re: [PHP] Paged Results Set in MySQL DB with one result

2006-05-03 Thread Jochem Maas
Miles Thompson wrote: At 03:51 PM 5/3/2006, Phillip S. Baker wrote: Greetings Gents, ... However - why do you think paging an article improves readability? What it does do is control the amount of text you display on a page so you can profitably surround it with advertising.

<    1   2