Skip to main content
March 29, 2011
Question

Work-around for needing a test server to update php page's template?

  • March 29, 2011
  • 2 replies
  • 553 views

Hi,

So, I have ONE php page based on a html template.

I use Dweaver locally and upload to server as I go.

If I edit the template, Dweaver says it can't update php page w/out a test-server..

Is there an option or something to get around this?

My php code will never change, but the template does.

Is there a "just update dynamically-related files anyway" checkbox I can check or something?

How do this?

Thanks!

This topic has been closed for replies.

2 replies

April 3, 2011

An additional suggestion for you. I also do not use a test server - my web sites are simple and I'm the only developer. When I have an existing page  called say "mypage.php" and I want to make changes I do a Save As and save it as "mypage2.php" I make the changes and do my testing there and I can also send a link to this page to my users for their review. When everyone's happy I do another Save As and overwrite the original mypage.php with the changed page.

Participating Frequently
March 29, 2011

Just use your production server as your test server. Just make sure to backup this file each time you make a change, it won't be a problem.

March 29, 2011

Thanks for reply.

Do you mean just copy production-site-parameters into test-server-parameters?

Participating Frequently
March 29, 2011

Yep. You can use your regular old production server as a test server. The disadvantage of this is that you are affecting your production environment during testing. But since you only have one dynamic page, it's not a big deal. Just make sure you always backup your current -good- production page before testing.