[FX.php List] fx.php and BBEdit Syntax Checking

Erik Andreas Cayré erik at cayre.dk
Sat May 19 09:35:49 MDT 2007


Den 19/05/2007 kl. 16.39 skrev Jonathan Schwartz:

> Bob,
>
> Good question.
>
> From my readings, I get the impression that the PHP_SELF method is  
> a preferred method than just using the real name.  One advantage I  
> know of: it allows pages to be renamed without having to go through  
> the code to *also* rename the self-links.  That makes the code more  
> modular.

action="" does the same thing... that's what I use...!

> There might be some security advantages also, but I can't tell you  
> what those are.  Perhaps others can.
>
> J
>
>
>
>
>>> The tag:
>>> <form method="post" action="<?php $_SERVER['PHP_SELF']; ?>" >
>>
>> Here's a question: is there a difference between what you've got  
>> there and just specifying the same page? Just wondering... when  
>> I've POSTed to the same page, I've just specified the same page  
>> name... I'm wondering if there's an advantage to doing the way  
>> you've got it here.
>>
>> Thanks,
>>
>> Bob
>>
>>
>>
>> _______________________________________________
>> FX.php_List mailing list
>> FX.php_List at mail.iviking.org
>> http://www.iviking.org/mailman/listinfo/fx.php_list
>
>
> -- 
> Jonathan Schwartz
> Exit 445 Group
> jonathan at exit445.com
> http://www.exit445.com
> 415-381-1852
> FileMaker 8 Certified Developer
> _______________________________________________
> FX.php_List mailing list
> FX.php_List at mail.iviking.org
> http://www.iviking.org/mailman/listinfo/fx.php_list



---
Erik Andreas Cayré
Spangsbjerg Møllevej 169
6705 Esbjerg Ø

Privat Tel: 75150512
Mobil: 40161183

---
»Interesse kan skabe læring på en skala sammenlignet med frygt, som  
en nuklear eksplosion i forhold til en kineser.«
--Stanley Kubrick

»Kun p....sure mennesker kan ændre verden. Innovation skabes ikke af  
'markedsanalyse', men af folk, der er afsindigt irriterede over  
tingenes tilstand «
--Tom Peters

»Hvis du ikke kan forklare det simpelt, forstår  du det ikke godt nok.«
-- Albert Einstein

»Hvis du ikke har tid til at gøre det rigtigt, hvornår vil du så have  
tid til at lave det om?«
-- John Wooden, basketball coach




More information about the FX.php_List mailing list