Problem with php-form
Posted by: Weemen (---.kpn.net)
Date: September 13, 2011 11:18AM

Dear Wamp-people,

i have a problem with a php-form.
On my local WampServer show my browser the php-code:

Example:
echo ""; } // versturen naar else { // set datum $datum = date("d.m.Y H:i"winking smiley; // set ip $ip = $_SERVER['REMOTE_ADDR']; $inhoud_mail = "===================================================\n"; $inhoud_mail .= "Ingevulde linkformulier\n"; $inhoud_mail .= "===================================================\n\n"; $inhoud_mail .= $_SERVER['SCRIPT_URI'] . "\n\n"; $inhoud_mail .= "Naam: " . $_POST['naam'] . "\n"; $inhoud_mail .= "E-mail adres: " . $_POST['mail'] . "\n"; $inhoud_mail .= "URL adres: " . $_POST['url'] . "\n"; $inhoud_mail .= "Linksuggestie:\n"; $inhoud_mail .= $_POST['msggs'] . "\n\n"; $inhoud_mail .= "Verstuurd op " . $datum . " via het ip " .

If i upload the file to a server that online is. Then have i now problems. Have anyone a solution??

Thanks

Options: ReplyQuote
Re: Problem with php-form
Posted by: stevenmartin99 (---.251.255.13.threembb.ie)
Date: September 13, 2011 02:42PM

This is not php

It's a mess!

Please paste All of the code an email to my address below

This forum is for wamp - not for coding help

Steven Martin
stevenmartin99@gmail.com
stevenmartin99@hotmail.com
PampServer.com - [pampserver.com]

Options: ReplyQuote
Re: Problem with php-form
Posted by: yfastud (Moderator)
Date: September 14, 2011 01:01AM

Make sure to use full tag <?php ... ?> or enable short_open_tag through wam tray icon

Have fun,

FREE One A Day
FREE Photo
FREE Games
FREE Websites
FREE Portable GPS
FREE WAMP Guides

Options: ReplyQuote
Re: Problem with php-form
Posted by: Weemen (---.kpn.net)
Date: September 14, 2011 10:58AM

This script is correct, it works on some other site that are live.
Online with the local WAMP server doesn't work.

It seems that some settings are incorrect. Is that possible?

Options: ReplyQuote
Re: Problem with php-form
Posted by: stevenmartin99 (---.b-ras1.srl.dublin.eircom.net)
Date: September 14, 2011 08:17PM


Options: ReplyQuote
Re: Problem with php-form
Posted by: Weemen (---.kpn.net)
Date: September 23, 2011 11:43AM

Steven,

i send you a message to you mail.

I will wait for your respons.

Thanks
Rene

Options: ReplyQuote


Sorry, only registered users may post in this forum.