drupal for beginners

Learn about drupal for beginners, we have the largest and most updated drupal for beginners information on alibabacloud.com

Drupal reads Excel and imports it to the mysql database. code _ PHP Tutorial

Drupal reads the Excel file and imports it to the mysql database program code. This article introduces How to Read Excel from Drupal and import it to the mysql database. here we will introduce the use of the excel plug-in PHPExcel, PHPExcel is used to operate the OfficeExcel document. This article introduces How to Read Excel from Drupal and import it to the mysq

How to use remote images to reduce workload when Drupal is developing

If you have met a large-scale Drupal project, you may have found that the files directory is too large to be a huge challenge to development. How to keep the development server (or your personal computer) synchronized with these files is a very painful thing, but if you do not, often because the user uploaded files or attachments can not be used, so that many important issues in the site development process can not be found.There are many ways to solv

Drupal _ configuration after website migration

bound the website domain name to the/sites level. To solve this problem, we can easily find/drupal/sites/all/default. /settings. php (by the way, it is also in this file to modify the Mysql link password) [php] $ databases = array ('default' => array ('database' => 'drupal _ flabc ', 'username' => 'root', 'Password' => '000000', 'host' => 'localhost', 'Port' => '', 'driver '=> 'mysql', 'prefix' => '',); tu

Drupal reads Excel and Imports database instances

This article mainly introduces Drupal using Phpexcel to read Excel and import the database example, the need for friends can refer to the following Phpexcel is a PHP class library that is used to manipulate office Excel documents, based on Microsoft's OPENXML Standard and PHP language. You can use it to read and write spreadsheets in different formats, such as Excel (BIFF). xls, Excel 2007 (Officeopenxml). xlsx, CSV, Libre/openoffice Calc. ODS, Gnum

PHP File Upload form from drupal code

Example of drupal File Upload form Copy codeThe Code is as follows: function upload_form (){ $ Form = array (); // If this # attribute is not present, upload will fail on submit $ Form ['# attributes'] ['enablesype '] = 'multipart/form-data '; $ Form ['file _ upload'] = array ( '# Title' => t ('upload file '), '# Type' => 'file ', ); $ Form ['submit _ upload'] = array ( '# Type' => 'submit ', '# Value' => 'submit' ); Return $ form; } Function upload_s

PHP File Upload form excerpt from Drupal code

Example of a Drupal file upload form Copy CodeThe code is as follows: function Upload_form () { $form = Array (); If This #attribute isn't present, upload'll fail on submit $form [' #attributes '] [' enctype '] = ' multipart/form-data '; $form [' file_upload '] = Array ( ' #title ' => t (' Upload file '), ' #type ' => ' file ', ); $form [' submit_upload '] = Array ( ' #type ' => ' submit ', ' #value ' => ' Submit ' ); return $form; } function Upload_

Drupal _ configuration after website migration _ PHP Tutorial

Drupal _ configuration after website migration. Some problems have been encountered after the website is migrated to the server. here we summarize: 1. no response, no prompt, and blank page 2 is returned. there is content, but it is disordered and many are lost, in addition, there are no CSS-like websites that encounter some problems after migrating to the server. here we will summarize: 1. no response, no prompt. a blank page is returned. 2. there is

Drupal reads Excel and imports database instances

Drupal reads Excel and imports database instances This article mainly introduces how Drupal uses PHPExcel to read Excel and import the database. For more information, see PHPExcel is a PHP class library used to operate Office Excel documents. It is based on Microsoft's OpenXML standard and PHP language. You can use it to read and write workbooks in different formats, such as Excel (BIFF ). xls, Excel 2007

Drupal Study Notes-1. Getting started with modules

Document directory Module description file-x.info Module implementation file-×. Module Module Installation File-X. Install Drupal module installation path The module in Drupal can be installed in three paths The modules under the root directory are all Drupal system modules. It is better to avoid the trouble of upgrading. /Sites/All/modules. The modules u

Drupal read Excel and import a DB instance _php tutorial

Phpexcel is a PHP class library for working with Office Excel documents, based on the Microsoft OPENXML Standard and PHP language. You can use it to read and write spreadsheets in different formats, such as Excel (BIFF). xls, Excel (Officeopenxml). xlsx, CSV, Libre/openoffice Calc. ODS, Gnumeric, PDF , HTML, and so on. One, Drupal calls Phpexcel through the libraryAfter downloading the phpexcel, upload it to the

Drupal sends a file via Curl Post _php tutorial

This article to introduce a Drupal through the Curl post to send a file implementation, if you are using Drupal cms do not go into the reference oh. It is well known that PHP's curl extension can be used to simulate form submissions. There is a drupal_http_request function in Drupal to execute an HTTP request that can send a file by post, but it is not as easy to

Drupal reads Excel and imports the database instance _ php instance

This article mainly introduces how Drupal uses PHPExcel to read Excel and import the database. For more information, see PHPExcel, which is a PHP class library used to operate Office Excel documents, it is based on Microsoft's OpenXML standard and PHP language. You can use it to read and write workbooks in different formats, such as Excel (BIFF ). xls, Excel 2007 (OfficeOpenXML ). xlsx, CSV, Libre/OpenOffice Calc. ods, Gnumeric, PDF, HTML, etc. 1.

Use a stronger caching tool for Drupal-Redis

The difference between Memcache and Redis is not discussed in this article. Theoretically, if drupal's Redis module is reasonably written (without looking at the source code, let's make a rough estimate), Redis's Performance Improvement on drupal will certainly be larger than Memcache, the expansion of a single data structure saves a lot of complicated operations in Memcache, with the addition of Redi The difference between Memcache and Redis is not d

Use Drush to Export/import a Drupal MySQL Database Dump File

So-today I wanted to learn-to-export a Drupal database to a file quickly. Back on the day I would ' ve logged in through CPanel and navigated to PHPMyAdmin, then manually select an export of the DAT Abase and has to choose where to save the file. Not to mention all the previous steps listed would need to being preceeded by a Drupal cache flush (I don't like the cache in Side a database backup). Typically th

Drupal read Excel and import into MySQL database program code _php tutorial

This article introduces you to how to read excel in Drupal and import it into a MySQL database, here we describe a PHP class library that uses Excel plug-in phpexcel,phpexcel to manipulate Office Excel documents. It is based on Microsoft's OPENXML Standard and PHP language. You can use it to read and write spreadsheets in different formats, such as Excel (BIFF). xls, Excel (Officeopenxml). xlsx, CSV, Libre/openoffice Calc. ODS, Gnumeric, PDF , HTML, e

How to solve the other 404 errors on the home page after the Drupal site is changed to server

Problem Description: ' Page not found ' Errors on every page except homepage. ' That is to say, the Drupal site you built is accessible in addition to the main page, and all other columns are displayed as 404 error pages. Problem Analysis: The most likely cause of this problem is the Mod_rewrite module on the new server or the faulty configuration (or Drupal pseudo static) of a simple link (clean URL). In

PHP File Upload form from drupal code

Example of drupal File Upload formCopy codeThe Code is as follows:Function upload_form (){$ Form = array ();// If this # attribute is not present, upload will fail on submit$ Form ['# attributes'] ['enablesype '] = 'multipart/form-data ';$ Form ['file _ upload'] = array ('# Title' => t ('upload file '),'# Type' => 'file ',);$ Form ['submit _ upload'] = array ('# Type' => 'submit ','# Value' => 'submit');Return $ form;}Function upload_submit ($ form,

Drupal Drag & amp; Drop Gallery module upload. php Arbitrary File upload Vulnerability

Release date:Updated on: Affected Systems:Drupal Drag Drop Gallery 6.xDescription:--------------------------------------------------------------------------------CVE (CAN) ID: CVE-2012-4472 The Drupal Drag Drop Gallery module creates an image library node type. You can Drag and Drop images in the local file system to add images to the image library. Drag Drop Gallery 6. A file upload vulnerability exists in the x-1.5 and earlier sites/all/modules/d

Drupal uses cURLPost to send an object

As we all know, PHP cURL extensions can be used to simulate form submission. Drupal has the drupal_http_request function to execute an HTTP request. It can send a file via POST, but it is not as convenient as cURL. Here we will mainly explain how to Post a file to a remote server address in Drupal. Webpage Form table As we all know, PHP cURL extensions can be used to simulate form submission.

Install WYSIWYG editing tools for Drupal

Drupal only provides a highly customizable system without many features. By default, Drupal uses a plain text editor to publish content. In most cases, we need a more convenient WYSIWYG editing tool, and more functions such as selecting and uploading images. Follow these steps to install and configure a visual editor for Drupal: 1) install the WYSIWYG module in t

Total Pages: 15 1 .... 5 6 7 8 9 .... 15 Go to: Go

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.