Jump to content

Archived

This topic is now archived and is closed to further replies.

rabbit_fufu

Is this allowed?

Recommended Posts

Is there anything particularly bad about doing something like this...



<?php

echo "here is output from a remote secret script: ";

readfile (http://www.myremoteserver.com/outputstuff.php?pw=secret);

?>


...and passing a password in the querystring as a safeguard? (So that if the script was executed without the password it wouldn't output any content?)

Thanks for your help!

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.