pianoman993
12-27-2008, 05:43 PM
Alright, I had a thread concerning this, but the content inside became irrelevant.
Basically the problem is I have a PHP and a CGI file and I want my php variables to be recognized in the CGI file.
So if I said $username = $vbulletin->userinfo['username'] then my CGI file would have a variable like this $PREF{username} = my $username;
The only problem with the example above is that it doesn't work. Does anyone know how to do this without submitting a string in the URL?
Basically the problem is I have a PHP and a CGI file and I want my php variables to be recognized in the CGI file.
So if I said $username = $vbulletin->userinfo['username'] then my CGI file would have a variable like this $PREF{username} = my $username;
The only problem with the example above is that it doesn't work. Does anyone know how to do this without submitting a string in the URL?