Sponsored Content
The Lounge What is on Your Mind? Telegram Bots - Bot Code Examples Post 303016021 by Neo on Wednesday 18th of April 2018 08:53:51 AM
Old 04-18-2018
Hmmmm.

Darn!

PHP Telegram Bot based on the official Telegram Bot API

Only works with PHP 5.5 or greater, but we are at 5.3. I tried a number of hacks but could not get that code to work on PHP 5.3 even with my hacks and mods.

After reviewing all the recommended PHP libs for Telegram, all require PHP 5.5+ and we are still at 5.3, so maybe I should put this off until we port the site to PHP 7.

Ugghhhhh
 

3 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Bots

Hi i just joined i was wanting to know if anyone knew a good program or something to help me create a bot? (1 Reply)
Discussion started by: Bigin
1 Replies

2. What is on Your Mind?

Hunting Anomalous Bots - An Introduction to Cyber-Objects - Live From Cyberspace

https://www.unix.com/members/1-albums212-picture687.png Hunting Anomalous Bots - An Introduction to Cyber-Objects - Live From Cyberspace Click title image (above) for video tutorial. (5 Replies)
Discussion started by: Neo
5 Replies

3. UNIX for Beginners Questions & Answers

Automation using bots in Linux/UNIX ?

Hi folks, has any one attempted using bots for performing tasks in unix?please share if you faced any challenges thanks (1 Reply)
Discussion started by: tommy812
1 Replies
HOSTS(5)							File Formats Manual							  HOSTS(5)

NAME
hosts - hostname to IP address database SYNOPSIS
/etc/hosts DESCRIPTION
The hosts database lists the IP addresses and the hostnames that translate to these IP addresses. It is used by nonamed(8) in a network without name servers. A simple /etc/hosts may look like this: 127.0.0.1 localhost 192.9.200.1 darask 192.9.200.2 burask The localhost entry lists a special address that refers to the local host itself (a kind of /dev/tty for hosts.) You should only list it if nonamed needs it! The other entries are actual machines. The file may contain comments marked with '#'. You can have aliases (more hostnames on the same line), but it is not recommended, because nonamed can't present them to the system as CNAME records. An often seen form like 192.9.200.1 darask.home.cs.vu.nl darask is harmless though, and has the small advantage that you can use the short name in /etc/ethers so rarpd can match it at boot time. FILES
/etc/hosts Hosts database. SEE ALSO
ethers(5), nonamed(8), rarpd(8), boot(8). AUTHOR
Kees J. Bot (kjb@cs.vu.nl) HOSTS(5)
All times are GMT -4. The time now is 10:03 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy