
Search In
Android provide many ways to store or save data of an application, like Shared Preferences, internal storage,external storage, SQLite database and storage on network.
Here we will learn how to save data in the internal memory of the android device.
Open a text file in PHP.
To open a text file in PHP you will use fopen() funtion.
$yourfile = fopen("yourtextfilepath", "r");// r is a mode that are used for read file.
Read a text file in PHP.
To read an opened file in PHP you will use fread()
Open a file in PHP:
To open a file in PHP fopen() funtion is used. Syntax:
fopen(filename, mode)
filename is the name of the file you want open. mode can be r,w,a,x,r+,w+,a+,x+.
Read a file in PHP:
To read an open file fread() function is use
FILE HANDLING
File handling is very important for any web application. With the help of file handling feature in PHP, you can store and retrieve a wide variety of data.
PHP has several functions for creating, reading, uploading & editing files.
The __init__.py file is the Python module descriptor, because an OpenERP
module is also a regular Python module.
1- Import all files & directories containing python code
2-import idea, wizard, report
The __openerp__.py is the OpenERP module man
PHP File handling concept allow us to do operation with any file in php.
For reading a file we have to open it using fopen() function.Now for reading this file we have a function named as fread().
fread function accept two arguments. First par
hii,
my question is if we work with html in notepad and save as .html extension . On opening that html file in browser the output is displayed but in XML file when we open the file in browser the same coding done in notepad appears.. why?
what is
Hi Reader's,
Welcome to FindNerd, today we are going to discuss how to unzip a file using PHP ?
Basically zip_open() function is used for opening the unzip file for reading. This is very simple method to unzip a zip file. So we can say that 
If you would like to convert .ppk file into .pem file, the process are given below:
1) Open terminal and make your login
2) sudo apt-get install putty-tools
3) puttygen /var/www/html/abc.ppk -O private-openssh -o /var/www/html/abc.pem
4) chmod 400
Write a file Using Php
In PHP, there are many functions available which is used to write a file.
The functions are...
fwrite(), fputs(), file_put_contents
Syntax:
fputs-
fputs($file,$string,$length);
fwrite-
fwrite($file,$string,$length);
T