470,833 Members | 1,387 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,833 developers. It's quick & easy.

Change variables from function

JV
Subject: Change variables from function

Currently im working on writing login/verification scripts and I understand
that leaving files that may contain sensitive information in the Document
Root is unadvisable, thus im working on breaking up my long scripts into
files to be included from the main page through the <? required() ?> tag.

So herein lies the question. how can i safely set/alter the same variables
from across several different functions ? I kinda understand the use global
vairables.

If this is a syntax issue or you know of a site that might have indepth
references to the php syntax, then feel free to reply that as well.

Thnx n advnc

JV
Jul 17 '05 #1
2 1658
Hi,

On Wed, 08 Sep 2004 02:16:41 GMT, "JV" <jveil.hotpop@com> wrote:
Subject: Change variables from function

Currently im working on writing login/verification scripts and I understand
that leaving files that may contain sensitive information in the Document
Root is unadvisable, thus im working on breaking up my long scripts into
files to be included from the main page through the <? required() ?> tag.

So herein lies the question. how can i safely set/alter the same variables
from across several different functions ? I kinda understand the use global
vairables.


So, Do global variables not work? Can you give us a code example?

HTH,

Jochen
--
Jochen Daum - Cabletalk Group Ltd.
PHP DB Edit Toolkit -- PHP scripts for building
database editing interfaces.
http://sourceforge.net/projects/phpdbedittk/
Jul 17 '05 #2
JV
sorry folks im having issues with my code ...

can anyone here suggest a php debugger (ive googled for one) that will work
from CLI thats being remotely accessed on a linux box

TFH
JV
Jul 17 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by Randell D. | last post: by
10 posts views Thread by TheKeith | last post: by
7 posts views Thread by Michael | last post: by
5 posts views Thread by VA | last post: by
8 posts views Thread by bim_bom | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.