ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> php-windows
php-windows
RE: [PHP-WIN] php 4.1 / xitami on a Win2k computer
by Wolfgang Schneider other posts by this author
Jan 29 2002 5:01PM messages near this date
RE: [PHP-WIN] mail to too many users | [PHP-WIN] Version of Merlin/PHP that works??
Hi everyone,

I've got the problem with the PHP_SELF question solved ... someone
did supply me with some code that "did the trick".  If anyone is
interested, here it is:
___________________________________

// Under Apache $PHP_SELF is needed, under Xitami it is $SCRIPT_NAME
// Find out based on which one has ".php" in it.
if (ereg ("\.php", $SCRIPT_NAME)) $CONSTANT_SELF = $SCRIPT_NAME;
else $CONSTANT_SELF = $PHP_SELF;
$CONSTANT_SELF = str_replace ("\\\\", "/", $CONSTANT_SELF);

	Then just use $CONSTANT_SELF
____________________________________

A different error message keeps coming up though which concerns
"sessions" and which I have no clue why this is happening ... it is
this:

Warning: open(/tmp\sess_9f1832e85d3853950d3467fac55b1d75, O_RDWR)
failed: No such file or directory (2) in Unknown on line 0
Warning: Failed to write session data (files). Please verify that the
current setting of session.save_path is correct (/tmp) in Unknown on
line 0

I've not had experience with php 4.1 and sessions ... is there a
folder and file I need to "manually" create so that the php script
then can write session data to it?

Again, I appreciate your help ... either on the list or off list (is
that would be more appropriate, seeing that my questions perhaps are
too much of the  "beginner / newbie" type.



God bless you with His grace and peace 
Wolfgang 

Looking for Biblical information? COME AND SEE! 
-- ONLINE Courses: http://classes.bibelcenter.de ... NEW!
-- BibelCenter: http://www.bibelcenter.de 
-- Bookstore: http://www.worthy.net/BibelCenter/ 




-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-windows-unsubscribe@[...].net
For additional commands, e-mail: php-windows-help@[...].net
To contact the list administrators, e-mail: php-list-admin@lists.php.net

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved