[PHP] Session Problem

2007-02-15 Thread LoneWolf
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]

Re: [PHP] Is echo tag reasonably portable?

2005-11-15 Thread lonewolf
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

Re: [PHP] Is echo tag reasonably portable?

2005-11-15 Thread lonewolf
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 trying to

Re: [PHP] Unable to send variables to MySQL table

2005-11-09 Thread lonewolf
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

Re: [PHP] security code

2005-11-09 Thread lonewolf
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

Re: [PHP] Clean variables sent from forms

2004-09-04 Thread lonewolf
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

Re: [PHP] PHP Linux locate to html script?

2004-09-03 Thread lonewolf
?php $items = passthru('locate whatever'); echo htmlbodyP; echo $items; echo /P/body/html; ? - 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

Re: [PHP] PHP Linux locate to html script?

2004-09-03 Thread lonewolf
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 very