LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 02-13-2005, 04:05 PM   #1
pnellesen
Member
 
Registered: Oct 2004
Location: Missouri, USA
Distribution: Slackware 12.2, Xubuntu 9.10
Posts: 371

Rep: Reputation: 31
Converting website from CF to PHP


Hey all,

I've rewritten a (small) website I run from Cold Fusion to PHP, at least on my development server. I'm now wondering the best way to do the switchover on production - Here's the basic procedure I'm considering (in addition to doing it after my normal user base would be in bed ):

1) Copy php files (plus a stylesheet and a .js file I modified to work better with PHP) to existing website directory. No changes to site directory structure have been made.

2) Modify existing CF templates to redirect to appropriate PHP page. Meaning - say I have a template called "blah.cfm" - I would back this page up, then replace the content with a CF redirect to "blah.php". This, I hope, would anticipate situations where users had bookmarked a particular page...

3) Backup all other CF-related resources, then remove them from the directory. Eventually I would remove the remaining CF redirects as well, say after 3-6 months.

I assume there's at least a few of you out there who have done something like this, so I was just wanting to know if there's anything else I need to consider (my production ISP is Infoquest, BTW. I do the PHP development on my own machine - using Quanta 3.3 on a Linux box running Slackware 10.)

Thanks in advance
 
Old 02-14-2005, 07:32 AM   #2
drisay
Member
 
Registered: Sep 2004
Distribution: Slackware 10
Posts: 167

Rep: Reputation: 30
maybe a message for those users to re-bookmark if they hit the .cfm pages. other than that, there isn't much to do.

i've done something similar, but from cfm to jsp.
 
Old 02-14-2005, 08:40 AM   #3
pnellesen
Member
 
Registered: Oct 2004
Location: Missouri, USA
Distribution: Slackware 12.2, Xubuntu 9.10
Posts: 371

Original Poster
Rep: Reputation: 31
Quote:
Originally posted by drisay
maybe a message for those users to re-bookmark if they hit the .cfm pages. other than that, there isn't much to do.
Ah - yeah, good idea. Thanks!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
converting DOC to HTML using PHP Xing Programming 3 02-17-2009 06:32 AM
Develope website in PHP with Mambo: Apache? Lead Expression Linux - Networking 2 09-19-2005 10:32 AM
php package for website ankit_mcgill Linux - Software 1 09-12-2005 12:24 PM
Fight IE (or windows) with a bit of PHP for your website ylikone Linux - General 2 03-31-2005 11:26 AM
show PHP-code in website Boby Programming 2 08-02-2004 04:40 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 01:16 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration