My guess is that register globals is turned off on your new site. Or maybe, the new site isn't set up to parse php with *.html extensions. Being that it's all embedded flash, I can't give you much more than that.

bionicegg wrote:
John,

  Im so sorry about the posting three times, I didnt know how to do it, then
I subscribed after I sent it twice.
  I cant figure out what is wrong with the script.  I do not get an error
message.  Basically, I am suppsed to get an email with the info that the
user entered.  I get the email from http://www.bionicegg.com/html/Mail.html
, but It doesnt work for http://www.nypalet.com/Mail.html .

I do not know jack about PDP, I got the script from www.flashkit.com.

Thanks so much for the response.

Mark J

----- Original Message -----
From: "John Nichel" <[EMAIL PROTECTED]>
To: "bionicegg" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Tuesday, February 25, 2003 1:20 PM
Subject: Re: [PHP] help please



Do you need an answer for each of the times that you posted it?

1)  Posting code is good, however telling us it "doesn't work" is no
good.  What are the error messages, if any?  Why is it not working, ie
what did you expect it to do?

2) What version of php on the old site as compared to the new site?

3) Where are your variables coming from? Like $Firstname and $Email?

4)  Did you look at this....
http://www.php.net/manual/en/language.variables.scope.php
http://www.php.net/manual/en/language.variables.external.php

bionicegg wrote:

Hello all,


I am having problems with a script. The script works great on one

of my

sights, however, when I transferred it to another site, it does not
function.  I contacted my hosting company (both sites are on the same
server), they told me that I needed to check the script and that it has
nothing to do with them, since they ran a  test.php and it worked fine.
  Here is the script:

<?PHP

$ToEmail = "[EMAIL PROTECTED]";

$ToSubject = "Flash Contact Form";

$EmailBody = "Sent By: $FirstName\nSenders Email: $Email\n\nMessage
Sent:\n$ToComments\n";

mail($ToName." <".$ToEmail.">",$ToSubject, $EmailBody, "From:

".$FirstName."

<".$Email.">");

?>

Please if anyone knows anything about this stuff (Im a newbie to this)

You

help is greatly appreciated!

Thanks in advance,
mark johnson














-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to