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 4086216
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T18:41:41+00:00 2026-05-20T18:41:41+00:00

I have a quick question that I can’t figure out. I’ve tried searching Google

  • 0

I have a quick question that I can’t figure out. I’ve tried searching Google and following examples, but I can’t find anything.

I have an HTML form that I’m trying to process with a PHP file, but when I submit the form, it merely prints the source of the PHP file, it doesn’t execute it. If I run the PHP file by itself (not indirectly through the HTML button), it works fine.

HTML form header:

<form id="registrationform" name="registrationform" method="post" action="processregistration.php"> 

Submit button:

<button type="submit" value="Submit" >Create</button>

The PHP form is just <?php print "Hello"; /?
Again, it runs fine if I just run the PHP file, but prints the PHP file (doesn’t run) when it gets called through the HTML form.

Any help is appreciated.

edit-Running locally through Coda

edit-Here is the output that I’m getting:

Output when the PHP is called through an HTML action:

</php
print "Hello";
?>

Output when I run the PHP directly through Coda:

Hello 
  • 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-20T18:41:42+00:00Added an answer on May 20, 2026 at 6:41 pm

    Line #19 from Coda 1.6 Release notes:

    Coda no longer tries to locally
    preview a remote PHP file while
    editing/previewing

    Listed under “Improvement” – doubt they brought it back for the 1.7 release.

    I’m running Apache2/PHP5 10.5.8 OS X (no problem reproducing your issue with Coda)
    Even when running my form.html and post.php files from /Library/WebServer/Documents folder.

    My sample files work fine in the Apache env….I just needed to run them through Coda to “break” them. 🙂

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

Sidebar

Related Questions

I have a quick question that I could not figure out in the docs
I have a quick and hopefully simple question that I hope someone can help
A quick question, that I can't seem to find the answer to anywhere to
Quick question that I can't seem to find anywhere; at least not a clear
Quick question: I have a saga that can have a scenario where it needs
Just a quick simple question that I can not seem to find an answer
just a question that needs a quick answer, I have a Action, lets say,
Quick question... I have a query that checks for duplicates that looks like this:
Quick question. I have an app that use a native DLL through PInvoke, this
Hey guys quick question, I have an entry that I put in my database,

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.