Hi Guys,
I have developed a php based simple web application which allows users to view articles, comment on articles ,etc The features of the application are: Member Features:
Allows members to create categories
Allows members to retrieve lost passwords
Allows members to post new articles, comment on articles Admin Features:
Allows admin to create/edit/delete users.
Allows admin to post/suspend articles, comments.
And almost everything can be done by admin User Features:
Allows users to view articles, comment on articles, sign up for website, etc PLEASE HELP ME OUT IN ADDING THESE FEATURES TO MY WEB APPLICATION:
1. Whenever an article is viewed the url of the article becomes http://www.demo.com/article.php?id=123
I want the function which allows admin to change the url of any article, like http://www.demo.com/category/article-one-two.php
2. I want to provide the users/member/designers the ability to design template for the application i
e In short I want the application to be template driven.
3. I want to provide users with the ability to create custom plugins for the application so that the application can be extended very easily. (For now this is all I need but in future I will need more features) PLEASE HELP ME
.. I would be very thankful to you all 15 2505
Sorry for i want, but this will be very helpful to others as well
can you at least tell a way using which application can be made template driven
or can you refer some books.........
Thanks for the info.
@roccos
Of course, but saying 'I want, I want' is a very rude way of asking for help.
Any how, I've not delved into template driven applications, but a quick google offered a promising result.
Thanks for your Great Help, more questions coming very soooooon. :)
@roccos
No problem. We shall be waiting. :)
Well then here's a question for you:
how to create a search engine which displays results from google, amazon and eBay....., I have experience in creating database driven search engines
And one more questions about Pretty URL's, though the link to articles you provided is useful, But i didn't understand it clearly.... Can you explain or provide links to Articles which explain "Pretty URL's" in a great detail (i..e step 1 to the last step)
@roccos
1. That's a question for a new thread.
2. Google's results. After looking through a few tutorials, you'll start to understand, and when you have a more *specific* question, post back.
Can you provide the code you have tried? (We don't give out code without any effort on your part to at least try).
This Is The Code:
Options -MultiViews +FollowSymlinks -Indexes
<IfModule mod_security.c>
SecFilterEngine Off
SecFilterScanPOST Off
</IfModule>
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . index.php
</IfModule>
I tried changing index.php with page.php but nothing happened, All it displays is a navigation bar with footer contents without any styles (i..e No CSS) Over To You Markus .....................
GUYS, WHAT HAPPENED, WHY NO REPLY...........
I NEED HELP, Do let me know if you cant
Here is an example: read the url http ://example.com/my_dir/test.php?id=1 as http ://example.com/my_dir/id/1. -
# Turn on the engine. Brum brum.
-
RewriteEngine On
-
# Set the current directory - this time it is 'my_dir'
-
RewriteBase /my_dir/
-
# Conditionals - only run the rewrite if we're getting a none-existant file...
-
RewriteCond %{REQUEST_FILENAME} !-f
-
# Or directory.
-
RewriteCond %{REQUEST_FILENAME} !-d
-
# The rewrite rule.
-
RewriteRule ^([a-zA-Z]+)/([0-9])$ test.php?$1=$2 [R]
-
The rule's explanation: - We start the rule with a ^ character;
- Then we use parenthesis '( )' to indicate we want the expressions results to be stored in a variable for later use;
- The expression checks for any alpha character (lowercase and uppercase) - the + sign let's us check for multiple characters;
- The forward slash that would appear in the url to separate the items;
- Then we do the same as the above, this time checking for only numeric characters 0 through 9;
- $ terminates the rule.
The last part tells us where to redirect to, using $ (followed by the rules placement - $1 = [a-zA-Z0-9] ) to place the variables into the location we want them.
Finally, the [R] flag forces the browser to redirect to the new url. If you just wanted to mask the url, simply change the flag to [L] (last rule) or ommit the flag.
I hope this helps.
ps: less bold and less uppercaps, please.
Thanks Guys, Really thank you for your help.., Though i haven't tried the code yet, I'll try it very soon and i really hope it works..
@roccos
Sure, no problem. Of course, you'll have to use your intelligence and modify the code to reflect your needs.
- Mark.
Sign in to post your reply or Sign up for a free account.
Similar topics
by: Erwin Moller |
last post by:
Hi group,
Just curious what IDEs are popular nowadays.
What do you expect from an IDE?
Debugging?
Do you use your IDE for debugging, or do you work like me? (Just use some
smart-placed...
|
by: Michael J. Wendell |
last post by:
Hello,
I am trying to debug an issue with sessions in my ASP 3.0 web
application, which runs fine on WIN2K Pro and WINXP Pro, yet fails to
function correctly on WIN2K Advanced Server.
My actual...
|
by: Jonathan Li |
last post by:
I have posted the question before but nobody have given me a solution. I
would like to rephrase my requirement and want to hear your advice.
We are developing application packages for logistics...
|
by: Prashant |
last post by:
There are lot of dicussion on C# is much better than C++. Why there is
no language to compute C#. This way we are accepting monopoly of M$.
Why there is no group which seriously tring to develop...
|
by: SmartGuy |
last post by:
hi,all:
The whole thing is : My team is developing some activex controls in VB
6.0. As a new comer, i am quite familiar with .Net(c#) than vb 6.0. So can i
develop ActiveX controls in c#?
And if...
|
by: John Robert |
last post by:
Hi!
Anyone has recommendations for advanced ASP.NET books? By
advanced, I mean complicated stuff... not just
authentification and datagrid binding
I'm mainly interrested in learning more...
|
by: aparnasinha26 |
last post by:
Hi All,
I have to develop an application .The application has to update
database.It does not have any user interface.It needs to run on Windows
XP/2000 automatically at a particular time say 4...
|
by: Rob R. Ainscough |
last post by:
I realize I'm learning web development and there is a STEEP learning curve,
but so far I've had to learn:
HTML
XML
JavaScript
ASP.NET using VB.NET
..NET Framework
ADO.NET
SSL
|
by: |
last post by:
I'm planning to transport a desktop application to the web. A spin-off of
this application has already been put on the web by another programmer. He
used ColdFusion with MS SQL, Access, VC, and...
|
by: ryjfgjl |
last post by:
ExcelToDatabase: batch import excel into database automatically...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM).
In this month's session, we are pleased to welcome back...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM).
In this month's session, we are pleased to welcome back...
|
by: Vimpel783 |
last post by:
Hello!
Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
|
by: jfyes |
last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
|
by: ArrayDB |
last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
|
by: PapaRatzi |
last post by:
Hello,
I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
|
by: Shζllξpτpο 09 |
last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
|
by: af34tf |
last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
| |