Entry
I want to use window.replace() to replace php3 files . This function works fine if the file is html, but doesn't work with php3 files.
Jun 22nd, 2001 15:24
John Marc, Nitin Bhopale,
The proper syntax is location.replace()
Make sure you are using proper URL conventions:
location.replace('./phpscript.php')
Also be aware that if this is in an html file, it is important that the
HTML file was referenced as
host://htmlfileContainingReplaceUsingPhp.html
and not
C:\htmlfileContainingReplaceUsingPhp.html