Jump to content

My first php program, and I'm very close to giving up


Shiry

Recommended Posts

Hi,

I'm trying to build a website in geocoties. The website includes a form, defined in the line:
<form action="http://www.geocities.com/my_website/mail.php" method="POST" enctype="text/plain">.
I tried to build a simple php program in so many ways, I tried a million versions - but nothing works.
When I submit the form via my_website, I see a blank page.
Here's my small php program, I have NO idea what I'm doing wrong - if anyone can help me - I'd appreciate it so much, this is driving me crazy already!  :o

(Thanks!!!)

#!/usr/local/bin/php4
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<html>
<head><title>PHP Mail Sender</title></head>
<body>

<?php
echo ("Hello world, this is my first php program.<br>");
echo ("I have just created this page");
?>

</body>
<html>
Link to comment
Share on other sites

Thank you so much for your answer.
You're right, I don't use the pro package.
I'll try to find another way to add a form. I got caught up in the thought that it must be a problem with my (so small and simple!) php code...
Thanks again  :)
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.