[PHP-WIN] trouble while connecting with HTTPS server with certificate. Using cURL

2001-10-22 Thread Hugo Alexandre Almeida Soares Dias
Hi, I need to run a script in a https server. I'm using cURL but it returns me: Your connection is using a weak random seed! * Closing live connection (#0) Here is my code: $ch=curl_init(); curl_setopt($ch,CURLOPT_VERBOSE,1); curl_setopt($ch,CURLOPT_URL,$url); curl_setopt($ch,CURLOPT_

[PHP-WIN] php_mcrypt.dll

2001-09-21 Thread Hugo Alexandre Almeida Soares Dias
Hi, i need the mcrypt DLL. Does anyone have it for php4.0.6? if so, please send it to me to [EMAIL PROTECTED] I need that lib, i already got one, but it stalls my browser even in a script as simple as: Thank you Hugo Alexandre Dias Eng. Sistemas Informática [EMAIL PROTECTED] -- PHP Wind

[PHP-WIN] problems returning varchars in MSSQL bigger than 255 chars

2001-07-25 Thread Hugo Alexandre Almeida Soares Dias
Hi, I have a problem with my code. When i use Varchars larger than 255 PHP only fetches the top 255 chars. Does anyone knows where's my problem? I use PHP4+IIS+SQL Server 2k. Thank you in advance Hugo Alexandre Dias Eng. Sistemas Informática [EMAIL PROTECTED] -- PHP Windows Mailing List (

[PHP-WIN] Re: mail() on Windows 2000

2001-06-26 Thread Hugo Alexandre Almeida Soares Dias
Well i would like to know one thing. Do you get the emails that are sent? if so you have a problem different from the case you don't get any e-mails. if you don't get any emails, you need to know a SMTP adrress (from your ISP) and go to php.ini and search for [mail]. There you can find somethi

[PHP-WIN] Problems while inserting an image into MSSQL

2001-05-07 Thread Hugo Alexandre Almeida Soares Dias
Hi, I'm having a problem when 'm trying to insert an image into a image field in MSSQL. Does anyone know's how to solve my problem? Before inserting the image, i execute this piece of code: if (!($fp=fopen($file,"r"))) echo "ERRO NO FREAD: $fp"; $banner=str_replace("'","''",f

[PHP-WIN] Problem with procedures in MSSQL

2001-04-20 Thread Hugo Alexandre Almeida Soares Dias
I created a stored procedure in MSSQL like this: CREATE PROCEDURE destaques_relacionados @codigo_doc int, @relacao varchar(20) AS SELECT TOP 5 DN.cod, DN.titulo FROM dbo.Keywords_associacoes KA INNER JOIN dbo.Destaques_noticias DN ON KA.documento = DN.cod INNER J

[PHP-WIN] Problems with TEXT fields in MSSQL

2001-04-06 Thread Hugo Alexandre Almeida Soares Dias
Hi I'm having some problems while using text fields in MSSQL. I update them normally with the UPDATE command, but when i do the SELECT in PHP it only returns me the top 4096 bytes (4KB). Then i did the same thing in the SQL Query Analizer (SQL Enterprise) and the same select returns me just fin

[PHP-WIN] Problems with the Header function

2001-03-29 Thread Hugo Alexandre Almeida Soares Dias
Hi there, I'm using PHP with Windows 2k Adv. Server (IIS). I'ma having a problem in some executions of the function Header. Sometimes it returns me an error. I.E. header("Location: alertas.php?erro=3&ti&tip=$tip"); exit; i got this error: CGI Error The specified CGI application misbehaved by