Back Home

Open Designs

Community. Driven.

    •  
      CommentAuthorgnome
    • CommentTimeApr 14th 2007 edited by gnome on the 02nd December 2007 at 15:04:13 EST
     
    I have a home brewed blog now. I still have some features to implement before I can release my code, but it does work, even if it is primitive. What do you guys think?
    •  
      CommentAuthorgnome
    • CommentTimeApr 14th 2007 edited by gnome on the 02nd December 2007 at 15:04:35 EST
     
    It has a slight problem: anyone can post! my password setup didn't work, so I disabled writing to the files. Could someone with PHP knowledge please help?

    source (link removed)

    cry
    • CommentAuthorsapte
    • CommentTimeApr 14th 2007
     
    if($post_password = 'password') in post.php should be
    if($post_password == 'password') because = is used for assigning.
    •  
      CommentAuthorgnome
    • CommentTimeApr 14th 2007
     
    Thanks.
    • CommentAuthorpapab30
    • CommentTimeApr 14th 2007
     
    Gnome,

    What's the file ../vars.php?
    •  
      CommentAuthorgnome
    • CommentTimeApr 14th 2007
     
    it holds the top() and bottom() functions, which puts all the code in around the design. I'll need some form of security before I allow visitors to post comments.
    • CommentAuthorpapab30
    • CommentTimeApr 14th 2007
     
    Okay. I was looking through your zip file and I didnt' see that page of code. I was wondering if it was something super secret and shouldn't be seen by others.

    Good luck on your project.
    •  
      CommentAuthorgnome
    • CommentTimeApr 14th 2007 edited by gnome on the 14th April 2007 at 11:42:29 EDT
     
    I put together those files rather hastily, and almost left my real password in the files, instead of 'password' :P