Frequently Asked Questions: page: 16
Page 16 of 21 · <1 ... 15 16 17 ... 21 >
-
1
Does the browser load the whole PHP page or does it just load the sections that we see?
The server won’t send any HTML code or images to the browser for other webpages, only the section you ask for - if you check view source on one of your pages, that’s all it will return to the user’s browser.
May 21, 2004 |
By Sasha |
Filed under FAQ, NL-ConvertToPHP, Scripts
-
2
When I try to look at my pages, I get the header, footer, but none of my content. What’s wrong?
Make sure you are pointing to the right URL. Your pages will be something like: example.com/whatever.php?section, not example.com/whatever.php?=section or example.com/whatever.php?id=section.
May 21, 2004 |
By Sasha |
Filed under FAQ, NL-ConvertToPHP, Scripts
-
3
When I try to look at index.php?section, it prompts me to download the file instead of opening it. Is it just something that I will have to upload to make it work, or did I do something wrong?
Yes, you have to upload it to your server for it work. In fact, that goes for all .php pages — you can’t see them before uploading, because all PHP files must be parsed by the server before they can return HTML to the browser (unless of course, you have PHP installed on your computer, but that’s usually not the case).
May 21, 2004 |
By Sasha |
Filed under FAQ, NL-ConvertToPHP, Scripts
-
4
I can’t get the variables to show up in the file I included it in. What can I do?
Check if you are using a full URL to the file in the include (something like http://www.yourdomain.com/folder/file.php). If that’s the case, try changing it to either a relative url:
include '../file.php';
or to the absolute path:
include '/home/yoursite/public_html/requirements.php';
That should solve any problems.
May 21, 2004 |
By Sasha |
Filed under FAQ, NL-GenericPages, Scripts
-
5
Help! I don’t know how to set up an HTML email form!
Setting up a form is quite easy. You can find a tutorial about this here.
May 21, 2004 |
By Louise |
Filed under FAQ, NL-PHPMail, Scripts