Re: [PHP] close browser
I knew it was a joke yeah... really... I did ;) - k - Original Message - From: Ryan Fischer [EMAIL PROTECTED] To: kath [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Tuesday, August 07, 2001 11:20 PM Subject: Re: [PHP] close browser You wrote: You wrote: Can anybody tell me what the code to close the browser is? ALT+F4. ;) PHP cannot execute client side actions, afaik. - k 'Twas a joke. See the winky smilie? You may all laugh now. ;) -- -Ryan :: ICQ - 595003 :: GigaBoard - http://www.gigaboard.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] close browser
PHP can't do that because php is serverside. You would need Javascript. I'm not even sure if Javascript can do this. Tyler Longren Captain Jack Communications [EMAIL PROTECTED] www.captainjack.com On Tue, 7 Aug 2001 16:10:51 -0400 Jeremy Morano [EMAIL PROTECTED] wrote: Hi, Can anybody tell me what the code to close the browser is? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
RE: [PHP] close browser
Pretty sure it can, it just prompts the user before it is closed.. (otherwise JS would have a BIT too much power :) Ryan -Original Message- From: Tyler Longren [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 07, 2001 1:12 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: [PHP] close browser PHP can't do that because php is serverside. You would need Javascript. I'm not even sure if Javascript can do this. Tyler Longren Captain Jack Communications [EMAIL PROTECTED] www.captainjack.com On Tue, 7 Aug 2001 16:10:51 -0400 Jeremy Morano [EMAIL PROTECTED] wrote: Hi, Can anybody tell me what the code to close the browser is? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] close browser
PHP can't. Javascript, however, does prompt before closing a browser window. On Tue, 7 Aug 2001 13:11:16 -0700 Ryan Christensen [EMAIL PROTECTED] wrote: Pretty sure it can, it just prompts the user before it is closed.. (otherwise JS would have a BIT too much power :) Ryan -Original Message- From: Tyler Longren [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 07, 2001 1:12 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: [PHP] close browser PHP can't do that because php is serverside. You would need Javascript. I'm not even sure if Javascript can do this. Tyler Longren Captain Jack Communications [EMAIL PROTECTED] www.captainjack.com On Tue, 7 Aug 2001 16:10:51 -0400 Jeremy Morano [EMAIL PROTECTED] wrote: Hi, Can anybody tell me what the code to close the browser is? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] close browser
Hi, Yes, Javascript can do this. Look at this: script type=text/javascript this.window.close(); /script You can wrap this in a A HREF... tag as well. Greetz, Bjorn Van Simaeys www.bvsenterprises.com --- Jeremy Morano [EMAIL PROTECTED] wrote: Hi, Can anybody tell me what the code to close the browser is? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] __ Do You Yahoo!? Make international calls for as low as $.04/minute with Yahoo! Messenger http://phonecard.yahoo.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] close browser
Greetings: I have a field entry in a MYQSL table that stores the date as: August 02, 2001 :( Is there anyway to convert this to 08-02-2001 outside of the table via php? Better yet is there ayway I can go back into my table and change these dates into a better format for computation? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] close browser
Thanks to all for the replies, I am looking into many options. One of which is traveling back in time and creating the table correctly ;p -ccma - Original Message - From: Robert V. Zwink [EMAIL PROTECTED] To: [EMAIL PROTECTED]; Christopher CM Allen [EMAIL PROTECTED] Sent: Tuesday, August 07, 2001 5:01 PM Subject: RE: [PHP] close browser Did you look in the manual? http://www.php.net/manual/en/function.strtotime.php strtotime() -- Parse about any english textual datetime description into a UNIX timestamp This is probably what you are looking for. As far as converting a CHAR (assuming) type column in MySQL to DATE, I think you would have to write php to select each row, convert the date, then update the row with the new date. I would create a new TIMESTAMP column, write php to select the old date, convert it, then update the row with the new TIMESTAMP added. Robert V. Zwink DAID Development LLC http://www.zwink.net/daid.php -Original Message- From: Christopher CM Allen [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 07, 2001 4:44 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] close browser Greetings: I have a field entry in a MYQSL table that stores the date as: August 02, 2001 :( Is there anyway to convert this to 08-02-2001 outside of the table via php? Better yet is there ayway I can go back into my table and change these dates into a better format for computation? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] close browser
You wrote: Can anybody tell me what the code to close the browser is? ALT+F4. ;) -- -Ryan :: ICQ - 595003 :: GigaBoard - http://www.gigaboard.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] close browser
PHP cannot execute client side actions, afaik. - k - Original Message - From: Ryan Fischer [EMAIL PROTECTED] To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Tuesday, August 07, 2001 10:39 PM Subject: Re: [PHP] close browser You wrote: Can anybody tell me what the code to close the browser is? ALT+F4. ;) -- -Ryan :: ICQ - 595003 :: GigaBoard - http://www.gigaboard.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] close browser
You wrote: You wrote: Can anybody tell me what the code to close the browser is? ALT+F4. ;) PHP cannot execute client side actions, afaik. - k 'Twas a joke. See the winky smilie? You may all laugh now. ;) -- -Ryan :: ICQ - 595003 :: GigaBoard - http://www.gigaboard.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] close browser
On Tuesday 07 August 2001 20:20, you wrote: You wrote: You wrote: Can anybody tell me what the code to close the browser is? ALT+F4. ;) PHP cannot execute client side actions, afaik. - k 'Twas a joke. See the winky smilie? You may all laugh now. ;) Haha tell people in multiplayer games ALT+F4 brings up a secret cheat menu... Especially when they're better than you. I believe the JavaScript is self.close(); -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]