background preloader

Programming

Facebook Twitter

The Python Challenge. Upload & Share PowerPoint presentations and documents. Getting Better At Programming (Java) - Java Programmers. Java Programming Cheatsheet. This appendix summarizes the most commonly-used Java language features in the textbook. Here are the APIs of the most common libraries. Hello, World. Editing, compiling, and executing. Built-in data types. Declaration and assignment statements. Integers. Floating-point numbers. Booleans. Comparison operators.

Printing. Parsing command-line arguments. Math library. The full java.lang.Math API. Java library calls. Type conversion. Anatomy of an if statement. If and if-else statements. Nested if-else statement. Anatomy of a while loop. Anatomy of a for loop. Loops. Break statement. Do-while loop. Switch statement. Arrays. Inline array initialization. Typical array-processing code. Two-dimensional arrays. Inline initialization. Our standard output library. The full StdOut API.

Our standard input library. The full StdIn API. Our standard drawing library. The full StdDraw API. Our standard audio library. The full StdAudio API. Command line. Redirection and piping. Functions. Libraries of functions. Our standard random library. How to Send Text Messages with PHP. Text messaging has become extremely widespread throughout the world -- to the point where an increasing number of web applications have integrated SMS to notify users of events, sales or coupons directly through their mobile devices.

In this tutorial, we will cover the fundamentals of sending text messages with PHP. Overview Sending a text message (SMS) message is actually pretty easy. Below is a simplified diagram of how a message can be sent from a web application to a wireless device. We'll break this down -- one piece at a time: The message is composed using a web application that is stored and executed on a HTTP server and then sent through the internet ("the cloud") as an email message. Most wireless networks have a SMS gateway through which email messages can be sent as text messages to a mobile device.

Email to SMS To send a SMS via email, you'll generally require only two things: The following convention can be followed for most carriers: To send a text to Mr. Pretty awesome! The Style.