| Forum |
|
|||||||
| Open Source A place where you can talk to like-minded people about the fastest growing software movement today! Discuss anything and everything about Open Source software and Operating Systems. |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|
#1 (permalink) |
|
In The Zone
Join Date: Oct 2004
Posts: 437
|
intregrated with mysql database ..... 1) will these codes work on linux ....? The main problem is where do i put these files ..which is inside html folder now inside www where do i put that students database which is inside data folder in mysqlfolder in easyphp folder..now and those mysql_connect.php files which is in www now.... my all pages use require_once('../"mysql_connect.php") it is one step above the code files (php files).... i ran the code in linux (register.php) but it says undefined...function or something escape..... those escape function is not recognised.... it is said that mysql , php,apache are running when i see status...in linux.... what ammenment is to be made i am all confused ....var/....and all... i have posted it here as all mysql ...php ...linux are open source any open source expert here.... the path the files has is in that require......mysql_connect.php.... so i can make the code work... thanks for help saha i am confused about where to put files in linux folder so as it will work as it is doing in windows(easyphp1-8) by the way i am using redhat 9 and the files are made in easyphp1-8 so will it be compatible...?
__________________
be who u r : |
|
|
| Advertisements. Register and be a member of the community to get rid of them. | |
|
Advertisement
|
|
|
|
#2 (permalink) |
|
Wise Old Owl
Join Date: Nov 2004
Location: Hyderabad
Posts: 1,096
|
Sure, PHP is Platform independant. and MySQL is too.
If ur using APACHE server, put your php files under /var/www, or you can put it anywhere and change the default location in apache config file. just copying mysql files wont work, i think. export the database from windows, and then import it in linux. phpmyadmin will help you to do this job pretty nice.
__________________
Sometime you'll think you understand everything ...Then you'll regain consciousness |
|
|
|
|
#3 (permalink) |
|
Version 2.0
Join Date: Jan 2004
Location: Mumbai
Posts: 977
|
you have to put the files in public_html or www folder (both are same
www is just a shortcut) database, you need to create sql files first and then import them using phpmyadmin... You dont need to make any changes in the code to get it wokring under linux.. Regards Deep
__________________
- Deep Ganatra - www.whoisdeep.com www.twitter.com/DeepXP/ |
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|