php-windows Digest 19 Jun 2003 14:51:36 -0000 Issue 1784
Topics (messages 20418 through 20430):
Re: Mail sent an hour before I send it
20418 by: Max Graham
20423 by: Peter Misun
20428 by: Charles P. Killmer
Re: Warning: mail(): SMTP server response: 550 Unable to relay
20419 by: Manuel Lemos
Re: Install
20420 by: Per Lundberg
Help changing code HELP!!!!!!!!!!!!!!!!!
20421 by: Mark Clarkstone
20430 by: erythros
Re: problems sending mail
20422 by: Mark Clarkstone
20425 by: Felipe Lorente
Re: PHP i need help please
20424 by: Daniel Beulshausen
authentication in smtp server
20426 by: Felipe Lorente
20427 by: Manuel Lemos
problems on image support function (gd2.dll)
20429 by: Walter Ben
Administrivia:
To subscribe to the digest, e-mail:
[EMAIL PROTECTED]
To unsubscribe from the digest, e-mail:
[EMAIL PROTECTED]
To post to the list, e-mail:
[EMAIL PROTECTED]
----------------------------------------------------------------------
--- Begin Message ---
What timezone is the server in relative to you?
Perhaps it's just the mail form itself that misinterprets the time ... I
encountered a similar issue when my host outsourced the hosting from his own
server in the same timezone I'm in to a server 2 hours ahead of here ... I
had to change the scripts on my site to offset the time zone
> When I send email through php, the mail is stamped witha time that is an
> hour after I send it. I have checked the time zone and daylight
> settings one ALL servers. =20
> =20
> I forwarded it to another account and this is the original message.
> This was actually sent at 7:53 am. When I log onto the mail server
> directly and send mail the time is correct, so it appears to have
> something to do with PHP. Does anyone have any thoughts on this?
> =20
--- End Message ---
--- Begin Message ---
how caan i offset the time zone for mail sending by mail() function?
i have same problem and time difference is 3hours and it's really bad
5o
Max Graham wrote:
> What timezone is the server in relative to you?
>
> Perhaps it's just the mail form itself that misinterprets the time ... I
> encountered a similar issue when my host outsourced the hosting from his own
> server in the same timezone I'm in to a server 2 hours ahead of here ... I
> had to change the scripts on my site to offset the time zone
>
> > When I send email through php, the mail is stamped witha time that is an
> > hour after I send it. I have checked the time zone and daylight
> > settings one ALL servers. =20
> > =20
> > I forwarded it to another account and this is the original message.
> > This was actually sent at 7:53 am. When I log onto the mail server
> > directly and send mail the time is correct, so it appears to have
> > something to do with PHP. Does anyone have any thoughts on this?
> > =20
--
Mgr. Peter Misun
MicroStep-MIS, Ilkovicova 3, 841 04 Bratislava, Slovakia
tel: +421/ 2/ 602 00 127, 111, fax: +421/ 2/ 602 00 180
--- End Message ---
--- Begin Message ---
The servers are all in the same office. For the mail that is showing
the wrong time, it never leaves the office.
Thanks
Charles
-----Original Message-----
From: Max Graham [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 18, 2003 10:44 PM
To: [EMAIL PROTECTED]; Charles P. Killmer
Subject: Re: Mail sent an hour before I send it
What timezone is the server in relative to you?
Perhaps it's just the mail form itself that misinterprets the time ... I
encountered a similar issue when my host outsourced the hosting from his
own server in the same timezone I'm in to a server 2 hours ahead of here
... I had to change the scripts on my site to offset the time zone
> When I send email through php, the mail is stamped witha time that is
> an hour after I send it. I have checked the time zone and daylight
> settings one ALL servers. =20 =20
> I forwarded it to another account and this is the original message.
> This was actually sent at 7:53 am. When I log onto the mail server
> directly and send mail the time is correct, so it appears to have
> something to do with PHP. Does anyone have any thoughts on this?
> =20
--- End Message ---
--- Begin Message ---
Hello,
On 06/18/2003 05:35 PM, Php wrote:
I'm fairly new to php and I'm trying to setup mail functionality from php on
IIS 4.0. I keep getting this error. I have tried ever combination for the
SMTP settings in the php.ini file, but nothing seems to work.
I can send mail using CDONTS on this server, but using php I cannot
<?php
mail("[EMAIL PROTECTED]", "My Subject", "Some info")
?>
That means that you need to authenticate.
You may want to try this PHP Classes that comes with a sub-class for
delivery with SMTP that lets you configure the SMTP authentication
credentials.
http://www.phpclasses.org/mimemessage
You also need this class for the actual delivery:
http://www.phpclasses.org/smtpclass
BTW, you can used CDONTS in PHP under Windows servers using COM
components. It is just not a very flexible way of composing messages.
--
Regards,
Manuel Lemos
Free ready to use OOP components written in PHP
http://www.phpclasses.org/
--- End Message ---
--- Begin Message ---
On Wed, 2003-06-18 at 21:05, Cory Daehn wrote:
> Actually, if she's brave, there's a third option... she could interact
> with the MySQL server by using ODBC and the latest MyODBC driver instead
> of the built-in MySQL functions... But that seems like a slower (and much
> easier to break) way of doing things.
That's actually not a bad idea at all. It will make the code easier to
port do other database engines in the future as well.
--
Best regards,
Per Lundberg / Capio ApS
Phone: +46-18-4186040
Fax: +46-18-4186049
Web: http://www.nobolt.com
signature.asc
Description: This is a digitally signed message part
--- End Message ---
--- Begin Message ---
Hey I need your help I want to change a part of the config.php file in my
script which is
$allow = "1"; // to allow comments 1 = yes 0 = no
I'm trying to change it to $allow = "0"; using a other file I have this code
but i get errors
<?
require("config.php");
$changeallow = substr_replace($allow, '0', 0);
if ($configallow=="yes") {
$data = "$allow = /"0/";";
$fp = fopen("config.php",'a');
$fw = fwrite($fp,$data);
fclose($fp);
}
?>
If you have another code i could use please help me out!!!!!!!!!!!!!!!!!!!
Thanks
--- End Message ---
--- Begin Message ---
what are the errors that you get?
"Mark Clarkstone" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hey I need your help I want to change a part of the config.php file in my
> script which is
>
> $allow = "1"; // to allow comments 1 = yes 0 = no
>
> I'm trying to change it to $allow = "0"; using a other file I have this
code
> but i get errors
>
> <?
> require("config.php");
> $changeallow = substr_replace($allow, '0', 0);
>
> if ($configallow=="yes") {
>
> $data = "$allow = /"0/";";
> $fp = fopen("config.php",'a');
> $fw = fwrite($fp,$data);
> fclose($fp);
> }
> ?>
>
> If you have another code i could use please help me out!!!!!!!!!!!!!!!!!!!
>
> Thanks
>
>
--- End Message ---
--- Begin Message ---
I get the Same ERROR Help Us out!!!!!!!!!!!
"Felipe Lorente" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hello, could please someone help me with this??
> I use the php function mail like this:
>
> mail($to, $subject, $text, "From: $sender
> X-Mailer: PHP/" . phpversion());
>
> And I get the next answer from the server:
>
> Warning: mail(): SMTP server response: 550 5.7.1 Unable to relay for
> [EMAIL PROTECTED] in D:\send.php on line 22
>
> Do I need to configure something in my smtp server?? or what can be the
> problem??
> Thanks a lot.
>
> Felipe.
>
>
--- End Message ---
--- Begin Message ---
Hi, I've got the solution
You have to go to php.ini file and look for the line "smtp", this one has
the value "localhost" by default. Then you need to add a valid smtp address
here. (the smtp addres of your email account). If you need to authenticate
to send an email with your current smtp address, you can look for the
solution in this same group in a mail from Manuel Lemos sent this same day.
I hope to help in something. bye,
Felipe.
"Mark Clarkstone" <[EMAIL PROTECTED]> escribió en el mensaje
news:[EMAIL PROTECTED]
> I get the Same ERROR Help Us out!!!!!!!!!!!
>
>
> "Felipe Lorente" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
> > Hello, could please someone help me with this??
> > I use the php function mail like this:
> >
> > mail($to, $subject, $text, "From: $sender
> > X-Mailer: PHP/" . phpversion());
> >
> > And I get the next answer from the server:
> >
> > Warning: mail(): SMTP server response: 550 5.7.1 Unable to relay for
> > [EMAIL PROTECTED] in D:\send.php on line 22
> >
> > Do I need to configure something in my smtp server?? or what can be the
> > problem??
> > Thanks a lot.
> >
> > Felipe.
> >
> >
>
>
--- End Message ---
--- Begin Message ---
At 16:00 18.06.2003 -0400, you wrote:
I ment to tell you that worked.
however if i did this:
$myClass = new Java("myCustomJavaClass");
the application would crash with:
Warning: java.lang.ClassNotFoundException: myCustomJavaClass
it seems that no matter where I put the myCustomJavaClass.class file its not
visible even with a hardwired CLASSPATH in the environment I tried placing
the class file into each path shown below:
java.class.path = c:\php\extensions\php_java.jar
java.home = c:\j2sdk1.4.1_01\jre
java.library = c:\j2sdk1.4.1_01\jre\bin\client\jvm.dll
java.library.path = c:\php\extensions\
all the above areas... still doesnt work.
extend your classpath:
java.class.path = "c:\php\extensions\php_java.jar;c:\path\to my classes"
i.e.
java.class.path = "c:\php\extensions\php_java.jar;c:\java\classes"
when myCustomJavaClass.class is located in c:\java\classes.
hope there's nothing wrong with cc-ing to the list...
mit freundlichen grüßen aus berlin,
daniel
/*--
Daniel Beulshausen - [EMAIL PROTECTED]
Using PHP on Windows? http://www.php4win.com
--- End Message ---
--- Begin Message ---
Hello all,
I still have problems with the smtp server that I use to relay my mails,
How can I configure the authentification of this server?? In php.ini I can't
find any line to set up this information (my login and password). Please,
could you help me?? Thanks.
Felipe.
--- End Message ---
--- Begin Message ---
Hello,
On 06/19/2003 07:17 AM, Felipe Lorente wrote:
I still have problems with the smtp server that I use to relay my mails,
How can I configure the authentification of this server?? In php.ini I can't
find any line to set up this information (my login and password). Please,
could you help me?? Thanks.
It is not possible with the mail function. Try the classes that I
suggested before.
--
Regards,
Manuel Lemos
Free ready to use OOP components written in PHP
http://www.phpclasses.org/
--- End Message ---
--- Begin Message ---
My phpinfo? page shows gd (extension gd2.dll) has been eabled, but I still cannot see
any images? any simple way to test gd function really installed and work/or not?
I am using: Win-xp+Apache2+php4.3.2
Thank you for reply in advance.
Walter
---------------------------------
Do you Yahoo!?
Free online calendar with sync to Outlook(TM).
--- End Message ---