Re: [PHP] something like alert (javascript)
I'm implementing a system that allows the users create pages on-line. They can create several different pages to complete a site. What I want to do is alert them that there are still pages to be created before they finish. I'm trying to do it checking the files they create and alerting a message, but I think javascript can not check the files and php can not alert the user with a function like alert(). I'm using a simple print() (PHP) but alert() would be much better. - Original Message - From: Maxim Maletsky (PHPBeginner.com) <[EMAIL PROTECTED]> To: 'Eduardo Kokubo' <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Wednesday, October 03, 2001 11:38 AM Subject: RE: [PHP] something like alert (javascript) > Then what do you need? > > We are not any sure on what your question is ... > > Maxim Maletsky > www.PHPBeginner.com > > > -Original Message- > From: Eduardo Kokubo [mailto:[EMAIL PROTECTED]] > Sent: mercoledì 3 ottobre 2001 16.31 > To: [EMAIL PROTECTED] > Cc: [EMAIL PROTECTED] > Subject: [PHP] something like alert (javascript) > > > Is there any function in PHP that is similar to alert() or confirm() of > javascript ? I tried die() but that's not what I need. -- 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] something like alert (javascript)
On Wednesday 03 October 2001 14:30, Eduardo Kokubo wrote: > Is there any function in PHP that is similar to alert() or confirm() of > javascript ? I tried die() but that's not what I need. PHP is server side, so you cannot have it pop windows up, or ask the user questions in an inputbox (unless you build the javascript in PHP of course, but that probably is still not what you want). For immediately informing the user of an error, or whatever, die() makes sure they see it. :) Alexander -- 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] something like alert (javascript)
Then what do you need? We are not any sure on what your question is ... Maxim Maletsky www.PHPBeginner.com -Original Message- From: Eduardo Kokubo [mailto:[EMAIL PROTECTED]] Sent: mercoledì 3 ottobre 2001 16.31 To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: [PHP] something like alert (javascript) Is there any function in PHP that is similar to alert() or confirm() of javascript ? I tried die() but that's not what I need. -- 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] something like alert (javascript)
> Is there any function in PHP that is similar to alert() or > confirm() of javascript ? I tried die() but that's not what I need. What do you want it to do? Remember, though, that PHP = server side while Javascript = client side. If you want alert() or confirm() functionality on the client side (why would you want this server side; it'll just hang there until someone on the back end hits a key or something) use either of those two functions. Chris