RE: [PHP] header() function for displaying an opened PDF document.

2003-10-13 Thread Bertrand Moulard
Might not be connected at all, but I had a similar problem with pdf stored in a postgreSQL database as large object. The content type was set to pdf, but ie wouldn't open it. It turned up that it was because there was a CRLF at the end of one of my script, which spoiled the whole output. Pretty

RE: [PHP] header() function for displaying an opened PDF document.

2003-10-13 Thread Bertrand Moulard
now that I'm rethinking of it, I solved the problem by using the brilliant python program tcpwatch, which logs all the http data going in and out your browser. Very easy to run and so handy (not only for this problem). Would find the url for dld if you want. cheers .b -Original Message-

RE: [PHP] xml in php5.0.0beta1

2003-10-12 Thread Bertrand Moulard
Not to sure about what I'm saying, but if I remember well my readings regarding php5 and xml, I think it implements the gnome libxml2, not libxml, which is much better. Hopefully php + xml will be less of a pain in the arse after the 5 is out. cheers .b -Original Message- From: Dennis

RE: [PHP] Display a JPG Image

2003-10-10 Thread Bertrand Moulard
-Original Message- From: Pushpinder Singh Garcha [mailto:[EMAIL PROTECTED] Sent: 10 October 2003 17:06 To: [EMAIL PROTECTED] Subject: [PHP] Display a JPG Image Hello Everyone, I am trying to display a JPG image to a use, who has logged in. Some research on google revealed a way to

RE: [PHP] Display a JPG Image

2003-10-10 Thread Bertrand Moulard
try image/jpeg cheers .b -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] problem transferring a variable using POST

2003-10-09 Thread Bertrand Moulard
you might try to do some processing on the value get the HTTP_POST_VARS[...], put it in a variable and see its type (gettype()). Might give you some hints. -Original Message- From: Davy Campano [mailto:[EMAIL PROTECTED] Sent: 09 October 2003 16:57 To: [EMAIL PROTECTED] Subject: [PHP]

RE: [PHP] problem transferring a variable using POST

2003-10-09 Thread Bertrand Moulard
Applying all these things your line should look like this: $sql = UPDATE wo SET status = 1 WHERE ticket = {$_POST['ticketed']}; $_POST['ticketed'] : this is not an array but value isn't it ? .b -Original Message- From: Chris W. Parker [mailto:[EMAIL PROTECTED] Sent: 09 October 2003

RE: [PHP] problem transferring a variable using POST

2003-10-09 Thread Bertrand Moulard
fair enough, $_POST is an array, but what about $_POST['ticketed'] ? Just want to make sure about this {} thingie .b -Original Message- From: Chris W. Parker [mailto:[EMAIL PROTECTED] Sent: 09 October 2003 17:22 To: Bertrand Moulard; Davy Campano; [EMAIL PROTECTED] Subject: RE: [PHP

RE: [PHP] problem transferring a variable using POST

2003-10-09 Thread Bertrand Moulard
it does, thanks -Original Message- From: Chris W. Parker [mailto:[EMAIL PROTECTED] Sent: 09 October 2003 17:28 To: Bertrand Moulard; Davy Campano; [EMAIL PROTECTED] Subject: RE: [PHP] problem transferring a variable using POST Bertrand Moulard mailto:[EMAIL PROTECTED] on Thursday

[PHP] Get the name of the form

2003-10-09 Thread bertrand moulard
Hello does anyone know if the name of a form is stored somewhere in the predefined variables ($_POST, $_REQUEST, whatever) cheers .b -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Get the name of the form

2003-10-09 Thread Bertrand Moulard
PROTECTED] Sent: 09 October 2003 18:02 To: bertrand moulard; [EMAIL PROTECTED] Subject: RE: [PHP] Get the name of the form [snip] does anyone know if the name of a form is stored somewhere in the predefined variables ($_POST, $_REQUEST, whatever) [/snip] So much testing, so little time. It would

RE: [PHP] Get the name of the form

2003-10-09 Thread Bertrand Moulard
Damn that's what I was thinking... thanks you .b -Original Message- From: Robert Cummings [mailto:[EMAIL PROTECTED] Sent: 09 October 2003 18:06 To: Bertrand Moulard Cc: Jay Blanchard; PHP-General Subject: RE: [PHP] Get the name of the form On Thu, 2003-10-09 at 13:03, Bertrand Moulard