Fd4all234's Posts
Nairaland Forum › Fd4all234's Profile › Fd4all234's Posts
@AdminAssit go and get a better job |
naija wit there bad belle, i baw 4 una oo |
do u mean like this, <?php if(isset($_POST['email'])) $domain_name = $_POST['domain_name']; // required $first_name = $_POST['first_name']; // required $last_name = $_POST['last_name']; // required $email_from = $_POST['email']; // required $address = $_POST['address']; // required $telephone = $_POST['telephone']; // not required $hosting_plans = $_POST['hosting_plans']; // required |
yawa-ti-de:do u mean $email_message .= "Domain Name: ".clean_string($domain_name)."\n"; sld be under function died($error) { // your error code can go here echo "The "Domain name" field cannot be empty!, but there were error(s) found with the form you submitted. "; echo "The "Domain name" field cannot be empty!. "; echo "Please go back and fix these errors. "; die(); |
some should plesa help me rephrase the code, i ve tried but its still giving me the same error respond |
fd4all234:i ve tried but the message its bring out is Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in /home/frisahos/public_html/sendform2.php on line 11, pls kindly help me with the correction of the code, below is the code: <?php if(isset($_POST['email'])) { // EDIT THE 2 LINES BELOW AS REQUIRED $email_to = "info@frisahost.com"; $email_subject = "Registration Data"; function died($error) { // your error code can go here echo "The "Domain name" field cannot be empty!, but there were error(s) found with the form you submitted. "; echo "The "Domain name" field cannot be empty!. "; echo "The "First Name" field cannot be empty!. "; echo "The "Last Name" field cannot be empty!. "; echo "The "Email Address" field cannot be empty!. "; echo "The Address" field cannot be empty!. "; echo "The Telephone Number" field cannot be empty!. "; echo "The "Hosting Plan" field cannot be empty!. "; echo $error." "; echo "Please go back and fix these errors. "; die(); } // validation expected data exists if(!isset($_POST['domain_name']) || !isset($_POST['first_name']) || !isset($_POST['last_name']) || !isset($_POST['email']) || !isset($_POST['address']) || !isset($_POST['telephone']) || !isset($_POST['Hosting_plans'])) { died('We are sorry, but there appears to be a problem with the form you submitted.'); } $domain_name = $_POST['domain_name']; // required $first_name = $_POST['first_name']; // required $last_name = $_POST['last_name']; // required $email_from = $_POST['email']; // required $address = $_POST['address']; // required $telephone = $_POST['telephone']; // not required $hosting_plans = $_POST['hosting_plans']; // required $error_message = ""; $email_exp = '/^[A-Za-z0-9._%-]+@[A-Za-z0-9.-]+\.[A-Za-z]{2,4}$/'; if(!preg_match($email_exp,$email_from)) { $error_message .= 'The Email Address you entered does not appear to be valid. '; } $string_exp = "/^[A-Za-z .'-]+$/"; if(!preg_match($string_exp,$first_name)) { $error_message .= 'The First Name you entered does not appear to be valid. '; } if(!preg_match($string_exp,$last_name)) { $error_message .= 'The Last Name you entered does not appear to be valid. '; } if(strlen($hosting_plans) < 2) { $error_message .= 'The hosting_plans you entered do not appear to be valid. '; } if(strlen($error_message) > 0) { died($error_message); } $email_message = "Form details below.\n\n"; function clean_string($string) { $bad = array("content-type","bcc:","to:","cc:","href" ;return str_replace($bad,"",$string); } $email_message .= "Domain Name: ".clean_string($domain_name)."\n"; $email_message .= "First Name: ".clean_string($first_name)."\n"; $email_message .= "Last Name: ".clean_string($last_name)."\n"; $email_message .= "Email: ".clean_string($email_from)."\n"; $email_message .= "Address: ".clean_string($address)."\n"; $email_message .= "Telephone: ".clean_string($telephone)."\n"; $email_message .= "Hosting_plans: ".clean_string($hosting_plans)."\n"; // create email headers $headers = 'From: '.$email_from."\r\n". 'Reply-To: '.$email_from."\r\n" . 'X-Mailer: PHP/' . phpversion(); @mail($email_to, $email_subject, $email_message, $headers); ?> <!-- include your own success html here --> Thank you for contacting us. We will be in touch with you very soon. <?php } ?> |
fd4all234:after that what i get is this:Parse error: syntax error, unexpected '}' in /home/frisahos/public_html/sendform2.php on line 150 |
info@fridayisaac.com |
Hi guys. i came across a very good ebook on how to design a professional website using dreamwaever and other cms to design. so i desired to share it with nairaland members. To claim your FREE copy just place your email address here and I will send the book to you instantly! No need to contact me. Just post your email address on this thread. You will get the book ASAP. |
georgem:here is a simple of a drop down menu <select name="select"> <option selected="selected">Products</option> <option>- Laptops</option> <option> - Servers</option> <option>- UPS</option> </select> |
In view of the hiccups encountered with the introduction of biometric finger prints in the conduct of last weekend's Unified Tertiary Matriculation Examination (UTME), the Joint Admission and Matriculation Board (JAMB) has reviewed the operations for the examination and recommendations for improvement in future works made, Dibu Ojeinde, the Registrar of JAMB has said. Mr Dibu, who acknowledged that some problems were encountered during the examination, said this include "lukewarm attitude of some officials on ground, seeming compromise on the part of some unscrupulous centre supervisors and invigilators, late-coming and general indiscipline on the part of some of the officials." JAMB, in statement issued yesterday in Abuja by its spokesperson, Timothy Oyedeji, quoted the registrar as saying that "the board would be better focussed by engaging a more superior technology that will tackle the few problems associated with delays. At least 2 computer systems would be used per examination centre or the reduction of candidates per centre by half, bringing the figure to be handled by each centre to 270 candidates, from the present 540." Another way to go about, this he said, is to allow candidates entry into examination halls while the biometrics would be done when the examination is ongoing. The board also disclosed plans to revisit the inclusion of traditional rulers in the whole exercise. It said this has been found to be effective and is a way of getting around with security challenges sometimes experienced on the field. The 2011 UTME examination review session, which has been concluded, is expected to be valuable to the planning process for hitch free outings in the future, Mr Oyediji said. Mr Ojerinde had commended staff of the examination body for a job well done, in-spite of challenges such as identification and delay noticed during the exercise. He insisted that nothing serious that could undermine the integrity of the examination was noticed. "There were bound to be problems, especially with the newly introduced innovation - the ‘biometric System," he told the staff, supervisors and UTME coordinators in Abuja. Lessons learnt He however, was quick to add that they should not be overwhelmed to the extent of undermining the credibility of the exercise. Speaking at Butat Government Secondary School, Garki Area 10, Abuja after monitoring the examination last Saturday, Mr Ojerinde said: "I know, to start with, the biometric was a little bit of a problem. In places where they (JAMB officials) started the usage late, definitely, they won't get immediate results. So, they were late. And we had to tell them to cancel it, and use the e-slip as well as the attendance register to check in the children, and I think that has helped in a way because, usually, the e-slip and the attendance register used to be a backup." He also said although the biometric machines available for the examination was few, that was not the reason for the shortcomings experienced. "I don't think the number matters. Do you know that for each machine, we have 540 cases inside it? There was no need for late operation. If the people had stuck to what was given to them; that they should start by 6am, for example, they would have finished this thing. However, I think we have to look at the strategy again. I think what we can do is to reduce the number of candidates per centre; instead of 540 per centre, we can reduce it to about 300," he said. |
olukenny:you are right. |
university of ibadan dnt accept 2nd choice .i agree with lasu,oou,aau and so more others |
@yawa-ti-de i seems not to understand ur explanation, pls broke it down me more |
ever if the web developer create external acct, he can delete all the acct from is cpanel |
here is the code <form name="register" method="post" action="sendform2.php"> <table width="450px"> <tbody><tr> <td width="202"> </td></tr> <tr> <td bgcolor="#993300" valign="top"><span class="style54">Domain Name * </span></td> <td bgcolor="#993300" valign="top" width="236"><input name="domain_name" maxlength="50" size="30" type="text"> </td> </tr> <tr> <td bgcolor="#993300" valign="top"><span class="style54"> <label for="first_name">First Name *</label> </span></td> <td bgcolor="#993300" valign="top"><input name="first_name" maxlength="50" size="30" type="text"></td> </tr> <tr> <td bgcolor="#993300" valign="top"><span class="style54">Last Name <label for="last_name">*</label> </span></td> <td bgcolor="#993300" valign="top"><input name="last_name" maxlength="50" size="30" type="text"></td> </tr> <tr> <td bgcolor="#993300" valign="top"><span class="style54"> <label for="email">Email Address *</label> </span></td> <td bgcolor="#993300" valign="top"><input name="email" maxlength="80" size="30" type="text"></td> </tr> <tr> <td bgcolor="#993300" valign="top"><span class="style54"> <label for="email">Address * </label> </span></td> <td bgcolor="#993300" valign="top"><input name="Address" maxlength="50" size="30" type="text"> </td> </tr> <tr> <td bgcolor="#993300" valign="top"><span class="style54"> <label for="telephone">Telephone Number</label> * </span></td> <td bgcolor="#993300" valign="top"><input name="telephone" maxlength="30" size="30" type="text"> </td> </tr> <tr> <td bgcolor="#993300" valign="top"><span class="style54"> <label for="comments">Hosting Plans * </label> </span></td> <td bgcolor="#993300" valign="top"><select name="select"> <option selected="selected">Choose plan</option> <option>Basic</option> <option>Standard</option> <option>Advance</option> </select> </td> </tr> <tr> <td colspan="2" style="text-align: center;" bgcolor="#993300"><input name="submit" value="Submit" type="submit"> <input name="reset" value="Reset" type="reset"> </td> </tr> </tbody></table> </form> |
<?php if(isset($_POST['email'])) { // EDIT THE 2 LINES BELOW AS REQUIRED $email_to = "order@frisahost.com"; $email_subject = "Order Data"; function died($error) { // your error code can go here echo "We are very sorry, but there were error(s) found with the form you submitted. "; echo "Please fill the required details. "; echo $error." "; echo "Please go back and fix these errors. "; die(); } // validation expected data exists if(!isset($_POST['Domain_name']) || !isset($_POST['first_name']) || !isset($_POST['last_name']) || !isset($_POST['email_address']) || !isset($_POST['address']) || !isset($_POST['telephone']) || !isset($_POST['hosting_plans'])) { died('We are sorry, but there appears to be a problem with the form you submitted.'); } $domain_name = $_POST['domain_name']; // required $first_name = $_POST['first_name']; // required $last_name = $_POST['last_name']; // required $email_from = $_POST['email_address']; // required $email_from = $_POST['address']; // required $telephone = $_POST['telephone']; // required $comments = $_POST['hosting_plans']; // required $error_message = ""; $email_exp = '/^[A-Za-z0-9._%-]+@[A-Za-z0-9.-]+\.[A-Za-z]{2,4}$/'; if(!preg_match($email_exp,$email_from)) { $error_message .= 'The Email Address you entered does not appear to be valid. '; } $string_exp = "/^[A-Za-z .'-]+$/"; if(!preg_match($string_exp,$first_name)) { $error_message .= 'The First Name you entered does not appear to be valid. '; } if(!preg_match($string_exp,$last_name)) { $error_message .= 'The Last Name you entered does not appear to be valid. '; } if(strlen($hosting_plans) < 2) { $error_message .= 'The hosting plans you entered do not appear to be valid. '; } if(strlen($error_message) > 0) { died($error_message); } $email_message = "Form details below.\n\n"; function clean_string($string) { $bad = array("content-type","bcc:","to:","cc:","href" ;return str_replace($bad,"",$string); } $email_message .= "Domain Name: ".clean_string($domain_name)."\n"; $email_message .= "First Name: ".clean_string($first_name)."\n"; $email_message .= "Last Name: ".clean_string($last_name)."\n"; $email_message .= "Email: ".clean_string($email_from)."\n"; $email_message .= "address: ".clean_string($address)."\n"; $email_message .= "Telephone: ".clean_string($telephone)."\n"; $email_message .= "hosting plans: ".clean_string($hosting_plans)."\n"; // create email headers $headers = 'From: '.$email_from."\r\n". 'Reply-To: '.$email_from."\r\n" . 'X-Mailer: PHP/' . phpversion(); @mail($email_to, $email_subject, $email_message, $headers); ?> <!-- include your own success html here --> <center> <table width="86%" border="1" align="center" cellpadding="0" cellspacing="0" bordercolor="#990000" id="AutoNumber1" style="border-collapse: collapse;"> <tbody> <tr> <td width="100%" align="center"><p><strong>We have recieve your order </a></strong></p> <p><strong>Make your payment to any of our banks</a></strong></p> <p><strong>Our Banks details are at the right top side of this page</strong></a></p> </tr> </tbody> </table> ----------------- <form name="register" method="post" action="sendform2.php"> <table width="450px"> <tbody><tr> <td width="202"> </td></tr> <tr> <td bgcolor="#993300" valign="top"><span class="style54">Domain Name * </span></td> <td bgcolor="#993300" valign="top" width="236"><input name="domain_name" maxlength="50" size="30" type="text"> </td> </tr> <tr> <td bgcolor="#993300" valign="top"><span class="style54"> <label for="first_name">First Name *</label> </span></td> <td bgcolor="#993300" valign="top"><input name="first_name" maxlength="50" size="30" type="text"></td> </tr> <tr> <td bgcolor="#993300" valign="top"><span class="style54">Last Name <label for="last_name">*</label> </span></td> <td bgcolor="#993300" valign="top"><input name="last_name" maxlength="50" size="30" type="text"></td> </tr> <tr> <td bgcolor="#993300" valign="top"><span class="style54"> <label for="email">Email Address *</label> </span></td> <td bgcolor="#993300" valign="top"><input name="email" maxlength="80" size="30" type="text"></td> </tr> <tr> <td bgcolor="#993300" valign="top"><span class="style54"> <label for="email">Address * </label> </span></td> <td bgcolor="#993300" valign="top"><input name="Address" maxlength="50" size="30" type="text"> </td> </tr> <tr> <td bgcolor="#993300" valign="top"><span class="style54"> <label for="telephone">Telephone Number</label> * </span></td> <td bgcolor="#993300" valign="top"><input name="telephone" maxlength="30" size="30" type="text"> </td> </tr> <tr> <td bgcolor="#993300" valign="top"><span class="style54"> <label for="comments">Hosting Plans * </label> </span></td> <td bgcolor="#993300" valign="top"><select name="select"> <option selected="selected">Choose plan</option> <option>Basic</option> <option>Standard</option> <option>Advance</option> </select> </td> </tr> <tr> <td colspan="2" style="text-align: center;" bgcolor="#993300"><input name="submit" value="Submit" type="submit"> <input name="reset" value="Reset" type="reset"> </td> </tr> </tbody></table> </form> |
Hi guy, i dont know was wrong with my website form, anything my client try submitting it would say We are very sorry, but there were error(s) found with the form you submitted. Please fill the required details. We are sorry, but there appears to be a problem with the form you submitted. Please go back and fix these errors, but the details where filled, dont know why, you can try it as well, http://www.frisahost.com/ordernow.html check the link to confirm what i am saying |
since u ve access to ur cpanel u can create email yourself from ur cpanel then change ur password |
non of them is prb, all we need is prayer. |
To fall out of love is very easy, than any thing. |
A seven-year old pupil of a dilapidated public primary school at Alapere in Kosofe Local Government area of Lagos State Southwest Nigeria has died after falling into an open pit toilet in his school. The deceased, Master Lawal Buhari, was a primary one pupil at Irepodun Primary School, a stone’s throw from Oriola bus stop at Alapere in Ketu. The acting Head Mistress of the school, Mrs. Sotonwa Olayinka, an assistant Head Mistress, who was not identified, the teacher of the boy, Mrs. Ibuola and another teacher have been arrested by the police and detained at Alapere Police Station in connection with the death. P.M.NEWS learnt that Lawal had gone to ease himself after school closed at 1 p.m. on Wednesday, but slipped and fell, his head downward. It was gathered that about thirty minutes after the tragic fall, at 1.30 p.m., other pupils who had also gone to ease themselves saw Lawal’s still legs and alerted the school authorities. Lawal was brought out dead, with human waste all over his body, eyewitnesses said. But the family of the deceased yesterday told P.M.NEWS that the boy fell into the pit at about 11.30am before the school closed and was in the pit for about three hours before he was discovered dead with excreta all over his body. “My daughter called me yesterday (Wednesday) at about 2.30 pm and told me that Lawal had fallen into the pit in his school and was already dead. I was told that the incident took place at about 11.30a.m. I cannot still believe that nobody among the school authorities knew that my grandson had fallen into the pit until after 2p.m. “I suspect that he was harmed and pushed into the pit because how can Lawal remain in the pit for over two hours and nobody knew. I am charging them for negligence because if they had done their work correctly such a thing would never have happened,” Buhari Sulaiman, the grand father of the deceased told P.MNEWS yesterday. Lawal was the first son of Abiodun Buhari and Oluwatomisin Buhari. His mother described her son as a bright and promising child. She said she is shocked and can not come to terms with what happened. Sources in the school told our correspondent this morning that several letters had been sent to Agboyi-Ketu Local Government council to fix the toilets and other dilapidated facilities at the school, but nothing was done. The source said that a meeting was held last Friday concerning the toilet, lack of water and the collapsed fence of the public school. The source added that some council members had visited the school on Tuesday, but did not fix the toilets or agreed on a date to fix them. When our correspondent visited the school yesterday, Lawal’s school uniform was still lying by the open pit. The school was deserted after violence broke out yesterday as a result of the incident. It was learnt that those who knew Lawal went to the school after information reached them that he had fallen into the pit and died. They attempted to attack the school authorities over the boy’s death, accusing them of negligence. But policemen from Alapere arrived the scene on time to restore order. Lawal was one of the 60 students sharing an over crowded space that hosts two different classes. Pupils in Class C and Class D share the same classroom, the same blackboard, simply divided in the middle. It was learnt that as one teacher teaches English language, the other teacher might be teaching Yoruba, thereby creating confusion in the class. Class 5C has 31 students, 15 boys and 16 girls and Class 5D has 29 students in the same small space. P.M.NEWS observed that the school’s fence has collapsed, heaps of refuse litter the surroundings classrooms which do not have windows. The roofs of some classrooms have been blown off. The computer classroom is partially broken. The blackboards are partially conked out and classrooms renovated by an unknown contractor have no doors, windows, or fans. There are some broken tables and seats. There is no water in the school. A modern toilet built by the contractor is said to be exclusively used by the teachers. A source at the school told P.M.NEWS that the contractor did a shoddy job and left many buildings uncompleted. Government waste bins were provided, the source said, but no vehicle comes to empty them, and they have remained unused. “The fence has collapsed all around the school. The contractors left tanks but there is nothing to pump water, so we don’t even use them. That is why you see heaps of wastes everywhere,” the source said. In the midst of the dilapidated classrooms, toilets and fence, a torn Nigerian flag is hoisted. “We want Fashola to come here on Monday. We want him to resume with us on Monday so that he can see things for himself,” the source who works in the school but preferred to remain anonymous told our correspondent yesterday. http://pmnewsnigeria.com/2011/06/17/shame-of-lagos-pupil-dies-after-falling-into-school-pit-toilet/ |
the result will be out this week, watch out for it. |
@ebrahym holla u 4 wat? |
@lagcity was true talk, so u are saying abuja and calabar is more romantic than lagos, |
u can download it online, google it |
Hello Guys, Please any body to help me with Photoshop tutorials. |
@Deep Soul u are righ, who are we to judge them, |
PORT HARCOURT- FIVE corps members kidnapped two weeks ago in Rivers state have regained their freedom, says the Rivers state Police Command. A statement from the state Police Public Relations Officer, PPRO, DSP Ben Ugwuegbulam, said they were freed, Sunday night, at Ama, Omoku in Rivers state. According to him, they were rescued by Mobile Policemen on Stop and search Operations at Omerenu checkpoint on Port Harcourt-Owerri road. Adding that they have since been handed over to the Director General of the National Youth Service Corps, NYSC, Brigadier General M.I. Tsiga. His words, “Release and rescue of five kidnapped corpers. While Police SOS and Anti kidnapping teams supported by DPO Omoku were making efforts to rescue the mother of Chief Okoroma kidnapped on 17/6/11 at Obrikom, that effort not only led to the rescue of the old woman at about 15 hours today 19/6/11 at Ama Omoku, it also added to pressure sustained on the kidnappers of the corpers by the Police, State Security and the military since the 14/6/11 incident. “ “Thus, at about 1930 hours the five kidnapped corpers were sighted and rescued by Mobile Policemen conducting stop and search at Omerenu along Port Harcourt-Owerri road. The victims have been handed over to the highly delighted Director General NYSC, Brigadier General M I Tsiga in good state of health. Investigation to arrest all the culprits continues please”. It would be recalled that the corps members were kidnapped two weeks ago at Omademe on their way from a school in the community where they had gone to commission a library project, built as part of their community development service. The released hostages were four females and a male. |
;