Re: Dynamic PHP links

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



	Hi,


Check out this http://phpsec.org/


Cheers, Catalin



Hi,

I'm new to PHP and I'd appreciate your advice a lot.
I'm trying to use dynamic PHP links instead of plain HTML and I'm gonna use something like
this:
File "index.php":
<?
<a href=index.php?content=story.htm>story</a><br>
<a href=index.php?content=about.htm>about</a><br>
<?
if(isset($content)):
include $content;
else:
include "about.htm";
endif;
?>

But a guy told me it is not preferable to use this method because of security considerations.
I'm sure there is a common way of building dynamic links; am I on wrong way?

Any help would be appreciated.

Thank you in advance



Best regards,
Eduard Grigoryan

*************************
Armenian Freenet Catalog
http://freenet.am/~edik_g
http://armfn.net/~edik_g

-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux