Hmm, thats a very good point! I hadn't thought that over to be honest.
It's likely that more than one user will be using it, so yes it could cause problems.
As it is the config file will be called from within the user area meaning that I'll have some variables, for example $username or something along those lines.
What I am sending to the config file is the username which will define which folder to upload to.
Perhaps I could use the $username variable to create a unique config file? and have it deleted when the session ends or something like that?
Any ideas/hints?
or - am I likely to be getting in too deep here (without resorting to getting someone in to do this), considering I don't know too much about php!
PS. I have figured out an easy way to get the variables from the url;
PHP Code:
<?php echo($param1); ?>
and so on
To grab the username in the original page I use
PHP Code:
<?php echo ($_SESSION['valid_user']) ?>
and add it to the url as a variable.
|