Follow us on Twitter!
The measure of a mans life is not how well he dies, but how well he lives.
Wednesday, April 23, 2014
Navigation
Home
HellBoundHackers Main:
HellBoundHackers Find:
HellBoundHackers Information:
Learn
Communicate
Submit
Shop
Challenges
HellBoundHackers Exploit:
HellBoundHackers Programming:
HellBoundHackers Think:
HellBoundHackers Track:
HellBoundHackers Patch:
HellBoundHackers Other:
HellBoundHackers Need Help?
Other
Members Online
Total Online: 28
Guests Online: 22
Members Online: 6

Registered Members: 82878
Newest Member: defcon812
Latest Articles
View Thread

HellBound Hackers | Computer General | Programming

Author

Calender popup

Demons Halo
Member



Posts: 261
Location: Sweden
Joined: 26.03.09
Rank:
Apprentice
Posted on 18-04-10 00:49
Hello again!
I'm currently working on a PHP/JavaScript based calendar. The main purpose of the calender is to show event(s) when a user have the mouse over a table-cell containing a certain date.

mouse over date X --> script check for events in DB for date X --> popup window with events from DB.

What is the best way to do this? JavaScript does not seem secure enough to use and using php would mean that refreshing the page is needed. what other options are there?

base_dropper@hotmail.com www.demonshalo.com
Author

RE: Calender popup

spyware
Member



Posts: 4192
Location: The Netherlands
Joined: 14.04.07
Rank:
God
Warn Level: 90
Posted on 18-04-10 01:03
...what way is there? AJAX.



img507.imageshack.us/img507/3580/spynewsig3il1.png
"The chowner of property." - Zeph
[small]
Widespread intellectual and moral docility may be convenient for leaders in the short term,
but it is suicidal for nations in the long term.
- Carl Sagan
“Since the grid is inescapable, what were the earlier lasers about? Does the corridor have a sense of humor?” - Ebert
[/s
http://bitsofspy.net
Author

RE: Calender popup

Demons Halo
Member



Posts: 261
Location: Sweden
Joined: 26.03.09
Rank:
Apprentice
Posted on 18-04-10 01:36
well I've got the data stored in a MySQL DB, I'm not using any XML files Pfft so how can AJAX help me with that?!

Edited by Demons Halo on 18-04-10 01:37
base_dropper@hotmail.com www.demonshalo.com
Author

RE: Calender popup

spyware
Member



Posts: 4192
Location: The Netherlands
Joined: 14.04.07
Rank:
God
Warn Level: 90
Posted on 18-04-10 01:40
Demons Halo wrote:
well I've got the data stored in a MySQL DB, I'm not using any XML files Pfft so how can AJAX help me with that?!


Erhm, you can call to a PHP script without refreshing?



img507.imageshack.us/img507/3580/spynewsig3il1.png
"The chowner of property." - Zeph
[small]
Widespread intellectual and moral docility may be convenient for leaders in the short term,
but it is suicidal for nations in the long term.
- Carl Sagan
“Since the grid is inescapable, what were the earlier lasers about? Does the corridor have a sense of humor?” - Ebert
[/s
http://bitsofspy.net
Author

RE: Calender popup

Demons Halo
Member



Posts: 261
Location: Sweden
Joined: 26.03.09
Rank:
Apprentice
Posted on 18-04-10 02:02
spyware wrote:
Demons Halo wrote:
well I've got the data stored in a MySQL DB, I'm not using any XML files Pfft so how can AJAX help me with that?!


Erhm, you can call to a PHP script without refreshing?


O.o I dont see how! every google search I do ends up with AJAX recommendation :/
base_dropper@hotmail.com www.demonshalo.com
Author

RE: Calender popup

goluhaque
Member



Posts: 197
Location: India
Joined: 17.02.10
Rank:
Apprentice
Warn Level: 30
Posted on 18-04-10 05:56
http://www.w3schools.com/ajax/ajax_aspphp.asp
You can call PHP scripts using AJAX.


That applause I receive from y'all on posting this post would have gotten me drunk on power if I hadn't already been high on life.
Author

RE: Calender popup

Demons Halo
Member



Posts: 261
Location: Sweden
Joined: 26.03.09
Rank:
Apprentice
Posted on 18-04-10 21:12
ZOMG!!! IT'S WORKING!!! IT IS ALIIIIIIIIIIIIIVE!!!! o.O

no but seriously, thanks Pfft
base_dropper@hotmail.com www.demonshalo.com