I don't quite understand.
After submitting the form, does it go to my_url.php4?
Because that meta refresh tag doesn't seem to make any sense.
If I get the intended purpose of your script, it's to get the screen width, and then send the user to a page set up for their screen width.
If you put the screen width in a form element, you'd have to automatically submit the form.
This is what I might do:
function DoSomething()
{
document.theForm.screenWidth.value = screen.width; //or whatever the syntax is. My JS is a little rusty. screenWidth could be a hidden element the theForm form.
document.theForm.submit();//automatically submit the form.
}
and then stick the DoSomething function in an onLoad event handler in the body tag.
Hope that helps.