Hi to all!
I am total newbie at php and I've setup LAMP server and what is the "best location (folder)" on this linux server to save php scripts, which retreive data from mysql and write results of queries into .xml files? What chmod does this folder must have? And how do I then "launch" written script from other "client" computer?
Sincerely,
Marko
PHP Scripts Location
Moderator: General Moderators
Re: PHP Scripts Location
well. i use xampp at the At first, and you can also read some simple scripts. you can find scripts in these sites:
http://www.phpkode.com
http://www.hotscript.com
http://www.softpadia.com
Reading and writing is the best way to study php
http://www.phpkode.com
http://www.hotscript.com
http://www.softpadia.com
Reading and writing is the best way to study php
Re: PHP Scripts Location
by the way. i suggest you have a look at manual in php.net
You will find your answer there.
You will find your answer there.
- flying_circus
- Forum Regular
- Posts: 732
- Joined: Wed Mar 05, 2008 10:23 pm
- Location: Sunriver, OR
Re: PHP Scripts Location
Hi,KernelPanic wrote:Hi to all!
I am total newbie at php and I've setup LAMP server and what is the "best location (folder)" on this linux server to save php scripts, which retreive data from mysql and write results of queries into .xml files? What chmod does this folder must have? And how do I then "launch" written script from other "client" computer?
Sincerely,
Marko
The best location to store your .php files that are to be served through a webserver, would be the webserver's document root. It' varies between installations and can user defined, but a common place to check would be /var/www/
have a look through your linux distro's help files or simply google for the document root of your webserver on your linux distro