Step by step process to post a message to using PHP curl: Click on Team43. In the pop up box,
Category: Web
Run XAMPP At Startup
The following works for Windows 8: First, set XAMPP controller to run at windows startup Right click Windows icon, select
Node.js
Too see version of node: node -v To run script: node script.js To read file line by line https://stackoverflow.com/questions/11986350/node-js-read-and-write-file-lines
HTML tips
To force a download via a link: download something.pdf Note: does not work for Safari and IE. Works for chrome
Good http header for zip file downloads
<?php // HTTP Headers for ZIP File Downloads // http://perishablepress.com/press/2010/11/17/http-headers-file-downloads/ // set example variables $filename = “test.zip”; $filepath = “c://tmp//zipdir//”;
Async AJAX and PHP session
Javascript is single threaded. AJAX allows asynchronous calls. From http://stackoverflow.com/questions/6903318/multiple-ajax-requests-delay-each-other/6933294#6933294 If you use sessions in the AJAX handling functions, you will run
Simple JS Demos
Click on one of the following items to see a simple demo of how HTML, CSS and Javascript/Jquery work together.
PHP 5 File Upload and Unzip
Good file upload example: http://www.w3schools.com/php/php_file_upload.asp Use ZipArchive to unzip uploaded zip file. See this link: http://stackoverflow.com/questions/8889025/unzip-a-file-with-php
MAMP and XAMPP
MAMP The web server (Apache) starts by default on port 8888, the database server (MySQL) on port 8889. When calling
PHP ODBC Accessing Foxpro Database
Here are the steps to prepare a development environment that utilize PHP to access Foxpro Database on Windows via Apache