小编las*_*san的帖子

如何在godaddy共享主机上安装composer?

我正在尝试安装作曲家,但出现错误,

我做了什么 ,

  1. 下载的作曲家 wget https://getcomposer.org/installer
  2. php installer --check

使用 Composer 的所有设置都正确

  1. php installer

我得到的错误,

无法下载“ https://getcomposer.org/versions ”文件:无法启用加密无法打开流:操作失败下载反复失败,正在中止。

我试过谷歌但没有运气

php cpanel composer-php

7
推荐指数
1
解决办法
1万
查看次数

如何使用telethon在电报频道中获取所有用户?

我是telethon和python的新手.我已经在python3中安装了telethon,我希望获得电报频道或小组的所有成员.我在互联网上搜索了很多,发现下面的代码.我正在努力去理解它.Telegram文档还不足以做到这一点.有更好的解决方案吗?

from telethon import TelegramClient

from telethon.tl.functions.contacts import ResolveUsernameRequest
from telethon.tl.functions.channels import GetAdminLogRequest
from telethon.tl.functions.channels import GetParticipantsRequest

from telethon.tl.types import ChannelParticipantsRecent
from telethon.tl.types import InputChannel
from telethon.tl.types import ChannelAdminLogEventsFilter
from telethon.tl.types import InputUserSelf
from telethon.tl.types import InputUser
# These example values won't work. You must get your own api_id and
# api_hash from https://my.telegram.org, under API Development.
api_id = 12345
api_hash = '8710a45f0f81d383qwertyuiop'
phone_number = '+123456789'

client = TelegramClient(phone_number, api_id, api_hash)





client.session.report_errors = False
client.connect()

if not client.is_user_authorized():
    client.send_code_request(phone_number)
    client.sign_in(phone_number, …
Run Code Online (Sandbox Code Playgroud)

python telegram telethon

5
推荐指数
3
解决办法
6379
查看次数

如何在php中从整数中分割字符串?

我有一个像这样的字符串:

$str="hello world 2 in 365 php";
Run Code Online (Sandbox Code Playgroud)

我要这个:

['hello world' , 'in' , 'php']
Run Code Online (Sandbox Code Playgroud)

有任何想法吗?

php regex

-1
推荐指数
1
解决办法
34
查看次数

标签 统计

php ×2

composer-php ×1

cpanel ×1

python ×1

regex ×1

telegram ×1

telethon ×1