You are here: Re: Prevent loading of php pages « PHP Programming Language « IT news, forums, messages
Re: Prevent loading of php pages

Posted by Paul Herber on 04/27/06 01:58

On Wed, 26 Apr 2006 23:53:13 +0200, "Garry Jones"
<garry.jones@morack.se> 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

Would anyone ever guess that files by that name existed?
Call them seg1_56rt568.php and seg2_56rt569.php

--
Regards, Paul Herber, Sandrila Ltd. http://www.pherber.com/
Electronics for Visio http://www.electronics.sandrila.co.uk/

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация