XoNoX
-
Posts
13 -
Joined
-
Last visited
Never
Posts posted by XoNoX
-
-
I got the same problem
I resolved my problem just by open my database by "localhost" no IP -
Hi
I wanna change my php.ini, and open index.html like index.php. The problem is my index.html is writed in php and all files has been named *.html but writed in php.
Any helpĀ”? thanx -
My problem has been resolved.
My problem was the file name. My index name was index.html, I changed by inde.php, and work perfect
I dont know why, but in another server work fine with index.html
Thannk you ;D
-
[quote author=corbin link=topic=99209.msg390682#msg390682 date=1151869993]
I dont think it has anything to do with the php config file... I think something in your directories is wrong... Try something real quick and this can tell if its a problem with php or the script.
Make a folder thats accessible by a web browser put a file in it and name it index.php in index.php put
[code]<? include('inc/inc.php'); ?>[/code]
then make a folder inside that folder named inc and make a file in inc named inc.php and in inc.php put
[code]<? echo "hello"; ?>[/code]
and then go to the index.php file in a web browser and see if it says hello. If it says hello something is wrong in the syntax of the script you made this thread about...
[/quote]
thanx
And the include command work.
-
[quote author=corbin link=topic=99209.msg390655#msg390655 date=1151867110]
[quote author=XoNoX link=topic=99209.msg390653#msg390653 date=1151866856]
[quote author=corbin link=topic=99209.msg390646#msg390646 date=1151866524]
[quote author=XoNoX link=topic=99209.msg390632#msg390632 date=1151865538]
yes include command not working
include "./conf/config.inc";
include "./conf/mysql_con.php";
Why? ??? my srcipt is correct
[/quote]
/ reffers to the web root if I'm thinking right (i could be wrong :(). So is your conf folder at your webroot. Try making a relative path? Like if you have your main folder try putting the conf folder in there and make it
include "conf/config.inc";
include "conf/mysql_con.php";
Im not sure if that will work... Hehe I'm incorrect quite often.
[/quote]
Thanx
But still not working :-\
Can I replace the include command with another one?
[/quote]
try:
include("conf/config.inc");
include("conf/mysql_con.php");
[/quote]
thanx, but sorry, still not working
And if I change some php.ini configuration? -
[quote author=corbin link=topic=99209.msg390646#msg390646 date=1151866524]
[quote author=XoNoX link=topic=99209.msg390632#msg390632 date=1151865538]
yes include command not working
include "./conf/config.inc";
include "./conf/mysql_con.php";
Why? ??? my srcipt is correct
[/quote]
/ reffers to the web root if I'm thinking right (i could be wrong :(). So is your conf folder at your webroot. Try making a relative path? Like if you have your main folder try putting the conf folder in there and make it
include "conf/config.inc";
include "conf/mysql_con.php";
Im not sure if that will work... Hehe I'm incorrect quite often.
[/quote]
Thanx
But still not working :-\
Can I replace the include command with another one? -
my script isnt loading the files config.inc and mysql_con.php
can I change it?
But the same script work in another server, why is the diferent? -
yes include command not working
include "./conf/config.inc";
include "./conf/mysql_con.php";
Why? ??? my srcipt is correct -
[quote author=Crayon Violent link=topic=99209.msg390618#msg390618 date=1151864761]
is that the correct path of super_admin_id_check.php?
[/quote]
yes
$USER_HOME.$superadmin_id?
$USER_HOME must been load at [b]"include "./conf/config.inc";"[/b]
and
$superadmin_id must been load at [b]include "./conf/mysql_con.php";[/b]
-
[quote author=Crayon Violent link=topic=99209.msg390609#msg390609 date=1151864379]
same as you had.
[quote]<?php ... ?>
[/quote]
still not working :-[
this is my site
[quote]http://www.coreanito.com[/quote]
my new code is
[quote]
<?php
include "./conf/config.inc";
include "./conf/mysql_con.php";
$mysql = new mysql_con();
$dbCon = $mysql -> connect();
include "./conf/super_admin_id_check.php";
?>
<html>
<head>
<title>K2Web Class</title>
<meta http-equiv="refresh" content="0;URL=<?=$USER_HOME.$superadmin_id?>/">
</head>
<body>
</body>
</html>
[/quote] -
thanx :D
and how to close the tags? -
HI
This is my first post :D
I get a problem with my script
My script:
[quote]<?
include "./conf/config.inc";
include "./conf/mysql_con.php";
$mysql = new mysql_con();
$dbCon = $mysql -> connect();
include "./conf/super_admin_id_check.php";
?>
<html>
<head>
<title>K2Web Class</title>
<meta http-equiv="refresh" content="0;URL=<?=$USER_HOME.$superadmin_id?>/">
</head>
<body>
</body>
</html>[/quote]
I run the same script in diferent server(www.whois.co.kr and www.godaddy.com) and just workiing with whois.co.kr
and I get error in godaddy
[quote]connect(); include "./conf/super_admin_id_check.php"; ?>[/quote]
I need to know how can I change this, I need to fix it, because I wanna change my server.
THANX ;D
Open index.html like index.php
in PHP Coding Help
Posted
I will try it.
THanx :D