PHP Uploads: Difference between revisions

1 byte added ,  12:06, 22 February 2023
m
no edit summary
mNo edit summary
mNo edit summary
Line 4: Line 4:
If the ''Upload.php'' is installed for CMX and the protocol works for CMX then it will also work for CUtils and the file locations will be relative to the location of the ''Upload.php'' procedure (which therefore will be the rootlocation of your website).  
If the ''Upload.php'' is installed for CMX and the protocol works for CMX then it will also work for CUtils and the file locations will be relative to the location of the ''Upload.php'' procedure (which therefore will be the rootlocation of your website).  


It is adamant to understand the relative paths used by ''Upload.php'' as this is very different from FTP configurations where sometimes full paths are required (SFTP) or paths from the FTP root (which may differ when full ownership or shared hosting. All files will be transferred relative to that location. You can go deeper and sideways into the directory tree but not up.
It is adamant to understand the relative paths used by ''Upload.php'' as this is very different from FTP configurations where sometimes full paths are required (SFTP) or paths from the FTP root (which may differ when full ownership or shared hosting). All files will be transferred relative to that location. You can go deeper and sideways into the directory tree but not up.


The ''Upload.php'' procedure file can be copied to any location you wish but the following ''CMX inifile parameters'' determine its operation and need to reflect its true location and CMX configuration (in case you are running more than one instance):
The ''Upload.php'' procedure file can be copied to any location you wish but the following ''CMX inifile parameters'' determine its operation and need to reflect its true location and CMX configuration (in case you are running more than one instance):