Jump to content

stripos


cugopob.vlad

Recommended Posts

can somebody please help me im trying to use stripos in my site but it keeps giving me an error message which says:

 

Fatal error: Call to undefined function: stripos() in /hermes/bosweb/web177/b1777/sl.cugopobvlad5/public_html/frames/processing.php on line 15.

 

heres what i got on line 15 :

 

$check = stripos($email, $at);

 

can you tell me what im doing wrong. thanks

Link to comment
Share on other sites

 

<?php

 

include ("contact.php");

 

$name = $_REQUEST['yourname'];

$email = $_REQUEST['email'];

$comments= $_REQUEST['feedback'];

$email_message = "name: {$name} with the email of: {$email} .

 

";

$at = "a";

//$check = stripos($email, $at);

 

 

if ($name == "") {

 

echo "Sorry but you need to put your name in.";

 

} elseif ($email == "") {

 

echo "Sorry but we need your name and email address to get back to you";

 

} elseif ($comments == "")

{

 

echo "Dont You Have Any Comments or Questions?";

 

} else {

 

print "

sorry but our form is down right now please check by later. thanks.

";

 

}

 

 

//elseif ($check){

 

//mail('cugopob.vlad@vladsandjosestimeline.com','Form Response ', $email_message . " " . $comments );

 

//print "We thank you for your comments and be sure to check out the rest of the site.";

 

//}

 

 

 

// else {

 

//echo "Please put a real email address.";

 

//}

 

 

?>

 

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...