Rafael Mora wrote:
Hi!
i want to send a file or output stream in a .php, but first compress it, I
tryed the example to compress files but how do i do to send as answer to
the
http request??
trye the other example
Rafa
--
PHP General Mailing List (http://www.php.net/)
To
This is the code is use to insert/update text into a database field:
$sqledit=update activities set act_extra='$_POST[editextra]',
act_extra_fr='$_POST[editextrafr]' where act_id=$_POST[editid];
Now both $_POST[editextra] and $_POST[editextrafr] can contain single or
double quotes.
So the query
since I had something similar as a problem, let m etry to anser ang see
did I get it correct :)
first, and most important: never store in DB row submitted string
$act_extra = mysql_real_escape_string($_POST[editextra]);
$act_extra_fr = mysql_real_escape_string($_POST[editextrafr])
$act_id =
[EMAIL PROTECTED] wrote:
since I had something similar as a problem, let m etry to anser ang see
did I get it correct :)
seems ok ...
first, and most important: never store in DB row submitted string
$act_extra = mysql_real_escape_string($_POST[editextra]);
$act_extra_fr =
Reinhart Viane wrote:
This is the code is use to insert/update text into a database field:
$sqledit=update activities set act_extra='$_POST[editextra]',
act_extra_fr='$_POST[editextrafr]' where act_id=$_POST[editid];
this indicates 'bad' database design ... because adding a language involves
, $act_id);
Notice the %d for the id part if $act_id should be integer.
/Peter
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 29, 2006 8:28 PM
To: [EMAIL PROTECTED]
Cc: php-general@lists.php.net
Subject: Re: [PHP] replace single and double quotes
, didn't think this question was about to bring up what I was
looking for in the back of my head
-Oorspronkelijk bericht-
Van: Jochem Maas [mailto:[EMAIL PROTECTED]
Verzonden: dinsdag 29 augustus 2006 15:37
Aan: [EMAIL PROTECTED]
CC: php-general@lists.php.net
Onderwerp: Re: [PHP] replace single
Ok 'ill give this a shot together with the guidelines from jochen.
Thx afan.
-Oorspronkelijk bericht-
Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Verzonden: dinsdag 29 augustus 2006 15:28
Aan: [EMAIL PROTECTED]
CC: php-general@lists.php.net
Onderwerp: Re: [PHP] replace single
Onderwerp: Re: [PHP] replace single and double quotes
Reinhart Viane wrote:
This is the code is use to insert/update text into a database field:
$sqledit=update activities set act_extra='$_POST[editextra]',
act_extra_fr='$_POST[editextrafr]' where act_id=$_POST[editid];
this indicates
To: [EMAIL PROTECTED]
Cc: php-general@lists.php.net
Subject: Re: [PHP] replace single and double quotes
Reinhart Viane wrote:
This is the code is use to insert/update text into a database field:
$sqledit=update activities set act_extra='$_POST[editextra]',
act_extra_fr='$_POST[editextrafr]' where
At 5:04 PM +0200 8/29/06, Reinhart Viane wrote:
About the language remark:
I believe you try to say I need to find a way that the client can add 25
languages without me having to change the database layout or the coding?
Well I can assure you this will not be the fact. The client only needs
Hi!
i want to send a file or output stream in a .php, but first compress it, I
tryed the example to compress files but how do i do to send as answer to the
http request??
Rafa
12 matches
Mail list logo