ssing it. on the way out, uncompress,
base-64-decode the value and see what you get
Bastien
From: "Nathan Harmon" <[EMAIL PROTECTED]>
To: [email protected]
Subject: [PHP-DB] Postgres and gzcompress
Date: Wed, 06 Sep 2006 15:39:37 -0700
Hi,
I would like to store a compress
Hi,
I would like to store a compressed string (XML) in my PostgreSQL table. So
far, I have been unsuccessful in uncompressing the data that I insert.
For example:
echo gzuncompress(gzcompress('this is a test'));
works fine.
But when i store the gzcompressed data in the table, the data that
thanks, its fixed now!!!
- Original Message -
From: Martin Alterisio
To: Nathan Heaps
Cc: Liber ; John Hicks ; [email protected]
Sent: Thursday, May 04, 2006 11:34 AM
Subject: Re: [PHP-DB] preg_replace help!
2006/5/4, Martin Alterisio <[EMAIL PROTECTED]>:
2006/5/3, Nathan
Ok, scratch that, new problem. what can I replace (.*?) with in order for
php to recognise a multi-line quote/bold/italic/code/whatever?
- Original Message -
From: "Liber" <[EMAIL PROTECTED]>
To: "'Nathan Heaps'" <[EMAIL PROTECTED]>; &quo
nevermind, I got it fixed. Just had to rearrange it. it was sensing the i in
img as italic so if you put it first it would work.
- Original Message -
From: "Liber" <[EMAIL PROTECTED]>
To: "'Nathan Heaps'" <[EMAIL PROTECTED]>; "'John Hic
'',
// '');
// '>',
// ' ',
// chr(161),
// chr(162),
// chr(163),
// chr(169),
// 'chr(\1)');
return preg_replace($searc
Hey, I need some help.
I am trying to parse a forum post using php, but it parses it everytime it
sees the letter, not the thing in quotes. Any help?
function bbcodereplace($subject){
// $document should contain an HTML document.
// This will remove HTML tags, javascript sections
// and white spa
> Hey, I need some help.
> I am trying to parse a forum post using php, but it parses it everytime it
> sees the letter, not the thing in quotes. Any help?
>
> function bbcodereplace($subject){
> // $document should contain an HTML document.
> // This will remove HTML tags, javascript sections
29.99
I want to display the sum of the values in the first column
(450.00+29.99), but I cannot figure out how to do this! Can someone
clue me in?
Thanks a million,
Nathan
--
Nathan Mealey
Website Manager & Administrative Director
Cycle-Smart, Inc.
P.O. Box 1482
Northampton, MA
010
when I used pg_last_oid() I got
some crazy number that was definitely not the last primary key ID.
Thanks,
Nathan
--
Nathan Mealey
Director of Operations
Cycle-Smart, Inc.
P.O. Box 1482
Northampton, MA
01061-1482
[EMAIL PROTECTED]
(413) 210-7984
(512) 681-7043 Fax
--
PHP Database Mailing List
following error message:
Fatal error: Call to undefined function: mysql_connect()
All I changed in the PHP.ini was the include path.
What could have happened? I am so in the dark on how to fix this!
Thanks,
Nathan
--
Nathan Mealey
Director of Operations
Cycle-Smart, Inc.
P.O. Box 1482
Northampton, MA
n at 1.5 cm from bottom
$this->SetY(-15);
//Arial italic 8
$this->SetFont('Arial','I',8);
//Page number
$this->Cell(0,10,'Page '.$this->PageNo().'/{nb}',0,0,'C');
}
$pdf=new PDF();
$pdf->AliasNbPages();
$pdf->AddPa
viewable page (as you can imagine).
If anyone has any ideas or experience with this, that'd be super.
--
Nathan Mealey
Director of Operations
Cycle-Smart, Inc.
P.O. Box 1482
Northampton, MA
01061-1482
[EMAIL PROTECTED]
(413) 587-3133
(413) 210-7984 Mobile
(512) 681-7043 Fax
--
PHP Database Ma
Hello,
I just installed PHP 4.3.2 on my machine running redhat 7.2. The install seems like
it went well. However, I've been running MySQL (Ver 11.18) just fine until I
installed PHP and now it won't start at all. When I try to start the mysql daemon
from the command line, I just get...
# ./
I started writing a set of scripts that would send out mutiple emails to a
list of customers. I then realized that most likely this program, and/or
snipits had most likely already been written. If so, can some one point me
in the right direction and save me 3 or 4 days?
Thanks
Nathan
ables only pretty much, does anyone have any good
suggestions about this, or know if any good tutorials or walk throughs about
this subject.
Thanks
Nathan
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
any
ideas on how to accomplish this. I couldnt really find anything at
php.net.
Nathan
--
PHP Database 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]
Aside from enabling PHP_MSSQL70.DLL extensions in the PHP.INI file, you need
to HAVE this file. If you installed PHP from the "Windows Install", then you
probably don't have this file. You need to download the PHP ZIP file, which
DOES contain the extension DLL's.
""Sebastian A. Davicco"" <[EMAIL
What is the problem you're having? Are you trying to change setting in the
PHP.INI file and they are not reflecting in the scripts or is PHP returning
some other sort of error saying it could not locate PHP.INI?
""Robert"" <[EMAIL PROTECTED]> wrote in message
000c01c080c1$960de3b0$d5245ed1@tech2
Assumably you downloaded a "Windows Install" executable to install PHP - I
found that this distribution does not have that file (I had the same problem
as you're having when I first installed PHP4). Once you've installed PHP
using that installation, you still need to download the Windows ZIP file.
20 matches
Mail list logo