News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

making name of logged user visible to external php script

Started by dfTruF, November 12, 2008, 09:35:09 AM

Previous topic - Next topic

dfTruF

Hi,

I have website with smf forum and I try to use name of logged user on script which is not connected to smf (but on the same website). How can I do this?

For example:
(1) I logged in to my smf forum as "user81"
(2) I go to main page of my site "main.php" 
(3) main.php script of my website print html page with text "Welcome user81 !"

How can I do this without cookies?


+ +

ccbtimewiz

One possible method would be to call your SSI.php. Use the ssi_welcome(); function. :)

This should really be in SMF Coding Discussion

Rumbaar

"An important reward for a job well done is a personal sense of worthwhile achievement."

[ Themes ]

Advertisement: