Friday, 15 January 2010

reloading php file with static urls -



reloading php file with static urls -

i have php file few variables load urls, e.g.:

<? php $url_1 = "http://local.web.site/my-test-page.html"; $url_2 = ...; ... ?>

these used on different page within link:

<a href="<?=$url_1?>">click here</a>

i updated 1 of urls, link still pointing previous url.

how page show updated url?

in order prevent page load cache may write next header of page:

<meta http-equiv="expires" content="0">

setting content "0" tells browsers load page web server.

php

No comments:

Post a Comment