[PHP] reading variables?

2006-01-19 Thread William Stokes
Hello, The code below is from a document library I'm building. With this user can upload a file to server and the uploaded files are printed as links to same page. For each printed document there's a check box "Delete" for marking that document for deletion. The document info from DB is printed

[PHP] reading variables in other script files

2003-08-01 Thread Kalle Saarinen
Hello I was just wondering how can I get value of a variable in php code located in a different file? ie. I have file1.php wich stores $var1 how can I read the value of $var1 in file2.php I have database and I can put it in there (I quess) but is that the only way? -Kalle -- PHP General Mai