Hi Mark,
have a look @ http://www.php.net/manual/en/function.stripslashes.php
Greetinx,
Mike
Michael Rudel
- Web-Development, Systemadministration -
___
Suchtreffer AG
Bleicherstraße 20
D-78467 Konstanz
Germany
fon: +49-(0)7531-8920
Just a little tidbit on this particular point...
> Some people
> are against cookies, 'cause you can't guarantee that they're
> turned on.
If you configure PHP with "--enable-trans-sid" PHP will ensure that sessions
work for all users regardless of whether they have cookies on or not.
enable-tr
I do the initial search, and store the results in a server-side
session cookie.
Next/Prev becomes
$firstRecord = "($pageNumber - 1) * $g_NumToDisplayPerPage"
$lastRecord = "$firstRecord + $g_NumToDisplayPerPage"
Make sure you don't get a HUGE result set. Session cookies work
well if they're re
ity reasons
>
> Thanks
>
> Robert Staph, W3RCS
> The Center for Advanced Technologies
>
>
> - Original Message -
> From: Roel Mulder <[EMAIL PROTECTED]>
> To: Mark McCray <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
> Sent: Monday, May 14, 2
$REMOTE_ADDR is what you're looking for. To find out all these sort of
variables PHP makes available to you, do a page and then
look at the section titled: Apache Environment.
Josh Hoover
KnowledgeStorm, Inc.
[EMAIL PROTECTED]
Searching for a new IT solution for your company? Need to improve y
Robert,
Use for the client's IP address: REMOTE_ADDR or for the hostname: REMOTE_HOST
Run phpinfo(); to see for yourself.
Regards,
Roel Mulder
At 17:25 14-05-2001 -0400, you wrote:
>Anyone know how to get the connecting client's ip address using php? I need
>to log this information to a db for
ray <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Monday, May 14, 2001 4:51 PM
Subject: Re: [PHP-DB] Url link
> Hi Mark,
> Try this code for your delight:
> http://www.oreillynet.com/pub/a/php/2000/11/02/next_previous.html
> Regards,
> Roel Mulder
>
> At 16:02 14-05-2001 -
Hi Mark,
Try this code for your delight:
http://www.oreillynet.com/pub/a/php/2000/11/02/next_previous.html
Regards,
Roel Mulder
At 16:02 14-05-2001 -0400, you wrote:
>Hey there,
>I'm trying to build NEXT/PREV buttons on my search page.
>The only way I know to do it so far is via an url.
><8