I'm for sale.

 I'm starting to freelance now, so I'm up for any work and make an attempt to build my portfolio. I'm available to do any work, small to medium sized projects. Stuff I can do:

  • Code PHP
  • Remote adminstration of Linux boxen
  • Some MySQL stuff (though I hate it)
  • Installl scripts (Wordpress, Drupal, WHMCS, etc..)
  • Help with hosters (I know my way around WHM, cPanel, WHM and so forth)
  • And probably a lot more useless stuff.

 

Portfolio here. My prices are cheap (say, min $3 CAD) so I'm available to hire. If you have any offers, deals etc, post a comment or use the contact page.

$explode[2]

Finally, school is almost done so maybe I'll have a little more time for my projects and such.

I've been working on Sysode lately, and it's been coming along. It's still very beta, so register if you must.

 

Me birthday is on the 23rd, and I've been thinking of getting a pi tattoo, maybe shoulder blade or chest somewhere. If not, was thinking about a Blackberry 8330. The G1 is on Rogers and I'm on Bell for the next 2 years....

 

Anyway, finally get some time off so going to go play ET:QW

Friday

It's finally Friday, been waiting all week. I now have four spare processors, dual Xeon socket 604 processors. It'd be great if I could use them.... Also have some RAM too, 4GB's in total!

Torrentino has been running fine so far, server load has been low. PunBB uses a small amount of CPU usage, Torrentino itself (the system) uses next to nothing. One server for the front end + PHP, another for static content (CSS, images, etc.). I could have another server just for PHP processing, if needed. Well, atleast I'll have the hardware to expand ;)

I implemented sub cat's (categories) into Torrentino the other day, hopefullying making it more organizable (?). Next thing I'll have to tackle is being able to sort torrents (seeds, leechs, size) which doesn't seem too hard. Also looking for a new design, as this one sucks.

 

Mininova has started filtering content on some selected torrents. A way to get around it is:

  • Make your files a .rar, .zip. tar.gz whatever and password protect it.
  • Put it in a folder
  • Create an image with the password to the archive (not text file!)


Anyway, any comments on Torrentino or my work in general, is appreciated! Thanks!

Ticketto - semi finished

I coded Ticketto in around 5 hours. You can check it out here: http://jroppie.co.cc:45/ticketto/ and try logging in with 'test' and 'test' respectivly. Also, check out the admin panel: http://jroppie.co.cc:45/ticketto/adminby using 'admin' and 'admin' for the username/password.

 

For those that don't want to check it out, Ticketto is a simple support ticket system. Users/client signs up, picks department and creates a ticket. Admin signs in, answers ticket and set status of ticket to closed, answered, etc. More features are planned ;)
Anyway, if anyone wants the source, just leave a comment.

PHP Support Ticket System

Ticketto (rhymes with Geppetto) is new project I started today; it's based on mail (MailX) so the foundation is already there. A client can create a support ticket in different departments and view the response from staff/admin/whatever. Admins can have seperate departments, so three admins three departments.

The client will also have their own area for other stuff (I'm working on it.)


Anyway, it's Sunday so I'll be watching some TV (if the satelite isn't out still).

Troubles

So, we moved 4Box Hosting to a new server (since it was on the clients server) the other day. The WHMCS SQL DB imported fine. But what else did I miss? The email forwarders. Great. Even the email accounts weren't set up. So for the last couple days we haven't received any emails, only those from from WHMCS cronjobs.

No orders on Nojde either, I wasn't expecting any. I'll have to build some sort of CP where customers can change what jobs they have running, if they need to remove/add more, etc. Right now its based on one single form which is very effecient.

 

I was planning on setting up Openfire on one of my servers and clustering them....but I don't really use Jabber/XMPP (though I should).

My last blog post (VPS plans under $10) has been a hit, I even ordered a VPS off that, how clever am I.... Seems like I'm getting a steady flow of visitors.

I'm still holding a contest too, the person with the most creative/insightful/helpfull comment on my blog wins a free domain.
 

Rokke

Rokke was built out of complete boredom; A platform for freelance developers to sell their scripts.

This weekend I have four days off, so I might do a little work on WorkSimple. 1.3.0 should be released, as its a major improvement from 1.2.2b. It implements a new theme system.

Anyway, this month or next month, I might hold a contest for a free domain (.info). Rules? Most useful/helpful/creative/constructive comment. Sign up here so I know who to email incase you win.

 

 


 

Introduction to PHP: Part 1

This tutorial will cover the basics of installing PHP, getting it set up and even running a few scripts.

Some prequesists that I assume you have:

  • HTML knowledge (any will do)
  • Basic programming knowledge
  • The will to learn!

If you'd like to learn more about PHP and the history, I'd suggest you to read the Wikipedia page. Anyway, on with the article!


Setting it up

To begin working with PHP, you will need a web host that supports PHP or a local web server. For a local web server, I would suggest XAMPP for Windows or WAMP. For testing and development purposes, a local web server is effecient. Although, I would suggest WAMP for the complete novice at is very easy to install and use.
Once you have that set up, now what?
 

Writing and running a script

Depending on where you install a web server, create a file called test.php in either
C:\xampp\htdocs for XAMPP or C:\wamp\www for WAMP (again, depending on your install).
Open test.php in your favourite editor or IDE (I would suggest Notepad2 or PHP Designer ).
What now? Firstly, when writing PHP code, your script must start with a PHP tag and end with a PHP tag.
For example:

<?
//my code
?>
<?php
//some more code
?>

Lets go on with writing your first script:



<?php
echo "Hello world!";
?>

Congratulations, you just wrote your first PHP script! But how do I access it? Open up your web browser and go to: http://localhost/test.php

The semicolon


As you may have noticed, the line ends with a semicolon (;)

The semicolon represents the end of a statement.

Integration with HTML

Would you like to integrate your PHP code in your HTML pages? Firstly, you must save your HTML file with a .php extension. So index.html becomes index.php. Secondly, include your PHP code in PHP tags, like we discussed before. Take this into account:

<html>
<head>
<title>Test page</title>
</head>
<body>
<?php
echo "Hello World!";
echo "<h2>Test!</h2>";
?>

</body>
</html>

 

 

Variables

Remember in math class when you were learning about algebra and just didn't listen? A variable might be a new idea to some, but try to grasp this section. So, what is a variable? Well it's a...variable! It can be anything, a string (such as Hello world!) or a number (like 04) or something else. Lets consider the following code:
 

<?php
//Here we assign the variables
$my_variable = "Hello world!";
$a_number = 4;
$Another_number = "3.14";

//Comments are used like this
#Or like this, either way is acceptable

//And here we display them
echo $my_variable;
echo $a_number;
echo $Another_number;
?>
Also note that variables are case-sensitive. For example
$my_variable; 

is different from

$My_Variable;

 

Echo

Using the PHP echo means outputting a variable or a string to show the world! But be careful when using quotes in quoties, like this:
 

<?php
//This won't work due to the quotes inside the quotes
echo "<h3 class="test">Hello!</h3>";
//But my using an apostrophe or a backslash, we can get it to work
echo "<h3 class='test'>Hello!</h3>";
?>

Try some sample scripts on your own accord!

This is a very simple introduction to PHP, and I hope it helps those that want to learn PHP.
Well that's it for this tutorial, but stick around for part 2. This tutorial is very to the point, so if I missed out on anything, let me know! Comments, ideas or suggestions are appreciated.