The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Other .htaccess/web.config

  • This topic is empty.
Viewing 1 post (of 1 total)
  • Author
  • #36115

    Can someone explain me how does .htaccess/web.config works?
    For simple pages I usually used:

    switch($_GET) {
    case 'single_axle':
    $load_content = $prefix.'pages/single_axle.php';

    But it gets too messy when there is more than 30+ pages. How can I make it to happen automatically?

    For example I need to load php from /pages/trailers.php and load it as and user can choose a trailer type for example Single axle. it loads php from /pages/single_axle.php as

    I hope someone understand my question.

Viewing 1 post (of 1 total)
  • The forum ‘Other’ is closed to new topics and replies.