OK guys, have a (probably) simple question:
I have a PHP page that needs to use a password; the issue is that my client can
see these PHP pages, and this isn’t a password I want him to see.
So I thought that I could put a page in my website (which he doesn’t have any
access to), and then INCLUDE or REQUIRE it in his page.
First question:
When I use my website’s entire URL (http://www.longtermsolutions.com ;
<http://www.longtermsolutions.com/> plus the location of the file) in an
include, like this
include_once('http://www.longtermsolutions.com/thefolder/thefile ;
<http://www.longtermsolutions.com/thefolder/thefile>.php');
I don’t get anything back.
Is it even legal to use a URL? If I try using a header
header('Location: http://www.longtermsolutions.com/thefolder/thefile ;
<http://www.longtermsolutions.com/thefolder/thefile>.php');
I’m also not getting back what I expect.
How would I do what I’m trying to do?
Thanks,
Bob Patin
Longterm Solutions
bob@xxxxxxxxxxxxxxxxxxxxx
615-333-6858
FileMaker 9, 10, 11, 12 & 13 Certified Developer
http://www.longtermsolutions.com
-
iChat: bobpatin@xxxxxx
Twitter: bobpatin
—
FileMaker Consulting
FileMaker Hosting for all versions of FileMaker
PHP • Full email services • Free DNS hosting • Colocation • Consulting