Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

http, https, sessions & curl

Status
Not open for further replies.

alfalf

Programmer
Joined
Mar 6, 2003
Messages
155
Location
BA
Hello.

I installed Apache 1.3.27 mod_ssl 2.8.11 open SSL 0.9.6g and one older PHP version 4.2.2. All this on W2K :-).

And I have both my (http & https) servers running OK(othough the certificate for now is invalid (I haven't purchased one yet)).

I have two questions: concerning http-https servers and sessions and about curl instalation.

1. Do I loose session vars when switching http to https and vice versa (I know that cookies are domain bounded, but is that the case with session vars?)? Presumption here: sessions are MySQL driven.

2. 'passing values' from https to http server (and vice versa) is OK thing. I will most certainly use it. But in my Apache module PHP instalation, I don't see curl (via PHPInfo) installed. How to install curl? Any FAQs arround?

Thanks for any suggestions.



- Programs are supposed to make living become easier. Do they? -
 
see and sessions are a way that can be used to store var info in the php language between web pages.

To err is human, to completely mess up takes a computer. [morning]
 
1. In its default configuration, PHP passes session tokens via cookies, so they are domain-driven, too. You can configure PHP to perform session-token passing via link rewriting, which is not domain-dependent. Whether you're using MySQL or the filesystem as the session variable store makes no difference.

2. To make cURL available, you need to be able to compile software. Although cURL is available in binary form for Win32, you'll have to be able to recompile PHP to make the cURL functionality available. Instructions are in the cURL section of the online manual:

Want the best answers? Ask the best questions: TANSTAAFL!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top