PDA

View Full Version : My little ajax script.



Dentafrice,
24-05-2007, 07:46 PM
This is one of my first easy ones.

I was bored so I made a simple ajax php color thingy.

http://calebmingle.com/ajax/test.php

Type it in the box and click away from the box.

Something simple.

I am going to make it to display the HTML of the formatted code too.

http://calebmingle.com/ajax/view.php to view already submited things.

I was bored :P

c+c

Its not really useful but just thought I would try something

Moved by opensourcehost (Forum Moderator) from Web Designing: Please post in the correct forum next time, thanks http://habboxforum.com/images/smilies/smile.gif.

:Edzy
24-05-2007, 07:48 PM
so its like a chat thingy?

kwl +REP

Dentafrice,
24-05-2007, 07:49 PM
Na it just colors PHP code :P

Nothing hard I was just bored as Simon won't give me nothing to do.

:Edzy
24-05-2007, 07:51 PM
well... you can code me...

just joking, cant think of nuffin anyway :P

Dentafrice,
24-05-2007, 07:52 PM
haha just put

<?
echo "Hello world.";
?>

into it.

:Edzy
24-05-2007, 07:59 PM
kwllll

dont know how thats done but hey :D

YouFail
24-05-2007, 08:16 PM
Thats pretty cool Caleb. If you wouldn't mind could you post/PM the code so I can break it down and have a look at it?

Dentafrice,
24-05-2007, 08:26 PM
Just view source :P

YouFail
24-05-2007, 08:56 PM
xD

i never thought of that... I must be tired ;)

Dentafrice,
24-05-2007, 08:57 PM
Php is just



<?
highlight_string("thing");
?>

timROGERS
24-05-2007, 09:01 PM
It's a nice little script, useful too :)

I just looked at the code, and it looks like it's taken from some kind of mapping script, as it mentions ZIP codes and cities :P I like it when people adapt code, saves time and shows initiative!

YouFail
24-05-2007, 09:02 PM
Cool. +rep and well done :)

Dentafrice,
24-05-2007, 09:15 PM
I haven't used AJAX much so I tried to adapt this code to what I was doing.

Hopefully wont get no bad rep for that as I am just learning :P

Epanel
24-05-2007, 11:49 PM
Basicly like a Request script!

Sweet i would rep but i dont have rep..

Dentafrice,
25-05-2007, 12:29 AM
i am adding HTML now.

Dentafrice,
25-05-2007, 12:42 AM
http://www.calebmingle.com/ajax/test.php

Check it out now.

I added some cool things

Romanity
25-05-2007, 02:58 PM
Cool =] +rep

:Edzy
25-05-2007, 03:09 PM
Basicly like a Request script!

Sweet i would rep but i dont have rep..
tats a good way to look at it :)

Dentafrice,
25-05-2007, 07:15 PM
I added an admin panel with AJAX delete. Pretty neat.

http://www.calebmingle.com/ajax/

Username: Caleb
pass: test

timROGERS
25-05-2007, 07:56 PM
Nice work :) I'm going to write a shoutbox with the same principle tomorrow.

Recursion
25-05-2007, 07:57 PM
I login and get a blank page :(

Oh NVM, It takes long to load, how do i shout?

Dentafrice,
25-05-2007, 08:50 PM
shout? :P

*
30-05-2007, 10:21 AM
Nice find; Release source (A)

+rep

Want to hide these adverts? Register an account for free!