I had the same problems with MAMP. If you are using a local version of apache, you have to give your LAMP/WAMP/LAMP stack permission to write files.
@McGavel19 жыл бұрын
Very cool stuff. Thanks for going through this in a an easy-to-understand step-by-step fashion.
@lorenz9877 жыл бұрын
I couldn't create a file on my webserver so had to manually change permissions (chmod) of the folder where my files were in. Even 6 years after these tutorials were made, they are still helpful!
@paulmcneice111 жыл бұрын
dude i know this was four months ago but what i did was (on mac) Open applications folder Locate XAMPP folder Right click, get info Click the 'locked' padlock symbol Enter admin password Change 'Everyone' permissions to read & write select the 'cog' icon' drop down option at the very bottom and select 'Apply to enclosed items' this will adjust the permission across all sub-folders as well. Re-lock the padlock symbol Task complete,
@johnpatrickbrines71688 жыл бұрын
Hello i cant view my Index try to look at 2:37 of this video please help me
@OCEANbreezeDIA13 жыл бұрын
@noneofthem Did you check the newly written files' permissions in Linux?
@mastermax777713 жыл бұрын
i have been waiting long for this tutorial :d ty alex for making these wonderful tutorials
@WhereTheStoryEnds13 жыл бұрын
Great tuts. Could you tell me what screen recorder are you using?
@gauravdawg11 жыл бұрын
i was just wondering why does reloading the file.php does not keep writing the values again and again in the names.txt
@thisisnotreal90011 жыл бұрын
Hi guys, if the " " (the newline) part doesn't seem to work in your program, try " " instead. It works for me :)
@senpaicore9257 жыл бұрын
Hey I'm wondering why " " doesn't work for me. And how to use PHP_EOL?
@benx0511 жыл бұрын
any idea how to use this on linux? it won't create any file..
@PugsForties13 жыл бұрын
How do you get to this page? This "Index Of" page?
@lestercute8927 жыл бұрын
So where this function would be useful in the actual website? you didn't tell us at the end of this video.
@S.Hexa.L7 жыл бұрын
it do not work on windows sever 2012 can sum one help me?
@navjeetsingh755612 жыл бұрын
i am notgeeting the result i received an error suggest me the solution
@pocong7ganu7 жыл бұрын
here how to use PHP_EOL fwrite($handle, 'Alex'.PHP_EOL); fwrite($handle, 'Bilis');
@dionadewiriana64577 жыл бұрын
this actually works, thanks
@anthonyrosamilia349810 жыл бұрын
So if i wanted to make a submit button inside index.html would it be and this would make whats in file.php write to the text file as well?
@KrizaIid1179 жыл бұрын
As long as I know, there's no METHOD="LINK" for a FORM element, so you should use an anchor with href: Execute file.php And yes, this will execute whatever is inside file.php.
@vaishnaviganseh28848 жыл бұрын
Hello Alex. I am having trouble opening the file. I get this warning when I do so. "Warning: fopen(names.txt): failed to open stream: Permission denied in /Applications/XAMPP/xamppfiles/htdocs/services/filehandling/file.php on line 4" How am I meant to solve this issue? Please help :)
@wavestechnology69267 жыл бұрын
Hi there Wonderful tutorials :) is it possible (in video tutorial ) to change video number from '"79" to be "78" so the first tutorial will be "Write" and then "append" and lastly "reading" when you watch first file then "reading " there is code not clearing but cleared in the "append" video . Thanks indeed :)
@jhimsonraypamisa56289 жыл бұрын
" " for new line doesn't works on my php :3 please help!
@brunoribeiro13836 жыл бұрын
It is backslash above your enter key, not the forward slash
@Dalwanaage13 жыл бұрын
Good tuts. Thanks the Thenewboston and Alex.
@sunkyamzat77328 жыл бұрын
concise and explicit..makes perfect sense.
@lahavs1013 жыл бұрын
If for anyone the linebreak doesn't work, use the.PHP_EOL instead.
@movie62711 жыл бұрын
if or doesn't work for you! Just use PHP_EOL
@RahilWazirAli12 жыл бұрын
early in the morning watched this fresh tutorial
@Kanosauries12 жыл бұрын
Thanks a lot! Otherwise, I would have taken forever to figure out why nothing was happening.
@BrianSy11 жыл бұрын
didn't work for me, worked
@hassanbaiga12 жыл бұрын
You mean CRUD ?
@PaulFriemel9 жыл бұрын
@Paul Mcneice you are the F'in man
@JoyfulElephant12 жыл бұрын
That applies to SQL. Not here
@IanStubbsR12 жыл бұрын
Thanks! That worked perfectly for me.
@ryandsouza909310 жыл бұрын
in the subtitles: 1:00 the third one is for acne lol
@camarenalove13 жыл бұрын
Great teacher!
@bigfuzzydog11 жыл бұрын
Yep - that did work for me. Thanks!
@cjvaans448411 жыл бұрын
The worked for me.
@alex_smith12311 жыл бұрын
I wish he wrote bucky instead of billy
@Decodeish112 жыл бұрын
This is so like c++.
@vyuutuube9 жыл бұрын
great work Alex.
@rajalakshmi-ki3he6 жыл бұрын
tq
@westfield906 жыл бұрын
So helpful
@TheGuroguro128 жыл бұрын
thanks.
@gauravdawg11 жыл бұрын
Thanks :)
@mann56817 жыл бұрын
i want to follow you everywhere alex...pl give me ur social urls...like fb and instagram...etc