Kirsten wrote:
I need to reduce the size of the HTM generated by a PHP script for faster
transmission. I'm actually using ob_start("ob_gzhandler") but I also need
some function to reduce the size of javascript blocks, deletion of
unnecesary blanks, etc.
For example, Code A:
Re: [PHP] multi dimensional arraySOLVED
Angelo Zanetti wrote:
thanks richard.
In the PHP.ini its set to on but in the .htaccess file we've set it to
OFF. could this still be causing the problem??
run phpinfo() inside the directory
thanks again
Angelo Zanetti
Z Logic
www.zlogic.co.za
[c] +27 72 441 3355
[t] +27 21 469 1052
Richard Lynch
Kirsten wrote:
> I need to reduce the size of the HTM generated by a PHP script for faster
> transmission. I'm actually using ob_start("ob_gzhandler") but I also need
> some function to reduce the size of javascript blocks, deletion of
> unnecesary blanks, etc.
>
> For example, Code A:
>
>
> fun
Ave,
Try http://www.phpclasses.org/mimemessage
I used it for my business application everyday, works great and is very
efficient.
Rahul S. Johari
Coordinator, Internet & Administration
Informed Marketing Services Inc.
251 River Street
Troy, NY 12180
Tel: (518) 266-0909 x154
Fax: (518) 266-0909
It was as I suspected. Operator error.
upload_tmp_dir = "folder"
notice the space after the =
as soon as I noticed and removed the space
several of the variations that I had tried worked fine...
Thanks for the suggestions.
"Jon Aston" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
I have used PHPMailer. It is easy to use and works great. If you happen to
be on a windows computer I did find that you may need to turn off the zend
optimizer in your php.ini file. For some reason with the Zend turned on I
was getting an error at the end of my script run but it had no affect on
> yes you can do if u have compiled apache to support apache dynamic extensions.
It doesn't matter how you compile apache.
It's how you've configured PHP, and what type of server it's running
on, how the server handles multiple clients. Zeus, and IIS don't AFAIK
support dl(). I reckon it's safe
You could try this link. I know that you will find something there:
http://www.phpclasses.org/
Mark Cain
- Original Message -
From: "Bosky, Dave" <[EMAIL PROTECTED]>
To:
Sent: Friday, May 06, 2005 12:44 PM
Subject: [PHP] need class to send email w/attachments
Any recommendations for
Try www.phpclasses.org/phpmailer
I've never used it but it's mentioned quite a lot.
On 5/6/05, Bosky, Dave <[EMAIL PROTECTED]> wrote:
> Any recommendations for PHP classes that will send email messages with
> attachments?
>
> Thanks,
>
> Dave
>
> HTC Disclaimer: The information contained in
Any recommendations for PHP classes that will send email messages with
attachments?
http://pear.php.net/package/Mail
http://pear.php.net/package/Mail_Mime
or
http://phpmailer.sourceforge.net/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
* Dave Bosky <[EMAIL PROTECTED]>:
> Any recommendations for PHP classes that will send email messages with
> attachments?
PEAR::Mail + PEAR::Mail_Mime
--
Matthew Weier O'Phinney | WEBSITES:
Webmaster and IT Specialist | http://www.garden.org
National Gardening Association| ht
I need to reduce the size of the HTM generated by a PHP script for faster
transmission. I'm actually using ob_start("ob_gzhandler") but I also need
some function to reduce the size of javascript blocks, deletion of
unnecesary blanks, etc.
For example, Code A:
function any(){
somecode;
}
Hello,
on 05/06/2005 01:44 PM Dave Bosky said the following:
Any recommendations for PHP classes that will send email messages with
attachments?
This one is very popular and lets you send messages with attachments
from local or remote files or from dynamically generated strings, with
automatic de
Any recommendations for PHP classes that will send email messages with
attachments?
Thanks,
Dave
HTC Disclaimer: The information contained in this message may be privileged
and confidential and protected from disclosure. If the reader of this message
is not the intended recipient, or
We are experiencing the 'usmAES192PrivProtocol in Unknown' error in the
Apache error log due to a conflict between Net-SNMP 5.2.1 and the
php-snmp package. Well of course, Fedora 3 has an update available at
(and detailed) here:
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=155975
Check
Is there a good way to get the difference in two arrays and have both
values returned? I know I can use array_dif to see what is in one and
not the other but...I need it to work a bit differently.
I have:
$array1=array("name"=>"fred","gender"=>"m","phone="=>"555-");
$array2=array("name"=>"fred
On 5/6/05, Dan Rossi <[EMAIL PROTECTED]> wrote:
> I was going to ask, without the need of requesting our admins to
> recompile php all the time is there a way in the meantime to compile
> extensions and load them dynamically without the need for root access
> to some of the php libraries ? I have a
On 5/6/05, Jon Aston <[EMAIL PROTECTED]> wrote:
> this has got to be something easy but I was uploading to a folder on a
> windows PC
> c:\upload
> but I updated php and forgot to backup my ini file.
>
> I have tried with quotes without quotes as well as a relational address to
> the folder in my
On 5/6/05, Dan Rossi <[EMAIL PROTECTED]> wrote:
> is there a way in the meantime to compile
> extensions and load them dynamically without the need for root access
> to some of the php libraries ?
You can compile/install extensions anywhere and load them with dl().
--
Greg Donald
Zend Certifie
http://uk2.php.net/manual/en/function.array-diff.php
http://uk2.php.net/manual/en/function.array-diff-assoc.php
Blackwater Dev wrote:
Hello,
Is there a good way to get the difference in two arrays and have both
values returned? I know I can use array_dif to see what is in one and
not the other but
Jochem Maas wrote:
...
** as in 'people who compulsively want to help newbies', rather
than 'people that are newly infected by the helping virus' (of which there
are many on this list also ;-).
Hey, I resemble that remark! :P
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Yes I did restart apache after each setting change.
- Original Message -
From: "Mehdi Achour" <[EMAIL PROTECTED]>
To: "Jon Aston" <[EMAIL PROTECTED]>
Cc:
Sent: Friday, May 06, 2005 9:38 AM
Subject: Re: php.ini uploads
Jon Aston wrote:
> this has got to be something easy but I was uplo
Jon Aston wrote:
this has got to be something easy but I was uploading to a folder on a
windows PC
c:\upload
but I updated php and forgot to backup my ini file.
I have tried with quotes without quotes as well as a relational address to
the folder in my ini file and I cannot get any uploads into the
Hello,
Is there a good way to get the difference in two arrays and have both
values returned? I know I can use array_dif to see what is in one and
not the other but...I need it to work a bit differently.
I have:
$array1=array("name"=>"fred","gender"=>"m","phone="=>"555-");
$array2=array("na
this has got to be something easy but I was uploading to a folder on a
windows PC
c:\upload
but I updated php and forgot to backup my ini file.
I have tried with quotes without quotes as well as a relational address to
the folder in my ini file and I cannot get any uploads into the folder.
this i
On 5/6/05, Angelo Zanetti <[EMAIL PROTECTED]> wrote:
> Hi guys,
>
> I just want to find out from you which payment gateways you use and
>what
use paypal
> experiences good and bad have you had with them. I'm looking for a
> reliable payment gateway to handle credit card processing
>
> Apologies
JM wrote:
Does anyone have a nice email address syntax checking script they'd
like to share? Regular expression-based anyone? TIA.
yes,yes,yes,cheers.
the email regexp passes Richard Lynch's email addr (check the archives :-),
have fun (sorry if the line wrapping craps out)...
* @copyright Cop
check out www.mysql.com
On 5/6/05, Anasta <[EMAIL PROTECTED]> wrote:
> Anyone know a good mysql newsgroup to compliment thid php newsgroup
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
bala> balachandar muruganantham
blog
Thanks, will do ;-) (as of this mail)
-Original Message-
From: Jochem Maas [mailto:[EMAIL PROTECTED]
Sent: 06 May 2005 03:08 PM
To: Thomas Hochstetter
Cc: [php] PHP General List
Subject: Re: [PHP] Array of objects
Thomas Hochstetter wrote:
> Hi Jochem,
>
> Thanks for that. The eval stor
Anasta wrote:
Anyone know a good mysql newsgroup to compliment thid php newsgroup
er... http://lists.mysql.com/
(google could have told you this)
also [EMAIL PROTECTED] is a good list to ask questions specific
to using DBs with php.
that said you can often get away with posting mysql questions here
On 5/6/05, Angelo Zanetti <[EMAIL PROTECTED]> wrote:
> I just want to find out from you which payment gateways you use and what
> experiences good and bad have you had with them. I'm looking for a
> reliable payment gateway to handle credit card processing
I've coded against Authorize.net (AIM and
Thomas Hochstetter wrote:
Hi Jochem,
Thanks for that. The eval story was just a desperate attempt ... anyway, I
know references a bit from my c++ times. I am not sure how that will help in
this case though. Maybe you want to share with me your thoughts on that.
well compare:
$a =& new Test; //
Hey,
Check out: http://lists.mysql.com/
Cheers,
Ryan
On 5/6/2005 1:49:18 PM, Anasta ([EMAIL PROTECTED]) wrote:
> Anyone know a good mysql newsgroup to compliment thid php newsgroup
>
>
>
>
>
>
>
>
>
> --
>
> PHP General Mailing List (http://www.php.net/)
>
> To unsubscribe, visit: ht
I was going to ask, without the need of requesting our admins to
recompile php all the time is there a way in the meantime to compile
extensions and load them dynamically without the need for root access
to some of the php libraries ? I have always compiled in personally so
have never tried it.
Mathieu Dumoulin wrote:
Prathaban look carefully, we are here to give acurate info and you are
giving mistaken information. The "$id" thing is wrong, you'll actually
create a parse error X|
a more correct answer would have been:
there is not way to know for sure whether the syntax is correct (
le
Anyone know a good mysql newsgroup to compliment thid php newsgroup
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Mathieu Dumoulin wrote:
Stuart Nielson wrote:
Sorry to everyone about the stupid READ notification on the posting. I
some people on this list see it as sport/duty to send a reply to all
read-notifications from list posts... I wonder how many you got :-)
completely forgot that it was enabled. This
Thomas Hochstetter wrote:
Spiraleye.Studios
Hi there,
I need help with arrays. What I want to do is to have an array of the
following structure:
$mod=array( ‘name’=>new NameObject());
^ -- looks like your single quotes got mangled in my email client.
class Test { function Test($st
Hi guys,
I just want to find out from you which payment gateways you use and what
experiences good and bad have you had with them. I'm looking for a
reliable payment gateway to handle credit card processing
Apologies for the OT post
thanks in advance
--
Angelo Zanetti
Z Logic
www.zlogic.co.za
William Stokes wrote:
OK. I found that out from MySQL manual. I just don't know how to insert the
date formatting function to the query:
I quessI need to put STR_TO_DATE() in to the following SQL query:
SELECT event_id,name,date,time,place,type,info FROM test_table
WHERE (group = '$group') AND (t
On Friday 06 May 2005 11:17, William Stokes wrote:
> OK. I found that out from MySQL manual. I just don't know how to insert the
> date formatting function to the query:
>
> I quessI need to put STR_TO_DATE() in to the following SQL query:
What about DATE_FORMAT()?
>
> SELECT event_id,name,date,t
thanks richard.
In the PHP.ini its set to on but in the .htaccess file we've set it to
OFF. could this still be causing the problem??
thanks again
Angelo Zanetti
Z Logic
www.zlogic.co.za
[c] +27 72 441 3355
[t] +27 21 469 1052
Richard Lynch wrote:
>On Thu, May 5, 2005 3:37 am, Angelo Zanetti
I strongly recommend that you convert the db column to the datetime datatype if
at all possible. However if you do wish to do it this way, read:
http://dev.mysql.com/doc/mysql/en/date-and-time-functions.html
And if you can't get it to work, bear in mind that STR_TO_DATE() is available
as of MyS
James wrote:
I've attempted to access a firebird database living on an osx/apache/php
machine.
When I'm running the following script,
ini_set("magic_quotes_sybase", "On");
$host =
'localhost:/Library/Frameworks/Firebird.framework/Resources/examples/employee.fdb';
for portability and ea
OK. I found that out from MySQL manual. I just don't know how to insert the
date formatting function to the query:
I quessI need to put STR_TO_DATE() in to the following SQL query:
SELECT event_id,name,date,time,place,type,info FROM test_table
WHERE (group = '$group') AND (type = 'Game' OR type
Hi there,
I
need help with arrays. What I want to do is to have an array of the following
structure:
$mod=array(
‘name’=>new NameObject());
Then
later in the page I want to go $Site = $mod[$_GET[‘module’]] (or something
like that) to instantiate a new object.
Ok tested this and it won't work. Next question is sql question but
anyway...
Can I use STR_TO_DATE() or GET_FORMAT(DATE,'EUR') to query and sort dates
to web page as a date even if the data is just a string in the db? Probably
with GET_FORMAT(DATE,'EUR') it wont work cause it's a varchar fiel
On Friday 06 May 2005 08:42, William Stokes wrote:
> Hello,
>
> I made a mistake and stored date information to DB as varchar values
> (dd.mm.yyy). When I read the DB is it still possible to sort the data by
> date with SQL query (ORDER BY date ASC)? Or is it nessessary to have the
> date informati
William Stokes wrote:
Hello,
I made a mistake and stored date information to DB as varchar values
(dd.mm.yyy). When I read the DB is it still possible to sort the data by
date with SQL query (ORDER BY date ASC)? Or is it nessessary to have the
date information to be stored as a date in the DB? W
On Tue, May 3, 2005 9:48 am, Fredrik Arild Takle said:
> what is the easiest way to check if a person i registered twice in a
> mysql-table. Lets assume that I only check if the last name is in the
> table
> more than once. This is in mysql 4.0 (subquery not an option).
>
> Do I have to use arrays
On Tue, May 3, 2005 10:57 am, Don said:
> I am using php 4.3.11 on a RedHat Linux server running Apache. I have a
> requirement where I need to take a flat file containing formatted data and
> produce an Access 97 MDB file.
>
> Does anyone know of a class or library that will enable me to do this?
On Wed, May 4, 2005 3:51 am, pete M said:
> not a php expert but have filed this bug report re validating
> is_numeric('3e0');
> http://bugs.php.net/bug.php?id=32943
>
> Now tried
>
>function isnumeric($n) {
> if (ereg("^[0-9]{1,50}.?[0-9]{0,50}$", $n)) {
> return true;
> } else {
On Tue, May 3, 2005 10:38 pm, Dan Trainor said:
> Hello, all -
>
> I've been tinkering around with PHP's auto_prepend_file, specifying this
> from inside an Apache VirtualHost container, something as such:
>
>
> blah
> blah
> blah
> php_value auto_prepend_file /super_duper_
On Wed, May 4, 2005 12:20 am, Anasta said:
> Can anyone help with a statement, ive tried but it never works.
> I need to show a value if it is set to a specific value ie:
>
> At the moment If a user is logs in a record is updated from 'away' to
> 'online'---so i want an echo statement to show a va
Have you tried this? It seems HTMLDoc is still free... I've used that
tool
also... pretty satisfied.
http://www.htmldoc.org/software.php
I have used htmldoc in the past for this, but feel its a workaround,
htmldoc is purely for generating manuals, which is what it does best, i
wonder if it ha
On Wed, May 4, 2005 4:44 am, Computer Programmer said:
> I asked a question at Apache.org mailing list about how to hide my server
> type; and now I'm asking here how can I know someone's server type using
> PHP?
Search http://php.net for "headers" and "remote" and you'll find a
function or two th