Posted by Jerry Stuckle on 04/27/06 07:59
Garry Jones wrote:
> I have a website consisting of php segments.
>
> Example
> page1.html calls in code from seg1.php and seg2.php
>
> If the user goes directly to www.mydomain.com/seg1.php they see everything
> visible to a browser on that page.
>
> Can I prevent users from loading individual php segments. The only time that
> seg1.php should be visible is in its original context on page1.html
>
> Garry Jones
> Sweden
>
>
>
Simply put them outside of your DOCUMENT_ROOT where they can't be accessed
directly by a browser.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
[Back to original message]
|