Re: [PHP] Re: installing error

2007-05-26 Thread Rafael Mora
thank you jared!, Im gonna try WAMPP!!, I hope this work, and a message for php people: nice product but make it easy! lol thank you Rafa On 5/26/07, Jared Farrish <[EMAIL PROTECTED]> wrote: > Thank you very much for you answers!!! =), but Im trying to work with > PostgreSQL. I have never in

Re: [PHP] installing error

2007-05-26 Thread Rafael Mora
Thank you very much for you answers!!! =), but Im trying to work with PostgreSQL. So Im gonna review your suggestions in order to see which would be the best for me Thank you very much! Rafa On 5/26/07, Sathyashrayan <[EMAIL PROTECTED]> wrote: On 5/26/07, Tijnema <[EMAIL PROTECTED]> wrote

[PHP] installing error

2007-05-25 Thread Rafael Mora
Hello does anyone know the correct way to install PHP and APACHE (last versions both of them) on WinXP???, Im doing it with the installers and I cannot even run phpinfo(); script, I see apache's error log and it says that i cant find SAM directory Thank you in advance Rafa

Re: [PHP] How to effectuate translations

2006-09-29 Thread Rafael Mora
Hi!, well u can write ur messages in differents files, and like a make a class where u can put a method like getMessage($_type), this class could contains the language already selected, and just load the messages for that language in a "array"(or another easy to use PHP data structure). What do y

Re: [PHP] How do I call an class?

2006-09-08 Thread Rafael Mora
Hi! I think u are confused, the variable name doesnt have anything to do with the Class name... So you can have something like this: $myvar = new shuttle(); $jjj = new ISS(); u just need to be sure that u are using the exact name of the class, it doesnt matter the variable name, hope u get c

Re: [PHP] Error Handling Library?

2006-08-31 Thread Rafael Mora
Hi!, u can extend the exception class and handle ur own errors, If u need help let me know! Rafa On 8/31/06, Jay Paulson <[EMAIL PROTECTED]> wrote: I've been doing some research and was wondering if anyone out there has written a library for error handling? I haven't found anything as of yet

Re: [PHP] send a file or stream

2006-08-31 Thread Rafael Mora
you Rafa PS: what is that ob_start though? On 8/31/06, Curt Zirzow <[EMAIL PROTECTED]> wrote: On 8/29/06, Rafael Mora <[EMAIL PROTECTED]> wrote: > Hi! > > i want to send a file or output stream in a .php, but first compress it, I > tryed the example to compress files bu

Re: [PHP] send a file or stream

2006-08-30 Thread Rafael Mora
oing what you do below readfile() without any argument? So that you are actually downloading something empty? :) /Peter -Original Message----- From: Rafael Mora [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 30, 2006 8:00 PM To: php-general@lists.php.net Subject: Re: [PHP] send a fi

Re: [PHP] Query result column to array

2006-08-30 Thread Rafael Mora
Hi!! What I do is just this: $_ar = array(); while($_field = mysql_fetch_row($_result)) {$_aloft["$_field[0]"] = "$_field[1]";} while(list($_key,$_val) = each($_ar)) On 8/30/06, Christopher Watson <[EMAIL PROTECTED]> wrote: I'm looking for a native method for taking all of the value

Re: [PHP] send a file or stream

2006-08-30 Thread Rafael Mora
achment; filename="stations.gzip"'); header("Content-Transfer-Encoding: binary"); header("Content-Length: ".filesize(stations.gzip)); readfile("stations.gzip"); /Peter PS! To maintain the list and its functionality, do not post same message multiple time

Re: [PHP] send a file or stream

2006-08-29 Thread Rafael Mora
as you output, the server can not send any more header information, and the browser will think it is just text instead of treating it as an octet-stream. /Peter _ From: Rafael Mora [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 30, 2006 10:25 AM To: Peter Lauri Cc: php-general@lists.p

Re: [PHP] send a file or stream

2006-08-29 Thread Rafael Mora
("Content-Type: application/octet-stream"); readfile("stations.gzip"); On 8/29/06, Peter Lauri <[EMAIL PROTECTED]> wrote: Should do it then. if you know the path to the file :) _ From: Rafael Mora [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 30, 2006 1

Re: [PHP] send a file or stream

2006-08-29 Thread Rafael Mora
ok thank you Im going to test it!! =) On 8/29/06, Peter Lauri <[EMAIL PROTECTED]> wrote: Should do it then… if you know the path to the file :) -- *From:* Rafael Mora [mailto:[EMAIL PROTECTED] *Sent:* Wednesday, August 30, 2006 10:10 AM *To:* Peter

Fwd: [PHP] send a file or stream

2006-08-29 Thread Rafael Mora
-- Forwarded message -- From: Rafael Mora <[EMAIL PROTECTED]> Date: Aug 29, 2006 11:09 PM Subject: Re: [PHP] send a file or stream To: Peter Lauri <[EMAIL PROTECTED]> 1. A user sends a request to your server to get a compressed file 2. You compress the file on the

[PHP] Test!

2006-08-29 Thread Rafael Mora
Hello! this is a test, can anyone tell me if u are getting my emails?? Thank you

Re: [PHP] replace single and double quotes

2006-08-29 Thread Rafael Mora
Hi! i want to send a file or output stream in a .php, but first compress it, I tryed the example to compress files but how do i do to send as answer to the http request?? Rafa

[PHP] send a file or stream

2006-08-29 Thread Rafael Mora
Hi! i want to send a file or output stream in a .php, but first compress it, I tryed the example to compress files but how do i do to send as answer to the http request?? Rafa