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>
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  :)

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.