Magic Quotes

From: Date: Mon, 22 Dec 2003 01:20:24 +0000
Subject: Magic Quotes
Groups: php.general 
Request: Send a blank email to php-general+get-173117@lists.php.net to get a copy of this message
Hi. This is the qmail-send program at pb1.pair.com. I'm afraid I wasn't able to deliver your message to the following addresses. This is a permanent error; I've given up. Sorry it didn't work out. <php-general@lists.php.net>: This message is looping: it already has my Delivered-To line. (#5.4.6) --- Below this line is a copy of the message. Return-Path: <stiano@optonline.net> Received: (qmail 36829 invoked from network); 22 Dec 2003 01:11:34 -0000 Received: from unknown (HELO dswu83.btconnect.com) (193.113.154.14) by pb1.pair.com with SMTP; 22 Dec 2003 01:11:34 -0000 Received: from gateway.btopenworld.com (actually host 185.136.40.217.in-addr.arpa) by dswu83 with SMTP-CUST (XT-PP) with ESMTP; Mon, 22 Dec 2003 01:14:14 +0000 Received: from gateway (127.0.0.1) by gateway.btopenworld.com (Worldmail 1.3.167) for php-general@lists.php.net; 22 Dec 2003 01:20:25 +0000 Delivery-Date: Mon, 22 Dec 2003 01:03:13 +0000 Received: from pb1.pair.com (actually host 4.131.92.216.in-addr.arpa) by dswu27 with SMTP (XT-PP); Mon, 22 Dec 2003 01:03:04 +0000 Received: (qmail 19780 invoked by uid 1010); 22 Dec 2003 01:04:24 -0000 Mailing-List: contact php-general-help@lists.php.net; run by ezmlm Precedence: bulk list-help: <php-general-help@lists.php.net> list-unsubscribe: <php-general-unsubscribe@lists.php.net> list-post: <php-general@lists.php.net> Delivered-To: mailing list php-general@lists.php.net Received: (qmail 19767 invoked by uid 1010); 22 Dec 2003 01:04:24 -0000 Delivered-To: ezmlm-scan-php-general@lists.php.net Delivered-To: ezmlm-php-general@lists.php.net Date: Sun, 21 Dec 2003 20:04:15 -0500 From: stiano@optonline.net To: php-general@lists.php.net Message-id: <1b6b501b6fee.1b6fee1b6b50@optonline.net> MIME-version: 1.0 X-Mailer: iPlanet Messenger Express 5.2 HotFix 1.16 (built May 14 2003) Content-type: text/plain; charset=us-ascii Content-language: en Content-transfer-encoding: 7BIT Content-disposition: inline X-Accept-Language: en Priority: normal Subject: [PHP] Magic Quotes I've continued plowing my way thru the 2nd edition of PHP and MySQL Web Development by Welling and Thomson. I've made it to chapter 24, where I've just read that for this chapter's project I "will need to have switched on magic quotes" or use addslashes() and stripslashes(). So I checked via phpinfo() and found magic_quotes_gpc "On", but magic_quotes_runtime and magic_quotes_sybase both "Off". Now I'm guessing that magic_quotes_runtime is the one I need to have on, but is that so? I'm also guessing that aside from using addslashes() and stripslashes(), I could prob'ly turn on magic_quotes in php_ini. But perhaps because of how I've heard turning register_globals on via php.ini is a security hazard, I'm leery of messing with php.ini at all. Can anyone advise, please? Thank you. Steve Tiano -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.general (#173117) next »