Hi,
i'd go with the server side solution instead of depending on java running.
Let's face it, if we all had such great confidence in java we'd be posting
on the javadev list:) (ok erase that comment).
Anywayz, php makes for a good solution i think, but I believe standaard ssi
env vars will do the trick as well?
eg if ssi is configured for your webserver and you use the vars from
http://hoohoo.ncsa.uiuc.edu/cgi/env.html
see http://httpd.apache.org/docs/1.3/howto/ssi.html as well.

What you are suggesting, if i got it right, to not allow the user to
download the code at all, if his ip was already banned, seems good to me
too:).

grtz
H


 
 

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf 
> Of MetaArt
> Sent: Monday, May 15, 2006 1:21 PM
> To: Flashcoders mailing list
> Subject: Re: [Flashcoders] Grab IP address
> 
> Well,
> controversies apart, the Google search don't match good result...
> apparently, JavaScript IP grab can be done only on Mozilla, 
> and with Java enabled, and this isn't good for my goal.
> I'm developing a widget, and I need a way to check the owner 
> IP, to ban a self, improper, use.
> Cause the way the widget can be inserted in a web page (just 
> some rows of code, but necessarily only JavaScript and/or 
> Flash embed, because I can't know if the user can modify his 
> page(s) to php...), I need an approach that match some simply rules:
> - easy and crossbrowser way to insert in web page(s)
> - a trustwhorty way to identify the owner, to avoid that in 
> case he should use the widget I think that the better way to 
> achieve this goal is grab the IP.
> Actually, I can grab the IP, via PHP, when the user come to 
> get the code...
> but, however, I have always a doubt about it: is this the 
> better solution to achieve my goal?
> Tell me your opinion...
> 
> * Enrico Tomaselli
> * web designer
> [EMAIL PROTECTED]
> http://www.metatad.it
> * Skype: MetaArt
> RSS: http://www.metatad.it/mnfeeder.php
> 
> _______________________________________________
> [email protected]
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> 
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training 
> http://www.figleaf.com http://training.figleaf.com
> 

_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to