View Full Version : Customer 2 Customer using PHP

01-30-2012, 08:52 PM
Hello everyone, I'm an infrequent visitor to the community.

I am interested in building a customer 2 customer website, but my skills are lacking.

Essentially, my site will have core functionality similar to airbnb or loosecubes. I guess these are pretty lofty goals.

I have seen that i could buy a clone, but I am not actually looking to clone the site. And I have always found that once i have figured out how to make all of the changes and how the damn thing works, I need to rebuild anyway.

I feel like with a good book, and the right tools, I could accomplish my goal.

I am unclear on what book or what tools this might involve though.

Can anyone provide me with a bit of advice. I am very familiar with Wordpress, CSS/HTML, but my PHP skills are iffy.

Is there a book out there that would be understandable for a semi-novice but would cover a site as complicated as what I am describing?

Is there a platform out there that would be able to help me with this? Would Buddypress be usable?

My understanding is that security is a concern, and I worry that anything I would build would be horrifically unsecured.

Thanks for any help you can provide. I hope to be able to pay back the community.

Maybe I should go to the even more novice boards and try and answer some softball questions.


01-30-2012, 09:25 PM

Might be an idea to tell us what you mean by "customer to customer".

What is the website going to do? - When you say "customer to customer" do you mean p2p file sharing?

You need to explain a bit more. I know you've named two websites but you're the one wanting help, most folk here aren't going to go and research what you're talking about just to then give you a few tips. If you want good advice, you need to supply good background goal information.

01-30-2012, 10:16 PM

Thanks for even replying.

My site would allow people to post units for rent and allow people to book those units. So, post a few images, dates available, other pertinent items. Other users should be able to reserve dates and contact the unit owners.

Ultimately, I would like to be able to handle billing, and invoicing and other things of that nature, but I would like to build the core functions functions first, then worry about this sort of thing.

Anything I make I would like to be able to be fully scalable.

I greatly appreciate any help anyone can provide.

01-30-2012, 10:28 PM
While that provides a lot more information its still a very vague request.

What is it you want us to tell you? - IF you ask direct "How do I do this bit?" type questions we can give you direct answers but as it is, you're asking for a range of general tips. IF you're new to PHP then you need to start from the ground up, learn the basics, learn how things like basic arithmatic, forms, sessions and databases work. Databases always seem daunting to people learning a new language and I speak from experience. I avoided them like crazy when I was working on my projects for windows and did all sorts of daft things like using .ini files to store data etc. The truth is, databases (as I learnt via PHP) are incredibly powerful, make it easy to store and retrieve data and really aren't that complicated. They also make it incredibly easy to make data available to other users running different instances of the same script. In other words, before you start on ANY website of any sort, you MUST master the basics of using a database. Once you have that sorted out in your head, it all starts to slot into place and make sense.

01-30-2012, 10:43 PM

It's odd how helpful a little direction can be.

It's clear that I am having trouble getting started, and thus having a hard time explaining why I even need help.

My ability is almost strictly in HTML/CSS, anything beyond that has just been moving PHP tags around inside of code. Basically, recognizing what tag does what and where I need that info to be.

In addition, all my experience doing that has been inside of Wordpress.

I really apologize for asking vague stupid questions. But I want to get off the ground, and i cant even find the ignition.

So, from what you had to say.

I can build a site like I am describing using PHP and a mySQL database? And this is what you would recommend?

I guess my next question is, is there a plug-in/service that would dumb this all down for me and save me some time?

Quite frankly, I have always found that by the time I figure out the tool, I realize I am just better off starting from scratch.

BTW, I think I found a nice video set that should be very helpful for me. Maybe someone else might stumble past this thread and find it helpful.


01-30-2012, 11:53 PM
I can build a site like I am describing using PHP and a mySQL database? And this is what you would recommend?

I guess my next question is, is there a plug-in/service that would dumb this all down for me and save me some time?

Yes you can build pretty much any site using php and mysql. A friend of mine who has a BSC in computer science swears that asp/asp.net is even easier to use but thats limited to windows servers mainly whereas php and mysql will run on all *nix systems and windows and even on a mac.

There isn't really a way to dumb it down as you say, the thing is like with all skills you have to learn and practice. Unfortunately despite being able to download files, software, videos etc from the internet, we cannot download knowledge directly to your brain with todays technology. Give it 15-20 years and that will almost certainly be possible (scientists a couple of years back were able to read out memories from a dead mouses brain so it won't be long before they find a way to put stuff in).

Read, experiment, theorise what bit of code does what until you understand it. IF you don't understand what a line of code does, post it and the lines above and below and someone will probably be able to explain it to you. Practice, practice, practice.. thats the way to become a good programmer even if its only one or two lines of code a day its still just enough to keep it fresh in your memory.

01-31-2012, 03:41 AM
I'd start here Dan:

1. http://us2.php.net/manual/en/getting-started.php

2. http://www.w3schools.com/php/php_intro.asp

3. http://www.w3schools.com/sql/default.asp

Yeah, I know it all seems pretty daunting, but I found these tutorials really pretty helpful for getting started.