Are you sure myprofile.php is on the same location of your html portion? It not supposed to load anywhere else than myprofile.php.
Oh and make sure your html portion reside inside of a .php file (ie index.php), otherwise your browser would not interpret the php commands.
replace the securitytoken value by this: <?=$vbulletin->userinfo['securitytoken']?> ( my original token value was specified elsewhere).
if you commented out or removed the exec_header_redirect(); (there's both 2 of them) the webpage would stop loading and leave a blank page.
EDIT: oh, I got your edit message. Glad you got it working.
|