Your pseudocode is incomplete, because you do not show us where you call
this mysterious function that validates using $PHPSESSID.
The call is in the location where I have it defined.
Also, if that is really all your switch consists of, you're not really
gaining anything over using a
Ok, so I've a script that outputs HTML. If a particular
argument is passed to that script, it sends the following
header commands before it echoes out any HTML:
header( Content-Disposition: inline; filename=policy.doc );
header( Content-type: application/msword );
so that it opens up and
But why? Why is PHP echoing out something it should
not be echoing? The validation doesn't fail so as such,
the text should never be sent to stdout (the browser).
Or am I misunderstanding something?
Ok, I figured out what my problem was and I'd very much
appreciate if someone who was
Your pseudocode is incomplete, because you do not show us where you call
this mysterious function that validates using $PHPSESSID.
Also, if that is really all your switch consists of, you're not really
gaining anything over using a simple if construct:
if ($action == msword)
{
4 matches
Mail list logo