php-windows Digest 26 Mar 2001 05:42:37 -0000 Issue 510

Topics (messages 6286 through 6294):

Re: PHP4 isapi on IIS 4/5
        6286 by: Phil Driscoll

Re: Error in CGI Application in IIS
        6287 by: Phil Driscoll

Problem - Sending mail
        6288 by: Andrew Parry

rand()
        6289 by: Patricio

Re: Sending Commands
        6290 by: Alex

Thanks to Fernando, Ben, Tom & Others
        6291 by: OneFish

Compiling, How to resolve com?
        6292 by: Joe Brown

Solved - Problem - Sending mail
        6293 by: Andrew Parry

PHP under WinME
        6294 by: Christoph Winkler

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]


----------------------------------------------------------------------


>yes but try using it in network envirement with
>//fileserver/projects/ or something like that, i cannot develop directly on
>web server , that is why we are still developing with php3,
I think this has been fixed for the next release of php (someone correct me
if I am wrong).

> and do you know
>is it possible to use p_connect functions for DBs if you are running in cgi
>mode?

You can use it but it doesn't give you much advantage since the connection
dies when the cgi dies.

>and is isapi mode ever going to be available on windows ?

Well it's available now, it just doesn't work very well. I'm sure that any
help in making it more stable would be gratefully received.

Cheers
--
Phil Driscoll
Dial Solutions
+44 (0)113 294 5112
http://www.dialsolutions.com
http://www.dtonline.org





>I had the same problem but this did not work , could you pleas send me (or
>the newsgroup) llist of "tricks" you have for this problem
If it isn't a 'file does not exist' problem, it is almost invariably due to
the anonymous web user account (IUSR_<machinenmame>) not having sufficient
privileges or permissions to get php to run. Usually this is to do with
permissions on one or more of the files php needs in order to run - php.exe,
php.ini, php4ts.dll or any extensions.

Cheers
--
Phil Driscoll
Dial Solutions
+44 (0)113 294 5112
http://www.dialsolutions.com
http://www.dtonline.org





Hi,

Background:
-------------
I'm developing a web application using PHP, and want to automatically mail
users on certain events (eg. new user logging in, etc).

My web host does not provide dial-up and SMTP services, so my mail host is
at a different domain to my web site.

Problem:
---------
If I use the PHP mail() function after calling ini_set("SMTP",
"my.smtp.server") and ini_set("sendmail_from", "user@my_domain"), mail gets
sent but the From details are set to www@<web_host_domain_name> which is not
what I want.

I've tried using sockets and sending directly to the SMTP server, but when I
do RCPT TO:<user@my_domain> the server sends back 550 <user@my_domain>
Relaying denied.

The connection (HELO) and MAIL FROM commands are accepted by the mail host.

I'm not a mail guru, and only have a very basic understanding of SMTP, but I
would have thought that if my mail host will process messages from my web
host, it should also process messages sent via a socket connection.

I realise this is not a PHP problem, but someone else here has probably come
across the same thing, so it's worth a shot. :-)

Any help very gratefully received.

Andrew Parry
Parrible Limited
[EMAIL PROTECTED]







Hi,
Someone knows why rand([min] [,max] returns me the min value.
thanks,
Patricio






Hi,
Sorry, I receive your and my messages to the list with the delay.
It's really hard to use COM objects without any documentation but you can
find some issues in the Registry. Probably, your game server doesn't
contains COM objects if it is cmd.exe box application.
So, you have to try to use something else.

Alex.

I cannnot fin out what com app. name this program has. I am trying to send
commands to a  gameserver while it is running and also the commands will be
different depending on whats going on inside the game sever. It runs inside
of a windows cmd.exe box. If I can use COM for this, How would I go about
finding the COM name for it?



Thanks,
Josh Seward



> Hi,
>
>
> >I have been looking for a way to send commands to a windows application.
>
> You can do the communication with your application as with a set of COM
> objects
> via php scripts.
>
> >I can start the application and leave it running in the background.
>
> You do not need to start the application at the background to access the
> COM-objects.
>
> >The application takes commands from the keyboard and I need a way to send
> it commands via my php script????
>
>
> So, what's the problem?
>
>
> >If anyone knows a way of doing this, PLEASE HELP!!!!!!!!!!
>
>
> Read the php manual to know how to operate COM.
>
> >Thanks,
> >Josh Seward






Have got a lot of replies helping me out on my installation problems of
Apache, PHP and MySQL on windows.  Would like to say thank you to you guys
(including all who have replied to me in my discussion thread and also to my
mailbox). This list is really helpful!

onefish

--
BizPartner IT Center
~ Effective, Supportive & Personalized ~
Computer Training, Internet Marketing, IT Consulting, E-Commerce & Wireless
Solutions

Tel: +603-42802281
Email: [EMAIL PROTECTED]
Web Site: http://bizpartner.hypermart.net
Wap Site: http://wapnwap.com/bizpartner






I've been trying to compile php4 on Windows.

Almost there, but I haven't figured out how to resolve this, except to yank
COM stuff out of the source.

Haven't figured out how to compile oci8 either, but that's secondary to the
initial obstical.

With RC1 and the latest snaps, there are unresolved symboles in the compile:

Linking...
   Creating library ..\Debug/php4nts_debug.lib and object
..\Debug/php4nts_debug.exp
internal_functions_win32.obj : error LNK2001: unresolved external symbol
_VARIANT_module_entry
COM.obj : error LNK2001: unresolved external symbol _php_char_to_OLECHAR
COM.obj : error LNK2001: unresolved external symbol _php_OLECHAR_to_char
COM.obj : error LNK2001: unresolved external symbol _php_pval_to_variant
COM.obj : error LNK2001: unresolved external symbol _php_variant_to_pval
..\Debug\php4nts_debug.dll : fatal error LNK1120: 5 unresolved externals
Error executing link.exe.

Please enlighten me.

Thanks,

-Joe






Many thanks to Dan Gibbs and JiveCat.

Andrew

""Andrew Parry"" <[EMAIL PROTECTED]> wrote in message
99l2s4$3qo$[EMAIL PROTECTED]">news:99l2s4$3qo$[EMAIL PROTECTED]...
> Hi,
>
> Background:
> -------------
> I'm developing a web application using PHP, and want to automatically mail
> users on certain events (eg. new user logging in, etc).
>
> My web host does not provide dial-up and SMTP services, so my mail host is
> at a different domain to my web site.
>
> Problem:
> ---------
> If I use the PHP mail() function after calling ini_set("SMTP",
> "my.smtp.server") and ini_set("sendmail_from", "user@my_domain"), mail
gets
> sent but the From details are set to www@<web_host_domain_name> which is
not
> what I want.
>
> I've tried using sockets and sending directly to the SMTP server, but when
I
> do RCPT TO:<user@my_domain> the server sends back 550 <user@my_domain>
> Relaying denied.
>
> The connection (HELO) and MAIL FROM commands are accepted by the mail
host.
>
> I'm not a mail guru, and only have a very basic understanding of SMTP, but
I
> would have thought that if my mail host will process messages from my web
> host, it should also process messages sent via a socket connection.
>
> I realise this is not a PHP problem, but someone else here has probably
come
> across the same thing, so it's worth a shot. :-)
>
> Any help very gratefully received.
>
> Andrew Parry
> Parrible Limited
> [EMAIL PROTECTED]
>
>
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>






Hi! I am using PHP4 on Apache 1.3.6 under Windoze Me. When I'm calling my ip
or localhost. The page cannot be found. There's no Error msg from Apache.
Can anyone help? Thank you!




Reply via email to