0

it show me this when i click the previw button to show the page how i can fix this?

Warning: include(funck.inc.php): failed to open stream: No such file or directory in C:\xampp\htdocs\search\index.php on line 1

Warning: include(): Failed opening 'funck.inc.php' for inclusion (include_path='.;C:\xampp\php\PEAR') in C:\xampp\htdocs\search\index.php on line 1

2
Contributors
6
Replies
7
Views
5 Years
Discussion Span
Last Post by andyy121
0

where is the xxx.inc.php kept in relation to the calling script??

Without that no can help you. Basically the error you are getting is indicating the file is not in the same folder. If it is another folder then you need to call it in, in the same manner as you would with css files that are located in different areas.

-4
hey genius this is the code what i have to do????



<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<?php include 'funck.inc.php'; ?>
<title>SEARCH</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>

<body>
<h2>SEARCH</h2>
<form action="" method="post">
<p>
<input type="text" name="keywords"/> <input  type="submit" value="Search"/>
</p>
</form>
<?php
if (isset ($_POST['keywords'])){
$keywords = mysql_real_escape_string(trim($_POST['keywords']));
echo ('keywords');
}
?>
</body>
</html>
1

hey genius this is the code what i have to do????

Firstly, very uncalled for.

Secondly, and I will put this very easy for you as the last 2 time i have said dont seem to register.

IS THE INC FILE IN THE SAME FOLDER AS THE SCRIPT CALLING IT

IS THE CODE YOU HAVE PASTED IN THE SAME FOLDER AS FUNCK.INC.PHP

You are on a forum asking for help, and in my opion not listening to what has been put to you, and being rude.

-6

you have solvet just 27 problem i hope for you to have solve in your live much more than this keep goin dude smoke tham hahahhhaha

Votes + Comments
you really don't want any help do you?
This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.