PDA

View Full Version : how to output username from php to a text file?


Hornstar
06-27-2010, 04:07 AM
How to output username from php to a text file?

I have this code in my php file:
$lic .= ":" .htmlspecialchars_decode($bbuserinfo['username']); //append the username to the license textAm I missing something?


edit nevermind, got it working with:
$lic .= ":" .htmlspecialchars_decode($vbulletin->userinfo['username']);