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
HOSTADDR(1)						      General Commands Manual						       HOSTADDR(1)

NAME
hostaddr - show ethernet address, IP address or hostname SYNOPSIS
hostaddr [-eia] [-E eth-device] [-I ip-device] DESCRIPTION
Without any of the -eia options, hostaddr shows the ethernet address, IP address and hostname of the local host on one line in the given order. With options only the wanted fields are shown, still in the same order, not in option order. OPTIONS
-e Show the ethernet address. -i Show the IP address. This will not work if no IP address has been found by RARP or by setting it with ifconfig(8). -a Show the fully qualified hostname. The IP address is shown again if it can't be translated to a host name. (This usually indicates that the DNS reverse address translation tables are incomplete.) SEE ALSO
ifconfig(8), rarpd(8), nonamed(8), set_net_default(8), boot(8). DIAGNOSTICS
"Timeout" Hostaddr timed out trying to get the IP address. This means that the network connection is out of order or that the setup of the machine is bad. AUTHOR
Kees J. Bot (kjb@cs.vu.nl) HOSTADDR(1)
All times are GMT -4. The time now is 12:21 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy