PHP Classes

PHP Live Chat Browser: Live chat with users of the same or another site

Recommend this page to a friend!
     
  Info   Example   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 175 All time: 8,778 This week: 41Up
Version License PHP version Categories
live_browser 0.0.1Freeware8Chat, PHP 8
Description 

Author

This package implements a live chat with users of the same or another site.

It displays a chat window where users can send messages to other users of the same site or another.

The users can choose their nickname and send text messages with emoticons.

Innovation Award
PHP Programming Innovation award nominee
August 2022
Number 9
Chatting is helpful to help users of a site communicate with each other or even with the site owners, for instance, to provide support for the site users.

Decentralization is a new trend that will allow sites to avoid depending too much on the services of a single location or a small number of areas.

This package implements a decentralized chat solution that allows users of a site to chat with users of other sites without currently leaving the area they are visiting.

Manuel Lemos
Picture of Free Ment
Name: Free Ment <contact>
Classes: 2 packages by
Country: Canada Canada
Age: ???
All time rank: 410987 in Canada Canada
Week rank: 164 Up7 in Canada Canada Up
Innovation award
Innovation award
Nominee: 1x

Example

<?php

//header("Access-Control-Allow-Origin: *");
//header('Access-Control-Allow-Credentials: true');
//header('Access-Control-Allow-Methods: GET, POST, OPTIONS, DELETE');

include('../life.php');
$life = new life();
$source = $life->get_by_request('source');
if(
$source == false) {
    exit(
0);
}
$from = $life->get_by_request('from');
$to = $life->get_by_request('to');
$time = $life->get_by_request('time');
if(
$time == false) {
    exit(
0);
}
$message = $life->get_by_request('message');
if(
$message === false || $message === NULL) {
    exit(
0);
}

//define('DS', '/');
include('..' . DS . '..' . DS . 'LOM' . DS . 'O.php');
//if(file_exists($to . '.xml')) {
// file_put_contents($to . '.xml', '');
//}
$O = new O($to . '.xml');
$O->_new('<message><source>' . htmlentities($source) . '</source><from>' . htmlentities($from) . '</from><time>' . $time . '</time><text>' . htmlentities($message) . '</text></message>
'
);
print(
'<div title="' . date('Y-m-d H:i:s', $time) . '">' . $from . ': ' . $message . '</div>
'
);
$O->save();

?>


Details

live_browser

bringing the internet to life

Requires https://github.com/freementls/LOM

I'm fixing the internet. Shoutout to Linus Torvalds. Computers use death-based logic instead of life-based principles. Bridging this gap is non-trivial but inevitable. I'd prefer if we could keep our advances instead of only removing our losses, civilizationally.

Having a chat that can work across websites instead of being centralized to one company or web adress etc. is live at http://freement.site/live_browser/chat/ you are encouraged to upload this to your server, to be able to chat with any other website that uses this or compatible code!

Version 0.0.1

This chat is: <br /> . uncensored<br /> . unrestricted<br /> . unsecured<br /> . unlimited<br /> . cross-platform<br /> . decentralized<br /> . no accounts<br /> . free

Known bugs

. can memory leak<br /> . emojis sometimes do not work after input

Coming soon: research tools, free browsing, improved internet architecture building and communitizing.

Fractality, universal harmony, inverflexion.


  Files folder image Files (80)  
File Role Description
Files folder imagechat (31 files)
Files folder imagechat2 (3 files)
Accessible without login Image file accolade-logo-400x400.png Icon Icon image
Accessible without login Plain text file amiunique.html Data HTML page
Accessible without login Plain text file att_enc_test.php Example Example script
Accessible without login Plain text file bubba.php Aux. Auxiliary script
Accessible without login Plain text file do.php Example Example script
Accessible without login Plain text file economy.php Aux. Auxiliary script
Accessible without login Plain text file focus.php Aux. Auxiliary script
Accessible without login Plain text file frame1.html Doc. HTML page
Accessible without login Plain text file frame2.html Data HTML page
Accessible without login Plain text file frame3.html Data HTML page
Accessible without login Plain text file gettr.php Aux. Auxiliary script
Accessible without login Plain text file iframe_test.html Data HTML page
Accessible without login Plain text file image_metadata_test.html Data HTML page
Accessible without login Plain text file input.php Aux. Auxiliary script
Accessible without login Plain text file interact.php Aux. Auxiliary script
Accessible without login Plain text file jquery-3.5.0.js Data Auxiliary data
Accessible without login Plain text file jquery.playSound.js Data Auxiliary data
Accessible without login Plain text file keyboard_capture.js Data Auxiliary data
Plain text file life-20220314.php Class Class source
Plain text file life-20220321.php Class Class source
Accessible without login Plain text file live.html Data HTML page
Accessible without login Plain text file live.php Example Example script
Accessible without login Plain text file live_browser.js Data Auxiliary data
Accessible without login Plain text file live_window.html Data Live window page
Accessible without login Plain text file local.xml Data Auxiliary data
Accessible without login Plain text file local1.xml Data Auxiliary data
Accessible without login Plain text file memes.txt Doc. Documentation
Accessible without login Plain text file ment.php Example Example script
Accessible without login Plain text file mind.xml Data Auxiliary data
Accessible without login Image file mona.jpeg Icon Icon image
Accessible without login Plain text file multiple.php Aux. Auxiliary script
Accessible without login Plain text file perms.php Aux. Auxiliary script
Accessible without login Image file qm.jpg Data Auxiliary data
Accessible without login Plain text file qupud.php Aux. Auxiliary script
Accessible without login Plain text file README.md Doc. Documentation
Plain text file seed.php Class Class source
Accessible without login Plain text file selection_capture.js Data Auxiliary data
Plain text file sleep_test.php Class Class source
Accessible without login Plain text file slide.php Aux. Auxiliary script
Accessible without login Plain text file soundy.html Data HTML page
Accessible without login Plain text file soundy.php Aux. Auxiliary script
Accessible without login Plain text file soundy1.php Aux. Auxiliary script
Accessible without login Plain text file sticky_test.html Data HTML page
Plain text file stress.php Class Class source
Accessible without login Plain text file text_drop.html Data HTML page
Accessible without login Plain text file undertest.php Aux. Auxiliary script

  Files folder image Files (80)  /  chat  
File Role Description
  Accessible without login Plain text file Baba.xml Data Auxiliary data
  Accessible without login Image file back4.jpg Data Auxiliary data
  Accessible without login Plain text file Charlie.xml Data Auxiliary data
  Accessible without login Plain text file correctingInterval.js Data Auxiliary data
  Accessible without login Plain text file DisMojiPicker.js Data Auxiliary data
  Accessible without login Plain text file emojis.css Data Auxiliary data
  Accessible without login Image file fractal_destination.jpg Icon Icon image
  Accessible without login Image file fractal_destination_small.jpg Icon Icon image
  Accessible without login Plain text file headers_test.php Aux. Auxiliary script
  Accessible without login Plain text file index.php Example Example script
  Accessible without login Plain text file jquery-3.6.0.min.js Data Auxiliary data
  Accessible without login Plain text file last_active.php Example Example script
  Accessible without login Image file merkaba.jpg Icon Icon image
  Accessible without login Image file merkaba_small.jpg Icon Icon image
  Accessible without login Plain text file new_message.php Example Example script
  Accessible without login Plain text file number_new_messages.php Example Example script
  Accessible without login Plain text file refresh.php Example Example script
  Accessible without login Image file root.png Data Auxiliary data
  Accessible without login Image file star.jpg Icon Icon image
  Accessible without login Plain text file testajax.php Aux. Auxiliary script
  Accessible without login Plain text file testcors.php Aux. Auxiliary script
  Accessible without login Plain text file testcors.txt Doc. Documentation
  Accessible without login Plain text file testcors2.php Aux. Auxiliary script
  Accessible without login Plain text file testcorsajax.php Aux. Auxiliary script
  Accessible without login Plain text file testcorsajax2.php Example Example script
  Accessible without login Plain text file testcorsajax3.php Aux. Auxiliary script
  Accessible without login Plain text file testto.xml Data Auxiliary data
  Accessible without login HTML file tweindex.html Doc. Documentation
  Accessible without login Plain text file twemoji.min.js Data Auxiliary data
  Accessible without login Plain text file update.php Example Example script
  Accessible without login Plain text file urlencode.php Aux. Auxiliary script

  Files folder image Files (80)  /  chat2  
File Role Description
  Accessible without login Plain text file index.php Aux. Auxiliary script
  Accessible without login Plain text file jquery-3.6.0.min.js Data Auxiliary data
  Accessible without login Plain text file refresh.php Example Example script

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
Downloadlive_browser-2022-08-02.zip 1605KB
Downloadlive_browser-2022-08-02.tar.gz 1583KB
Install with ComposerInstall with Composer
Needed packages  
Class DownloadWhy it is needed Dependency
LOM Download .zip .tar.gz needed for chat, live browsing; not needed for certain functions like scraping Recommended
 Version Control Unique User Downloads Download Rankings  
 100%
Total:175
This week:0
All time:8,778
This week:41Up