Update SQL Statement
Posted 05 April 2006 - 08:28 PM
Posted 06 April 2006 - 04:11 AM
The clean way to do something like that is to make the upload handler in the included file a function, and have it return the new filename. That way your scoping all works out. You can also use a global variable, the included file sets it, the calling file checks its value later. The "global" construct can be used to bring it into scope. i.e. "global $cfg; echo $cfg;"
Posted 08 April 2006 - 08:11 AM
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users