Re: [PHP] fsockopen and session_start

2005-03-08 Thread Pedro Garre
2005 05:15, Jason Wong wrote: *This message was transferred with a trial version of CommuniGate(tm) Pro* On Monday 07 March 2005 22:02, Pedro Garre wrote: I am using fsockopen to simulate a POST to another page (test_post.php) within the same server. It's not clear how exactly you're

[PHP] fsockopen and session_start

2005-03-07 Thread Pedro Garre
*This message was transferred with a trial version of CommuniGate(tm) Pro* Hi, I am using fsockopen to simulate a POST to another page (test_post.php) within the same server. Data sent to the socket is: POST $uri HTTP/1.1\r\n. Host: $host\n. User-Agent: mandapost\r\n. Cookie:

Re: [PHP] Why $ on variable names?

2002-11-13 Thread Pedro Garre
*This message was transferred with a trial version of CommuniGate(tm) Pro* Hi, JR said: I guess this could be true. But I don't understand why someone would need an easy way to identify variables? Why not an easy way to identify function names? Or constants? For big projects and/or safety

[PHP] Encripted download

2002-07-01 Thread Pedro Garre
*This message was transferred with a trial version of CommuniGate(tm) Pro* Hi, My Apache is under SSL. Everything works Ok but when the user chooses to download a file or view a PDF document, the browser states that you are about to leave the secure conexion, so I guess the files are

Re: [PHP] Printer friendly version script

2002-06-13 Thread Pedro Garre
*This message was transferred with a trial version of CommuniGate(tm) Pro* I think the only solution is to convert it to PDF. In theory, CSS2 provides with the possibility to configure the print format, but no browser supports it. Pedro. On Thursday 13 June 2002 19:56, Miguel Cruz wrote:

[PHP] parse errors not displayed (2nd time I ask!)

2002-04-29 Thread Pedro Garre
*This message was transferred with a trial version of CommuniGate(tm) Pro* Hi, I am sorry I ask this for a second time. Come on guys ! I am sure somebody can help, please I set my own error handler. It is in a file general_includes.php (please find it below) and all pages do a require on

[PHP] parse error= doc contains no data

2002-04-19 Thread Pedro Garre
*This message was transferred with a trial version of CommuniGate(tm) Pro* Hi, I set my own error handler as described in the documentation. It seems to work, as I can catch NOTICE errors. The problem is that PARSE errors do not display anywhere, nor are catched by my error handler. The browser

Re: [PHP] Determine the difference between two dates

2002-04-19 Thread Pedro Garre
*This message was transferred with a trial version of CommuniGate(tm) Pro* Yes, but note that strtotime has a second parameter, which is now if not indicated. What strtotime returns is relative to this second parameter. I would use: $ahora = time(); $firstTime=strtotime($firstTime, $ahora);

Re: [PHP] parse error= doc contains no data

2002-04-19 Thread Pedro Garre
~E_NOTICE, or just E_ALL, in php.ini. Kirk -Original Message- From: Pedro Garre [mailto:[EMAIL PROTECTED]] Sent: Friday, April 19, 2002 11:25 AM To: php-general Subject: [PHP] parse error= doc contains no data I set my own error handler as described in the documentation

[PHP] debug NOTICE without disturbing browser

2002-04-18 Thread Pedro Garre
*This message was transferred with a trial version of CommuniGate(tm) Pro* Hi, If you want to see NOTICE errors, but not in the browser: - Set your own error_handler as described in the documentation - And include these lines: if ( ( $errno == E_USER_NOTICE ) || ( $errno == E_NOTICE ) ) system