Quantcast
Channel: #! code - code
Browsing all 10 articles
Browse latest View live

The Script Element, Adding An Action To A Button And Functions In Flex

Yesterday I talked about creating some simple Flex elements in your application. Today I will introduce a new element called Script.The Script element, if you haven't already guessed is used to run...

View Article



Introduction To The Phing build.xml File

By default, Phing will look for a file in the current working directory called build.xml when you run it. This document tells Phing what it will be doing during the build. You can change this by using...

View Article

Adding Code To Wordpress Blogs And Comments

Wordpress is a pretty neat blogging platform, but it falls over quite spectacularly when trying to write code in posts. I write a lot of code for #! code and so I have understand what needs to be...

View Article

Wordpress Post Friendly Code With JavaScript Replace

I recently talked about adding code to blogs and comments to Wordpress and making sure that certain characters are encoded properly. So to simplify things I thought I would create a little set of...

View Article

Display JavaScript Source Programatically

If you are running a JavaScript example page you can use the following function that will take the last script element on the page and print it out in a code tag. It uses JQuery to do the work, so you...

View Article


Preparing HTML And PHP Code For Pubilishing On Websites

I talked a while ago about Adding Code To Wordpress Blogs And Comments, but I decided that it needed a bit of code to do this automatically.So here it is, prepared by the text processor.1 2 3 4 5 6 7 8...

View Article

Hide And Unhide Code With PHP

If you are selling a system the last thing you want is for people to copy the system and pass it on for free. There are numerous ways to implement parts of the system that will stop this from...

View Article

Prevent People Messing Up Your Goolge Analytics

After running coding sites for a couple years there is one little problem that really annoys me, so when I set up #! code I resolved to fix it. The issue arises when you use some JavaScript based...

View Article


Image may be NSFW.
Clik here to view.

Using Netbeans PHP Code Templates

Netbeans is a great IDE and with every version lots more features are introduced that make it even better. One thing that I like to use is the code templates, which have been available from version...

View Article


PHP: The Second Bracket Is Optional

When writing PHP class or function (basically any file containing only PHP code) files you might have learnt to write them something like this:1 2 3 4 5 <?phpclass Users {}?>However, did you know...

View Article
Browsing all 10 articles
Browse latest View live




Latest Images