Detect wireless networks with JS/php code?/

Mediawiz

Power Member
Joined
Apr 19, 2016
Messages
512
Reaction score
635
Hi,

Is there any way to detect wireless networks with Javascript/php/other web code?

For one of my projects i'd like to display the networks around my user but I can't really find a solution.

Thanks.
 
if using lunix you can try http://php.net/manual/en/function.shell-exec.php
to execute system commands, compiled with (nmcli), you'll get result you want
 
On the javascript side, and probably a little bit easier to use, google wifi-control for node js.
 
You want to create a web page that scans and displays the wifi networks around the user who's browsing your site? That's not possible.

With php, the code runs server-side so you cannot detect the user's wifi networks, only those around the server (assuming it has access to a wifi adapter)

With client-side javascript, that can't be done. Unless you use Node.js, but that runs server-side just like php.
 
You want to create a web page that scans and displays the wifi networks around the user who's browsing your site? That's not possible.

With php, the code runs server-side so you cannot detect the user's wifi networks, only those around the server (assuming it has access to a wifi adapter)

With client-side javascript, that can't be done. Unless you use Node.js, but that runs server-side just like php.

With browserify you could run nodejs stuff on clientside
 
With browserify you could run nodejs stuff on clientside

No you can't. You can convert the code to run in the browser but it won't have access the underlying subsystem that node.js has. There will be a lot of missing system calls you can perform on node.js that don't work in a browser.
 
You gotta be kidding me? And all the answers with possible solution.

Client side javascript has limited access to what you can do. So that's trigger my I HAVE NO CLUE WHAT IM DOING alert.
 
Back
Top