0

How to use move_uploaded_file to save file from Get File in telegram.

My code is :

enter image description here

move_uploaded_file("https://api.telegram.org/file/
            botMYTOKEN/photo/file_4.jpg", "/images/1.jpg");
ρяσѕρєя K
  • 132,198
  • 53
  • 198
  • 213
Ebrahim
  • 13
  • 4

1 Answers1

0

You can't use a http path with move_uploaded file. It have to be a filesystem path.

Twinfriends
  • 1,972
  • 1
  • 14
  • 34