Help - Search - Members - Calendar
Full Version: Php Formmail Help Required
Zymic Webmaster Forums > Web Design & Development > Server Side Scripting > PHP
Liberty
Hi everyone.

I am not a coder, and have very limited understanding of PHP with the exception of some basic formmail.php to get my forms working etc.

Currently I have my uuuq.com site and I have another website where I am hosting the form related to my uuuq.com website. What I really want to do is put the formmail.php form onto my uuuq.com site not the second site

The name of my uuuq.com website is http://libertyintl.uuuq.com/index.html The site where I am hosting the form is http://www.globalbanker.net/lli/applicationform.htm

I am aware of where the changes have to be made within in the formmail.php file. I simply have no idea what to put in


Example No 1 This one works but I would prefer to have all the forms for my site not to pass through my other site as they are two very different web sites, not related.

$referers = array('www.globalbanker.net', 'globalbanker.net', 'forms@globalbanker.net' );

$valid_env = array('REMOTE_HOST', 'REMOTE_ADDR', 'REMOTE_USER', 'HTTP_USER_AGENT');

Example No 2 (a) This does not work at all All I am doing here is adding the site that i think will work becuase I want the php formmail results sent to my main site.

$referers = array('www.globalbanker.net', 'globalbanker.net', 'forms@globalbanker.net' , 'www.zymic.com', 'zymic.com));

$valid_env = array('REMOTE_HOST', 'REMOTE_ADDR', 'REMOTE_USER', 'HTTP_USER_AGENT');


Example No 2 (b) This does not work at all This does not work either

$referers = array('www.globalbanker.net', 'globalbanker.net', 'forms@globalbanker.net' , 'http://uuuq.com', 'uuuq.com));

$valid_env = array('REMOTE_HOST', 'REMOTE_ADDR', 'REMOTE_USER', 'HTTP_USER_AGENT');

If anyone can help me I would be over the moon, as I have no idea about coding or PHP or very very limited.

Thanks
Paul
Brandon
You need mail() enabled, you will have to pay $10 to Jack, join IRC and ask how to proceed with a payment.

Inless you have no intension what so ever to pay.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2012 Invision Power Services, Inc.