Web programming
Change permissions and owner on files with the Linux shell console
Although we can change file permissions from our Ftp, cPanel or Php client, sometimes we need to change a large number of files and these options fall short. For these cases we can count on the Linux console. Put all folders with 755 permissions: find / home / account / public_html -type d -exec…
Change file permissions from cPanel
First in our Control Panel we will go to the Files section and we must enter File Manager. A window similar to the one in the following image will appear where we must select Web Root (public_html / www) and select the "GO" button at the bottom to enter. Within the File Manager we must identify ...
Why is the Php logo an elephant?
Php is undoubtedly one of the most powerful and popular programming languages among developers. What many do not know is why the logo of this language is a unique elephant. Here is the answer: The image clearly shows us how the letters that make up the word Php end up forming ...
Delete files in PHP
On the web it is very common to work with files that the user sends through forms. On many occasions, for our own web application to maintain the files that have been uploaded, it will be necessary to delete files from PHP. The first thing we must do is make sure that our application has permissions to be able to delete ...
Change file permissions with PHP
PHP is a very powerful backend programming language that is widely used on the web. With this language we can create, modify and delete files, but for this, those files must have the appropriate permissions, read, write, and execute. On this occasion, starting from the basis that we want to delete a file from the system, we will use the chmod function of ...
Web server. Program safely
Many text editors or IDE's are configured to save a backup copy of the files that are being edited, in such a way that, if we have a file called my_conexion.php, a backup copy of the file named my_conexion.php will be created ~ Con these files ending with the character ~ we must be very careful because they are NOT PHP files that the web server understands that it should ...