Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
PHP and how to call it?
Name: boaster Date: May 15, 2008 at 08:16:51 Pacific OS: n/a CPU/Ram: n/a Product: n/a
Comment:
Where do I put my php scripts and then how do I refer to them in my code.
My web directory is public_html/website. The page calling the script is public_html/website/happenings/happage.html
I put a php subdirectory under public_html as instructed by my web host but get a "script not found" error when I use any of the following as the script path for test.php:
Name: ShaqDiesel Date: May 20, 2008 at 13:00:59 Pacific
Reply:
Assuming you're using apache, look in your server configuration file httpd.conf. Whatever you set your DocumentRoot as is where your php scripts should go. By default it should be your htdocs folder.
To refer to the php script, set the action attribute of your html form to the path of your php script.
Summary: Hello, I'm new to PHP and trying to figure out how to protect PHP include files. I've searched google and got one solution which needs to edit php config to make those files with certain extensions in...
Summary: My website no longer works. My main page come up but everything else loads "Ir4dex Was HeRe./mass /home! - ir4dex@katatudo.com.br" What is it and how do I fix it? I get a lot of results from searches...
Summary: Using static documents is certainly the fastest way, but string matching your database regularly isn't very dynamic (and when you add content it creates an extra step). Also, It could pollute your da...