Simple PHP Bitcoin Shopping Site - Bitcoin Portion

Avg Bid (USD)
Project Budget (USD)
$30 - $50

Project Description:
I am making a bitcoin shopping website in PHP. I will take care of most of the programming. All I need help with is accepting bitcoin deposits and withdrawals (as I don't fully understand how to integrate a bitcoin payment system). Here are some points that I need help creating.

Generate Address:
Each user should be given a generated unique bitcoin address for their account.
Something like: $newAddress = generateNewAddress();

Users should be able to deposit bitcoin to that address, and then the website
should be able to confirm that [x] amount of bitcoins were sent and are now safe at the server.
Something like: $amount = getBitcoinsByAddress([address]);

When a user wants to withdraw bitcoin from their account, the website need to have a function to send bitcoin to any bitcoin address.
Something like: $sendBitcoin = sendBitcoins([address], [amount]);

Get Balance:
Users should be able to check their balance in their account. I can handle this with my own programming. What I really need is something like a getBitcoinsByAddress([address]) as described in “Deposit”.

I need someone explain to me the best way to go about doing this, and send me some code to make this easy for me that is consistent with the description I have listed above.

To be more clear, I want this completely made from raw PHP. I don’t want a shopping cart software like osCommerce, or a bitcoin payment processing third-party service like Bit-Pay.

Skills required:
eCommerce, PHP, Shopping Carts
About the employer:
Public Clarification Board
Bids are hidden by the project creator. Log in as the employer to view bids or to bid on this project.
You will not be able to bid on this project if you are not qualified in one of the job categories. To see your qualifications click here.

$ 220
in 4 days
$ 120
in 6 days
Hire sdpteamsl
$ 150
in 3 days
Hire sashamd
$ 109
in 6 days
$ 50
in 1 days
Hire ZSPpX240v
$ 50
in 1 days
Hire nprogrammer87
$ 40
in 7 days