On a related note I was wondering what people thought of php files with no
extensions? So if I changed index.php to just index then I can create url
like www.mydomain.com/index/articleid/29 so it's search engine friendly.
# .htaccess file
DefaultType application/x-httpd-php
--
PHP General
I don't use cgi scripts.
- Original Message -
From: The Snake from Hell! [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, October 25, 2004 4:25 PM
Subject: Re: [PHP] Php files with .html extension?
You would probably brake a heck of a lot of things. CGI
scripts, etc.
On a
I'm trying to sanitize my user input. My sanitize function does not work if
I send a variable that's an array. I'm using recursion to go through the
array. The example below shows that $_POST['city'] works but $_POST['user']
doesn't work. The array comes back blank.
Anyone see what's wrong
Hi M
I don't understand. I don't think I'm storing it anywhere. I have it
looping through all the POST variables. If it's not an array then the
sanitize function returns a sanitized value. If it's an array then the
sanitize function calls itself again and again until it finds a single
Hi Comex
Thanks! That worked! Robet you almost had it but missing the $key in
$newvalue[$key].
- Original Message -
From: Comex [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, October 08, 2004 8:05 PM
Subject: Re: [PHP] Recursion to sanitize user input
foreach ( $userInput as
adodb also handles sessions in a database
http://phplens.com/lens/adodb/docs-session.htm
- Original Message -
From: Paul Higgins [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Friday, May 07, 2004 9:40 AM
Subject: RE: [PHP] Re: Active PHP Sessions
I've read stuff
http://sourceforge.net/forum/message.php?msg_id=2361065
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
7 matches
Mail list logo