Print WiFi-Scan result to apache webpage

BlackLeakz

New Member
Joined
Jan 31, 2023
Messages
2
Reaction score
1
Credits
19
Dear comm,

i want to scan for wifi-networks by using a html button & want to print the result to webpage,
i would be grateful for a quick reply,

greetz, blackleakz
 


I got it..

by php

<?php
$filename = "tmp.txt";
$file = fopen( $filename, "r" );

if( $file == false ) {
echo ( "Error in opening file" );
exit();
}

$filesize = filesize( $filename );
$filetext = fread( $file, $filesize );
fclose( $file );

echo ( "File size : $filesize bytes" );
echo ( "<pre>$filetext</pre>" );
?>
 

Members online


Latest posts

Top