Re: PHP validation

>
>Hi.
>
>I am writing a website in PHP, and have two problems validating pages.
>
>1) My website uses security to restrict access to certain pages. How
>can I identify the sender of a GET or POST request as the validator
>service safely to allow it to bypass the security and validate the
>secure pages?

AFAIK you can't get the validator to do post requests.

If you set up your code to allow the validator to bypass your security
this will mean anyone can bypass your security since anyone can use the
validator.




>2) A lot of my pages will be dynamically generated as the result of a
>POST operation. Setting a POST variable totally changes the content of
>the page. How can I tell the validator about those POST variables to
>ensure it is validating the correct content? I have thought of
>expanding the array of POST variables into the URL. Is there a better
>way? 

A better option for validating dynamic pages would be a brower plugin,
but ignorance prevents me from recommending one.

Alternately you could save the pages with your browser and upload them.

-- 
Paul

Received on Sunday, 5 June 2005 06:49:09 UTC