T
T
tigra2016-08-08 21:11:46
PHP
tigra, 2016-08-08 21:11:46

How to create a simple image using gd2 in php?

I want to create a simple image using the gd2 library and save it to a folder.
I try this www.php.su/functions/?imagecreate
but I don’t understand how to specify the path where to save this square with the image?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Aksentiev, 2016-08-08
@tigroid3

Forget about php.su
Use the usual documentation: php.net/manual/ru/function.imagepng.php

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question