![]() |
|
Welcome to the Computer Webmaster Gaming Console Graphics Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact contact us. |
| |||||||
| PHP PHP for some can be one of the hardest website programming codes, so do you need help on your PHP script, if it is php4, php5 or lower this is the place for you for any PHP help. |
![]() |
| | LinkBack | Thread Tools | Display Modes |
| | #1 | ||
| "greg brant" <greg_brant@yahoo.co.uk> wrote in message news:<vgtutcd6v5ukf0@corp.supernews.com>... > > i have a form (arround 600 lines of html) which i only want to display > if a condition isnt met... > > its a registration form. > could it be done by using an > include("the_html_form.htm"); Yes, but readfile('the_html_form.htm') would be more appropriate. When you call include() or require(), the file is parsed for PHP code, which takes a little extra time and a few otherwise unnecessary processor ticks. So it's a good idea to limit use of include() and require() to PHP files and use readfile() in all other cases... Cheers, NC | |||
|
| | #2 | ||
| thanks nc@iname.com (Nikolai Chuvakhin) wrote in message news:<32d7a63c.0307111640.5f77232f@posting.google. com>... > "greg brant" <greg_brant@yahoo.co.uk> wrote > in message news:<vgtutcd6v5ukf0@corp.supernews.com>... > > > > i have a form (arround 600 lines of html) which i only want to display > > if a condition isnt met... > > > > its a registration form. > > could it be done by using an > > include("the_html_form.htm"); > > Yes, but readfile('the_html_form.htm') would be more appropriate. > When you call include() or require(), the file is parsed for PHP > code, which takes a little extra time and a few otherwise > unnecessary processor ticks. So it's a good idea to limit use > of include() and require() to PHP files and use readfile() in > all other cases... > > Cheers, > NC | |||
|
| Featured Websites | ||||
|
![]() |
| Tags: echoing, html |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| embedded php in html file, how to tell calling html file? | MeNotHome | PHP | 1 | 07-01-2007 3:17 PM |
| thanks for your help on html vs CSS | naitsirch79 | HTML | 3 | 07-01-2007 2:02 PM |
| xls to html | a.der Kinderen | HTML | 2 | 07-01-2007 1:49 PM |
| sorry for HTML | Guy Melan | Car audio | 0 | 06-17-2007 3:02 PM |
| HTML help | Stivey | HTML | 8 | 03-27-2006 3:30 AM |
| Featured Websites | ||||
|