Php Object Snippets

Maxscript UI & Graphical RPManager - Control multiple object properties with single object for

11 February, 2013   

Quicktime still requires the double-object method to get it done across all browsers. Not super pretty, but it does get the job done.

18 May, 2011   

To randomize an array we loop over the length of the array, removing an object chosen at random and then adding it back onto the Array’s end position. Think of this as having a deck of cards where you pick a card at random from the deck and move it to the top of the stack repeated for the total number of cards in the deck. It’s important to...

01 June, 2013   

Example shows here how to Embed Code for Quicktime

When creating a new object, pass the initial variables as an array. Then use this code to quickly assign the array vars to the class vars. This will mean importing large arrays into the object in three lines of code.

05 February, 2011   

Valid technique, as it doesn't need the <embed> tag.

06 June, 2012   

This function highlight_string() outputs or returns a syntax highlighted version of the given PHP code using the colors defined in the built-in syntax highlighter for PHP.

Example shown here how to best insert a flash movie into an XHTML document.

20 July, 2013   

Source code for Flash movie into valid XHTML

An example code of how to best insert a flash movie into an XHTML document.

Nice example of how to best insert a flash movie into an XHTML document.

04 February, 2011   

This is different than the default code that Flash provides. That typically involves the <embed> tag and is not valid XHTML. This doesn't use that, and is fully valid.

20 July, 2013   

Source code for Flash XHTML valid

06 May, 2013   

Code example for Month Day Year Dropdown

27 October, 2011   

An example to include another PHP file into a PHP script

his snippet was created under the inspiration of using the django-multilingual package. Also an additional code is used to solve the problem of saving the many-to-many relations in embedded forms ( The idea is that in all embedded I18n forms appears checkbox "delete" for each...

This code snippet populates a datagridview control using array objects.

27 May, 2013   

Example shows here how to compress CSS with PHP

29 October, 2011   

Here shown an example how to Compress CSS with PHP

Run the script to test whether you have the XMLHTTP Request object installed that comes with any version of the Microsoft XML Parser (MSXML).