RES: [PHP-WIN] SQL injection - mysql_real_escape_string()?

2012-02-15 Thread Jean Rafael Tardem Delefrati
Critical Web Application Security Risks - http://owasptop10.googlecode.com/files/OWASP%20Top%2010%20-%202010.pdf Best regards, Jean Rafael Tardem Delefrati -Mensagem original- De: Jacob Kruger [mailto:jac...@mailzone.co.za] Enviada em: quarta-feira, 15 de fevereiro de 2012 11:56 Par

Re: [PHP-WIN] PHP-memory leak with COM-objects?

2007-10-16 Thread Rafael
I'm a little late on the thread, so I apologize in advance if I say something out of context / already mentioned. Thank's God, I haven't had the need to use PHP + COM + MS Office, but I did use C# + MS Office, and I found that for desktop applications Application.Quit() was enough, whereas i

RES: [PHP-WIN] Reg Ex help

2005-01-13 Thread Rafael Soares
No, you aren't na idiot. You just don't how to do it, nobody knows everything. I think you can use strlen(); it returns an integer with the lenght of the variable (0 if it's blank). Don't worry, I learned this function some weeks ago... Happy new year, bye bye. -Mensagem original- De: [

RES: [PHP-WIN] Undefined variable

2005-01-12 Thread Rafael Soares
You must disable "Notices" in php.ini Look for the line "error_reporting =E_ALL", comment it and uncomment ";error_reporting = E_ALL & ~E_NOTICE". This is not na error, this is a notice. Good for development, but don't affects execution. See ya, happy new year! -Mensagem original- De:

RES: [PHP-WIN] Is it possible to have IIS and apache runing in the same machine, with windows xp?

2005-01-05 Thread Rafael Soares
Maybe in different ports -Mensagem original- De: Andre [mailto:[EMAIL PROTECTED] Enviada em: quarta-feira, 5 de janeiro de 2005 14:42 Para: php-windows@lists.php.net Assunto: [PHP-WIN] Is it possible to have IIS and apache runing in the same machine, with windows xp? Hello Anyone kn

RES: [PHP-WIN] problem to open dir

2004-11-30 Thread Rafael Soares
derstand, but using single quotes(') and double backslashes (\\) it works fine. And also passing the dir string by POST don't work. You may have to use the addslashes() function. Rafael Soares - AgênciaM Fone: +55 11 4616-1394 -Mensagem original- De: Mike [mailto:[EMAIL P

RES: [PHP-WIN] problem to open dir

2004-11-30 Thread Rafael Soares
Hello! The sintax I use is this: $dir = 'C:\\dir\\subdir\\'; But I haven't tried to access windows dirs like Documents and Settings The only way to be sure is using the is_dir(); function. See you. Rafael Soares - AgênciaM Fone: +55 11 4616-1394 -Mensagem origina

RES: [PHP-WIN] $username=$_REQUEST vs .$_POST["userName"]?

2004-11-25 Thread Rafael Soares
isn't logged in the COOKIE, the value for "logged" will be "true". I hope I've been helpful. Regards, Rafael Soares - AgênciaM Fone: +55 11 4616-1394 -Mensagem original- De: aomarlow [mailto:[EMAIL PROTECTED] Enviada em: quinta-feira, 25 de novembro de 2004

RES: [PHP-WIN] imagecreatefromjpeg()

2004-11-24 Thread Rafael Soares
Hello, I had the same problem some days ago. Check if you have the php_gd2.ini in your PHP extensions dir. You need to check this directory in your php.ini file to be sure it's correct. Regards, Rafael Soares - AgênciaM Fone: +55 11 4616-1394 -Mensagem original- De: Bobo Wi

[PHP-WIN] Insert keys into an array using variables

2004-11-22 Thread Rafael Soares
etter: Later in the message, I'll use this loop: I can't realize how I can do this... Thanks in advance. Rafael Soares - AgênciaM Fone: +55 11 4616-1394 -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RES: [PHP-WIN] How to check if a *string* has only numbers...

2004-11-16 Thread Rafael Soares
> is_numeric() Thanks, it works so fine. > should probably be $dataP3 = $dataParts[2]; The script in the email has some other errors, I wrote that as an example. The original script is OK. Thank you very much. Rafael Soares - AgênciaM Fone: +55 11 4616-1394 -Mensagem original--

[PHP-WIN] How to check if a *string* has only numbers...

2004-11-16 Thread Rafael Soares
) and gettype($dataP3) return string gettype($dataParts) returns array Thanks in advance. Rafael Soares - AgênciaM Fone: +55 11 4616-1394

RES: [PHP-WIN] Apache, PHP4, MySQL installation

2004-11-05 Thread Rafael Soares
Try removing the "@" before "mysql_connect(...);" or adding "mysql_error()" as a parameter of "exit()" and tell us the error. Rafael Soares - AgênciaM Fone: +55 11 4616-1394 -Mensagem original- De: Jeroen [mailto:[EMAIL PROTECTED] Enviada em:

RES: [PHP-WIN] Apache, PHP4, MySQL installation

2004-11-05 Thread Rafael Soares
ension. > > Marc Note: I still using the mysql extensions/functions and it still working Rafael Soares -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RES: [PHP-WIN] POST/GET problem

2004-11-05 Thread Rafael Soares
You probably have register_globals turned off (this is a question of security and performance). You can turn it on changing your php.ini file, it's probably located in C:\WINDOWS Or try this in the beginning of your PHP file: Rafael Soares - AgênciaM Fone: +55 11 4616-1394 -Men

RES: [PHP-WIN] Cannot load the mysql library

2004-11-03 Thread Rafael Soares
] Enviada em: quarta-feira, 3 de novembro de 2004 13:30 Para: 'Rafael Soares'; [EMAIL PROTECTED] Assunto: RE: [PHP-WIN] Cannot load the mysql library > I´m sorry, it was a typing error in the e-mail. :] > > Here is the error message *as it appears in the page*: > > PHP Warnin

RES: [PHP-WIN] Cannot load the mysql library

2004-11-03 Thread Rafael Soares
al- De: Murray @ PlanetThoughtful [mailto:[EMAIL PROTECTED] Enviada em: quarta-feira, 3 de novembro de 2004 12:54 Para: 'Rafael Soares'; [EMAIL PROTECTED] Assunto: RE: [PHP-WIN] Cannot load the mysql library > Restarted IIS, restarted the computer and so on... And many times! > &

RES: [PHP-WIN] Cannot load the mysql library

2004-11-03 Thread Rafael Soares
Restarted IIS, restarted the computer and so on... And many times! -Mensagem original- De: Murray @ PlanetThoughtful [mailto:[EMAIL PROTECTED] Enviada em: quarta-feira, 3 de novembro de 2004 12:13 Para: 'Rafael Soares'; [EMAIL PROTECTED] Assunto: RE: [PHP-WIN] Cannot load

[PHP-WIN] Cannot load the mysql library

2004-11-03 Thread Rafael Soares
help me! Tks Rafael | AgênciaM Fone: +55 |11| 4616-1394

[PHP-WIN] Changing loaction of php.ini file

2004-10-21 Thread Rafael Soares | AgênciaM
work on a different server… tks Rafael | AgênciaM Fone: +55 11 4616-1394

[PHP-WIN] Re: I'm having a serious problem with imagecreatefromjpeg();

2004-09-20 Thread Rafael Soares
tmp\\' (this is exactly how it is in the .php file) and the "Permission denied" error appears... "Rafael Soares" <[EMAIL PROTECTED]> escreveu na mensagem news:[EMAIL PROTECTED] > I've located the problem: > > I don't have the gd2 extension... I'

[PHP-WIN] Re: I'm having a serious problem with imagecreatefromjpeg();

2004-09-20 Thread Rafael Soares
usualy located in php dir and uncomment > "extension=php_gd2.dll" (for php 5.0.1) > > for 4.3.3 it's in windows dir and it's either php_gd.dll or php_gd2.dll > > restart apache, restart iis > > should work > works for me ;) > > Rafael Soares wrote: > > Th

[PHP-WIN] Re: I'm having a serious problem with imagecreatefromjpeg();

2004-09-20 Thread Rafael Soares
"Gusts Kaksis" <[EMAIL PROTECTED]> escreveu na mensagem news:[EMAIL PROTECTED] > Open the php.ini file, usualy located in php dir and uncomment > "extension=php_gd2.dll" (for php 5.0.1) > > for 4.3.3 it's in windows dir and it's either php

[PHP-WIN] I'm having a serious problem with imagecreatefromjpeg();

2004-09-18 Thread Rafael Soares
This is what happens: "Call to undefined function imagecreatefromjpeg() in c:\Inetpub\wwwroot\poe_logo.php on line 26" I'm using PHP 5.0.1 running on IIS 5.1 / WinXP Professional. Either on Apache 1.3 and PHP 4.3.3 its does not work... I really don't what is happening... Note I'm newbie on php,

[PHP-WIN] New guy to PHP Mail Parse question

2003-01-19 Thread Rafael Alan Bleiweiss
Hi everyone - new to PHP , Cold Fusion background... I've got a client with a mail form on their site that needs to be posted to an email account and it doesn't work he asked me to look at it... it's on Windows and the form has fields like this: first_name last_name dayphone_1 dayphone_2 dayp

[PHP-WIN] Can't install PHP 4.3.0, HELP PLEASE!

2003-01-02 Thread Rafael Fernandez
Hello, I am using Apache 1.3.27 in a Win XP computer and I used to run PHP 4.2.3 and I tried to upgrade to PHP 4.3.0 but I get the following errors: I deleted the old PHP 4.2.3 from my computer and the configuration lines in httpd.conf. I inserted the following lines: LoadModule php4_mo

[PHP-WIN] PHP 4.3.0

2002-12-29 Thread Rafael Fernandez
Hello, I just tried to install PHP 4.3.0 with Apache 1.3.27 on my Win XP computer exactly as it is told in the installation file that is online and included in the zip file and I get the following error: [warn] Loaded DSO c:/php/sapi/php4apache.dll uses plain Apache 1.3 API, this module might c