Tag Archives: Programming Language

Basic 2checkout processing script

We do not have a rant today, nor we do have a review. Today I am going to go over something that a lot of people ask me – how to create a very basic 2checkout processing script. I am going to say now that this guide is simply how to do the processing side of it, it will not cover anything like the database side of things so you can create something like automatic downloads – we may do that as another tutorial.

2checkout HTML Form.

The first thing we need to do is the HTML form for 2checkout. We are going to be using the single page checkout for 2checkout as I prefer that one. Replace sid value with your own and setup the bits below to what you want it to be called. If you want to add a second product to the checkout form, add things like c_name_2, c_price_2 etc. As stated either, I am not going into the database side of things in this tutorial but you can always use a programming language to prefill all in this and use cart_order_id as a method to know what order someone is ordering.
Continue reading

The tales of an old man

Quite often on Tweaked for your Pleasure I write about things that happens in my life and this is one of these articles.

As I was visiting a town which I am not going to name as I am sure I will get a flood of fans going there, I had quite an interesting chat on the bus coming back. At the bus stop I was sitting on one of the benches listening to South Park: Bigger, Longer and Uncut on the Sony PlayStation Portable when this old man walks overs.

As it was raining, I picked my bag up that I had with me and moved to the side so that the old man could sit down. However, this man refuses to sit down as the bench was wet at which point he asks me is that the “latest iPhone”. Smiling, I simply said that it was a PSP – a small gaming device.

While I can not remember what we chatted about for the first five minutes or so we finally got chatting about time. Originally he started talking about how it is going to get dark soon. It was at that time he said, you know the sun controls our day and night. I then replied saying it all related to our orbits and the speed of it.

The old man only stopped to think for just a few seconds and went true and then went on to explain the science behind it. Having debated with him, he then went on about what is happening right now in the United Kingdom mostly about jobs.

Having ask me what was the last job I had, I thought to myself that the last time I was physically employed (not including freelance etc) was at New College Stamford. So I said to him I was a teacher for a short bit teaching PHP programming language.

The old man only replied talking about PHP itself and how he used to do some PHP programming for a website he had online. Out of interest, I asked about what website he used to run and his answer was simple – just a simple little blog.

Wanting to find out more about the blog, I asked about it but he went on to explain about how he only had six jobs in his day and one was being in the armed services. He went on to explain how he got into the armed service with military science.

At this time the bus pulled in and we all got on. The old man just sat quietly to himself listening to something on a device I could not see. Having stopped at all the other bus stops other than the one I live at, I decided to pop my head phones back in and listen to the end of South Park: Bigger, Longer and Uncut. Having not felt the bus stop anymore, the bus pulled into the place I live I looked up and the old man was gone.

For just a few minutes if I had to place a name on that old man, I would have said me.