PDA

View Full Version : [PHP] forzare refresh di file xml


Re_Kotc
08-12-2008, 12:31
ciao a tutti, sto cercando di capire come forzare il refresh di una pagina xml caricata in uno script php..ho cercato un pò in giro e una soluzione semplice sembra quella di aggiungere un numero random in coda alla richiesta del tipo:

load($nomefile."?random=".rand());

è corretto così? perchè a me non funziona..se aggiungo "?random=".rand() al nome file lo script non trova niente...

help!

Hardware Upgrade Forum Database Error
Database Error Database error
The Hardware Upgrade Forum database has encountered a problem.

Please try the following:
  • Load the page again by clicking the Refresh button in your web browser.
  • Open the www.hwupgrade.it home page, then try to open another page.
  • Click the Back button to try another link.
The www.hwupgrade.it forum technical staff have been notified of the error, though you may contact them if the problem persists.
 
We apologise for any inconvenience.