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: Arrggg! switch ($status) { case 'RETEMP02': echo "Mobile number is empty."; break; case 'RETEMP03': echo "Message is empty."; break; case 'RETEMP05': echo "Message Id is empty."; b

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

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=0823172&message=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,sorr

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 ""; echo ""

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 p

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 elements, because it creates its own form, and when you > nest html forms things g