Jump to content

Search the Community

Showing results for tags 'undefined function'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Welcome to PHP Freaks
    • Announcements
    • Introductions
  • PHP Coding
    • PHP Coding Help
    • Regex Help
    • Third Party Scripts
    • FAQ/Code Snippet Repository
  • SQL / Database
    • MySQL Help
    • PostgreSQL
    • Microsoft SQL - MSSQL
    • Other RDBMS and SQL dialects
  • Client Side
    • HTML Help
    • CSS Help
    • Javascript Help
    • Other
  • Applications and Frameworks
    • Applications
    • Frameworks
    • Other Libraries
  • Web Server Administration
    • PHP Installation and Configuration
    • Linux
    • Apache HTTP Server
    • Microsoft IIS
    • Other Web Server Software
  • Other
    • Application Design
    • Other Programming Languages
    • Editor Help (PhpStorm, VS Code, etc)
    • Website Critique
    • Beta Test Your Stuff!
  • Freelance, Contracts, Employment, etc.
    • Services Offered
    • Job Offerings
  • General Discussion
    • PHPFreaks.com Website Feedback
    • Miscellaneous

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests


Age


Donation Link

Found 2 results

  1. Hi, i am new to php and i am trying to build a contact form in xhtml and a action link to php. when i click the submit button on the form, i keep getting this message Fatal error: Call to undefined function check_input() in /home/beernice/public_html/truffles.php on line 6 the xhtml code is <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Beer Nicessities-contactus</title> <meta http-equiv="Content-type" content="text/html; charset=utf-8"/> <link href="sugar.css" rel="stylesheet" type="text/css"/> </head> <body> <div class="placement"></div> <div id="header">Welcome to Beer Niccessties.com</div> <div class="nav"> <a href="index.html">Home</a>| <a href="aboutus.html">About Us</a>| <a href="gallery.html">Gallery</a>| </div> <div id="content"> <p>Please contact us using the form below</p> <form action="truffles.php" method="post" class="contact"> <fieldset> <div> <label for="name" class="fixedwidth">Name:</label> <input type="text" name="name" id="name"/> </div> <div> <label for="email" class="fixedwidth">Email Address:</label> <input type="text" name="email" id="email"/> </div> <div> <label for="barberbok">Barber Bok</label> <input type="checkbox" name="options_0" id="barberbok" value=""/> <label for="ammount">ammount</label> <select name="ammount" id="ammount"> <option>5</option> <option>10</option> <option>15</option> <option>20</option> </select> </div> <br/> <div class="buttonarea"> <input type="submit" value="Submit Order" /> <input type="reset" value="reset" /> </div> </fieldset> </form> </div><!-- end of content div--> <div class="socialmedia"> <a href="http://twitter.com/sugarplumpdairy"><img src="images/twitter.png" title="By TwitterButtons.org" width="100" height="101" alt="follow us on twitter"/></a> <a href="http://facebook.com//pages/Sugarplumpdairy-beer-and-chocolate-truffles/142162515884033?ref=hl"><img src="images/facebook.png" title="By SocialMediaButtons.com" height="101" width="100" alt="like us on facebook"/></a> </div> <!--end of socialmedia--> </body> </html> and the php is as follows <?php /* Set e-mail recipient */ $myemail = "forlannumber10@hotmail.com"; $name = $_POST['name']; $email = $_POST['email']; $barberbok = $_POST['barberbok']; $ammount = $_POST['ammount']; ?> <DOCTYPE html PUBLIC"-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR//xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://w3.org/1999.xhtml"> <head> <title>Beer Nicessities-thanks!</title> <meta http-equiv="Content-type" content="text/html; charset=utf-8"/> <link href="sugar.css" rel="stylesheet" type="text/css"/> </head> <body> <div class="placement"></div> <div id="header">Welcome to Beer Niccessties.com</div> <div class="nav"> <a href="aboutus.html">About Us</a>| <a href="gallery.html">Gallery</a>| <a href="contactus.html">Contact Us</a>| </div> <div class="thanks"> <h1>Thank you for contacting us.</h1> <p>We will get back to you as soon as possible</p> </div> <div class="socialmedia"> <a href="http://twitter.com/sugarplumpdairy"><img src="images/twitter.png" title="By TwitterButtons.org" width="100" height="101" alt="follow us on twitter"/></a> <a href="http://facebook.com//pages/Sugarplumpdairy-beer-and-chocolate-truffles/142162515884033?ref=hl"><img src="images/facebook.png" title="By SocialMediaButtons.com" height="101" width="100"/></a> </div> <!--end of socialmedia--> </body> </html> what am i doing wrong? Please help!
  2. Hi all, I'm quite new to PHP scripting. I would like to check with you what would the subjected error mean? Is it something I have to check with the web-hosting company? I thought gmp_intval() is some standard function in php, no? Thanks in advance.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.