
Search In
Hello Reader's if you want to write a custom code for making AJAX hit then you should choose for the best path for that, Open the file admin-ajax.php All ajax request should be made there.
On in first step open the template file and write the code b
If you want to use default_get method in OpenERP use below code -
self.pool.get(’sale.order.line’).default_get(cr, uid, [’product_id’,’product_uom_id’])
Note- If you want to migrating the module from OpenERP-7 to OpenERP-8(Odoo),then we have to us
In Android we can download a file from a given url so that we can use that file's data without downloading again and again so we save that file in internal or external storage of device.
you can use this method to download your file, you have to pas
Read Single Line: fgets()
To read a single line from a file fgets() function is used.
For example: Suppose we have a file 'demo.txt'. The script given below results the first line of the file:
<?php
$filename = fopen("demo.txt", "r") or die("Un
I want writing function for sorted_average() . I calculated average of data in input file and write them in my output file. then i want sort data of out put file. but my cod not working...
my out put file is :
mandana,7.5
ham
We can use php and html to upload the file to the server.
Initially the file are added to the temporary folder and then are transfer to the server by using the script.
phpinfo.php define the temporary file that is used for the upload.
The fi
In my previous blog Dealing with Directories in Ruby, I explained you, how we can play with directories in ruby. Today I am going to tell you how we can interact with files by opening them in different modes and performing read/write operations in fi
Exception is a unexpected output during execution of code in programing language. Due to exception execution of program stops.In Ruby, Exceptions are basically used to handle different type of errors, which may raise during execution of program and w
Php offers you to send data in various ways like get, post. Using php you can also use file_get_contents
to send data using url. Lets see an example below:-
$information = array('http' => array(
'method' => 'POST',
'content' => 'us
There is no close method in spreadsheet.If you opened the spreadsheet and after reading you need to delete it then FIleUtils.rm(file_name) will work smoothly in linux but in windows it will give permission error
Errno::EACCESS(Permission denied)