This code works fine until I reach a document name which has a
"special" character in it such as A010#0704-311005-fhf-01.doc
Rename ist. If you redirect the browser to such a document, its name
will be interpreted as Document A010, Anchor 0704...01.doc. The browser
won't request the right document.
Another solution (which is more secure, btw): Do redirects to a script
or a handler and pass the wanted document as parameter. Then check the
path in the script and deliver the file using Response.WriteFile().
Re: How to measure HTML Page Load Time? ... side script such as PHP or ASP. ... the browser has received the HTML file, decoded it, done a few other things ... when the browser has finally decided that the page has been fully downloaded ... But what about the time between when the user "presses enter" to request... (comp.lang.javascript)
Re: Is it ok to change $ENV{QUERY_STRING} before "use CGI;" is called..? ... the Perl script that I'm modifying is not my own code. ...GetParam() calles ->param in it. ... value of a parameter not only from GET request but also from POST ... Because those characters have been already encoded by browser,... (comp.lang.perl.misc)
Re: PHP Backend Question ... The script is run on the users browser now, ...requests but I also want the backend to pick the request up somehow. ... But you said the current process runs on the user's browser, which would mean javascript or other client-side programming. ... You could poll the server, i.e. with AJAX or some other client-side script, or you could implement in another technology such as Java applets where you could set up a persistent connection between the client and the server. ... (comp.lang.php)
Re: PHP Backend Question ... The script is run on the users browser now, ...requests but I also want the backend to pick the request up somehow. ... But you said the current process runs on the user's browser,... i.e. with AJAX or some other client-side... (comp.lang.php)
Re: notice and warning ... You expect some piece of data from a post in your script,... So you use $_REQUEST["userid"] which works perfectly fine as long as you get the userid in via POST. ... Now you find yourself in the situation that when you call this script for any reason without the POST info, you will delete yourself if you prefer $_REQUEST over $_POST. ... Saying that using $_REQUEST 'scales better' is utter nonsense. ... (comp.lang.php)