Re: Access site from one machine[computer] using php

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





Hi,

above all, sorry for my english.

To find it, using javascript, your script will have to handle all kind of OS and browsers.
And I think, it could not be possible because it's a security problem and browsers will block this kind of request.

Even if it's possible, you could get only MAC addresse if you are on the same physical network of the users.
Otherwise, you will only get the MAC addresse of your firewall/router, or the MAC of the router that last handled the packet before it got to your server.

MAC address, it's a pretty poor security solution, it's easy to sniff, and can be spoofed.

jo


--- In php-objects@xxxxxxxxxxxxxxx, Udayakumar Sarangapani <udayakumaar@...> wrote:
>
> Using system function by providing ipconfig / ifconfig as input, one can get the 
> output with ip address, mac address i think.
> 
> I did not check that. Please check that on your end.
> 
> Sorry If I am wrong.
> 
>  Thanks & Regards
> Udayakumar Sarangapani
> Chennai.
> 
> "Science is nothing but logic..."
> 
> 
> 
> 
> 
> ________________________________
> From: Mayank Kumar <mayank.kumar1306@...>
> To: php-objects@xxxxxxxxxxxxxxx
> Sent: Thu, 18 November, 2010 11:10:49 AM
> Subject: Re:  Re: Access site from one machine[computer] using php
> 
>   
> I slightly have different views.
> 
> IP Header does not contain MAC address. To retrieve client MAC some kind of
> code should be executed on the client system.
> 
> Php can get servers MAC but it cant retrieve client MAC. Java Script runs on
> client but I dont know whether its capable of this or not. If Java Script
> can retrieve MAC, then ajax can be used to send this MAC to the server which
> in turn will save the MAC in some kind of data base.
> 
> On Thu, Nov 18, 2010 at 10:57, sahil khan <smarrt_ghosting@...> wrote:
> 
> >
> >
> > i m aslo agree with Reji,Sohil Parekh
> > u can get Client MAC Address and store in ur database and use it in ur
> > login clause
> >
> > thanks & Regards
> > Sharjeel
> >
> > --- On Thu, 18/11/10, yogesh babar 
> ><babar.yogesh@...<babar.yogesh%40gmail.com>>
> > wrote:
> >
> > From: yogesh babar <babar.yogesh@... <babar.yogesh%40gmail.com>>
> > Subject: Re:  Re: Access site from one machine[computer] using
> > php
> > To: php-objects@xxxxxxxxxxxxxxx <php-objects%40yahoogroups.com>
> > Date: Thursday, 18 November, 2010, 9:52 AM
> >
> >
> > Hi,
> >
> > Cookie is used but cookie can be deleted or access by other person so that
> > we can't use that one.
> >
> > thanks for your reply.
> >
> > On Thu, Nov 18, 2010 at 9:45 AM, Reji Jayan 
> ><for_rejijayan@...<for_rejijayan%40yahoo.co.uk>
> > >wrote:
> >
> > >
> > >
> > >
> > > Mac ID is also unique, you can see internet providers making use of it.
> > >
> > > its just a suggestion, havent used it yet.
> > >
> > >
> > > Thank You,
> > >
> > > Reji,
> > > PHP Developer.
> > > ==================
> > >
> > > --- On Wed, 17/11/10, Reji Jayan 
> ><for_rejijayan@...<for_rejijayan%40yahoo.co.uk>
> > <for_rejijayan%40yahoo.co.uk>>
> > > wrote:
> > >
> > > From: Reji Jayan 
> ><for_rejijayan@...<for_rejijayan%40yahoo.co.uk><for_rejijayan%
> > 40yahoo.co.uk>>
> > >
> > > Subject: Re:  Re: Access site from one machine[computer]
> > using
> > > php
> > > To: php-objects@xxxxxxxxxxxxxxx <php-objects%40yahoogroups.com><php-objects%
> > 40yahoogroups.com>
> > > Date: Wednesday, 17 November, 2010, 10:54 PM
> > >
> > >
> > >
> > >
> > > This case you can consider using cookies, there will be some security
> > > issues.
> > >
> > > .
> > >
> > > .
> > >
> > > .
> > >
> > > .
> > >
> > > but i dont know how is this with Joomla.
> > >
> > > Thank You,
> > >
> > > Reji,
> > >
> > > PHP Developer.
> > >
> > > ==================
> > >
> > > --- On Wed, 17/11/10, yogesh babar 
> ><babar.yogesh@...<babar.yogesh%40gmail.com>
> > <babar.yogesh%40gmail.com>>
> > > wrote:
> > >
> > > From: yogesh babar <babar.yogesh@... 
> ><babar.yogesh%40gmail.com><babar.yogesh%
> > 40gmail.com>>
> > >
> > > Subject: Re:  Re: Access site from one machine[computer]
> > using
> > > php
> > >
> > > To: php-objects@xxxxxxxxxxxxxxx <php-objects%40yahoogroups.com><php-objects%
> > 40yahoogroups.com>
> > >
> > > Date: Wednesday, 17 November, 2010, 10:20 AM
> > >
> > > hi,
> > >
> > > Thanks for your help but ip is dynamically change.so that how can i
> > > identify
> > >
> > > this one.[if i am right that ip is changing dynamically].
> > >
> > > On Tue, Nov 16, 2010 at 10:46 PM, Sohil 
> ><sparekh3088@...<sparekh3088%40yahoo.com>
> > <sparekh3088%40yahoo.com>>
> > > wrote:
> > >
> > > >
> > >
> > > >
> > >
> > > > For this u just need 2 save the ip address of the user from where he
> > > first
> > >
> > > > registers and then compare each time the user logs in.
> > >
> > > >
> > >
> > > > Regards,
> > >
> > > > Sohil Parekh
> > >
> > > >
> > >
> > > >
> > >
> > > > --- In php-objects@xxxxxxxxxxxxxxx 
> ><php-objects%40yahoogroups.com><php-objects%
> > 40yahoogroups.com><php-objects%
> > > 40yahoogroups.com>, yogesh
> > >
> > > > babar <babar.yogesh@> wrote:
> > >
> > > > >
> > >
> > > > > Hi,
> > >
> > > > >
> > >
> > > > > When user first time register to my site.only that computer can
> > access
> > > my
> > >
> > > > > site.none other computer can access my site.Please tell me how to do
> > >
> > > > > this.[one computer can access my site].I use php and joomla for that.
> > >
> > > > >
> > >
> > > > > Sorry for my wrong english.
> > >
> > > > > It is very argent for me.
> > >
> > > > >
> > >
> > > > >
> > >
> > > > > --
> > >
> > > > > Regards,
> > >
> > > > > Yogesh Babar(Programmer)
> > >
> > > > > Phone no:9730325504.
> > >
> > > > >
> > >
> > > > >
> > >
> > > > > [Non-text portions of this message have been removed]
> > >
> > > > >
> > >
> > > >
> > >
> > > >
> > >
> > > >
> > >
> > > --
> > >
> > > Regards,
> > >
> > > Yogesh Babar(Programmer)
> > >
> > > Phone no:9730325504.
> > >
> > > [Non-text portions of this message have been removed]
> > >
> > > ------------------------------------
> > >
> > > Are you looking for a PHP job?
> > >
> > > Join the PHP Professionals directory Now!
> > >
> > > http://www.phpclasses.org/jobs/
> > >
> > > Yahoo! Groups Links
> > >
> > > [Non-text portions of this message have been removed]
> > >
> > > [Non-text portions of this message have been removed]
> > >
> > >
> > >
> >
> > --
> > Regards,
> > Yogesh Babar(Programmer)
> > Phone no:9730325504.
> >
> > [Non-text portions of this message have been removed]
> >
> > ------------------------------------
> >
> > Are you looking for a PHP job?
> > Join the PHP Professionals directory Now!
> > http://www.phpclasses.org/jobs/
> > Yahoo! Groups Links
> >
> > [Non-text portions of this message have been removed]
> >
> > 
> >
> 
> [Non-text portions of this message have been removed]
> 
> 
>  
> 
> 
> 
> [Non-text portions of this message have been removed]
>



[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Soap]     [Kernel Newbies]     [Yosemite]     [Yosemite Campsites]

  Powered by Linux