View Single Post
# 3 06-03-2010 , 04:37 PM
Registered User
Join Date: Feb 2010
Posts: 4
All fixed. To anyone who stumbles across this with the same problems:

1) global variables need to be defined in the procedure as well as outside the proc.

2) file id's can be defined globally by doing:

PHP Code:
global int $file;
$file = `fopen $fileLoc "r"`;