PHP Tutorials

1. Send push notifications using Expo tokens in PHP

By: Gren : 2023年05月19日

Description: To send push notifications using Expo tokens in PHP, you need to use Expo's Push Notifications API. Here's an example of how you can modify your PHP code

(追記) (追記ここまで)

2. PHP convert string to lower case

By: Manoj : 2023年03月22日

Description: In PHP, you can convert a string to lowercase using the strtolower() function. Here is an example:


3. A Basic Example using PHP in AWS (Amazon Web Services)

By: Clay Loveless, Chief Architect, Mashery : 2022年07月03日

Description: While there are a number of ways to get all these services running, including very convenient management interfaces in Firefox (such as Elasticfox), plus web-based management tools from RightScale and Scalr, we'll do it all with PHP and the API, since that's what this article is about.

(追記) (追記ここまで)

4. Different versions of PHP - History and evolution of PHP

By: Andi, Stig and Derick : 2015年11月21日

Description: It was eight years ago, when Rasmus Lerdorf first started developing PHP/FI. He could not have imagined that his creation would eventually lead to the development of PHP as we know it today, which is being used by millions of people. The first version of "PHP/FI," called Personal Homepage Tools/Form Interpreter, was a collection of Perl scripts in 1995. One of the basic features was a Perl-like language for handling form submissions, but it lacked many common useful language features, such as for loops.


5. Convert XML to CSV in PHP

By: David Thomas : 2014年10月06日

Description: Output XML string as CSV with first row as column headers

(追記) (追記ここまで)

6. PHP code to write to a CSV file for Microsoft Applications

By: Soapergem @ gmail . com : 2014年10月06日

Description: I've created a function for quickly generating CSV files that work with Microsoft applications. In the field I learned a few things about generating CSVs that are not always obvious. First, since PHP is generally *nix-based, it makes sense that the line endings are always \n instead of \r\n. However, certain Microsoft programs (I'm looking at you, Access 97), will fail to recognize the CSV properly unless each line ends with \r\n. So this function changes the line endings accordingly. Secondly, if the first column heading / value of the CSV file begins with uppercase ID, certain Microsoft programs (ahem, Excel 2007) will interpret the file as being in the SYLK format rather than CSV, as described here: http://support.microsoft.com/kb/323626


7. PHP code to write to a CSV file from MySQL query

By: Jamie : 2014年10月06日

Description: Utility function to output a mysql query to csv with the option to write to file or send back to the browser as a csv attachment.

(追記) (追記ここまで)

8. PHP code to import from CSV file to MySQL

By: Nate : 2014年10月06日

Description: After playing a while, I'm confident the following replacement function works in all cases, including the ones for which the native fputcsv function fails. If fputcsv fails to work for you (particularly with mysql csv imports), try this function as a drop-in replacement instead.


9. Password must include both numeric and alphabetic characters - Magento

By: Emiley J : 2014年02月08日

Description: While installing a fresh Magento installation, some users are stuck at the 'Create Admin Account' step, with this error: 'Password must include both numeric and alphabetic characters.'. Follow this simple step to resolve this issue.

(追記) (追記ここまで)

10. Resume or Pause File Uploads in PHP

By: micronix @ gmx . ne : 2012年12月05日

Description: I have found the Solution for Resume or Pause Uploads. In this Code Snippet it is the Server Side not Client on any Desktop Program you must use byte ranges to calculate the uploaded bytes and missing of total bytes.


© 2023 Java-samples.com

Tutorial Archive: Data Science React Native Android AJAX ASP.net C C++ C# Cocoa Cloud Computing EJB Errors Java Certification Interview iPhone Javascript JSF JSP Java Beans J2ME JDBC Linux Mac OS X MySQL Perl PHP Python Ruby SAP VB.net EJB Struts Trends WebServices XML Office 365 Hibernate

Latest Tutorials on: Data Science React Native Android AJAX ASP.net C Cocoa C++ C# EJB Errors Java Certification Interview iPhone Javascript JSF JSP Java Beans J2ME JDBC Linux Mac OS X MySQL Perl PHP Python Ruby SAP VB.net EJB Struts Cloud Computing WebServices XML Office 365 Hibernate

AltStyle によって変換されたページ (->オリジナル) /