
Search In
The easiest solution to create backup and restoring you database in OpenERP is itself provided by OpenERP.
To create backup and restore for your OpenERP database, you have two options: 1.) PostgreSQL 2.) OpenERP.
The first one is simple and very co
Input tag has many type for the values.
for e.g input type "button" defines the input like button.
In the same way input type "file" defines a box to upload a file to drive.
<input type="file" name="u
While using Visual Studio, there could be a need to compare two different areas of code etc from a single file. In other editors like notepad++ or sublime, same task can be easily achieved by opening the same file twice, but in Visual Studio this can
Hello Readers,
This post helps you to create a ZIP file using PHP.
<form name="zip" method="post">
<input type="checkbox" name="files[]" value="book.pdf" />
<input type="checkbox" name="files[]" value="doc.pdf" />
<input type="
In Ubuntu system, first check for the PHP. For checking open the terminal, using command
**Ctrl +Alt +T**
and type whereis php
If PHP present in system, above command display the path of PHP
Make a PHP file from where you can access it:
&
If you want to open remote server folder using python in OpenERP(Odoo) follow the below mentioned code and paste it in your (Python).py file: →
def copy_folder(src, dest):
if not os.access(dest, os.W_OK):
return(False)
cmd = ['xcopy'
In OpenERP, create a custom module like: demo and then create file like: demo.py file in your demo module and demo.py file pass in your other file __init__.py file. And then create other file demo.xml file and pass this file in your other file like a
File uploading is the basic requirement of web development. Many times we have to upload single or multiple files on our server then we can not upload big files using form submit. We have to use the in-build jquery plugins for the file upload. These
For this modify the php.ini files in your xampp folder.These three file you have to change to enable curl library with XAMPP in Windows
Browse and open these 3 files
C:\Program Files\xampp\apache\bin\php.ini
C:\Program Files\xampp\php\php.ini
C:\Pr
die() function is error handling method in PHP which used to handle a error in web application. It's also used to check whether the function is work properly or not.
<?php
$file=fopen("myfile.txt","r");
?>
If myfile.txt file does not exist,
