I am having a problem where it appears that the session is not being saved
properly.
While on a page, I can start a session and set variables to it. however,
when I go to the next page.. the session variables appear to have been
cleared out.
first page:
session_start();
$_SESSION["user_level"
> > Every server I work on is set to not allow short tags, and I work on
> > about 7 different state, federal, and commercial ones.
>
> Why turn off short tags? Does that make things more secure?
In some respects it does because it means shortcuts are not allowed, it
also means that someone tryi
Every server I work on is set to not allow short tags, and I work on
about 7 different state, federal, and commercial ones. Some of them
don't even read .htaccess files in the directories where my scripts
reside, so trying that type of hack would get you booted.
just my $.02
--
PHP General Mail
www.phpclasses.org -> There was just one pushed out recently in fact. I
am not sitting in front of my archive or I could give you a direct URL
to it, but they have them there.
If you can't find it there, email me back directly and I'll send the
link when I get back from my conference.
Robert
--
I code all my apps to look for an empty variable and dump and empty set
into it. That way when I code the rest of the information into the
database, the files are cleaner and I don't have to worry about users
and bad sets.
$var = '';
Robert
- Original Message -
From: Stewart Priest <[EM
I did this a lot when I built my quote program for my previous company. I have all my
code at home, hence no way to give examples that I know work, however what I did was
dump the form to a php page which processed the form and then used the header.location
pieces to dump the user to the page t
Aww, I answered this one already too... I thought I beat everyone in as well, but
maybe the list is still slow??
Passthru() is better then exec() in this case, since he wants everything from locate,
I couldn't get the explode to work on my system because it didn't catch the "\n"
character ver
";
echo $items;
echo "";
?>
- Original Message -
From: BOOT <[EMAIL PROTECTED]>
Date: Friday, September 3, 2004 1:46 pm
Subject: [PHP] PHP Linux "locate" to html script?
> Does anyone have a script that can be used to call linux's locate
> commandand display the results in a browser?
>
8 matches
Mail list logo