Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

enadabuzaid's avatar

Upload photo from API

How I can upload photos from API

0 likes
7 replies
enadabuzaid's avatar

okay, thank you... if I want to upload photos to files on Namecheap it's the same thing, right?

bugsysha's avatar

@enadabuzaid

on Namecheap it's the same thing, right?

Yes (unless there is something specific that I don't know about). I suggest you try it before asking a follow up question.

1 like
bugsysha's avatar

How I can upload photos from API

Such a vague question. I've highlighted word from since files are usually uploaded to API and not from.

But if it is correct what you are asking then fetch the links from API and you can even use file_get_contents() function to get the actual images.

enadabuzaid's avatar

okay the photos on my web it is work but when upload photo from API it's doesn't work

martinbean's avatar

@enadabuzaid Really put effort into your question there, buddy. Don’t expect people to put effort into their answers if you can’t be bothered to tell us what you’ve tried, what you’re struggling with.

You can’t just post a half-sentence question and expect someone’s going to write out thorough, step-by-step instructions for you.

3 likes
enadabuzaid's avatar

Thank you, my friend, for the advice. It is the first time to post a question here .. I am still a beginner

Please or to participate in this conversation.