...

View Full Version : Do I need to use PHP for this?



SirDarren
11-30-2008, 11:45 PM
Hey, this is my first post here as I just got my own website and I'm trying to build it from scratch and I don't know anything about web design except what I've learned from online tutorials.

I'm using Dreamweaver CS4.

Basically, I want to have a blog at "www.example.com/blog", and I want to be able to post to it from a form that I build myself at something like "www.example.com/blogupload".

When I go to "www.example.com/blogupload" I want to be presented with a username and password entry field for obvious reasons - I don't want other people posting blogs on my site!

So then when I enter the username and password I want to have a "Title" filed, a "Body" field, and something like an add images/video/etc. field.

Then when I click a submit button on that page it posts the blog and it's title to "www.example.com/blog".

I have already created a contact form in PHP, and have had it email it off to me when somebody uses it.
So it couldn't be that difficult I hope.

All help is appreciated!

FWDrew
12-01-2008, 12:13 AM
PHP can and is practical for doing all of this, your basically building your own custom CMS from scratch. There are a ton of pre built and free CMS platforms out there already, such as wordpress and joomla just to name two.

Depending on how in depth you want to get and depending on your experience, this could be quite a long project for one to do from scratch. :)

You can always post some code or start a new thread here if you get stuck along the way.

Regards,

Drew

SirDarren
12-01-2008, 01:01 AM
PHP can and is practical for doing all of this, your basically building your own custom CMS from scratch. There are a ton of pre built and free CMS platforms out there already, such as wordpress and joomla just to name two.

Depending on how in depth you want to get and depending on your experience, this could be quite a long project for one to do from scratch. :)

You can always post some code or start a new thread here if you get stuck along the way.

Regards,

Drew

Amazing you should say that.
Somebody else just said that I should get a CMS and I didn't know what it was.

So wordpress works then huh?

I don't want any adds or recognition of anything outside my site you see.

I thought I could just go to the upload page make a "Field1" and then go to the blog page and make a "Field1" as well, and that it would be as easy as that kind of thing.

All I need is something extremely basic.

Can anybody give me a link to some premade ones?

FWDrew
12-01-2008, 02:02 AM
All free and open source (no external ads or anything like you mentioned):
http://wordpress.org/
http://www.joomla.org/
http://drupal.org/

I have worked with wordpress a lot so it has my vote but it really comes down to which one works best for you. Give them a look and if you need any help feel free to ask :)

Drew

Fou-Lu
12-01-2008, 02:14 AM
A full CMS is definitely above what you are looking to do, all you need is simple authentication and form posting. Possibly a database, otherwise file handling. Three scripts max, one script min.
However, you will be happier in the long run with a CMS. As soon as you add you're authentication and you're entries page, you'll be like 'it would be cool to add...', or 'now how can I make....'. These are things that CMS systems already have built in or can be easily added.

If you are a skilled PHP programmer, make you're own CMS. It will be a lot of work (trust me on that). If you're not as familiar with PHP code including its security, exploits and holes, go for a third party one (I've heard good things about joomla, never used drupal, and the version of wordpress I had was slow as sludge, so I don't know if they've improved on that).

In either case, a heavy or light weight CMS will likely make you happier in the long run.

Oh, and you're not limited to PHP for you're language of choice either. Depending on you're web server it does depend on the technology you can use. Perl is also available on pretty much any web host, and ASP.NET with either C# or VB is available on IIS servers. Mono project isn't widely supported (to the best of my knowledge), so you'll be out on the ASP.Net for Linux servers.
If software is built correctly (which is rare), all of these languages could live together in harmony and interact freely with each other. We'll see more of that in the future I'd suspect.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum