Skip to content

input is empty !  #894

@rad1k4l

Description

@rad1k4l

my hook.php

$file = 'data.txt';

$current = file_get_contents($file);

$current .= serialize($_POST);

file_put_contents($file, $current);

my data.txt

a:0:{}a:0:{}

when i try this with library on puts in data.txt : Input is empty!

Required Information

  • Operating system:
  • PHP version:
  • PHP Telegram Bot version:
  • Using MySQL database: yes / no
  • MySQL version:
  • Update Method: Webhook / getUpdates
  • Self-signed certificate: yes / no
  • RAW update (if available):

Expected behaviour

Actual behaviour

Steps to reproduce

Extra details

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions