Creating An Article Based Website
i need to create an article based website, what words should i search for in yahoo to find a good strategy? or can someone just give me hints how to create it?
the site should do the following->
1-only administrator can add articles
2-public can only search
3-and of course the search should be optimized and fast.
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Questions/Recommendations On Content/Membership Based Website
I've searched groups.google.com already to see if I can determine if using PHP/MySQL (if needed) for a web site I wish to develop. As the subject indicated, it will be a content based site with videos - NO, it's not a porn site though. I thought that I'd list the key requirements/specifications for my web site below and was wondering if some of you'd be so kind as to provide your thoughts on each and comment on them with respect to how PHP can accomplish them or how adept PHP is at accomplishing them? (FYI, I'm an Oracle developer and haven't had too much "real" programming/coding practice since I finished school, but I can still, given enough time to familiarize myself, C/C++/Java and some OOP. But I really haven't had any experience in setting up a website/webserver at all.) -- Strong authentication required since it will be membership based. Someone had suggested that I use a third party billing company, such as iBill, PayCom, CCBill and etc, to simplify the billing process and I'm looking into it. I know it's sounding more and more like an adult site, but it's not. However, if PHP/MySQL offers a better billing method/member info DB maintenance capability and membership authentication, please inform me. -- The instructional videos probably will not be updated/switched/added too often. The same goes for the accompanying pictures for the lessons. The pics though will need to have an accompanying explanation. -- There will be about 30 videos in all, all about 45 seconds to a minute in length. -- I wish to be able to create a member page which they will be greeted with once they log in, muck like "My eBay" over at eBay.com with the following showing, among other things: A) Each member will have a lesson plan according to their expertise or level of completed lessons and I wish to be able for members to maintain a record of which lessons they've completed in each of the plans and which lessons they still need to complete displayed in some chart form. B) I wish to, though it may sound impossible or wishful thinking, be able to prevent straight copying or lifting of my pages, including the videos and the pictures. I know I can disable "right click", but besides that is there anyway I can prevent it from happening? I have worked very hard and spent long hours in developing the content for this website and I'd hate for any copycat websites to just lift my pages somehow and use it as their own on their own website. -- If the site membership grows, I'd imagine that there'd be many simultaneous access to the membership content, including the videos.
Serving A Website Based On Source Internet Address ?
Based on the source internet address a different version of the website should be presented/served to the user/browser. I would like to keep the script as simple as possible and it should replace the index.php. The script could look something like this in pseudo code: if SourceAddress = â¸.3.5.1' then begin ShowBlueWebsite; // load/show BlueIndex.htm end else if SourceAddress = ït.5.15.7' then begin ShowRedWebsite; // load/show RedIndex.htm end; Is this possible with php ?
Creating Pdf From Website
Woudl it be possible to create a PDF from an internet explorer view, using php? I would like to create a hardcopy (pdf) from a report, currently generated and echoed by php and have adobe acrobat reader fired up on the push of a button....
PHP Based Email Address Obfuscator For Website Mailto: Tags
I found a PHP based email obfuscator for use in websites, where the source HTML (PHP, actually) file doesn't contain the actual email address in the Mailto tag, but generates it and that generated page (containing a full and conventional Mailto: tag) is what is ultimately presented to the user. The intent is to thwart Spam bots and spiders, by NOT having the email address in the original HTML Source, but ultimately presenting it to the person browsing the site. But here's my question.... Even though the program works exactly as advertised, isn't this a case of flawed logic on the part of this scripts author? PHP runs server-side, so won't the PHP be interpreted, whether it's requested by a bot, a spider, or a legit website visitor? (and thereby, presenting the bot with the full Mailto: tag and email address anyway)? Or is there something basic I'm missing here?
Creating A Website Tree From Database
I have been given the task of creating a website tree-type diagram. I have details about web pages stored in a MySQL database. There is a reference column in the database using the format: 1.0 1.1 1.1.1 2.0 2.0.1 2.0.2 2.0.2.1 I'm sure you get the gist. What I need to do is loop through these rows in the table, outputting them in their heirarchical structure, turning this into a graphical representation in HTML. This has me confounded from the start. I'm not sure how I would loop through these numbers in the correct order. Also, I'm not sure how I would now when I've got to the next level of numbers e.g. after looping through 1.1 - 1.6 (which should all be in the same row), how I would know that I now need to create a new row for 1.1.1, and that on this row should also be 1.6.1 --- I'm confused just writing it out.
Creating A User Generated Content Website
I'm planning to create a community site (in PHP and MySQL) where people can post some sort of helpful information. I want to include features that would allow people to rate this information and post comments about it. I would also like to make this information searchable, so I want to include tags. To help you understand it better, the website is sort of like digg.com or engadget.com or any other website that have content and comments on it. Sort of like a blog site. I already finished creating the login system. Now I need to work on the content posting system. I already thought about the SQL table to store this content. Here's what I have so far: ContentID, User, Title, ContentText, DatePosted, NumOfComments, Rating, Tags For the comments, I would assume the SQL table would look like this: ContentID, User, CommentNumber, CommentText Now, am I on the right track here? This is my first time creating something like this. Are there free scripts out there that does the same thing?
Creating A Form For An Item Tracking Website
I'm having trouble processing the html form, especially the "date found" portion. I also don't really know how to set up my tables in my database so that they work efficiently. The information I an requesting with the form is: item_number, found_by, date_found, city, state, country. I'm assuming that I will have to have more than one table in order for people to search by item_number or found_by etc. I know these are kind of broad questions, but let me know if you'd like me to post what code I have, or stick the files on my FTP for download. I am using SQL Manager for a mysql client and Dreamweaver CS3 for design.
Creating The Timer For A Turn-based Game
I've been working on creating an online turn-based game where a new turn occurs every hour, and the amount of items such as resources (gold, iron, food, whatever) is changed when the turn changes, regardless of whether a user is online or not. I've played many games like this before (I guess falling under the PBBG genre), so I know this is possible, but I can't figure out how to do it, and I'm obviously searching for the wrong phrases in forums because I can't find a tutorial anywhere.
Dynamically Creating URLS Based On User Input !
I am looking to create pages on the fly or dynamically based on user input. For example if i have www.example.com and they visit this and enter 'bob' in a textfield and press submit they create www.example.com/bob.html . How would I go about this ? I am guessing I need to create a folder when submit is pressed in my website directory ?
Change Website To Php,mysql Data-driven Website
At the moment this site is not completely php. How can I make the content of the pages be from a mysql database? and how do I make the nav buttons work correctly connecting to the mysql database and displaying the correct content, ?
First New Article
Is it possible to show the first record in a MySQL database and then have something such as a picture or a bit of text then the rest of the records in the table. I bit like the Devshed home page with the first new article then the forum lists and devshed Career Center, then the rest of the articles.
Help With E Commerce Article
can anybody tell me how to add NL2BR() into product description script so that I dont have to add < br > manually everytime. I'm using the simple version, mymarket part I article is here, URL:
Article Archive
I am want to create a webpage where you can read a news article. Default the latest is article is shown. But there is an archive (MySQL DB) to store the history articles. The resulting article webpage is generated by a PHP script. To get a article from the DB you see a "table of contents" page generated by PHP. You can click on a link and the article is retrieved from the DB and displayed by a PHP script. How should I do this. It would seem that I should be able to pass parameters to a PHP script. but how.
Article Database
I want to make or find an article database I want it so that the articles's url is: mydomain.com/article?id=001 and it can have a print button so that it prints a printer freindly page.
Article System
I have just setup a new site for articles relating to windows server, networking and the like. I am writing the articles myself, and at present the HTML source for them is stored in a MySQL database. It's nice and fast, but a bit hard to edit the articles once they are published. Is there a better way to do this? Also, my article edit form uses a textarea box for the HTML source, but if I have an article with a textarea in it, the browser ends the <textarea> that is used for editing the article, and prints out the rest of the article onto the page! If I could fix this problem, then I could live with keeping the articles in the database, but I just cant think of a solution! I thought about maybe storing just HTML files, and having a PHP file check them every so often, loading the contents into the database for fast access from the site, but also easy editing by myself, just using Dreamweaver.
Problems With Mymarket Article
Im trying to get into the comments in the article on devshed on e-commerce shopping cart. All I get is a blank page, is it just me? Im trying to find out why I get a server restriction on access to the admin homepage.
Article Directory Script
AJ Article is developed using PHP, MySql. The core concept of the script is to share the knowledge between the users in a group. Professionals on various domains can post their articles. All the site users can read the posting made by the professionals can rate the articles and can select the best article....
Counting Article Views
I have a news system on my site and would like to count how many times each article is viewed, how could I do this?
Newsletter Article Aggregator
I'm looking for a PHP/MySQL-based system that will use a web-based form to enter and store news "articles" with various fields, then another form that will "aggregate" them into a format which can be adjusted with templates and sent to an email address. Does any program like this exist?
Send This Article To A Friend!
"Send This Article to a Friend" I've seen this type of functionality in some websites. I'll read an article and at the bottom is a way for me to enter an e-maill address and send this URL to a friend. My friend would then receive an e-mail from the website saying something like "Joe Schmoe recommends this page for you to read." I'd like to add this functionality to my site. Any recommendations how to do this?
Article Rating System
I want to add a feature where a user can rate an article 1-10 and that result stored in a database with the id of the article being voted upon. I suspect the best way of doing this is a new table with the id of the article being voted upon and the vote, 1-10, for each time the articles is voted upon. I am unclear how then to select the "top 10" rated articles from that database.
Read Article From Db And Format
I was attempting to achieve the story being displayed with each new line being a paragraph. Instead of writing my own function I just used nl2br(nl2br($story)) which was much easier on the eyes. Seems a little hackish in a way. I could write my own nl2indentedparagraphs function . I was just wondering if you clever people had any other ideas/approaches you would take.
Article Management System
I am new in PHP/MySQL, i am developing article managemenst system for my assignment. Where in the members of the site after registering under different packages will allow to view articles. For eg we have packages like 25 artilces, 50 articles, 100 articles etc. Now if a member have subscribe for 25 articles after viewing the 25th article he will not be allow to view anymore and his a/c will be disabled. After renewal of his a/c he will be allowed to access more artilcle. Now my question is that how can i keep track of the articles viewed by the member in database and the query needed to pass in the database which will match his to no. of subscription and his current viewing so that after the member cross the limit his a/c will get disabled.
Display First 4 Lines Of An Article
I am a php newbee and I am building a CMS which stores articles in a database. I know how to display the whole article but what I want to do is to get an article from the database and display the first 4 lines of that article with a link for readers to read the whole article. so I was wondering is there anyway way to do this.
Problem With Altering The DATE Of An Article
I've built an admin tool which updates news articles in a mySql database - I need to backdate the dates of the articles to about 2 or 3 years though,: PROBLEM: I've actually included the date into the form which updates the fields $query = "SELECT headline, content, timestamp FROM news WHERE id = '$id'"; $result = mysql_query($query) or die ("Error in query: $query. " . mysql_error()); The problem is, no matter what date I put in, every time I come to save the article, the database automatically timestamps it with the current date. Somebody please help!?!?
Stuck On Next / Previous Article Buttons
Okay, heres the situation. I have about 1,000 rows of articles in a MySQL database. Bad part, they were not inserted in the order that they appear. So for example: 1 | How To Program PHP | 4/20/2000 2 | Discovering Java | 8/15/1998 3 | Take Up Yoga | 4/19/2000 The first column is the ID, the second the title of the article, the third the date. In Cold Fusion I managed to do a SQL statement that got the ID's of the articles and put them in chronlogical order for me. Making the articles list like so:
Article Split Into Multiple Pages
I have a website with articles from a MySQL database and i know its possible to split an article into multiple pages because i have a thing from http://xhawk.net/projects/yaapi/ that shows the intro when a id=?? is used and then displayes the rest when id=??&page=1 is used. ok But when i try to edit the code it is hard to extract the bits that actually split the article up. Is is possible to o the following things:show the article in multiple pagesshow a 'next' and 'back' linksuse tags such as #intro# and #page#not have coding like the above url use, when i say that i mean using a main file to do everything from and then a another page to actually show it.
Storing Article Text In A Database
I have a website with an increasing amount of articles and news reports and so I am thinking of moving away from storing each article as a seperate page to having a single page and storing articles in a databasewhich are retrieved using a GET parameter. I see the advantage to me in using this approach as being making use of MySQL's fulltext search capability and less work needed when updating the design of the page. I'm not sure of a few things though: 1. The exact benefits of fulltext. Can someone provide a brief explanation or a good website 2. I imagine that storing just the plain text of the article in the database will result in a single block paragraph when retrieved into the page. Do I need to include the HTML markup with the text in the database or is there a different approach? 3. Will the HTML markup in the article interfere with the ability to search for words i.e. if I have a word "recipes" in an article that is surrounded tags like <b>recipes</b>, will a search on this article pick out the word from in between the tags?
Display Random Article And Images…
I have two tables Article and Images and I want to Display the title of the article from the article table and one image that is related to the article from the image table on my index page. I want to display them from the 9 recent posts, that means each time some hits the index page the Article and the related images changes randomly from the 9 recent posts. One article and its image per hits. The idea is to display the summery of the article with one image (Image1) of that article and when you click on the article (Title) or on the image it takes you to a detail page where it displays the Content and its 9 images in thumbnail. That means one article is related to one row of the image table containing 9 images. Code:
Article Not Sending Throgh Mail()
I have a problem with a php script which firstly shows article, and than if user wants to send it to someone else, clicks on a link, which displays a form where this user enters email, name etc of the other user to whom he wants to send the article. Everything's perfect except the part that the article from the database isn't sent to the email....
Add 2-3 Pictures With Just 1 Article? (news- Publishing System)
Have a little problem here. I are about ot create an easy publishing system where the administrator can write down a happening, add some pictures and save it in a mysql db. I have created the article table, but my real problem is how to "connect" the pictures with the article? what should i use to get them connected to just one article? As a beginning i have this db: id (unique and primary key i guess i should set this to) when (the date event will happen) added (date of when the news where added) shortversion (a brief summary to use on the first page) maintext (the article and rest of the text.) then the problem: how to include images with this? 1. little thumbnail to use on the first page (about 50*50xp) and then some pictures to use inside the article, larger around 150. From 0 to a 2-3 should be possible. guess i should use a own table for the images, but how to link them with each other my head and I can just not understand så any help are appriciated !
Expired Article - Comparing Today To Expire Date
On my front page I have a list of articles that are pulled from my database. I have just added a column (expires) to the db in order to remove outdated articles. I'd like to compare today's date to the expires date in my WHERE statement to exlude all articles where the expires date is older than today. But I'm at a loss right now on getting it to work.
Logic On Attaching Image Files For News Article System
I am implementing a news article system for one of my projects and I am a bit stuck as how to approach attaching images to the body of the news article.Currently I have one input box type="file" which looks like Code: <input name="uploading_file[]" type="file" size="25" width="15" value="Attach Image"> Now I will need to attach more than one image for a news post, so I have used an array. I have used the following in the <Form> tags PHP Code:
Php+mysql "article Read By" Or Similar
I have an article system which has a very simple user registration system which has usernames and passwords. These are stored in a mysql table called users. I then have another table called catagories which will list 5 or so different catagories. There is another table called articles which has all the articles in. All articles have a unique ID. What i'm looking for is a way so a user can login and view articles that he/she has not read. I also want to be able to mark a whole catagory as read (I can easily do that once i get the first bit sorted) but my main concern right now is how do I store what articles a specific user has read? I'm using php and mysql running on a cpanel hosting account. If anyone has any ideas and if possible example code to help me along then I would be very greatful. I'm not asking to do it all for me, just point in the the right direction with what should be stored where and what to use to check what. One idea I had was have another field in the users table and give each user a unique ID, then have another field in the articles table and list all the ID's that have read it. I just cant seem to find a reliable way to store/check if a user has read a particular article.
PHP Website
Is the php website down. I am unable to access the documentation. www.php.net
RSS To Website
I have a client who has given me a link to some other websites RSS Feed , he want to display the data in his website from RSS FEED. Hoe to make this. Is it like reading the xml and displaying or is there some other way to do this.
Get Website URL
I've seen scripts which get the exact url to the path where I'm using this script. It gets the full website url with sub folders, etc.: http://www.test.com/... How can I do this in php?
Where To Get 'website Spider' Bot For PHP?
Hi, I have a somewhat weird request, but I have a legit reason. My new CMS is having performance problems, and we are trying to resolve the issue by implementing a bot or spider that grabs the HTML of the site every 30s. I was wondering if you guys could kindly tell me where to get such bots. The program will be installed on another server with cronjob to run every 15s. The 'website performance' check services out there are limited to 2 minute interval. I need something that hits the target site in question more frequently.
PHP Website Security
We have developed an ads network script for running ads network site. Can someone please guide us on security features that we must implement to prevent hecking and exploits...? We have looked into major security problems commonly known like image uploads checks but I would like to know more on other security checks that are generally over looked.
Set Two Cookies For The Same Website, But Not For The Same Url.
It is possible to set two cookies for the same website, but not for the same url? What i means is: you have 1 login form. Out of that loginform, two cookies should be set. One cookie should be set for yoursite.com. The other cookie should be set for subdomain.yoursite.com (like forum.yoursite.com). The information in this cookies will be different.
Website Picture From PHP
does anyone of you know a save method on PHP to relyably, maybe using other programs create scrennshots (thumbnails) of websites? I am the administrator of the open source project (at SourceForge) "TSEP - The Search Engine Project" (http://tsep.sf.net) and we might want to show pictures of the website our search engine has found. The generation process of the thumbnails should be pretty automatic (as much as possible) My tries to find an "optimal" solution did not bring any good results yet, so I am hopeing for better information here.
Backup Of Website
I am seeking after a backup script, to take backup of my webspace on my server, my server is www.servage.net i need to take backup 2 times per day. Via cronjob on www.cronjob.de but i have seeking i 2 days without reslut. Where can i find some webspace / serverspace backup scripts?
|