Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
0

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

New Here ,
Mar 29, 2011 Mar 29, 2011

Copy link to clipboard

Copied

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!

TOPICS
Server side applications

Views

509
Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Mar 29, 2011 Mar 29, 2011

Copy link to clipboard

Copied

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.

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Mar 29, 2011 Mar 29, 2011

Copy link to clipboard

Copied

Thanks for reply.

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

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Mar 29, 2011 Mar 29, 2011

Copy link to clipboard

Copied

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.

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Apr 03, 2011 Apr 03, 2011

Copy link to clipboard

Copied

LATEST

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.

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines