473,386 Members | 1,679 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Creating pages on the fly and expiring pages

I'm really new to coding so my question might not be worded the best or just dumb, forgive me. Here's what I'm trying to do:

I have a basic text-entry form:
Expand|Select|Wrap|Line Numbers
  1. <div id="chatfind">
  2. <form action="form_action.php">
  3. School: <input type="text" name="chatname" value="Technology"/>
  4. <input type="submit" value="Go" />
  5. </form>
  6. </div>
  7.  
The user will essentially enter a word such as 'Technology' which will take them to the location (.com/technology). Basically users are creating pages on the fly. How would that work? This next question might not be PHP related but I'd also like pages that are inactive for 24 hours to be deleted.

How would I go about doing this, any tips or maybe I'm going about this wrong?

In it's simplest terms, I'd like a user to create a public page under my domain using a word (which will be filtered) where other users can post comments about the topic (technology). I know I could use a message board, chat room, plenty of other alternatives but I have more I'd like to add to this, just having a hard time understanding multiple languages.
Mar 14 '12 #1
3 1604
Dormilich
8,658 Expert Mod 8TB
The user will essentially enter a word such as 'Technology' which will take them to the location (.com/technology). Basically users are creating pages on the fly.
it may seem that way but most of the times, that is just database driven (i.e. you write the content to a DB) and you use URL rewriting to make it look like it's a separate page (but actually it's only an URL parameter to the script).
Mar 15 '12 #2
Gotcha, if they access a page that hasn't been made yet what must the form_action.php contain to create that page?
Mar 15 '12 #3
Dormilich
8,658 Expert Mod 8TB
that depends on your CMS (content management system).
Mar 15 '12 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Theo | last post by:
Just a quick question... When including a page inside another (include('page.php')), is it bad for the second document to also have <head> and <body> tags etc? Im using iframes currently, and it...
3
by: Gav | last post by:
Hi, I have a form which sibmits data to another page. Trouble is when the user refreshes the page it resubmits all the data again. Is there anyway to expire the page immediatly so this cant...
1
by: Benny | last post by:
Hi All, Good Morning! I just need to create 36 pages dynamically, each us a webpage for each person. Its dynamic from the Db, and the no seems to be growing. I am hoping to have short URLs...
1
by: Bernie Beattie | last post by:
I would be really interested to know what editor developers are using for doing their ASP pages. We used to use Visual Interdev but are no longer licenced for that and Notepad is a bit basic. ...
0
by: Mark Lewin | last post by:
Hi all I'm pulling my hair out over this particular problem and I'm wondering whether you clever people can help. I'm running the demo version of Access 2003, which I understand to be a...
1
by: syska | last post by:
Hi, I talked to a Microsoft person for about 4 month ago, and he said that microsoft was developing a tool/program, so it was easier to deplay the mssql database to the webhost.... at that time...
0
by: newsgroups.jd | last post by:
Looking for some options and suggestions on how to proceed - any advice is appreciated and thank you in advance... I have created a master page that has multiple dropdownlists and calendar and...
5
by: TomT | last post by:
Hello, I'd like to create several home pages, all with the same HTML code but different CSS settings. I would then allow the visitor to choose which home page to view. This is pretty easy if I...
27
beacon
by: beacon | last post by:
Hi, I'm using Access 2003 and I'm trying to create a tab control that, upon pressing a command button, will take you to a second page of that particular tab. For example, I have a tab control...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.