php-windows Digest 11 May 2002 11:03:44 -0000 Issue 1139
Topics (messages 13696 through 13703):
Re: mail() problem
13696 by: Jason Soza
13700 by: Tomator
13703 by: Manuel Lemos
capturing windows clipboard && sorry!
13697 by: firepages
13698 by: Mike Flynn
13699 by: firepages
13701 by: Eduards Cauna
mailing list ?????
13702 by: toby z
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 ---
Did you restart Apache after making the php.ini changes?
Jason Soza
----- Original Message -----
From: "Tomator" <[EMAIL PROTECTED]>
Date: Friday, May 10, 2002 1:52 pm
Subject: [PHP-WIN] mail() problem
> When I try to use mail() function I see warning "Unknown error in
> line...".
> I'm using WinXP with PHP as Apache's module and have PHP.INI in
> C:\winnt,where is the line "SMTP = my.addres". However phpinfo()
> ALWAYS tells that
> SMTP is "localhost". I can change thist only with ini_set(), but
> it doesn't
> fix my problem - I can't send any e-mail from my PHP!
>
> How to do this??
--- End Message ---
--- Begin Message ---
> I'm using WinXP with PHP as Apache's module and have PHP.INI in C:\winnt,
> where is the line "SMTP = my.addres". However phpinfo() ALWAYS tells that
> SMTP is "localhost". I can change thist only with ini_set(), but it
doesn't
> fix my problem - I can't send any e-mail from my PHP!
OK, I've managed. I had to set "SMTP" and "sendmail_from" at script level,
with ini_set() function. But I still don't know why PHP is not responding to
changes in php.ini. Php.ini is stored in c:\winnt folder which is indicated
(by phpinfo() ) as one containing php.ini. So, does everybody know why does
this work that way?
I've of course restarted Apache (many times) and rebooted computer (twice),
but I still can't see any effect of changing php.ini!
--- End Message ---
--- Begin Message ---
Hello,
On 05/11/2002 04:56 AM, Tomator wrote:
>>I'm using WinXP with PHP as Apache's module and have PHP.INI in C:\winnt,
>>where is the line "SMTP = my.addres". However phpinfo() ALWAYS tells that
>>SMTP is "localhost". I can change thist only with ini_set(), but it
>
> doesn't
>
>>fix my problem - I can't send any e-mail from my PHP!
>
>
> OK, I've managed. I had to set "SMTP" and "sendmail_from" at script level,
> with ini_set() function. But I still don't know why PHP is not responding to
> changes in php.ini. Php.ini is stored in c:\winnt folder which is indicated
> (by phpinfo() ) as one containing php.ini. So, does everybody know why does
> this work that way?
>
> I've of course restarted Apache (many times) and rebooted computer (twice),
> but I still can't see any effect of changing php.ini!
You may want to try this class to see exactly why your messages are not
going through. I suspect that your SMTP server needs autentication.
http://www.phpclasses.org/smtpclass
You may also want to try that class with this wrapper to compose and
send MIME formatted messages so it minimizes the chances of your
messages being refused by servers that suspect of spam.
http://www.phpclasses.org/mimemessage
--
Regards,
Manuel Lemos
--- End Message ---
--- Begin Message ---
1st off sorry for my time travelling computer - hopefully thats sorted now ?
My Q is how would (can I) capture the contents of the windows clipboard?
I have an app running on the client computer, they copy an image to the
clipboard.. - canI get it ? if so any pointers on how would be much
appreciated.
Regards,
Simon(still sorry) Wheeler
firepages
--- End Message ---
--- Begin Message ---
Nope, not possible. PHP is NOT a client-side language. It's only server-side.
-Mike
At 12:55 PM 5/11/02 +0800, you wrote:
>1st off sorry for my time travelling computer - hopefully thats sorted now ?
>
>My Q is how would (can I) capture the contents of the windows clipboard?
>I have an app running on the client computer, they copy an image to the
>clipboard.. - canI get it ? if so any pointers on how would be much
>appreciated.
>
>Regards,
>Simon(still sorry) Wheeler
>firepages
>
>
>
>--
>PHP Windows Mailing List (http://www.php.net/)
>To unsubscribe, visit: http://www.php.net/unsub.php
-- Mike Flynn --
mike @ mikeflynn . net
home => work => home => shop => home [adbusters]
--- End Message ---
--- Begin Message ---
:) yes it is - I am using PHP-GTK as a clientside GUI for this project, you
can also use PHP clientside via commandline or batchfile.
the PHP-GTK documentation has some note of import_clipboard but the
documentation is sketchy as best at that level, I am looking through the
GTK+ docs but thats the C api and I have problems reading it ;)
I would assume that the w32api might offer some help but documentation again
is sparse.
Regards,
Simon wheeler.
firepages
----- Original Message -----
From: "Mike Flynn" <[EMAIL PROTECTED]>
To: "firepages" <[EMAIL PROTECTED]>
Cc: "php hlp list" <[EMAIL PROTECTED]>
Sent: Saturday, May 11, 2002 1:05 PM
Subject: Re: [PHP-WIN] capturing windows clipboard && sorry!
> Nope, not possible. PHP is NOT a client-side language. It's only
server-side.
>
> -Mike
>
> At 12:55 PM 5/11/02 +0800, you wrote:
> >1st off sorry for my time travelling computer - hopefully thats sorted
now ?
> >
> >My Q is how would (can I) capture the contents of the windows clipboard?
> >I have an app running on the client computer, they copy an image to the
> >clipboard.. - canI get it ? if so any pointers on how would be much
> >appreciated.
> >
> >Regards,
> >Simon(still sorry) Wheeler
> >firepages
> >
> >
> >
> >--
> >PHP Windows Mailing List (http://www.php.net/)
> >To unsubscribe, visit: http://www.php.net/unsub.php
>
>
> -- Mike Flynn --
> mike @ mikeflynn . net
> home => work => home => shop => home [adbusters]
>
>
>
--- End Message ---
--- Begin Message ---
> > >My Q is how would (can I) capture the contents of the windows clipboard?
> > >I have an app running on the client computer, they copy an image to the
> > >clipboard.. - canI get it ?
Think about JavaScript.
--- End Message ---
--- Begin Message ---
guyz .....
anyone know bout some good ssl and xml mailing lists
?????
pleez .... do lemme no ......
thnx a billion .....
toby ....
__________________________________________________
Do You Yahoo!?
LAUNCH - Your Yahoo! Music Experience
http://launch.yahoo.com
--- End Message ---