.php avatars

Forum for general requests for support for players. Both staff members and veteran players can help new players with problems they encounter. No chatting in this forum, please.

Moderators: Public Relations Department, Players Department, Programming Department

User avatar
*Wiro
Posts: 5855
Joined: Mon Sep 29, 2008 1:24 pm

.php avatars

Postby *Wiro » Mon Nov 03, 2008 8:36 pm

Any chance an admin will consider making it possible to use them?
I started with PHP yesterday and today I managed to create an avatar that counts the amount of times it was viewed.

And I'd like to use it on this forum, but it doesn't support it.

So, any chance of this happening?
Read about my characters by following this link.
User avatar
marol
Posts: 3728
Joined: Sun Jul 17, 2005 11:45 am
Location: Kraków, PL
Contact:

Postby marol » Mon Nov 03, 2008 8:49 pm

PHP avatars raises serious security issues and won't be enabled.
(SRVPRC)
Image
User avatar
*Wiro
Posts: 5855
Joined: Mon Sep 29, 2008 1:24 pm

Postby *Wiro » Mon Nov 03, 2008 8:56 pm

Ya, I just noticed.
I just finished a code that stores IPs of everyone who watches the image. So not that great of an idea after all. :P

But without the risks it would be a fun addition. ^^,
Read about my characters by following this link.
User avatar
marol
Posts: 3728
Joined: Sun Jul 17, 2005 11:45 am
Location: Kraków, PL
Contact:

Postby marol » Mon Nov 03, 2008 9:31 pm

This is also possible using regular JPG or GIF avatars, but PHP makes is a lot easier.
(SRVPRC)

Image
User avatar
*Wiro
Posts: 5855
Joined: Mon Sep 29, 2008 1:24 pm

Postby *Wiro » Mon Nov 03, 2008 9:39 pm

But with that you can only have a random avatar, right?

With PHP you can also make images that show the amount of times it was viewed and other nice things.

Oh well. I'll check the random avatar without PHP tommorow.
Read about my characters by following this link.
User avatar
marol
Posts: 3728
Joined: Sun Jul 17, 2005 11:45 am
Location: Kraków, PL
Contact:

Postby marol » Mon Nov 03, 2008 9:42 pm

Actually with appropriate server mapping you may cause a request for *.jpg file to be handled by PHP script transparently to the user.

http://httpd.apache.org/docs/1.3/mod/mod_rewrite.html
(SRVPRC)

Image
User avatar
*Wiro
Posts: 5855
Joined: Mon Sep 29, 2008 1:24 pm

Postby *Wiro » Mon Nov 03, 2008 9:54 pm

That sounds really complicated, and I'm not that great with PHP, HTML and everything yet. So before I'll even consider trying more complicated things, I'll first master PHP and HTML some more. And CSS.

I'm only 14 too, and the only time I can spend learning programming languages is free time at home. At school we don't learn these kinds of things, sadly. :/

Thanks for telling me about it though. :)
Read about my characters by following this link.
User avatar
Cdls
Posts: 4204
Joined: Sat May 14, 2005 7:09 pm

Postby Cdls » Mon Nov 03, 2008 10:29 pm

Wiro, here is a site you can check out if you are looking for resources on learning this stuff, I use it from time to time in addition to other things:


http://www.w3schools.com/sitemap.asp
User avatar
*Wiro
Posts: 5855
Joined: Mon Sep 29, 2008 1:24 pm

Postby *Wiro » Mon Nov 03, 2008 11:13 pm

Hehe, that's the site I've been using all the time.
It's great to start with. But I slowly start to notice that there are more and more problems that either have to be found on google, or I'll somehow have to figure it out myself. And I have a lot of people on my MSN list who are very skilled with PHP and other programming languages who I can always ask for help when I need it.

Thanks anyway. :)
Read about my characters by following this link.
User avatar
joo
Posts: 5021
Joined: Fri Jun 17, 2005 2:26 pm
Location: London, UK

Postby joo » Tue Nov 04, 2008 10:22 pm

Hehe, why didn't I think of linking to a script for my avatar... or even a signature... the possibilites are limitless!

Return to “General Support”

Who is online

Users browsing this forum: No registered users and 1 guest