Jump to content

MinuteMan

Members
  • Posts

    3
  • Joined

  • Last visited

Contact Methods

  • Website URL
    http://
  • ICQ
    0

Profile Information

  • Location
    europe://bulgaria/sofia
  • Interests
    Programming, Open-Source, Linux

MinuteMan's Achievements

Newbie

Newbie (1/7)

0

Reputation

  1. Thank you for the answer.I googled about mod_rewrite and read some very interesting tutorials and guides.I think I got it - in my .htaccess file I have: RewriteEngine onRewriteRule ^index/?$ index.php [L] This will open http://mydomain.com/index and http://mydomain.com/index/ as the index.php file.I use a stylesheet in index.php.When I go to http://mydomain.com/index/ it doesn't parse the stylesheet and my page is shown without any styles.Maybe I am very close to it, but just don't have an idea how to do it.
  2. Nowadays, I see many sites using the following navigation: http://example.com/articles/PHP/1/I know that these are not directories but extensionless files, and I need to know how they are made.My root folder is htdocs/. I have an index (no extension) file, which contains PHP codes.I've typed in my .htaccess the following: DefaultType application/x-httpd-phpForceType application/x-httpd-php So far, so good. I can open /index w/o problems.But when I try to open /index/ it parses it like a directory..I hope you can tell me where is my mistake, so I can open /index/ as the index file.PS:It's 2:00 AM, I want to go to bed and I know my English is bad. I can explain more detailed tomorrow, if you don't understand.
  3. MinuteMan

    Pagination like:

    Hello buddies!I'm learning PHP right now.I already know how to make a page like "index.php?page=news", but I want to make, for example, category in the news page: "&cat=1".I experimented with some codes but couldn't make them work ... Thank you in advance.
×
×
  • Create New...