Simple Website Comments Section [closed] - php

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
I have a very simple website, and would like to create a 'Comments' section to it. Currently I have a HTML document and a CSS document running the site.
I have a little knowledge of PHP, and would like to keep this as simple as possible - i.e: saving comments to a text file perhaps? But not sure.
Can someone please suggest the simplest way of adding the comments options in.
Thanks for any help.

You can use Facebook Connect to add comments to an existing page: http://developers.facebook.com/blog/post/472 (Updated Link)
I found that post by searching google for "add facebook comments to your site"

It requires a MySQL database (which, if you're developing with PHP, is something that's better to get a cursory knowledge of sooner rather than later), but Commentator is a pretty nice, simple comment script. See: http://ratherodd.com/commentator/

You actually can do this very easily using file_get_contents() and file_put_contents(). Using only a flat text file and no database.
I set up an example page at:
http://staticchaos.freeoda.com/php/

Related

Membership site with PHP and MySQL [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 6 years ago.
Improve this question
I have a html site, and I have a page that acts as a bio for users (which I currently have to update by hand with html).
I want to create a membership login page, and I want users to be able to input their own data, that in turn updates their bio page automatically. With an option to upload images.
I read up and looks like php and mysql is the way to go, which I know nothing about. Is that the right route? Or is there an easier way?
Kick me in the right direction to get that setup please? I'm lazy and don't want to spend months figuring out how everything works just to setup one page...
Do not try to write everything your own.
If you only want the result fast, find some mature CMS to start from. Try Drupal or Wordpress.
If you want more control and not afraid to fight with code, try framework like Laravel or Symfony. Learn as much APIs as possible from the framework.
I would look into Wordpress. They offer hundreds of thousands of plugins that can achieve advanced functionality without writing any code.
Here is a Wordpress plugin called Ultimate Member that looks like it would achieve your desired functionality.

How to make a dynamic timeline using bootstrap? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I'm trying to make a dynamic timeline like facebook that can post pictures and descriptions with dates using mysql php for database. I put bootstrap because I like their design, and it's easy to use.
My problem is i don't know where to begin or where do I study it.
Here's an example of what I'm talking about:
Any suggestions?
What a generic question... this seems to me an impossible question to answer but maybe you need just some little advices to begin studying the right languages which you can use to achieve what you want.
First of all please provide an image of what you want to do and more important the fundamental languages that you have to know are HTML (obviously), CSS, Javascript and PHP for some server side script.
Talking specifically about your problem, here is where you can see some open examples with well commented code that allows you to understand everything.
http://www.jqueryrain.com/2015/05/ideabox-jquery-timeline-news-ticker/
http://www.jqueryrain.com/2014/11/vertical-timeline-css3-jquery/

How to make HTML interact with a database? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
Hello everyone, I have a project and I want to create an MVP: Minimum Viable Product.
And I have html pages ready but I don't know how to make them interact with databases, preferably MySQL.
I need the simplest way to be able to POST and GET data from a database, PHP or Rails.
IF there's just one simple tutorial or a small ebook to read, I'll be so thankful.
I have to the end of the month to create the MVP, about 20 days or so, and I really want to make that happen and I was gonna learn the whole Rails just to do that, but it'll take time you know!
Thanks for your time and I hope that you might help me :)
You can't make HTML directly interacting with database. You should create server-side application, which answer queries generated by HTML forms, JS queries, etc. I am PHP developer, I like this language, so I recommend you using it in your solution.
You can read about connecting PHP to MySQL database here:
http://www.w3schools.com/php/php_mysql_connect.asp
There you have basic information about handling data sent by POST:
http://www.w3schools.com/php/php_forms.asp
If you have any troubles during develop proccess try Google before, then if didn't find answer ask specific and well described question on Stack Overflow.
Best luck!

PHP CMS Wonderings [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
I just want anyone to correct me if I'm wrong. Can I create a CMS by making a file where you log in as an admin and then you can write an article and send it to a database table. In another file display all articles from the table with ORDER BY id. To delete you simply make a delete script. Do I have to use any other languages like xml or something? Thanks!
The question: Can I make a simple cms by just using PHP and HTML?
No, you don't need other languages.
PHP and MySQL should be sufficient.
Well, the way the articles are displayed depends of HTML, CSS or JS codes you use.
I'm not quite sure what you're asking exactly. But you could easily write something like that in just PHP and HTML, and use a database to store the information.

Multiple Blog Feed [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 9 years ago.
Improve this question
I hope you're having an awesome day.
Today I wanted to implement a blog on my site, write it on bloggr and when I post it, feed it to mysite.com/index.html What would I need to be able to accomplish this! Help would be greatly appreciated!
I was searching around blogger and ended up in a configuration of it,
1st. I get asked for my domain.
Then I have to replace the CNAMES...
-the blog just redirects to my domain with bloggr style...I want the blog to be displayed on one blog.mydomain.com/post-youre-watching
I also want a div with the feed of the last 3 entries(despite the author)...How can I accomplish this? You guys know anywhere where I could find information on how to do this? If so, what information(or language) do I need to learn?
If you want to present the content on your site (rather then making your hostname point to Blogger) then you'll need to actually put it on your site.
The simplest way would be to periodically pull the data from the Atom or RSS feed hosted by Blogger and store the content in a database on your server.
You can then query it with your own server side code to get whichever combinations of data you desire.

Categories