Jump to content

mcslug

New Members
  • Posts

    2
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

mcslug's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Is there a way to remove .php or .html, or .whatever extentions from the url bar when users visit pages on mysite? For example, if a user goes to www.mysite.com/edituser.php it shows the url as: www.mysite.com/edituser.php I don't want the .php to be visible to the users. How would I remove extensions from web urls? Right now for a user to go directly to the edituser page they have to type in the entire url: www.mysite.com/edituser.php I know I can set up a virtual directory or entry for edituser that will redirect to edituser.php, but the url bar will still show www.mysite.com/edituser.php I know mod_rewrite will most likely be involved, but the examples I've read haven't helped. Any help is greatly appreciated!
  2. Thanks for reading everyone. I'm new to PHP and MYSQL, I've gotten pretty good with it over the last month or so but I'm stuck on something. I've created my own content management type of a site, but I want to set it up so a user can view another users publicly viewable webpage. Right now I'm doing authentication against a mysql database, I want a user to be able to type into a browser something like: [a href=\"http://mysite.com/bob\" target=\"_blank\"]http://mysite.com/bob[/a] and have that query the database for information about bob which will be posted to a default page. I'm using IIS 6, php5 and mysql I thought I could use URL parameter passing to do that, so I could set a variable equal to whatever was typed in at the end of the string, in this case bob, but I don't know enough about url parameters or understand them enough to even know if my thinking is correct there. Any help is greatly appreciated, even if it's just telling me the topic that I'm looking for and I'll go look it up, I just don't even know what something like this would be titled.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.