Тёмный

PHP - Write to File - file_put_contents() 

Eli the Computer Guy
Подписаться 1,1 млн
Просмотров 5 тыс.
50% 1

You can write variables to a file with file_put_contents(). If the file pointed to does not exist it will be created. By adding FILE_APPEND this will append data to the created file, if not the file will be over written.

Наука

Опубликовано:

 

24 дек 2018

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 6   
@elithecomputerguy
@elithecomputerguy 5 лет назад
Go to www.elithecomputerguy.com to copy/paste code samples
@siddheshkhandare6659
@siddheshkhandare6659 5 лет назад
Thank you for giving Idea and knowledge I am from India 🇮🇳🇮🇳🇮🇳
@craigjones8558
@craigjones8558 5 лет назад
Ditto. He's so under appreciated, even here, posting PHP videos on xmas day.
@Calm_Energy
@Calm_Energy 5 лет назад
Cool analogy! Php is the Secretary of the Internet. 🖤
@firstsquares6547
@firstsquares6547 5 лет назад
I would appreciate if you would indicate the security concerns that may be related to file_put_contents() ? Thanks.
@user-ih2zp9jg7f
@user-ih2zp9jg7f Год назад
Hi Eli, this tutorial really helps. My name is Ruud, from Amsterdam. I have created a star rating system using only HTML and CSS, but now I am struggling with the PHP code to store the data (after Submit) directly into a .txt file or .html file or .php file. Can you help me out?
Далее
PHP - Turn File Into an Array - file()
7:58
Просмотров 6 тыс.
PHP - Send Emails - mail()
14:59
Просмотров 10 тыс.
Tom🍓Jerry 😂 #shorts #achayanarmyfamily
00:14
Просмотров 14 млн
PHP - Garbage Code and Bad Variables
9:43
Просмотров 4,1 тыс.
MySQL - MySQL Introduction
39:46
Просмотров 34 тыс.
PHP - Send Data to PHP with HTML Form
18:32
Просмотров 8 тыс.
API (Application Program Interface) - What is...
5:08
PHP - Shared Hosting for Running...
9:27
Просмотров 4,3 тыс.
HTML Intro - What is HTML (Hyper Text Markup Language)
30:26
Prices & Poco M4 Pro 5G
1:00
Просмотров 266 тыс.