w3schools

pearljamming

Registered Member
Joined
Apr 8, 2012
Messages
67
Reaction score
2
This site is the place that I went to learn HTML/CSS. I still go there to reference anything I may have forgotten.

Now that I'm on PHP I find it difficult to learn it the way they have their tutorials set up.

Is w3schools pretty much end all be all of web languages or are there any better sites to learn PHP?
 
For books:

- PHP In Action
- PHP Objects, Patterns and Practice

Additionally, the tutorials at the following site are very good:
Code:
http://www.tizag.com/phpT/

Also, php.net (the official site documentation) should pretty much be your homepage - as you will need it alot.
 
Thanks, I'm trying to follow the guide now.

I didn't want to install xamp on my computer so I went with trying to do it on my domain and it's giving me a 404 error when trying to load any .php extension files. This web host supports PHP and has MySQL, not sure what I'm doing wrong :(.

EDIT: 403 error, my bad.
 
Make sure that your operating system isnt set to "Hide Extensions for known file types", otherwise you may find that your files are like:

myphpfile.php.txt

Are you using cPanel on your host, or do you have FTP access? Ensure that you are trying to load a file from the correct directory


EDIT: For a 403 error, make sure that the files are in the correct directory. Do you have a public_html or a www directory? As your files will need to be in that/those directories or a subdirectory of them. Accessing any files that are not in those directories may give you the 403 Access Forbidden error
 
Last edited:
Yes at first it was using a php.txt extension but I fixed that and I still received the same error. The .php file is located in the html folder, I'm still stumped.

I also use FTP to access my files.

EDIT:uhm, so I got it to work by putting the actual file name at the end....sitename/blahblah.php

I understand I'm doing something wrong, I just dont know what it is.
 
Last edited:
Okay! So I fixed it! Thanks Vibrance!

Anyways when I was using just html it would only load as welcome.html and not index.html (WHY? who knows).

Now the only way that my .php file will work is if I use it as index.php.

yuno be consistent ant server!
 
W3Schools is one of the worst resources to use nowadays. Despite the name they are not actually affiliated with W3C in any way.

http://w3fools.com/
 
I didn't want to install xamp on my computer so I went with trying to do it on my domain and it's giving me a 404 error when trying to load any .php extension files. This web host supports PHP and has MySQL, not sure what I'm doing wrong :(.

Not sure why you didn't want to install xamp, but it's much more convenient to code and manage projects locally than in server if you end up having more than one project. At least that's my experience. You can always use some virtual machine like virtual box if you are worried that xamp does something to your system that you don't like.
 
they are good for newbies and to get into web development but for anything more advanced i wouldn't recommend them.
 
Back
Top