Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8048021
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T06:17:42+00:00 2026-06-05T06:17:42+00:00

i created index.php file ,and i created form in abc.php,when i enter the url

  • 0

i created index.php file ,and i created form in abc.php,when i enter the url path like “index.php/type=abc” the form file i.e abc.php file has to be executed.how can i do this.

my index.php file is

<?php include_once('header.php')?>
    <div id="content">
        <div class="min-width">
            <ul id="navmenu">
                <li><a href="tel:+254 0725117848" ><div class="button">CALL IPAIDABRIBE </div></a></li>
                <li><a href="new.php" ><div class="button">new</div></a></li>
                <li><a href="what.php" ><div class="button">what new</div></a></li>
                <li><a href="how.php"><div class="button">how</div></a></li>

            </ul>
        </div>
    </div>
    <?php include_once('footer.php')?>

abc.php code is

<form action=" "  method="post" id="contact-mail-page">
<div><div class="dealer-page">
       <h2>Interested in becoming a dealer, retailer or a part of our affiliate program for Picture Keeper? Please type in your
 information below and then click submit. You will be contacted within 48 hours.</p><br/>
 </h2>
        </div>
<div class="review">
<div class="form-item" id="edit-name-wrapper">
 <label for="edit-name">Bussiness Name <span class="form-required" title="This field is required.">*</span></label><br />
 <input type="text" maxlength="255" name="name" id="edit-name" size="30" value="" class="form-text required input">
</div>
<div class="form-item" id="edit-name-wrapper">
 <label for="edit-name">Contact Name </label><br />
 <input type="text" maxlength="255" name="cname" id="edit-cname" size="30" value="" class="form-text required input">
</div>
<div class="form-item" id="edit-name-wrapper">
 <label for="edit-add">Address <span class="form-required" title="This field is required.">*</span></label><br />
 <input type="text" maxlength="255" name="add" id="add" size="200" value="" class="form-text required input">
</div>
<div class="form-item" id="edit-name-wrapper">
 <label for="add1">Address1 <span class="form-required" title="This field is required.">*</span></label><br />
 <input type="text" maxlength="255" name="add1" id="add1" size="200" value="" class="form-text required input">
</div><br/>
<input class="dealer-submit" type="submit" value="Submit">

</div></form>

now here when i type the url path like “index.php?type=abc” . this abc.php file has to be executed.how can i do this?
can anyone help me

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T06:17:43+00:00Added an answer on June 5, 2026 at 6:17 am

    What exactly do you want?If you want while the index.php?type=abc Url was intered, you Redirected to your Desired Page add this code above the index.php file.

    <?php
    
    $SafePages= array("abc", "login", "signin", "logout");
    if(isset($_GET['type']))
    if (in_array($_GET['type'],$SafePages))
    {
    header("location:".$_GET['type'].".php");
    }
    else
    {
     header('HTTP/1.0 404 Not Found');
    
        echo "<h1>404 Not Found</h1>";
    
        echo "The page that you have requested could not be found.";
    
        exit();
    
    }
    
    
    ?>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have this html form which calls a php file . The index.html ->
I'm trying to create tiny urls like this: site.com/abc123 goes to: site.com/index.php?token=abc123 but I
I have created an index on my table like this: CREATE INDEX index_typ_poplatky ON
This is the code of a .php file. The column memberid has a unique
I am loading a .php file into a div I created. I can successfully
This is the structure index.php app/processor.php app/.htaccess in the index.php I have this form
pls help me how to create a .htaccess file as index.php?regional=aaa domain.com/aaa/ list.php?regional=aaa&ctg=bbb&orderby=ccc&page=123 domain.com/list/aaa/bbb/ccc/123/
I created a WCF service that uses TagLib# ( http://developer.novell.com/wiki/index.php/TagLib_Sharp ) which relies on
i have created my index and mapping by this JSON // 1st Mapping http://localhost:9200/hdm/entities/_mapping
I have activated the IIS package for windows, and, I created an index.html file

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.