Jump to content

XoNoX

Members
  • Posts

    13
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

XoNoX's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. I got the same problem I resolved my problem just by open my database by "localhost" no IP
  2. 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
  3. 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
  4. [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.
  5. [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?
  6. [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?
  7. 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?
  8. yes include command not working include "./conf/config.inc"; include "./conf/mysql_con.php"; Why? ???  my srcipt is correct
  9. [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]
  10. [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]
  11. thanx  :D and how to close the tags?
  12. 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
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.