[PHP] http response 200

2008-06-20 Thread joaquinbordado
'm a total newbie..i just want to know how can i display an http response 200 with this message message successfully sent ...here is my code ?php if ($status == RETEMP02) echo Mobile number is empty.; elseif ($status == RETEMP03) echo Message is empty.; elseif ($status == RETEMP05) echo Message

Re: [PHP] http response 200

2008-06-20 Thread Iv Ray
joaquinbordado wrote: 'm a total newbie..i just want to know how can i display an http response 200 Don't have time to customize it for you, but that's how it can be done- header(HTTP/1.0 404 Not Found); /* * * I copied the DOCTYPE from what Apache 1.3.34 returns. * */ echo !DOCTYPE HTML

Re: [PHP] http response 200

2008-06-20 Thread Iv Ray
ryan gacusana wrote: here is my code when accessing this url http://localhost/podcast/podcast.php?mobile=0823172message=2343443=%3Eryan This runs on your computer, I can't access it. else echo Message has been sent successfully.; // in this part i want to respond with a status of 200,sorry

Re: [PHP] http response 200

2008-06-20 Thread Daniel Brown
On Fri, Jun 20, 2008 at 5:35 AM, joaquinbordado [EMAIL PROTECTED] wrote: 'm a total newbie..i just want to know how can i display an http response 200 with this message message successfully sent ...here is my code HTTP code 200 just means OK. Any successful location and serving of a web

Re: [PHP] http response 200

2008-06-20 Thread tedd
At 3:57 PM -0400 6/20/08, Daniel Brown wrote: My preference here would be: ?php if ($status == RETEMP02) { echo Mobile number is empty.; } elseif ($status == RETEMP03) { echo Message is empty.; } elseif ($status == RETEMP05) { echo Message Id is empty.; } elseif ($status ==

[PHP] http response

2004-11-13 Thread Josh Howe
Is it possible in php to get a hold of the response stream and see what has been sent already? I have a global php function, but it can't be called inside html form elements, because it creates its own form, and when you nest html forms things get weird. In this function, I want to check if

Re: [PHP] http response

2004-11-13 Thread Robert Cummings
On Sat, 2004-11-13 at 10:38, Josh Howe wrote: Is it possible in php to get a hold of the response stream and see what has been sent already? I have a global php function, but it can't be called inside html form elements, because it creates its own form, and when you nest html forms things

RE: [PHP] http response

2004-11-13 Thread Josh Howe
That's perfect, thanks Rob. -Original Message- From: Robert Cummings [mailto:[EMAIL PROTECTED] Sent: Saturday, November 13, 2004 10:48 AM To: Josh Howe Cc: PHP-General Subject: Re: [PHP] http response On Sat, 2004-11-13 at 10:38, Josh Howe wrote: Is it possible in php to get

[PHP] HTTP Response Headers using iPlanet

2002-01-28 Thread Alexandre Ferreira Novello
How can I retrieve the HTTP Response Headers using iPlanet or a independent SAPI function? For example, supose there is a function called response_header() If I write a script like this: ? header(TEST_HEADER: TEST_VALUE); var_dump(response_header()); ? I would like to have a result