/    Sign up×
Community /Pin to ProfileBookmark

PHP Form to HTML?

Hello,
I have a PHP form script that I did (1st time) and I cant get my submit button to work. (wont send info to my email) When you hit the submit it says “error cant find server”.I want to convert my PHP to all HTML (php too hard 4 me) I was wondering if someone could do this for me?? Let me know the charge if any. I will attach file here. Let me know if any other info is needed. Thank you very much!!!

[email][email protected][/email] for questions 🙂

[upl-file uuid=4a6c3de7-faed-4975-af4f-b3f2d188e243 size=13kB]formfixed.txt[/upl-file]

to post a comment
HTML

2 Comments(s)

Copy linkTweet thisAlerts:
@pyroMar 27.2003 — [i]Originally posted by suzzane [/i]

[B]I want to convert my PHP to all HTML[/B][/QUOTE]
You will then have to use a mailto in your forms action, like this:

[color=darkblue]<form action="mailto:[email protected]" method="post" enctype="text/plain">[/color]

This is, however, about the worst way to send a form back to yourself. It will cause alerts to popup, etc...
Copy linkTweet thisAlerts:
@suzzaneauthorMar 27.2003 — Hello,

Yes I really didn't want to use the mailto but I am having such a problem with the dang PHP. Like I said it wont send form to my email. Was working once have no clue what I did. Maybe it's my server?? hmmm If I could get the PHP to work I would be thrilled but about ready to rip my hair out hehehe!!

What about this code thats in my script??

=<? echo $_SERVER['PHP_SELF']; ?>


the $_
SERVER['PHP_SELF']

And what does this mean:

returns the absloute path to the file. Try hardcoding the file name in the action. (does this mean my site www.metrocast.net/timdee/

Thank you for the help I am new at this :-)
×

Success!

Help @suzzane spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.16,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...