Small php problem - contact form

Feed 0 posts, 1 voices

Avatar
0 posts

Hi. I’ve just recently moved over to Frog CMS – currently in the middle of moving all my sites over, but thought i’d better get one sorted first!

I have a problem. I have been using a script for an ajax php contact form. I have uploaded all the files etc, and the form can be found:

http://www.dankingsley.com/frog/public/contact-script.php – it works here!

I then include that php file on a frog page by using the following code:

<?php include "http://www.dankingsley.com/frog/public/contact-script.php"; ?>

And the file appears etc – it can be viewed here: http://www.dankingsley.com/frog/contact

BUT there are now some errors and the form can’t be submitted. Any idea why this wouldn’t work?

Thanks.