Forum Moderators: coopster
If I use php code .... then header("location: new page"); The page redirects straight away without executing the code first.
THanks freddo
Can you post some more of your code, so we can see what it is you are trying to achieve?
dc
The php code opens and reads the contents of a text file then writes it with changes to another file.
When this is done I want to immediately open another web page closing the current one.
Freddo9
Try popping the following at the top of your script to see if it throws any errors:
error_reporting(E_ALL);
Freddo