I am trying to learn PHP for my site. I created an "indexT.php" file, then moved it to the web folder of Cumulus, in hopes it would be included when Cumulus uploads the "Standard Files". It does not. I then added it to the list of files that Cumulus uploads each time and that worked. Is this the only way to upload the php file regularly?
Help is appreciated....
Welcome to the Cumulus Support forum.
Latest Cumulus MX V4 release 4.4.2 (build 4085) - 12 March 2025
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024
Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)
Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki
If you are posting a new Topic about an error or if you need help PLEASE read this first viewtopic.php?p=164080#p164080
Latest Cumulus MX V4 release 4.4.2 (build 4085) - 12 March 2025
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024
Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)
Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki
If you are posting a new Topic about an error or if you need help PLEASE read this first viewtopic.php?p=164080#p164080
Uploading indexT.php file...
Moderator: daj
- steve
- Cumulus Author
- Posts: 26672
- Joined: Mon 02 Jun 2008 6:49 pm
- Weather Station: None
- Operating System: None
- Location: Vienne, France
- Contact:
Re: Uploading indexT.php file...
Yes, the standard files are just that - the files included with Cumulus. The files tab exists so that you can get it to process any other files that you create yourself. Is that a problem in some way? If you have run out of slots, you can add more files by editing cumulus.ini.
Steve
- beteljuice
- Posts: 3292
- Joined: Tue 09 Dec 2008 1:37 pm
- Weather Station: None !
- Operating System: W10 - Threadripper 16core, etc
- Location: Dudley, West Midlands, UK
Re: Uploading indexT.php file...
If it needs to be processed by Cumulus - yes (or toolbox)
.. but more usually people use 'static' php pages that contain 'dynamic' content.
eg. Current conditions are 'filled in' on the server side (php) by the values of realtime.txt, and / or JavaScript Ajax calls.
So ... php pages are crafted to be a 'standard' content shell which doesn't have to be constantly updated, but portions of the content will be updated by a few relatively small files
... clear as mud
.. but more usually people use 'static' php pages that contain 'dynamic' content.
eg. Current conditions are 'filled in' on the server side (php) by the values of realtime.txt, and / or JavaScript Ajax calls.
So ... php pages are crafted to be a 'standard' content shell which doesn't have to be constantly updated, but portions of the content will be updated by a few relatively small files
... clear as mud
......................Imagine, what you will KNOW tomorrow !
-
bnwrx
- Posts: 464
- Joined: Wed 25 Feb 2009 12:01 am
- Weather Station: Ambient WS2095 (Fine/Offset)
- Operating System: Windows 10 64bit
- Location: Woodland Park, Colorado USA
- Contact:
Re: Uploading indexT.php file...
Indeed!...beteljuice wrote:If it needs to be processed by Cumulus - yes (or toolbox)
.. but more usually people use 'static' php pages that contain 'dynamic' content.
eg. Current conditions are 'filled in' on the server side (php) by the values of realtime.txt, and / or JavaScript Ajax calls.
So ... php pages are crafted to be a 'standard' content shell which doesn't have to be constantly updated, but portions of the content will be updated by a few relatively small files
... clear as mud
I am "muddling" my way thru this! Thanks for the info about Current Conditions....
It will take me awhile on this.....
-
bnwrx
- Posts: 464
- Joined: Wed 25 Feb 2009 12:01 am
- Weather Station: Ambient WS2095 (Fine/Offset)
- Operating System: Windows 10 64bit
- Location: Woodland Park, Colorado USA
- Contact:
Re: Uploading indexT.php file...
steve wrote:Yes, the standard files are just that - the files included with Cumulus. The files tab exists so that you can get it to process any other files that you create yourself. Is that a problem in some way? If you have run out of slots, you can add more files by editing cumulus.ini.
Not at all. Just fiddling with my "Hunt and Peck..Copy and Paste" method of learning, thats all!!
-
water01
- Posts: 3670
- Joined: Sat 13 Aug 2011 9:33 am
- Weather Station: Ecowitt HP2551
- Operating System: Windows 10/11 64bit Synology NAS
- Location: Burnham-on-Sea
- Contact:
Re: Uploading indexT.php file...
I would do it via te PHP webtags, suggest you read this wiki article http://wiki.sandaysoft.com/a/Php_webtags