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

  • Home
  • SEARCH
  • 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 6603693
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T19:02:57+00:00 2026-05-25T19:02:57+00:00

I am very new to php programming and particularly in eclipse. I am having

  • 0

I am very new to php programming and particularly in eclipse. I am having this problem that wasn’t happening before.

My file is called index.php, I have only one file called, which is index.php, and I have this very simple code in it. Basically my code just call itself:

<form id="form1" name="form1" method="post" action='index.php'>
      <label>

  <input name="textfield" type="text" id="textfield" />
  </label>
      <label>
      <input type="submit" name="submitcontent" id="submitcontent" value="extract files" />
      </label>
    </form>

When I run the code and click the submit button, instead of reloading index.php as I have put in the action request, the output is a white page with a string “index.php”. I spent several hours trying to find the error with no hope.

Can you please advice what is my mistake,

What is keeping me wondering is if I run this code in dreamweaver, it works perfectly i.e. reloading the index.php as it is suppose to do.

Many thanks

// EDIT: Here is the full code as requested..

In eclipse I use debug as PHP script. Does it matter ?

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head></head>

<body class="twoColLiqLtHdr">

    <form id="form1" name="form1" method="post" action='index.php'>
      <label>
      <input name="textfield" type="text" id="textfield" />
      </label>
      <label>
      <input type="submit" name="submitcontent" id="submitcontent" value="extract files" />
      </label>
    </form>
</body>
</html>

Thank you

  • 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-05-25T19:02:58+00:00Added an answer on May 25, 2026 at 7:02 pm

    I have solved the problem. So here are the mistakes I made:

    1- My problem wasn’t really with PHP or Eclipse but rather with the server. My debugger wasn’t configured correctly.

    2- I was debugging using PHP script and not PHP webpage. The former can debug without the need to connect to the server (just a script), while the latter debug the web page on the server.

    Once I ensured that my debugger is setup correctly using php -m then setting PDT was a piece of cake.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm very new in programming. I'm writing a PHP application that need to execute
I'm very new to PHP, and I can't figure out why this is happening.
Sorry, I'm very new to PHP, and I can't find anything about this in
I am very new to php and I have a table that displays cases
I'm very new to PHP, and just customizing my homepage. This is the main
This is probably very easy but im also very new to php. Im looking
I am very new to PHP programming and dont know the exact syntax of
I am very new to the C# programming language. I code primarily in PHP/MySQL
I see several questions relating to my problem, but I'm very new to programming
Very new to PHP/programming in general, and I've been trying to run a PHP

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.