L
L
luckyjenro02021-06-07 15:25:20
PHP
luckyjenro0, 2021-06-07 15:25:20

How to auto-create a file on the site?

Hello! How can I implement auto-creation of a file, through which script can be in which jap? The idea is that the main page on the site would be index.php - the site installer, after the user enters data from the database, host, etc. there. this file was deleted and a certain script was executed so that it would be possible to create a new file with certain contents in it ... Thanks in advance!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
O
Oleg Frolov, 2021-06-07
@luckyjenro0

https://www.php.net/manual/ru/function.file-put-co...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question