Jim McIntyre wrote:
metastable wrote:
Jim McIntyre wrote:
$phpMail = new PHPMailer();
$phpMail->From = $from;
$phpMail->AddAddress($this->to);
$phpMail->Subject = $subject;
$phpMail->Body = $body;
return $phpMail->Send();
Never mind - I found the
metastable wrote:
Jim McIntyre wrote:
$phpMail = new PHPMailer();
$phpMail->From = $from;
$phpMail->AddAddress($this->to);
$phpMail->Subject = $subject;
$phpMail->Body = $body;
return $phpMail->Send();
$this -> to
it has no meaning in th
I'm new to PHP 5 and classes, but I've done a lot of ActionScript.
I'm trying to use PHPMailer inside my own class (a service for AMFPHP).
I'm having problems getting the data that'spassed into my class's send()
method to the instance of the PHPMailer.
Basically, I have this:
class EmailAMF
I'm running a Mac (so I know mine is a bit different size wise) but
I'm currently using Veranda at 14 point for coding.
Just out of curiosity, what font and size do you ppls use for your
programming?
I prefer Monaco to Verdana - easier to distinguish 0 and O, etc. The
font that came with Eud
At 1:32 PM -0400 7/8/08, tedd wrote:
Actually, you don't need to use sessions, post, nor get to pass
variables between scripts.
Here's an example:
http://www.webbytedd.com/bb/tedd/index.php
Of course, the smart ones on this list will figure it out pretty quickly.
So, this code in the HTML
IIRC, the OP wanted to generate a unique key precisely to keep from
revealing the record ID to the end user... what about taking the
auto_increment value (easy to generate, assured to be unique) adding its
MD5 hash to another column in the table, then using that as the
"published" ID?
The only dis
Hi,
I'm trying to create a mailto: link in a page that will fill in the
Subject and Bopy of a new email message with Spanish-language text.
The text lives in strings in an array of localized text. Accented
characters in the text are encoded as HTML entities. So, for example,
the subject and b
Hi,
Is there a better/more efficient way to determine how many bits are
set in an integer than this?
substr_count(base_convert($myValue, 10, 2), '1');
I'm using PHP 4.
Thanks,
Jim
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
>>Good afternoon. I'm having trouble getting PHP to loop from A
>>through Z. Here is what I tried, coming from a C background:
>>
>>for ($l = "A"; $l <= "Z"; $l++)
>> echo $l;
>>
>>// Returns A, B, C, ..., X, Y, Z, AA, AB, AC, AD, AE, ... YX, YY, YZ.
(26 * 26 results!)
>>
>>Interestingly, i
At 4:57 PM -0500 2/16/06, phplists wrote:
Hi,
I am using the following:
[0-9]{4} [A-Za-zÅØ]{2,20}
to extract data like:
1000 Øslo
How can I alter the above to limit to ONLY 4
digits, or in other words exclude:
11000 Beograd
Please note that what I am extracting from is
NOT at the begining
At 3:32 PM + 1/26/06, James Benson wrote:
PHP is running as a CGI on the shared hosting servers, which is
why your .htaccess isn't working for it.
You will have to create the error rule within a php.ini file.
That is so much bull, how then can it work for NON .php files?
I know for a f
Hi,
I searched archived messages for this, but didn't find an answer. If
this should go to the installation list, please advise (and forgive!).
I'm working on a site hosted at 1and1. I want to use a PHP-enabled
custom 404 page, but something in their configuration is preventing
it from worki
12 matches
Mail list logo