Most voted "file-put-contents" questions
6 questions
Sort by count of
-
4
votes2
answers1388
viewsHow to save facebook profile photo in database?
I have a button that when you click, connects to facebook and displays the data of the person in a form for registration, in this form to a field of type text that returns to me the following:…
php facebook facebook-graph-api file-get-contents file-put-contentsasked 9 years, 8 months ago Soares 83 -
2
votes1
answer135
viewsReading and writing problems
Assuming you have an access log, each request will create or include values in the log file. Simulating several requests via ajax, I found that there is always a problem. If you log into the browser…
-
2
votes2
answers1154
viewsAdd Information to a file on a specific line
I’m using the file_put_contents to create a file, but in a certain part of my process I need to add things to that file but only from line 2, I searched in the PHP documentation of file_put_contents…
-
1
votes1
answer384
viewsProblems with file_put_contents()
I have a script that runs every time a particular page is loaded. Basically, it does a database search and saves the values in a file: $servicos = $db->prepare('SELECT id_servico,…
-
0
votes1
answer103
viewsScroll through a.txt file and extract a "PK" from the file
I started recently with programming in PHP and I’m having some difficulty in understanding some functions anyway, I’m participating in a project, and as part of the project I need to store a array…
-
0
votes0
answers24
viewsFile_put_contents writes only half of the data
So I’m having a little problem with my code, query, for, foreach and if work perfectly. However, file_put_contents only writes half of the reported data. My goal with this code is basically to make…