Please login or register.

Login with username, password and session length
Advanced search  

News:

You need/want an older version of sNews ? Download an older/unsupported version here.

Author Topic: Embedding php code  (Read 1374 times)

ajayvibha

  • Newbie
  • *
  • Karma: -1
  • Posts: 28
    • http://www.obiztek.com
Embedding php code
« on: August 26, 2007, 02:05:17 pm »

Hi Friends,

Is it possible to embed our own custom php code while writing any page /article.

There are many situations when we need to use own php code for RSS feed / random quotes / tag / calling some other files   etc for various purposes.
Logged
Regards,
AjayVibha
Online Business Technologies (OBizTek)
SEO | Hosting | Design

Keyrocks

  • Doug
  • ULTIMATE member
  • ******
  • Karma: 449
  • Posts: 6020
  • Semantically Challenged
    • snews.ca
Re: Embedding php code
« Reply #1 on: August 26, 2007, 04:18:35 pm »

Yes... you can. You can create PHP files for any number of purposes... upload them to a directory in your domain root... and use tags to include them within content in sNews. For more information, please read this page on File Management and, in particular... scroll down to the part that discusses File Inclusion.
« Last Edit: August 26, 2007, 04:21:20 pm by Keyrocks »
Logged
Do it now... later may not come.
-------------------------------------------------------------------------------------------------
sNews 1.6 MESU | sNews 1.6 MEMU