473,320 Members | 1,939 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

can anyone help with this coding? please??

mikeinspain
I am getting a Fatal Error message as shown below;
Fatal error: Call to undefined function: phprequire() in /home/9144/domains/cbweb.co.uk/html/propertyEnquiry.php on line 1

The code behind this is below.. Having spent a while trying to understand it all, I'm at a loss. This is the top part to it. If you need or would like all of the code then please email me..

[PHP]<?phprequire('_class_functions/rental_sales_shim.php');require_once('_class_funct ions/enquiryList.php'); require_once('vars.php');// make sure visitor has selected a property to enquire about if(!empty($_SESSION[$shim.'enq_list'])) { require_once('_class_functions/mailFnc.php'); }?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>Property Enquiry</title><link href="webkit.css" rel="stylesheet" type="text/css" /><script language="JavaScript" type="text/JavaScript">[/PHP]

If you haven't guessed I am new to the coding game.. Even if someone can point me in the right direction within the script so that I cold try and recitfy myself then I would be grateful..

Hope someone can help???

Thanks

Mike
Jan 24 '07 #1
4 2174
Motoma
3,237 Expert 2GB
I am getting a Fatal Error message as shown below;
Fatal error: Call to undefined function: phprequire() in /home/9144/domains/cbweb.co.uk/html/propertyEnquiry.php on line 1

The code behind this is below.. Having spent a while trying to understand it all, I'm at a loss. This is the top part to it. If you need or would like all of the code then please email me..

[PHP]<?phprequire('_class_functions/rental_sales_shim.php');require_once('_class_funct ions/enquiryList.php'); require_once('vars.php');// make sure visitor has selected a property to enquire about
if(!empty($_SESSION[$shim.'enq_list'])) { require_once('_class_functions/mailFnc.php'); }?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>Property Enquiry</title><link href="webkit.css" rel="stylesheet" type="text/css" /><script language="JavaScript" type="text/JavaScript">[/PHP]

If you haven't guessed I am new to the coding game.. Even if someone can point me in the right direction within the script so that I cold try and recitfy myself then I would be grateful..

Hope someone can help???

Thanks

Mike
That's easy!
Add a space between php and require:

[PHP]
<?php
require('_class_functions/rental_sales_shim.php');
require_once('_class_functions/enquiryList.php');
require_once('vars.php');// make sure visitor has selected a property to enquire about if(!empty($_SESSION[$shim.'enq_list'])) {
require_once('_class_functions/mailFnc.php');
}?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><title>Property Enquiry</title>
<link href="webkit.css" rel="stylesheet" type="text/css" /><script language="JavaScript" type="text/JavaScript">
[/PHP]
Jan 24 '07 #2
thanks for your help.. will give that a go...

thanks again

Mike
Jan 24 '07 #3
ronverdonk
4,258 Expert 4TB
Thanks for your assistance motoma! Keep it up.

Ronald :cool:
Jan 24 '07 #4
Motoma
3,237 Expert 2GB
Thanks for your assistance motoma! Keep it up.

Ronald :cool:
How am I supposed to surpass you in posts, if every time I answer a question you post a response thanking me?

:P

You are very welcome; I am always happy to help.
Jan 24 '07 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

19
by: Leif K-Brooks | last post by:
Has anyone ever tried implementing a simple unstructured BASIC dialect in Python? I'm getting interested in language implementation, and looking at a reasonably simple example like that could be...
102
by: RFox | last post by:
I date back to the early days of the web when HTML was limited but very managable, and have always maintained that hand-coding HTML gives you far better control and cleaner HTML markup than any...
4
by: Larry | last post by:
Help Please http://www.angelfire.com/folk/ps197_brooklyn_ny I currently have a main page that has a list of about 50 names. I then have 50 pages that are linked to the main page The...
33
by: Larry | last post by:
Does anyone use the 3rd party utility CodeRush for VStudio? If so then I would like to see how well it is loved or hated. I have been using the trial for a week and I have a mixed opinion about...
4
by: cj | last post by:
My company just purchased SocketTools Visual Edition from Catalyst with the intent that I would use the included Socketwrench tool to create a server application to receive and respond to requests...
13
by: sd00 | last post by:
Hi all, can someone give me some coding help with a problem that *should* be really simple, yet I'm struggling with. I need the difference between 2 times (Target / Actual) However, these times...
8
by: CM | last post by:
Hi, Could anyone please help me? I am completing my Master's Degree and need to reproduce a Webpage in Word. Aspects of the page are lost and some of the text goes. I would really appreciate it....
2
by: minhtran | last post by:
Hi All Anyone knows how to code(ASP.NET, C#,VB.NET) as to send username and password to Proxy Server required to reach web page (That means you code as programming automatically get web page without...
18
by: Constantine AI | last post by:
Hi i have some details below and i want to update the table by inputting the values where i have detailed 'Blank'. OrderNo StkID StkShortDesc Qty Price 28 Blank 300 DL 1 Blank 28 Blank 600 SA...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.