Shiry Posted November 26, 2006 Share Posted November 26, 2006 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><?phpecho ("Hello world, this is my first php program.<br>");echo ("I have just created this page");?></body><html> Quote Link to comment Share on other sites More sharing options...
taith Posted November 26, 2006 Share Posted November 26, 2006 what package do you have with geocities? only the pro pack is php enabled... Quote Link to comment Share on other sites More sharing options...
Shiry Posted November 26, 2006 Author Share Posted November 26, 2006 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 :) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.