Find What You Want on eBay
RingsWorld.com RingsWorld.com [Have a Blog? Submit It!new] [Create your Site-Ring Community]

PHP - explanation only

:(: Messages Boards, Forums and Discussions :):
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   PreferencesPreferences   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Sun Jul 20, 2008 3:19 pm
All times are GMT
Board.RingsWorld.com » Internet » Webmaster Community » Programming » PHP
explanation only
Post new topic   Reply to topic Page 1 of 1 [2 Posts] View previous topic :: View next topic
RSS Feed Add to My MSN Add to My Yahoo! Add to Google
Global Discussions
Author Message
red fox



Joined: 15 Mar 2006
Posts: 3
PostPosted: Thu Mar 16, 2006 9:50 pm    Post subject: Note explanation only
Subject description: code
Reply with quote

hi
i need to know what weaning std.tpl this and how it use in this code

Code:
function Page($template = 'std.tpl') {
if (file_exists($template))
$this->page = join('', file($template));
else
die("Template file $template not found.");
}
Back to top
Please donate £3 to WSPA
Please donate £3 to WSPA
Guest





PostPosted: Sat Mar 18, 2006 5:32 pm    Post subject: Note Reply with quote

What's your question exactly?

Do you want to know what this piece of code does?

If so, it's a function which takes a filename and load the content of the file (if it exists) and place it to the variable "page" .

(nb: This function is part of a class)
Back to top
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [2 Posts] View previous topic :: View next topic
Board.RingsWorld.com » Internet » Webmaster Community » Programming » PHP
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
PHP: Latest Discussions
Missing openssl
by phpwizard01 - 407 days ago
Need a good captcha generating php script
by danielus - 440 days ago
Glossary and Dictionary Script
by GLOSSARYSCRIPT - 454 days ago
phpBannerExchange2.0 Banner Error
by Yuripro84 - 475 days ago
phpbannerexchange2.0 urgent
by Yuripro84 - 475 days ago
php hit counter
by kwayug - 481 days ago
php codes for downloading and uploading a folder/directory
by kwayug - 481 days ago
comments script on webpage
by osterhas - 500 days ago
Problem with PHP & MySql Database
by rice_Jacob - 523 days ago
Php developers community
by rice_Jacob - 523 days ago
Free PHP Scripts
by coguy11 - 525 days ago
CMS
by Urban Legend - 541 days ago

You can support this site by shopping at the following online stores, thanks :-)
eBay.com - eBay.co.uk - eBay.fr - eBay.com.au - Yahoo! HotJobs - Amazon.com

Link to this Page

If you want to link to this page you can use the following URL:


Example:
 
The PHP Web-Ring Community
The PHP Web-Ring Community
The purpose of this Ring is to link together the best sites and resources on the PHP programming language. Everyone with a quality site is welcome to join. (tutorials, documentation, tips, help, forums,...)
(13 members)

» Submit your site and Join The PHP Web-Ring Community
 
 

External Links
 

PHP NewsLetter
Sign-up to receive daily news on PHP by email.
Your email:


Newave will never sell or share your email address and you can of-course unsubscribe at anytime.

0.051194906234741