Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5
  1. #1
    New Coder
    Join Date
    Nov 2008
    Posts
    29
    Thanks
    4
    Thanked 0 Times in 0 Posts

    Question Do I need to use PHP for this?

    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!

  • #2
    Regular Coder FWDrew's Avatar
    Join Date
    Apr 2008
    Location
    Missouri
    Posts
    380
    Thanks
    38
    Thanked 45 Times in 43 Posts
    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
    Dev-Tips.com || Employee at the Envato Network || My Portfolio

  • #3
    New Coder
    Join Date
    Nov 2008
    Posts
    29
    Thanks
    4
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by FWDrew View Post
    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?

  • #4
    Regular Coder FWDrew's Avatar
    Join Date
    Apr 2008
    Location
    Missouri
    Posts
    380
    Thanks
    38
    Thanked 45 Times in 43 Posts
    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
    Dev-Tips.com || Employee at the Envato Network || My Portfolio

  • #5
    God Emperor Fou-Lu's Avatar
    Join Date
    Sep 2002
    Location
    Saskatoon, Saskatchewan
    Posts
    16,979
    Thanks
    4
    Thanked 2,659 Times in 2,628 Posts
    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.
    PHP Code:
    header('HTTP/1.1 420 Enhance Your Calm'); 


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •