robb59
posted this
11 May 2023
It's pretty simple really. Imagine you have a web site created with Nicepage. You have Form on that web site and you choose to use PHP. Nicepage will create three PHP files in a folder named 'scripts'. Now, I have my own http servers and I can directly upload the web site using STPF or using the File Manager provided in a Linux server. Either way, the files get into the appropriate folders. All, so far is cool. The same applies to those poor souls who have to use a hosting company, except they will use some kind of control panel that the hosting company provides.
If I then decide to make a change, any change or addition, to this web site Nicepage will save the changes and (in secret) it will generate three more PHP files for the Form and these will be 'coded' to the 'saved' web site. When I upload, by whatever method, the appropriate root files/pages such as Index.html or Home.html etc, The page containing the Form also gets uploaded. If I do not upload the new PHP files, which Nicepage has secretly generated, I will have a Form that will not work because the 'old' PHP files are not understood by the 'new' Form. To get the Form to work I must delete the earlier versions of the PHP files and upload the new ones that were generated when I, or Nicepage, saved the changes I made to the web site. If I do not do this, two things happen: 1. I am adding three PHP files to the scripts folder every time I make an edit and upload that edit. 2. The Form won't work until it has the 'new' files that were generated during the saving of any changes.
I hope this all makes sense as I now have RSI in my typing fingers and can't type anymore. Coffee time.
Robb
It's pretty simple really. Imagine you have a web site created with Nicepage. You have Form on that web site and you choose to use PHP. Nicepage will create three PHP files in a folder named 'scripts'. Now, I have my own http servers and I can directly upload the web site using STPF or using the File Manager provided in a Linux server. Either way, the files get into the appropriate folders. All, so far is cool. The same applies to those poor souls who have to use a hosting company, except they will use some kind of control panel that the hosting company provides.
If I then decide to make a change, any change or addition, to this web site Nicepage will save the changes and (in secret) it will generate three more PHP files for the Form and these will be 'coded' to the 'saved' web site. When I upload, by whatever method, the appropriate root files/pages such as Index.html or Home.html etc, The page containing the Form also gets uploaded. If I do not upload the new PHP files, which Nicepage has secretly generated, I will have a Form that will not work because the 'old' PHP files are not understood by the 'new' Form. To get the Form to work I must delete the earlier versions of the PHP files and upload the new ones that were generated when I, or Nicepage, saved the changes I made to the web site. If I do not do this, two things happen: 1. I am adding three PHP files to the scripts folder every time I make an edit and upload that edit. 2. The Form won't work until it has the 'new' files that were generated during the saving of any changes.
I hope this all makes sense as I now have RSI in my typing fingers and can't type anymore. Coffee time.
Robb