Re: [PHP] Dynamic PHP links

2005-02-14 Thread Richard Lynch
Eduard Grigoryan wrote: > 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": > story > about > if(isset($content)): > include $content; > else: > include "about.htm

Re: [PHP] Dynamic PHP links

2005-02-13 Thread Burhan Khalid
Eduard Grigoryan wrote: 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": story about But a guy told me it is not preferable to use this method because of security considerat

Re: [PHP] Dynamic PHP links

2005-02-13 Thread Ryan A
Hey, The reason your pal warned you against that approach is, someone could screw with your url with something like this: index.php?content=/etc/httpd/.dbmpasswd which would include that file if it exists...its a security problem, be careful and know EXACTLY what you are including/requiring. -R

[PHP] Dynamic PHP links

2005-02-13 Thread Eduard Grigoryan
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": story about But a guy told me it is not preferable to use this method because of security considerations. I'm sure there i

Re: [PHP] Dynamic PHP

2001-12-05 Thread Pavel Jartsev
Chris Hemmings wrote: > Hello! > > I'm sure I read this somewhere but I'm just not so sure now. Can you > produce PHP code in a PHP page and then run it. Kind of like this: > > $mycode="echo'Hello';"; > > # Something here to execute $mycode > ?> > Maybe U need this function: http://www.p

[PHP] Dynamic PHP

2001-12-05 Thread Chris Hemmings
Hello! I'm sure I read this somewhere but I'm just not so sure now. Can you produce PHP code in a PHP page and then run it. Kind of like this: Is the above possible?? Thanks! Chris. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For add

Re: [PHP] dynamic php vs static

2001-01-30 Thread Dan Phoenix
?? in apache or php configure? On Fri, 5 Jan 2001, jeremy brand wrote: > Date: Fri, 5 Jan 2001 12:57:13 -0800 (PST) > From: jeremy brand <[EMAIL PROTECTED]> > To: Dan Phoenix <[EMAIL PROTECTED]> > Cc: [EMAIL PROTECTED] > Subject: Re: [PHP] dynamic php v