Here is how i do it, and it works:
$tmp_desc = str_replace("\t", " ", str_replace("\n", " ", str_replace("\r",
" ", $desc)));
$desc = $tmp_desc;
\t for stipping TABs also
- Original Message -
From: "Sam" <[EMAIL PROTECTED]>
Subject: [PHP] Textarea returns causing havoc
> Hi all,
> int
hey! what's that 'echo' doing there?
if you want to use header (and you want to) it must be the firts thing you
output from your script
so.. first of all loose the 'echo' stuff
- Original Message -
From: "Steve Wade" <[EMAIL PROTECTED]>
> Here's redirect.php:
> echo $fred;
--
PHP
Is your file greater than 1000 bytes?
If it is, this is the answer: the file you try to upload is too large.
Increase the limit (beware of the built-in limit of PHP - in php.ini)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional command
Anyone has tried out yet the output compression?
How does it work, is it really stable?
Rares
the HTTP rfc well (as i tried to implement this for myself).
Thanks for your aswer,
Rares
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
rther details.
Thanks,
Rares
hi
Anyone here used PHP to connect to a IBM DB2 database? Of course, using ODBC. I am
having difficulties calling stored procedures with input/output parameters.
Any help is appreciated.
Rares
"CALL ADMINISTRATOR.PROC2(2,?)";
$result = odbc_prepare($link,$ps);
$arrparam = array(1);
$rst = odbc_execute($result, $arrparam);
echo $arrparam[0];
and no luck.
> Also, what ODBC drivers are you using?
IBM DB2 ODBC DRIVER 7.01.00.40
I appreciate any suggestion.
Rares
--
PHP G
8 matches
Mail list logo