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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to