Sigx

We are the future in the past.
It is currently Tue Mar 19, 2024 2:34 am

All times are UTC - 8 hours




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: [user_ip]
PostPosted: Tue Jul 27, 2004 2:05 am 
Offline

Joined: Mon Jul 26, 2004 4:11 am
Posts: 7
The [user_ip] variable does not work in my remote script. Any ideas why? I am a paid member.

When I view my sig (http://www.conradpublishing.com/sigs/sig.php) it just shows up as [user_ip] instead of displaying the IP. I am placing the variable in a signature display field. But the display field IP works and I can view my IP that way. I just can't manually type it in.

Maybe it's because I am using a different font? I highly doubt that that is the problem though.

I have tried both the VB and C++ client.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jul 27, 2004 2:26 am 
Offline

Joined: Thu Jul 03, 2003 3:06 pm
Posts: 652
this is what you can do.

after the..
$alldata = getSomeData($un);
you put in
$ip = getenv("REMOTE_ADDR");
$alldata = str_replace("[user_ip]", "$ip", $alldata );

_________________
Image
~~~SigX C++ Edition~~~


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jul 27, 2004 11:21 am 
Offline

Joined: Mon Mar 15, 2004 1:48 pm
Posts: 1397
Location: Los Angeles
the remote sigx cant get stuff like [user_ip] because thats executed on my server, and it will return your servers ip not the viewers ip.

_________________
Image

Image

Image


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jul 27, 2004 11:32 am 
Offline

Joined: Thu Jul 03, 2003 3:06 pm
Posts: 652
what i posted will work if you add that to your remote SigX code i tryed it and it works for me.

_________________
Image
~~~SigX C++ Edition~~~


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jul 27, 2004 3:49 pm 
Offline

Joined: Mon Jul 26, 2004 4:11 am
Posts: 7
Thank you, it works!


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC - 8 hours


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group