php-windows Digest 6 Jan 2005 12:30:13 -0000 Issue 2524
Topics (messages 25232 through 25247):
PHP4.3/Apache1.3.33 under windows xp
25232 by: Srinivasan S
COM error problem with PHP 4.3.2
25233 by: PHPDiscuss - PHP Newsgroups and mailing lists
25234 by: PHPDiscuss - PHP Newsgroups and mailing lists
25238 by: Dirc
COM errors
25235 by: Dirc
COM syntax help
25236 by: Ron.Herhuth.tatumpartners.com
PHP5, IIS6, and Windows2003 Web Edition
25237 by: Steve Larabee
25240 by: Jason Barnett
problem with domxml, sablotron setup
25239 by: Leila Lappin
Is it possible to have IIS and apache runing in the same machine, with windows
xp?
25241 by: Andre
25242 by: Jason Barnett
25243 by: Rafael Soares
25244 by: Frank M. Kromann
25246 by: Armando
Word COM Object
25245 by: Ron.Herhuth.tatumpartners.com
Re: Sending Emails
25247 by: HarryG
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 ---
Hello
I have installed PHP 4.3.1o manually along with Apache 1.3 under windows xp.
I made the following entries to httpd.conf:
�
LoadModule php4_module "c:/php/sapi/php4apache.dll"
AddType application/x-httpd-php .php
In addition DocumentRoot and <Directory> is set.
Scriptalias is set to valid cgi-bin path where my test files are present
The following entries are made in php.ini:
doc_root is updated to teh same path as in DocumentRoot above
When I try to load a page test.php under cgi-bin, I get the following errors :
[Wed Jan 05 18:55:15 2005] [error] [client 127.0.0.1]
c:/php/web/cgi-bin/test.php is not executable; ensure interpreted scripts have
"#!" first line
[Wed Jan 05 18:55:15 2005] [error] [client 127.0.0.1] couldn't spawn child
process: c:/php/web/cgi-bin/test.php
Please help.
Regards
Srini
--- End Message ---
--- Begin Message ---
I have a VB component which encrypts/decrypts passwords using the CAPCIOM
EncryptedData object.
Internal to the VB component is an 'On Error Resume Next' statement before
running a method on the decrypt method.
For some reason, if there is an error on the decrypt method, rather than
carry on to the next statement, as should happen, PHP seems to see the
error and immediately error out.
I cannot replicate this using a VB windows client.
Is this normal behaviour using COM?
--- End Message ---
--- Begin Message ---
I have a VB component which encrypts/decrypts passwords using the CAPCIOM
EncryptedData object.
Internal to the VB component is an 'On Error Resume Next' statement before
running a method on the decrypt method.
For some reason, if there is an error on the decrypt method, rather than
carry on to the next statement, as should happen, PHP seems to see the
error and immediately error out.
I cannot replicate this using a VB windows client.
Is this normal behaviour using COM?
--- End Message ---
--- Begin Message ---
Apologies for the multiple posting.. the PHPDiscuss website was generating
PHP errors so it was not clear as to whether the post was actually sent....
Also, no mention was made of the fact that email addresses were to be
verified via a process with a large time delay so I sent it again...
sorry...
--- End Message ---
--- Begin Message ---
I am using a VB component for encryption/decryption of data. It in turn uses
the CAPICOM EncryptedData object as provided by Microsoft.
Having instatiated the object successfully, I am trying to run a method on
that object which fails ~60% of the time for no apparent reason.
The weird thing is that it this shouldn't happen, because there is an On
Error Resume Next statement in the VB which then checks for errors in the
CAPICOM decryption and acts accordingly. However, it seems that PHP is
getting to the error first and throwing a wobbly.. is this a possibility?
Any suggestions gratefully received!
BTW, I totally new to PHP, as you can probably guess!
Dirc
--- End Message ---
--- Begin Message ---
I am working with MS Word through the COM object. I have figrued out how
to do almost everything I need, but I want to insert a page break. This
is the code that I get from the VB Editor:
Selection.InsertBreak Type:=wdPageBreak
I tried this but it doesnt like it:
$word->Selection->InsertBreak("Type:=wdPageBreak");
What code do I use to make this work in PHP
Thanks a ton!
Ron
--- End Message ---
--- Begin Message ---
Greetings all:
I have tried a number of things that I have found in these newsgroups, and I
am still receiving 404 errors when I try to open a php page.
PHP is showing as "UP" in the ISAPI Extensions settings screen, I have PHP
allowed as a web service extension. Nothing.
Can anyone help? This is becoming very aggrivating. Everything appears to
be set right, but it doesn't work. I even enabled Anonymous browsing using
the Local Administrator account just to make sure there wasn't a security
issue.
Thanks,
Steve
--- End Message ---
--- Begin Message ---
Steve Larabee wrote:
Greetings all:
I have tried a number of things that I have found in these newsgroups, and I
am still receiving 404 errors when I try to open a php page.
PHP is showing as "UP" in the ISAPI Extensions settings screen, I have PHP
allowed as a web service extension. Nothing.
Can anyone help? This is becoming very aggrivating. Everything appears to
be set right, but it doesn't work. I even enabled Anonymous browsing using
the Local Administrator account just to make sure there wasn't a security
issue.
Thanks,
Steve
404 errors? Strange... do any of the static pages (i.e. .html pages)
get served at all, or is this just a problem with PHP pages?
--
Teach a person to fish...
Ask smart questions: http://www.catb.org/~esr/faqs/smart-questions.html
PHP Manual: http://php.net/manual/
php-general archives: http://marc.theaimsgroup.com/?l=php-general&w=2
--- End Message ---
--- Begin Message ---
I�ve been checking through internet including this mailing list for an
answer and nothing has helped so far. When I try to sablotron processor I
get "XML parser error 4: not well-formed (invalid token)". When I run this
same script on my web-host service provider�s set up everything works fine.
It seems something is messed on my setup, something like sablotron processor
does not find expat parser. When I test domxml I cannot even open the xml
file, and that also does not happen when I test the script on my web-host
service provider.
Could the problem be caused by apache 2 version? I seem to have everything
else setup right.
Thanks for your input, your advice is most needed and appreciated.
The following is my set up.
Apache Version: Apache/2.0.49 (Win32) PHP/4.3.6
Server API: Apache 2.0 Handler
Server Root: C:/Program Files/Apache Group/Apache2
extension_dir: c:\php\extensions
document_root: C:/public_html
--- End Message ---
--- Begin Message ---
Hello
Anyone know if it�s possible to have a (IIS � sql-server) and (apache �
mysql) running on the same machine?
Thanks
Andr� Caridade
--- End Message ---
--- Begin Message ---
Andre wrote:
Hello
Anyone know if it’s possible to have a (IIS – sql-server) and (apache –
mysql) running on the same machine?
Thanks
André Caridade
If they are listening on different ports then I don't think this is a
problem. Then again I've never actually done this. :)
--
Teach a person to fish...
Ask smart questions: http://www.catb.org/~esr/faqs/smart-questions.html
PHP Manual: http://php.net/manual/
php-general archives: http://marc.theaimsgroup.com/?l=php-general&w=2
--- End Message ---
--- Begin Message ---
Maybe in different ports
-----Mensagem original-----
De: Andre [mailto:[EMAIL PROTECTED]
Enviada em: quarta-feira, 5 de janeiro de 2005 14:42
Para: [email protected]
Assunto: [PHP-WIN] Is it possible to have IIS and apache runing
in the same machine, with windows xp?
Hello
Anyone know if it�s possible to have a (IIS � sql-server) and (apache �
mysql) running on the same machine?
Thanks
Andr� Caridade
--- End Message ---
--- Begin Message ---
Yes, as long as they are using different tcp ports.
- Frank
>
> Hello
>
> Anyone know if it�s possible to have a (IIS � sql-server) and (apache �
> mysql) running on the same machine?
>
> Thanks
>
> Andr� Caridade
>
--- End Message ---
--- Begin Message ---
Yes it is possible, up until recently I was running both IIS 5.0 and
Apache 2.0.51 under Win2K Server and they ran fine. You just need to
make sure they are each listening on a different port.
Mind you, I now dumped IIS/ASP completely in favor of Apache/PHP. But
the point - yes they can work together. Cheers.
Armando
Jason Barnett wrote:
Andre wrote:
Hello
Anyone know if it’s possible to have a (IIS – sql-server) and (apache –
mysql) running on the same machine?
Thanks
André Caridade
If they are listening on different ports then I don't think this is a
problem. Then again I've never actually done this. :)
--- End Message ---
--- Begin Message ---
I have successfully made a PHP script that takes dynamically generated
HTML and creates a Word Doc then saves it to the server and creates a link
to itself. This is fine and dandy but now I have to do a multipage
document using several dynamically generated pages...this isnt a problem
BUT I need to put a page break following each dynamically generated page.
Is there some MS WORD command that I could embed in the HTML I am
generating that will cause a page break?
This seemingly simple task is killing me.
Ron
--- End Message ---
--- Begin Message ---
I have a similar setup on my xp pro box but with iis. I have installed the
smtp service of iis and in my php.ini said that the mailserver is localhost.
I can send out email using my php forms and applications.
"Hassan Shaikh" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi,
>
> My server is on dynamic IP and I'm using NO-IP.com (or similar service)
> to get a boring-weeeird-name.com :) Now, is it possible to send email
> via PHP thru that server? Or do I need to use some sort of command-line
> MUA / mail client to enable sending EMAILS using PHP?
>
> Using the Apache 1.3.33, PHP5 on Win XP Pro. Please advise.
>
> Thanks.
>
>
> Hassan
--- End Message ---