Looking for a simple website solution for smarty + php

Source: Internet
Author: User
Tags php website
I want to find an example of a simple website with smarty + php. I want to find an example of a simple website with smarty + php. I don't know where to download it. The example does not need to be too complex. The key is to demonstrate the functions and basic usage of smarty. do you have such an example? What I am looking for online is either too complex, or there are only documents, so it is not suitable for quick start! Hope you can help me with the solution ------------------ you can download ECSHOP and find an example of a simple website with smarty + php on the Internet.
I want to find a simple example of smarty + php website. I don't know where to download it.
The example does not need to be too complex. The key is to demonstrate the functions and basic usage of smarty. do you have such an example?
What I am looking for online is either too complex, or there are only documents, so it is not suitable for quick start! Hope you can help me.

------ Solution --------------------
You can download ECSHOP. there is a smarty + fak news publishing system on the Internet.
------ Solution --------------------
I want to find an example like this.
------ Solution --------------------
TottyAndBaty is a good example.
------ Solution --------------------
Just read the SMARTY manual ..
------ Solution --------------------
You can check the demo provided by smarty. it's easy to understand,
Or take a look at the install file.
REQUIREMENTS:

Smarty requires PHP 4.0.6 or later.
See the on-line documentation for complete install instructions.

INSTALLATION (quick ):

* Copy the files under the libs/directory to a directory that is in your PHP
Include_path, or set the SMARTY_DIR constant and put them in this directory.
(If you upgrade from versions before 2.5.0 be aware that up to Smarty 2.4.2
All necessary files where in the distribution's root directory, but are now
In libs /.)

* For each application using Smarty, create a "templates", "configs", and
"Templates_c" directory, be sure to set the appropriate directory settings in
Smarty for them. If they are located in the same directory as your
Application, they shouldn't need to be modified. Be sure the "templates_c"
Directory is writable by your web server user (usually nobody). chown
Nobody: nobody templates_c; chmod 700 templates_c You can also chmod 777 this
Directory, but be aware of security issues for multi-user systems. If you are
Using Smarty's built-in caching, create a "cache" directory and also chown
Nobody: nobody.


* Setup your php and template files. A good working example is in the on-line
Documentation.

* Technical note: If you do not have access to the php. ini file, you can change
Non-server settings (such as your include_path) with the ini_set () command.
Example: ini_set ("include_path", ".:/usr/local/lib/php ");

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.