Forum Moderators: mack

Message Too Old, No Replies

how do i work offline then update successfully on-line.

problems with working offline

         

deanwelch

5:35 am on Aug 1, 2005 (gmt 0)

10+ Year Member



Hi all,

i have a website which uses php & mysql. the problem is i use dreamweaver mx 2004 version 7.1 to edit my files but obviously if i upload everything to update my site it won't work as i am on a local host.does anyone know a way around this.

i used appserv installer which sets your system up with apache, mysql and php in on nifty little install.

any help would be greatly appreciated.

Thanks,
Dean Welch

maxi million

2:53 pm on Aug 2, 2005 (gmt 0)

10+ Year Member



i dont think working on localhost and then uploading to your production server should cause any problem. the two of course needs to be synced properly. use the same version of php,mysql,apache. if there are any differeences make provisions for backward compatibility.
use same table and database names. wherever you feel you can not keep sthings same/similar, use that as a global variable and put all that in a file called config.php or something and include everywhere(for example db connection etc)
hope this answers your question