Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 

Search In

Different ways to open file in PHP

Ways to open a file in PHP are given below: 1. r: Open a file for read only. File pointer points at the beginning of the file. 2. w: Open a file for write only. File pointer begins at the beginning of the file. It erases all the data of the file o

How to open big text files in Windows

Text editors like Notepad++, Jujuedit, and TextPad generally have 2 GB limit. If you have big files to open like 5GB file, they will hang and you won't be able to view them. Hence if you have requirement to open text file (for example log file) in w

How to unzip a file uisng PHP

Hello Reader's!, If you have a zip file and you need to execute unzip the file using PHP, Then you can use the PHP liberary code below:- // Lets say you have zip file in the same folder of php file. $file = 'file.zip'; // get the absolute path to $

fopen() & fwrite() function in PHP

fopen() function is used to open files. it contain 2 parameters, first parameter specify the name of file to be open & second one specifies in which mode file should be open. This function also used to create file. Example <?php $myfile

Opening a Flattened (composite) Version of a Layered Photoshop File

Opening a Flattened (composite) Version of a Layered Photoshop File When opening a file in Photoshop, holding the Option (Mac) / Alt + Shift (Win) will open a flattened version of a file (instead of a layered one), if the original layered file w

How to open and read files with PHP

Before reading information from any file,we have to open the file for reading. This Blog will help you to find the code to read-open-close the file(s) on server we have created with PHP. Opening a file:fopen() This function enables to open a PHP

File input output

Opening files fopen() function is used to open the file. It require two arguement first the name and the other the mode. the different mode are r- open for read only r+- open file for read and writing w- open file for writing w+- open file for

PHP's file handling system functions.

As PHP is a server side scripting language it does allow to create, access and manipulate files on the web server. Let's see how it works.   The very first need to work with files is to open the file. For this purpose, there is a PHP funct

How to serving static files in Odoo/OpenERP ?

Odoo directly serves all static files in running modules. This may not be ideal when it comes to performances. And static files should generally be served by a static HTTP server. Odoo static files live in each module's static/ folder, so static fil

What is the require permission for ppk and pem files

If you are going to connect server via linux terminal or putty and you are getting error, "Permissions are too open" this mean your .ppk file have some wrong permission. You need to correct the file permission as below: chmod 400 abcxyz.pem

prev 1 3 129
Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: