Re: [PHP] htaccess to make html act as php suffixed files

2013-06-11 Thread Rodrigo Silva dos Santos
Em Ter 11 Jun 2013 15:08:59 BRT, Matijn Woudt escreveu: On Tue, Jun 11, 2013 at 7:17 PM, Stuart Dallas wrote: On 11 Jun 2013, at 18:16, Tedd Sperling wrote: Hi gang: To get html pages to use php scripts, I've used: RewriteEngine on # handler for phpsuexec. -- this makes these prefixes con

Re: [PHP] Unexpected behavior of max() function

2012-12-11 Thread Rodrigo Silva dos Santos
A solution to it is, if you can, enter the array itens without the commas, just array(100,110.453351020813,9); Em 11-12-2012 05:05, Andreas Perstinger escreveu: On 11.12.2012 07:48, "Рогулин С.В." wrote: I encountered with unexpected behavior of max() function. When i pass a parameter ['100',

Re: [PHP] base64_decode

2012-10-02 Thread Rodrigo Silva dos Santos
Hello John. This code generates the following html: ?> http://web-hosting-click.com/"; title="Web hosting">Web hosting Without anyone infecting their machines, can someone tell me what this is? I found a phishing site on my DreamHost server. DreamHost has been very helpful. We found

Re: [PHP] Re: problem with my login script

2012-10-02 Thread Rodrigo Silva dos Santos
To break or not to break? that's the question... All that fight makes me (and, I think that Thomas too) learn a bit more about all of this. And for finish with all of it. I think that if something is not deprecated, is because it's is a good idea to use it somewhere. If the Language develope

Re: [PHP] problem with my login script

2012-10-02 Thread Rodrigo Silva dos Santos
this: OOP and switch could be good together and I also prefer switch eg. at action or page selection... break is an old stuff and not a nice solution (like "goto")... killing a procedure!? -means wrong planning of an app! (and jumping in the code with goto also like this) On Tue, Oct

Re: [PHP] problem with my login script

2012-10-02 Thread Rodrigo Silva dos Santos
Better solution than mine (that don't even make a code) As a Oo developer, a run away from using switch, so I should never use break too... Good to know. By the way, what's the problem with it? Enviado por Samsung Mobile Bálint Horváth escreveu: The problem was already solved. I forgot to se

Re: [PHP] problem with my login script

2012-10-02 Thread Rodrigo Silva dos Santos
legacy code for one that is learning php. If you want, I can give you some tips to modernize your script ;) Regards, Rodrigo Silva dos Santos. Enviado por Samsung Mobile Thomas Conrad escreveu: I'm currently learning php and as a challenge, I'm creating a login script usin