Jump to content

Old man confused by isset


litebearer

Recommended Posts

I used an 'install package' to install apache/php/mysql on my system (WIN XP) at home.

I used the EXACTLY identical 'install package' to install apache/php/mysql on my system (Same verion of XP as at home - all updates and patches are identical) at the office.

I did NOT change any of the ini settings on either system so they too should be identical. (I downloaded the 'package' to my thumb drive and installed both systems from the same thumb drive).

The Problem:

when this script is run at home, it echos out [!--coloro:#FF6666--][span style=\"color:#FF6666\"][!--/coloro--]Claims to be set[!--colorc--][/span][!--/colorc--].
when I run the identical script at my office it echos out [!--coloro:#FF6666--][span style=\"color:#FF6666\"][!--/coloro--]Says not set[!--colorc--][/span][!--/colorc--]

if I put an exclamation mark in front of isset, then they reverse their ouptuts.

Why????
[code]
if (isset($_SESSION['yesitis'])) {
    echo "Claims to be set";
}else{
    echo "Says not set";
}[/code]
Thanks,

Lite...

Link to comment
Share on other sites

Your first mistake, was running it on Windows. [img src=\"style_emoticons/[#EMO_DIR#]/laugh.gif\" style=\"vertical-align:middle\" emoid=\":laugh:\" border=\"0\" alt=\"laugh.gif\" /]

Sorry, J/K (Kind of :-P)...ahem. *Clears throat* You may proceed.
Link to comment
Share on other sites

Thank you!.

Your test lead me to see the error of my thinking. Too much wine and tight swim goggles can do that.

I was clicking thru too fast and completely missed the fact that it was in fact doing things properly, I simply was in error.

Thanks again.

Lite...
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.