php-windows Digest 26 Apr 2004 00:35:40 -0000 Issue 2225
Topics (messages 23540 through 23542):
Steps to setup PEAR
23540 by: sudar
23542 by: Jason Barnett
Global variables x includes
23541 by: F�bio Berbert de Paulaᢩo Berbert de Paula
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 ---
Clean Clean DocumentEmail MicrosoftInternetExplorer4 /*
Style Definitions */ table.MsoNormalTable {mso-style-name:"Table Normal";
mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes;
mso-style-parent:""; mso-padding-alt:0in 5.4pt 0in 5.4pt; mso-para-margin:0in;
mso-para-margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:10.0pt;
font-family:"Times New Roman";}
Hai
Could any one walk me through the steps for installing andusing PEAR library in my PHP
Scripts. I have heard a lotabout PEAR so I would like to use it in my scripts. Any
help will beappreciated.
With regards
Sudar
[EMAIL PROTECTED]
---------------------------------
Do you Yahoo!?
Yahoo! Photos: High-quality 4x6 digital prints for 25�
--- End Message ---
--- Begin Message ---
I thought PEAR's website had a manual for installation? Well in any
case if you have PHP 4 (I think 4.3.2+) then you should have a PEAR
directory already. In it should be go-pear, try giving that a whirl
(there's also a batch file to run it on the command line if you prefer).
If that doesn't work, then come back here and tell us what happened.
--- End Message ---
--- Begin Message ---
Hi list,
I'm having trouble to migrate a Linux site to Windows. For
example, I have a include file that look like this:
CUT -----
// useronly.inc
if (!$_COOKIE['syslogin']) {
header("Location: /expired.php");
exit;
}
CUT -----
When a page includes this file, it means that the user
can navigate only if the syslogin cookie is set. I call
this page on this way:
<?
// some_test.php
include("useronly.inc");
...
?>
On Linux, it works, but on Windows (IIS + PHP4), the pages
included by "include" diretive does not undertand any
global array of variables. It can be $_COOKIE, $_SESSION,
$_SERVER and others.
What can I do to make my included files see global variables?
Thanks,
Fabio
--- End Message ---