I can only speak for my experience in PHP+SOAP in a recent project, but not
on SAP. You'll surely get more information here as the experts will start
speaking... If this is of any help to you, then PERFECT! If not, well, hope
not to bother you with well-known stuff at least.
The project I'm involv
Hi,
Find attached a page image. Initially, when user goes to the link,
without this code the page shows not needed display. Whereas what is
needed is when I press the button go. So, I included that in the if
condition. However, it is not working as needed. How is it possible to
see it working and
Brad wrote:
It makes sense, but the Bcc is still not making it through.
Not sure if the smtp portion is correct either.
No parse errors, but no email from the bcc either.
I told you this earlier!!!
NOTICE: you are trying to use $eol here
$headers = 'From: '.$fromname.' <'.$fromaddress
Anyone have any experience with this? Searching the web doesn't popup
much useful information with respect to using PHP. It seems that it
should be simple enough using PHP and SOAP, but the lack of information
on the web is unsettling :) So on that note, any information will be
appreciated.
Cheers
The reason I am using "\r\n" is because the PHP Manual says so
(http://us2.php.net/manual/en/function.mail.php#id367).
I use implode because it is easier [in my opinion], but you will
achieve the same result with:
"From: [EMAIL PROTECTED]: [EMAIL PROTECTED]";
On Nov 19, 2007 7:22 PM, Brad <[E
Brad,
This comment is extracted directly from PHPMailer source (before the
implementation for the function AddBCC)
/**
* Adds a "Bcc" address. Note: this function works
* with the SMTP mailer on win32, not with the "mail"
* mailer.
* @param string $address
* @param string $name
Sir, you are very kind, but your implementation of "array" has me as the
"monkey with a light bulb"
I know BASIC (the language) at a minimal.
Basic functionality I know;
Your implementation of core knowledge programming to php quarks is blowing
my mind when looking at my existing problem.
#1
You b
Note this code is untested and directly typed from a phone.
$message = 'Even though I will be filtered, get your FREE iPod at http://www.obviouslyascam.com
!';
$headers = array(
'From: [EMAIL PROTECTED]',
'Bbc: [EMAIL PROTECTED]',
// ...
);
$headers = implode("\r\n", $headers);
if (
-Original Message-
From: Brad [mailto:[EMAIL PROTECTED]
Sent: Monday, November 19, 2007 9:48 PM
To: 'Chris'
Subject: RE: [PHP] two small issues with php mail
Sir, I am trying...
It just is not working...
I am trying to implement the auth info, I go from parse error to no response
from
Brad wrote:
For the purposes of this task, mailer is not an option.
This is a class assignment to put us into the weeds.
I am neck deep googling the heck out of this and finding snippets of
un-related code which do not fit.
Just because you can't use php-mailer in your project doesn't mean you
Responses like that is encouragement to drop php and move straight to ruby!
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Sent: Monday, November 19, 2007 9:07 PM
To: Brad
Subject: RE: [PHP] two small issues with php mail
I'm sorry, but if you have to ask this quest
-Original Message-
From: Brad [mailto:[EMAIL PROTECTED]
Sent: Monday, November 19, 2007 9:34 PM
To: '[EMAIL PROTECTED]'
Subject: RE: [PHP] two small issues with php mail
Thought it was a support forum!
Support usually does not mean "piss off".
Brad
-Original Message-
From: [EM
For the purposes of this task, mailer is not an option.
This is a class assignment to put us into the weeds.
I am neck deep googling the heck out of this and finding snippets of
un-related code which do not fit.
Just seek help from a knowledgeable community to help me past the learning
curve.
And
This is a new trick for me, can you kindly explain?
I know what you are getting at, I am just not real sure on th method?
Do I just replace "mail" and the end with print?
Aka
mail($email, $subject, $body, $headers);
with
print($email, $subject, $body, $headers);
??
-Original Message-
Fro
Working code:
Correction - non-working code ;)
'.$eol;
$headers .= 'Bcc: [EMAIL PROTECTED]'; $eol = "\r\n";
This should be:
$headers .= 'Bcc: [EMAIL PROTECTED]' . $eol;
You need the EOL on the end.
Plus afaik in email headers it's \n not \r\n.
--
Postgresql & php tutorials
http://www.
Did I miss something or the following line in your code is useless?
> $smtp = "localhost";
Brad, if you really need SMTP configuration, and you want to make your life
easier with attachments and extra headers, give a chance to PHPMailer
http://phpmailer.codeworxtech.com/. It's free, easy to set u
Brad wrote:
It makes sense, but the Bcc is still not making it through.
Try the examples here:
http://www.sitepoint.com/article/advanced-email-php
They also point out there could be a bug in php mail() where bcc needs
to be all caps or all lower.
Not sure if the smtp portion is correct ei
_
From: Brad [mailto:[EMAIL PROTECTED]
Sent: Monday, November 19, 2007 8:26 PM
To: 'David Giragosian'
Subject: RE: [PHP] two small issues with php mail
My original issue is trying to implement a Bcc and
Emails are only making it to 50% of the recipients.
Research and past
It makes sense, but the Bcc is still not making it through.
Not sure if the smtp portion is correct either.
No parse errors, but no email from the bcc either.
'.$eol;
$headers .= 'Bcc: [EMAIL PROTECTED]'; $eol = "\r\n";
$headers .= 'Reply-To: '.$fromname.' <'.$fromaddress.'>'.$eol;
$headers .= 'R
Thank you so much!
That really helps and makes sense!
Thank you.
I will try that now
Concatenate with the dot will not cancel them out!
Now this makes sense!
And clears up some other questions I had!.
Thank you.
-Original Message-
From: Philip Thompson [mailto:[EMAIL PROTECTED]
Sent:
On 11/19/07, Philip Thompson <[EMAIL PROTECTED]> wrote:
>
> On Nov 19, 2007 5:52 PM, Brad <[EMAIL PROTECTED]> wrote:
>
> > Why are you being to belligerent?
> > English 101-104 I have aced.
> > Top secret security clearance I maintain.
> > Concatenate I know well (why would I combine the from, and
belligerent? Moi? Smart-ass yes, pointed yes. belligerent? No. But I don't
take kind to pointed attacks at people who help many others and have tried
repeatedly to help you without just changing the coding to work for you. Why?
Because they and I have helped and been helped by people on he
On Nov 19, 2007 5:52 PM, Brad <[EMAIL PROTECTED]> wrote:
> Why are you being to belligerent?
> English 101-104 I have aced.
> Top secret security clearance I maintain.
> Concatenate I know well (why would I combine the from, and the bcc?)
I will refrain from the rest of the posts/slams and stick
Why are you being to belligerent?
English 101-104 I have aced.
Top secret security clearance I maintain.
Concatenate I know well (why would I combine the from, and the bcc?)
A logical explanation as to the order these guys get plugged into in an
array and why one requires a "" another a '' and the
#1 email is only being sent to a few recipients.
I need to implement
$smtp = ‘localhost’;
Somewhere, but I keep getting parse errors?
Don't use fancy ms-word quotes, use the normal single quotes.
php mail() only uses the smtp config if you are sending on a windows
machine.
http://php
Why is what? Sorry, you are going to have to go back and phrase this into a
complete sentence.
"it makes no sense" refers to what exactly?
No, you don't have clearance since you haven't passed syntax 101 along with
English and Grammar 101. Once you have completed these courses, the answers to
Why is this?
It makes no sense?
Can anyone show me where an "order of operations" for php mail might be
hidden?
Or is this "top secret" information requiring clearance "which I have"?
Wrong bit. I also said...
> // $headers = 'bcc: '[EMAIL PROTE
Brad,
Take 3 steps away from the computer. Now take a few deep breaths. Good.
Stut is NOT Jessen, make sure that the person who called you a dumbass is given
the proper credit for doing so.
Stut has tried to be helpful and if you take the time to read through it (are
you on a deadline for
Brad wrote:
As per your email!
Whose email? Not mine.
#
Brad wrote:
$headers = 'bcc: [EMAIL PROTECTED]';
Works but corrupts the "from" portion and changes it to "nobody"
Which I think goes back too the smtp portion.
There is no bcc: header. BC
Brad wrote:
You say
The use of BCC with the PHP mail function is pretty well-explained on
the PHP manual page for said function.
I say,
No it doesn't, I tried everything on that page and it either parse error'ed
or didn't work.
Wrong bit. I also said...
> // $headers = 'bcc: '[EMAIL PROTE
As per your email!
#
Brad wrote:
> $headers = 'bcc: [EMAIL PROTECTED]';
>
> Works but corrupts the "from" portion and changes it to "nobody"
> Which I think goes back too the smtp portion.
There is no bcc: header. BCC'ing someone is normally done by
Brad wrote:
Well, since
http://forums.hostmysite.com/about1171.html
states
$headers .= "CC: [EMAIL PROTECTED]";
Which does not work for me AT ALL and Stut called me a [EMAIL PROTECTED] for
doing
it, I am assuming that all this key wording on google is not going to and
the problem appears to
Phpinfo
PHP Version 5.2.2
System Linux cp.ftnco.com 2.6.9-023stab044.11-smp #1 SMP Sun Sep 30
12:02:29 MSD 2007 i686
Build Date Oct 22 2007 02:06:41
Configure Command './configure' '--enable-bcmath' '--enable-calendar'
'--enable-exif' '--enable-ftp' '--enable-gd-native-ttf' '--enable-libx
I didn't say TO edit the php.ini file, but it will tell you what the setup of
said server is, including compiled in pieces and smtp settings.
Are you aware of .htaccess files? google override php.ini using .htaccess and
you should get some good hits there. But then that is probably outside the
I am very much aware of phpinfo()
Which has nothing to do with being able to edit the php.ini file!
-Original Message-
From: Wolf [mailto:[EMAIL PROTECTED]
Sent: Monday, November 19, 2007 4:59 PM
To: Brad; php-general
Subject: RE: [PHP] two small issues with php mail
1. Always copy the
1. Always copy the list back
2. HERE is the right word you want, since you can't HEAR someone's on email or
when reading the system files. Maybe you should take English & Grammar 101 for
your next course.
3. Who says you need access to the server backend... Google phpinfo() - >
very basic,
You say
> The use of BCC with the PHP mail function is pretty well-explained on
> the PHP manual page for said function.
I say,
No it doesn't, I tried everything on that page and it either parse error'ed
or didn't work.
The php manual page goes from baby basics to crazy smtp authentication
pro
Well, since
http://forums.hostmysite.com/about1171.html
states
$headers .= "CC: [EMAIL PROTECTED]";
Which does not work for me AT ALL and Stut called me a [EMAIL PROTECTED] for
doing
it, I am assuming that all this key wording on google is not going to and
the problem appears to be else where!
Guidance:
1. Learn the syntax of PHP, including how to concatenate information to
variables.
2. Learn the syntax of coding standards for the language you are using.
3. Learn the proper way to ask for help
4. Learn the proper way to read answers provided, since this is difficult for
you...
Brad wrote:
This is why I am on this mailing instead of the php site for their mailer
which is utterly useless!
I could probably recite the entire page by heart and gained nothing compared
to the insight and reading material offered by this list.
Just seeking knowledgeable guidance!
Any assist
Since it is not in the assignment, find out how to do things within the
parameters of your assignment.
http://www.google.com
php: {issue}
Googling "PHP: mail bcc" (sans quotes) has 5 viable workings on how to do it.
If it fails, then you need to be examing the php.ini file for information or
This is why I am on this mailing instead of the php site for their mailer
which is utterly useless!
I could probably recite the entire page by heart and gained nothing compared
to the insight and reading material offered by this list.
Just seeking knowledgeable guidance!
Any assistance on method
Brad wrote:
This information is pulled directly off the php website when used for other
applications, so if I am wrong, then so are they.
As for php mailer, my professor explained it very well today,
Learn the in's and out's of the programming and it's quarks to understand
the logic and then he
Sorry the code works fine, just forgot the echo the output.
On Mon, 2007-11-19 at 22:04 +0100, Jonas Geiregat wrote:
> I've been playing with DOMDocument->xinclude but it just doesn't seem to
> work for me.
>
> test.php:
>
> header('set content-type: text/xml');
> $doc = new Do
I've been playing with DOMDocument->xinclude but it just doesn't seem to
work for me.
test.php:
preserveWhiteSpace = false;
$doc->formatOutput = true;
$doc->load('test.xml');
$doc->xinclude();
$doc->saveXML();
?>
test.xml:
http://www.w3.org/2001/XInclude";>
Since I got so much interest in Roach from the list, I spent several hours
last night putting up the most recent version for demo, making some 'fake'
data so you can see how it all works and looks (sans admin section) and
created a new .tgz file for ya'll to download.
Keep in mind this was made f
This information is pulled directly off the php website when used for other
applications, so if I am wrong, then so are they.
As for php mailer, my professor explained it very well today,
Learn the in's and out's of the programming and it's quarks to understand
the logic and then he will show us t
PHP mailer is not in the assignment and will be counted against me!
-Original Message-
From: Stut [mailto:[EMAIL PROTECTED]
Sent: Monday, November 19, 2007 3:43 PM
To: Brad
Cc: php-general@lists.php.net
Subject: Re: [PHP] two small issues with php mail
Brad wrote:
> Implementing Bcc and
Brad wrote:
Implementing Bcc and smtp.
"Here we go again"
#1 email is only being sent to a few recipients.
I need to implement
$smtp = ‘localhost’;
Somewhere, but I keep getting parse errors?
Those are not normal quotes, but I'm guessing you actually typed that in
the evil that is Ou
Apperently my smtp portion is "not" working.
This did not solve my problem of sending email to only 50% of the
recipients, just no parse error
This is what the php mail manual page suggest?
And
Where should the bcc go if not the header?
-Original Message-
From: Per Jessen [mailto:[EMAI
hi everybody,
I'm starting with the php DOM tools with some success.
I want the user to dynamically alter the values of an xml tag () and
incrustate this tag in a predefined XML. This original XML is like this:
...
userID
nom USUARI
Brad wrote:
> $headers = 'bcc: [EMAIL PROTECTED]';
>
> Works but corrupts the "from" portion and changes it to "nobody"
> Which I think goes back too the smtp portion.
There is no bcc: header. BCC'ing someone is normally done by sending
them the email without listing them explicitly in to: or cc
Dan Shirah wrote:
Jim,
I used your suggestion and modified it a little bit. All of the names are
pulled from the database, but for some reason once it has pulled all the
names form each query it is adding an empty result to the end.
So when I do a echo $row['first_name']." ".$row['last_name'].
FANTASIC!
Worked like a champ!
Thank you to everyone.
On 11/19/07, Philip Thompson <[EMAIL PROTECTED]> wrote:
>
> On Nov 19, 2007 12:16 PM, Dan Shirah <[EMAIL PROTECTED]> wrote:
>
> > Jim,
> >
> > I used your suggestion and modified it a little bit. All of the names
> are
> > pulled from the d
No parse error, but still "nobody".
Here is my new code.
How do you tell the difference between the need for '' and ""?
Working "kind of" code
'.$eol;
$headers = 'bcc: [EMAIL PROTECTED]';
$headers .= 'Reply-To: '.$fromname.' <'.$fromaddress.'>'.$eol;
$headers .= 'Return-Path: '.$fromname.' <'.$
On Nov 19, 2007 12:16 PM, Dan Shirah <[EMAIL PROTECTED]> wrote:
> Jim,
>
> I used your suggestion and modified it a little bit. All of the names are
> pulled from the database, but for some reason once it has pulled all the
> names form each query it is adding an empty result to the end.
>
> So w
$headers = 'bcc: [EMAIL PROTECTED]';
Works but corrupts the "from" portion and changes it to "nobody"
Which I think goes back too the smtp portion.
Let me try that!
Thank you!
-Original Message-
From: Jim Lucas [mailto:[EMAIL PROTECTED]
Sent: Monday, November 19, 2007 12:49 PM
To: Brad
Jim,
I used your suggestion and modified it a little bit. All of the names are
pulled from the database, but for some reason once it has pulled all the
names form each query it is adding an empty result to the end.
So when I do a echo $row['first_name']." ".$row['last_name']."\n"; it
is returnin
Brad wrote:
Implementing Bcc and smtp.
#1 email is only being sent to a few recipients.
I need to implement
$smtp = ‘localhost’;
if the previous line is a cut/paste, it looks like you are using M$ special
quotes or back tics maybe.
make sure they are single or double quotes and you s
Implementing Bcc and smtp.
#1 email is only being sent to a few recipients.
I need to implement
$smtp = ‘localhost’;
Somewhere, but I keep getting parse errors?
#2 trying to do a Bcc but that gives me parse errors as well
It should be as easy as?
$Bcc [EMAIL PROTECTED]; $eol = "\r\n"
On Nov 19, 2007 3:46 AM, Stut <[EMAIL PROTECTED]> wrote:
> "Admin": Please don't reply directly to me. If you want to say something
> that you don't want to share with the group, don't bother.
>
> I did start replying to this email, but decided it wasn't worth it.
> Anyone who uses language like t
Depending on how you are doing the session/image you could do the following:
Then save that as a cron job that runs every minute or every 5 and (depending
on site needs) and you should be good to go.
Wolf
Fernando <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I made a image validation cod
Richard Heyes wrote:
I made a image validation code, wich generate a image every time
the user enters a page.
The name of the image uses the session id, and I save it in a
temporary directory.
When the user close the browser (or leave the site) I would have to
delete the image (or
I made a image validation code, wich generate a image every time the
user enters a page.
The name of the image uses the session id, and I save it in a
temporary directory.
When the user close the browser (or leave the site) I would have to
delete the image (or else I will start to h
Stut wrote:
> "Admin": Please don't reply directly to me. If you want to say
> something that you don't want to share with the group, don't bother.
>
> I did start replying to this email, but decided it wasn't worth it.
> Anyone who uses language like this does not deserve a response, but it
> made
Ok, no problem
;)
"Jochem Maas" <[EMAIL PROTECTED]> escribió en el mensaje
news:[EMAIL PROTECTED]
> Kiketom wrote:
>> Then if i make this
>>
>> $foo = new foo();
>> $foo->ID = 12;
>>
>> what is happening??
>> if __Set and __Get only works if a member isn't exits,
>>
>> How come I do this?
>> $foo
Hello,
I made a image validation code, wich generate a image every time the
user enters a page.
The name of the image uses the session id, and I save it in a temporary
directory.
When the user close the browser (or leave the site) I would have to
delete the image (or else I will s
Kiketom wrote:
> Then if i make this
>
> $foo = new foo();
> $foo->ID = 12;
>
> what is happening??
> if __Set and __Get only works if a member isn't exits,
>
> How come I do this?
> $foo->ID = 12;
> if the member $ID is private???
>
> I thought that this was possible because i have declared th
Then if i make this
$foo = new foo();
$foo->ID = 12;
what is happening??
if __Set and __Get only works if a member isn't exits,
How come I do this?
$foo->ID = 12;
if the member $ID is private???
I thought that this was possible because i have declared the two method set
and get :P
"Jochem Ma
Kiketom wrote:
> Hi all.
> Yesterday i have looking for the overloading members
>
> Member overloading
> void __set ( string name, mixed value )
> mixed __get ( string name )
>
> As an example i put this code:
>
> class foo
> {
> private $ID;
> private $Name;
> private $LastName;
wh
Ok, this is a great solution
Thanks ;)
"Robert Cummings" <[EMAIL PROTECTED]> escribió en el mensaje
news:[EMAIL PROTECTED]
> On Mon, 2007-11-19 at 11:25 +0100, Kiketom wrote:
>> Hi all.
>> Yesterday i have looking for the overloading members
>>
>> Member overloading
>> void __set ( string name, m
On Mon, 2007-11-19 at 06:27 -0500, Robert Cummings wrote:
> On Mon, 2007-11-19 at 11:25 +0100, Kiketom wrote:
> > Hi all.
> > Yesterday i have looking for the overloading members
> >
> > Member overloading
> > void __set ( string name, mixed value )
> > mixed __get ( string name )
> >
> > As an e
On Mon, 2007-11-19 at 11:25 +0100, Kiketom wrote:
> Hi all.
> Yesterday i have looking for the overloading members
>
> Member overloading
> void __set ( string name, mixed value )
> mixed __get ( string name )
>
> As an example i put this code:
>
> class foo
> {
> private $ID;
> private
Hi all.
Yesterday i have looking for the overloading members
Member overloading
void __set ( string name, mixed value )
mixed __get ( string name )
As an example i put this code:
class foo
{
private $ID;
private $Name;
private $LastName;
private function __get($var)
{
"Admin": Please don't reply directly to me. If you want to say something
that you don't want to share with the group, don't bother.
I did start replying to this email, but decided it wasn't worth it.
Anyone who uses language like this does not deserve a response, but it
made me chuckle so I th
Zoltán Németh wrote:
2007. 11. 17, szombat keltezéssel 23.15-kor Stut ezt írta:
[EMAIL PROTECTED] wrote:
WHY! Would you even want to pull that data first off?
It would be out dated as of the next transaction anyway.
Secondly if you can curl the data from the server, and get your account
inform
Thanks a lot. Really appreciate it. I will try to apply it.
quickshiftin wrote:
>
> json is just a terse way to create objects anonymously as well as other
> data
> structures in javascript.
> http://json.org/
>
> to build a json response with html
> essentially all you need to do is create a
2007. 11. 17, szombat keltezéssel 23.15-kor Stut ezt írta:
> [EMAIL PROTECTED] wrote:
> > WHY! Would you even want to pull that data first off?
> > It would be out dated as of the next transaction anyway.
> > Secondly if you can curl the data from the server, and get your account
> > information!
78 matches
Mail list logo