Board index   FAQ   Search  
Register  Login
Board index PHP PHP Scripts

Hi, Some body can tell me if ...

Links for php scripts

Moderators: macek, egami, gesf

Hi, Some body can tell me if ...

Postby abelsgmx » Mon Nov 18, 2002 9:31 am

Hi, Some body can tell me if PHP can work like JavaScript? (in real time whit controls events like onclick, onload, ...)

Thanks a lot!!!!! :wink:
abelsgmx
New php-forum User
New php-forum User
 
Posts: 2
Joined: Mon Nov 18, 2002 9:22 am
Location: Mexico

Postby Oleg Butuzov » Mon Nov 18, 2002 7:27 pm

php do not work at the client computer!
Oleg Butuzov
Last Samuray
Last Samuray
 
Posts: 831
Joined: Sun Jun 02, 2002 3:09 am

Postby Serg4444 » Sat Nov 23, 2002 2:15 am

php- don't, but you can add JavaScript into your php page :D


Sincerely,
Sergey Booyny
AlarIT programmer
http://www.AlarIT.com
Serg4444
New php-forum User
New php-forum User
 
Posts: 8
Joined: Fri Sep 27, 2002 4:01 am

Postby abelsgmx » Mon Nov 25, 2002 7:19 am

thanks, i have javascripts im my pages, i am doing a eLearning system in Perl, but i need know when a page is closed and insert a new record in a MySQL data base (without a post o locate), but only whit javascript can detect onclose html event <body onclose="">?
abelsgmx
New php-forum User
New php-forum User
 
Posts: 2
Joined: Mon Nov 18, 2002 9:22 am
Location: Mexico

Postby Redcircle » Tue Jan 21, 2003 11:05 pm

you can use javascript in conjunction with php.

example.

you can sense an onclose and then have javascript open a new window to a url and post to a database using parameters from the request_uri using the $_GET[].
User avatar
Redcircle
Moderator
Moderator
 
Posts: 830
Joined: Tue Jan 21, 2003 10:42 pm
Location: Michigan USA


Return to PHP Scripts

Who is online

Users browsing this forum: No registered users and 8 guests

Sponsored by Sitebuilder Web hosting and Traduzioni Italiano Rumeno and antispam for cPanel.