php-windows Digest 8 Feb 2007 06:55:40 -0000 Issue 3135
Topics (messages 27463 through 27469):
Sessions working/not
27463 by: Ken Kixmoeller -- reply to ken.kixmoeller.com
27465 by: Bill Bolte
27467 by: Armando
27469 by: Gustav Wiberg
Re: SSL on Windows Server 2003
27464 by: Vandegrift, Ken
Re: SQL SERVER EXPRESS upgrade
27466 by: Armando
27468 by: Harpreet
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 ---
Hey - -- -
Would anyone be so kind as to un-stick my brain?
I can't get sessions to work on my development machine (localhost).
They work fine on my testing server (an internal IP). Development:
W2K, Testing Server W2K Server, both using IIS 5, PHP 5.2.
The php.ini SESSION settings are the same on both machines.
Seems to me I made this choice at some point, but now my feeble brain
can't bring it up.
<bueller>
"Anyone? Anyone?"
</bueller>
Ken
(Sorry for cross-posting --- not sure of etiquette here. Please
inform if necessary.)
--- End Message ---
--- Begin Message ---
Doesn't it haven't something to do with the permissions on the PHP
folder? ISTR that the PHP folder needed write permissions or something
like that...
-----Original Message-----
From: Ken Kixmoeller -- reply to [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 07, 2007 11:44 AM
To: [email protected]
Subject: [PHP-WIN] Sessions working/not
Hey - -- -
Would anyone be so kind as to un-stick my brain?
I can't get sessions to work on my development machine (localhost).
They work fine on my testing server (an internal IP). Development:
W2K, Testing Server W2K Server, both using IIS 5, PHP 5.2.
The php.ini SESSION settings are the same on both machines.
Seems to me I made this choice at some point, but now my feeble brain
can't bring it up.
<bueller>
"Anyone? Anyone?"
</bueller>
Ken
(Sorry for cross-posting --- not sure of etiquette here. Please inform
if necessary.)
--
PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit:
http://www.php.net/unsub.php
--- End Message ---
--- Begin Message ---
What URL are you using on your dev machine in the web browser when
testing? http://localhost...? I would try instead explicitly specifying
the machine's IP. I've had some weird issues come up in developing when
I try and use 'localhost'. Cheers.
- A -
Ken Kixmoeller -- reply to [EMAIL PROTECTED] wrote:
Hey - -- -
Would anyone be so kind as to un-stick my brain?
I can't get sessions to work on my development machine (localhost). They
work fine on my testing server (an internal IP). Development: W2K,
Testing Server W2K Server, both using IIS 5, PHP 5.2.
The php.ini SESSION settings are the same on both machines.
Seems to me I made this choice at some point, but now my feeble brain
can't bring it up.
<bueller>
"Anyone? Anyone?"
</bueller>
Ken
(Sorry for cross-posting --- not sure of etiquette here. Please inform
if necessary.)
--PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--- End Message ---
--- Begin Message ---
Hi there!
Is it exactly the same code? Do you have any code-snippet that you would like
to share with us?
Best regards
/Gustav Wiberg
-----Original Message-----
From: Ken Kixmoeller -- reply to [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 07, 2007 6:44 PM
To: [email protected]
Subject: [PHP-WIN] Sessions working/not
Hey - -- -
Would anyone be so kind as to un-stick my brain?
I can't get sessions to work on my development machine (localhost).
They work fine on my testing server (an internal IP). Development:
W2K, Testing Server W2K Server, both using IIS 5, PHP 5.2.
The php.ini SESSION settings are the same on both machines.
Seems to me I made this choice at some point, but now my feeble brain
can't bring it up.
<bueller>
"Anyone? Anyone?"
</bueller>
Ken
(Sorry for cross-posting --- not sure of etiquette here. Please
inform if necessary.)
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--- End Message ---
--- Begin Message ---
Thanks
Thanks for your reply - your explaination cleared up my
misunderstanding.
Now, would you or anybody else know why X-Cart is not detecting OpenSSL
as an installed HTTPS module when I did install it on our webserver (I
used a precompiled windows binary) and added the "bin" directory to the
windows PATH system variable and verified that the "OPENSSL_CONF" system
var was created and points to the "openssl.cnf" file in the "bin"
directory?
I can issue commands at a command prompt successfully:
C:\Any Dir>openssl version
OpenSSL 0.9.8d 28 Sept 2006
C:\Any Dir>openssl s_client -connect www.openssl.org:443
[I am connected]
GET / HTTP/1.0<enter><enter>
I get the home page source code returned.
Seems to be working on the server end.
Any ideas or other areas to investigate within PHP (OpenSSL support is
enabled in php.ini) :)
Thanks.
Ken Vandegrift
[EMAIL PROTECTED]
Web Administrator
Sharis Mgmt. Corp
-----Original Message-----
From: Frank M. Kromann [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 07, 2007 9:09 AM
To: Vandegrift, Ken
Cc: [email protected]
Subject: Re: [PHP-WIN] SSL on Windows Server 2003
> Good Day To All,
>
> System Config:
> Windows Server 2003
> PHP 5.2
>
> I'm hoping someone can help give me a high level understanding between
> the differences between an SSL certificate installed on my webserver
and
> an SSL module (e.g. OpenSSL) installed on my web server.
>
> 1. My current understanding is that the SSL certificate installed on
> my webserver will encrypt data coming from and going to a client web
> browser if the protocol is HTTPS. So, if on a checkout form at my web
> store the url begins with https, then credit card info, etc. will be
> encrypted and considered safe from sniffers, etc. Is this correct?
Correct, or at least more safe than non encrypted connections.
>
> 2. I become fuzzy then for the need or proper use of an SSL module
> (let's just go with OpenSSL). Specifically, my current webstore has
> VeriSign's Payflow Pro API installed on the webserver, and I have
> written a class that sends payment requests to VeriSign by using the
> Payflow Pro as a COM object. However, this is very slow (taking 30
> seconds per transaction). Recently my company purchased X-Cart
Shopping
> cart software and I am trying to get this configured to use our
> Payflow Pro account using XMLPay. However, I keep getting an error
> that no SSL module could be located for secure transactions. So, why
> do I need an SSL module if I am submitting transaction data to an
HTTPS url?
In this case php becomes the client and it needs to know how to encrypt
data send to the gateway (the server) and how to decrypt the data
comming back. This is where OpenSSL comes into play. If you can load the
extension called php_openssl.dll, it requires libeay32.dll and
ssleay32.dll you should be able to communicate with SSL encryptions. You
might want to take a look at the cURL extension as well. It'll do all
the encryption and decryption for you on each request.
- Frank
--- End Message ---
--- Begin Message ---
You can't access it at all, or PHP code doesn't process? I wouldn't
suspect the DBMS to be the issue if you can't connect at all... that
sounds more like a web server/permissions issue.. are you running IIS?
Did you have to install the .NET Framework 2.0 or was it already
installed? Perhaps one of the two installations meddled with your
permissions. If you figure it out though, please let me know - I have a
few clients that are planning on using it for some personal stuff and
something like this would be great to know. Cheers.
Armando
Harpreet wrote:
Not sure if anyone can help, but I upgraded from msde to sql server
express and now I cannot access my php website from another machine
other then the database server machine.
Regards,
Harpreet Kaur
--- End Message ---
--- Begin Message ---
Actually seems like a machine issue. I did the same upgrade on a
different machine and I can access it just fine from any machine. So I
think the upgrade worked just fine.
If I find anything else will post it. Thanks
Regards,
Harpreet Kaur
Crispin Corporation
(919) 367-7911
(919) 791-9886 (Cell)
-----Original Message-----
From: Armando [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 07, 2007 10:20 PM
To: [email protected]
Subject: Re: [PHP-WIN] SQL SERVER EXPRESS upgrade
You can't access it at all, or PHP code doesn't process? I wouldn't
suspect the DBMS to be the issue if you can't connect at all... that
sounds more like a web server/permissions issue.. are you running IIS?
Did you have to install the .NET Framework 2.0 or was it already
installed? Perhaps one of the two installations meddled with your
permissions. If you figure it out though, please let me know - I have a
few clients that are planning on using it for some personal stuff and
something like this would be great to know. Cheers.
Armando
Harpreet wrote:
> Not sure if anyone can help, but I upgraded from msde to sql server
> express and now I cannot access my php website from another machine
> other then the database server machine.
>
> Regards,
> Harpreet Kaur
>
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--- End Message ---