Hi 

I want to write some data from a mysql result to a txt file, to include 
it on the front page of the shop. The problem is that i have to use the 
ScreenURL function to keep the users sid number. 

When i use fwrite to write the result to the txt file, and the function is included it
writes the normal url instead of ScreenURL. This makes the links not function properly 
for the users that does not support cookies.

Basicly what im asking is how can i get it to write the ScreenURL as: <A 
HREF=\"".ScreenURL('item')."\"> not as
<a href="http://www.domain.com/index.php3?SCREEN=item&item=id">??

Is this possible ??

Please help


Tom



----- Original Message ----- 
From: Shannon -jj Behrens <[EMAIL PROTECTED]>
To: FreeTrade <[EMAIL PROTECTED]>
Sent: Sunday, September 03, 2000 12:55 AM
Subject: Re: [FreeTrade] Fw: Showing the users name when logging in


> > Can any1 suggest a easy way to show the users name,
> > and welcome him/her when logging in.
> > 
> > I do not use autologin.
> > 
> > Thanks alot :-)
> 
> If the user is logged in, then you can refer to all of his address
> information in the $UserInfo array.  Hence, 
> 
> if ($UserInfo["ID"] > 0)
> {
>     print("Howdy, " . prepareText($UserInfo["FirstName"]) . 
> ", nice to see ya!<br>\n");
> }
> 
> Best Regards,
> -jj
> 
> -- 
> if (shannon - jj) * behrens == webEngineer["CLEAR INK�"]:
>     print "<i>imagination is the only real medium(sm)</i><br>"
> 
> 
> ------------------------------------------------------------
> To subscribe:    [EMAIL PROTECTED]
> To unsubscribe:  [EMAIL PROTECTED]
> Site:            http://www.working-dogs.com/freetrade/
> Problems?:       [EMAIL PROTECTED]



------------------------------------------------------------
To subscribe:    [EMAIL PROTECTED]
To unsubscribe:  [EMAIL PROTECTED]
Site:            http://www.working-dogs.com/freetrade/
Problems?:       [EMAIL PROTECTED]

Reply via email to