Hello everybody with PHP knowledge within CMSMadeSimple
where do I have to place this herlp question??
I have a problem with a get file contents script. I have received the script from a collegue webmaster of the site I would like to get some information from straight into our own website.
I have put the following script in one of our pages, but it does not result in information on the page.
Beneath you find the system information on our CMS. Maybe een upgrade on the version will help, but it should work without that don't you think?
Cms Version: 1.6.7
Installed Modules:
CMSMailer: 1.73.14
FileManager: 1.0.2
MenuManager: 1.6.2
ModuleManager: 1.3.2
News: 2.10.4
nuSOAP: 1.0.2
Printing: 1.0.4
Search: 1.6.1
ThemeManager: 1.1.1
TinyMCE: 2.6.2
Album: 0.9.3
Calendar: 0.8.2
FCKeditorX: 1.1.0
Config Information:
php_memory_limit:
process_whole_template: false
max_upload_size: 2000000
default_upload_permission: 664
assume_mod_rewrite: false
page_extension:
internal_pretty_urls: false
use_hierarchy: true
Php Information:
phpversion: 5.2.8
md5_function: Aan (Waar)
gd_version: 2
tempnam_function: Aan (Waar)
magic_quotes_runtime: Uit (Onwaar)
memory_limit: 16M
max_execution_time: 30
safe_mode: Uit (Onwaar)
session_save_path: /tmp (1777)
session_use_cookies: Aan (Waar)
Server Information:
Server Api: cgi
Server Db Type: MySQL (mysql)
Server Db Version: 5.0.77
----------------------------------------------
Thanks for the help
Chris
SOLVED PHP problem
SOLVED PHP problem
Last edited by chrisbar on Mon Dec 13, 2010 7:59 pm, edited 1 time in total.
Re: PHP problem
Hello Chrisbar,
You better use an User Defined Tag here
Put the code in it without the php tags, like
You can call this UDT in a page like {your_udt_name}
Grtz. Rolf
You better use an User Defined Tag here
Put the code in it without the php tags, like
Code: Select all
echo file_get_contents('http://www.nijb.nl/result.ajax.php?TeamID=56');
Grtz. Rolf
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Re: PHP problem
Thanks Rolf! This is what I needed! I'm learning.
I will put SOLVED at my Post.
kind regards
Chris

I will put SOLVED at my Post.
kind regards
Chris