Re: [PHP] Paginating searchs = performance problem

2006-10-23 Thread Chris
Richard Lynch wrote: On Fri, October 20, 2006 10:04 am, Fourat Zouari wrote: I have PHP/PostgreSQL application were i got a search page with some items to search, am building the search query on server side. I need to display a paginated search and for this i need to get the total count of line

Re: [PHP] Mapped Drive issue

2006-10-23 Thread Ed Lazor
Depends on your operating system. On Oct 23, 2006, at 6:31 PM, Rob Kritzer wrote: Yes, the directory on mapped drive Y does exist. I do think that it might have something with how PHP and Apache is running. How do I chanage how PHP is running under an account? Where do I tell PHP or Ap

Re: [PHP] Mapped Drive issue

2006-10-23 Thread Rob Kritzer
For now I am on a PC XP Pro, wish they would give me back my Mac. On 10/23/06, Ed Lazor <[EMAIL PROTECTED]> wrote: Depends on your operating system. On Oct 23, 2006, at 6:31 PM, Rob Kritzer wrote: > Yes, the directory on mapped drive Y does exist. > > I do think that it might have something

Re: [PHP] Mapped Drive issue

2006-10-23 Thread Ed Lazor
If you're running Apache as an XP service, go to the services control panel, open the apache config, and you can change the user there. Otherwise, you'll have to edit the apache config and change the user there. On Oct 23, 2006, at 7:21 PM, Rob Kritzer wrote: For now I am on a PC XP Pro,

[PHP] pagination code not incrementing page numbers.

2006-10-23 Thread Mark
I am using the following code for pagination with php5 and mysql 4.1.x The pages advance by clicking on the "Next" or "Last" link However the url does not advance past this in the url field http://localhost/page.php?pagenum=2 Also the page count does not increase past "--Page 1 of 50--" at the b

Re: [PHP] pagination code not incrementing page numbers.

2006-10-23 Thread Chris
Mark wrote: I am using the following code for pagination with php5 and mysql 4.1.x The pages advance by clicking on the "Next" or "Last" link However the url does not advance past this in the url field http://localhost/page.php?pagenum=2 Also the page count does not increase past "--Page 1 of 5

Re: [PHP] Comment management

2006-10-23 Thread Paul Scott
On Mon, 2006-10-23 at 15:53 -0400, tedd wrote: > Well... I was afraid that someone would say that (paint me into a > corner). I just wanted to check before launching my own home-grown > solution and then having everyone say "Why didn't you use so-and-so's > 'comment manager' "? > > I'm sure wo

Re: [PHP] One-page password-protected file

2006-10-23 Thread Dotan Cohen
On 24/10/06, Richard Lynch <[EMAIL PROTECTED]> wrote: Can't you just use $_SESSION ? Or is that also out? Once the user is authenticated, $_SESSION['username'] = $username; and you're done. No passing passwords, hashed or not, back and forth. Somebody can still hijack the session, but you ga

<    1   2