Questions tagged [php]

PHP is an open-source server-side scripting language widely used in web development.

PHP: Hypertext Preprocessor is a widely used, general-purpose server-side scripting language that is especially suited for web development. The latest stable release, development changes, and development branches can be found on the PHP website.

See the UPGRADING and UPGRADING.INTERNALS files for release migration instructions.

For a quick start with PHP, you might use one of these applications, which include the Apache web-server and PHP [besides other components]:

Notice: To make an online demo for your question, you may use PhpFiddle which is acting as but for PHP.

Community

PHP has many active community forums, including:

More information

Online documentation

The PHP manual is the official documentation for the language syntax, featuring function search and URL shortcuts (for example http://php.net/explode). The API is well documented for native and additional extensions. Most additional extensions can be found in PECL. The PEAR repository contains a plethora of community supplied classes.

PHP Tutorials

PHP security related information

Free online tutorial

Free PHP Programming Books

Best PHP Books 2012

Database support

PHP supports a wide range of databases, relational and non-relational alike.

PHP is often paired with the MySQL relational database. PHP also includes great database support for PostgreSQL, SQLite, Microsoft SQL Server (API reference), Oracle, IBM DB2 & Cloudscape, Apache Derby and even ODBC.

All modern versions of PHP include PDO, a built-in data-access abstraction library with comprehensive connectivity options. More recently, PECL extensions have surfaced that offer "NoSQL" database support, including Apache Thrift (for Apache Cassandra), MongoDB, Redis, and others.


Tag excerpt and wiki reference: adapted from Stack Overflow SE

7 questions
2
votes
2 answers

How to compare image similarity with position, rotation & scale invariant features?

I already put this question in stackoverflow.com. But still didn't get an answer. I want to compare similarity between below images. Acording to my requirements I want to identify all of these images as similar, since it has use the same color, same…
1
vote
1 answer

Percentile to Z-score in PHP or JAVA

I am searching for a way to calculate the $z$-score for a given percentile $p$. I found this site doing such a calculation. They have given a formula for calculating $P(Z\leq z)$: $$ \Phi(z) = P(Z \le z) = \int_{-\infty}^z…
Karthik
  • 155
  • 2
  • 6
0
votes
1 answer

JavaScript/PHP libraries for calculating common

I am looking for a JavaScript or a PHP library to calculate common business/statistical metrics (e.g. Total, Avg, YTD, YoY, MoM, CAGR growth, standard deviation, regression line coordinates) from simple arrays/objects with a structure such as: The…
Max
  • 166
  • 1
  • 1
  • 9
0
votes
1 answer

How is fishers exact test calculated for non mathematician

I am referring to the Wikipedia example here (https://en.wikipedia.org/wiki/Fisher%27s_exact_test) which shows: My Question is how is this 0.001346 figure reached? After reading, I appreciate that the 10! is the product but when times or summing, I…
Antony
  • 1
  • 1
0
votes
1 answer

graph clustering algorithm - Markov MCL?

i have of set of document with this correlation (based on similarity) This is the set: 1: 2,3,4 2: 1,4 3: 1 4: 1,2 Now i start creating a matrix 0 1 1 1 1 0 0 1 1 0 0 0 1 1 0 0 Now i apply MCL The result cluster is: [0] = 1,2,3,4 but the result…
Stefano Vet
  • 131
  • 1
0
votes
0 answers

How to calculate probabilities based on cumulative of time series?

I am trying to do predictions on plant growth based on cumulative of time series data. Unfortunately I am not a statistician, just a programmer tasked with writing the application that does this (PHP or R) and my last statistics course was well over…
0
votes
1 answer

Forecasting Stock Prices in PHP

Has anyone implemented stock prices forecasting, using php only. Like we give data sets of 1 yr of open,high,low,close,volume and get prediction for next 15 or 30 days? One example I saw is here…
Ajmal
  • 11
  • 1
  • 3