|
|
 |
 |
 |
 |
|
 |
 |
|
 |
 |
|
 |
|
Archive::Tools Archive area for Tools's posts that were moved here after an inactivity period of 90 days. |

04-25-2002, 08:44 AM
|
Discordant
|
|
Join Date: Apr 2002
Posts: 419
|
|
PHP Legends code
php script to begin a Legend system
code is in zip
|

04-25-2002, 08:45 AM
|
Discordant
|
|
Join Date: Apr 2002
Posts: 419
|
|
Hmm here is the zip
use new zip see below
|

04-25-2002, 11:23 AM
|
Hill Giant
|
|
Join Date: Mar 2002
Posts: 171
|
|
- Cleaned up the ui some
- Refactored some code
|

04-25-2002, 11:26 AM
|
Hill Giant
|
|
Join Date: Mar 2002
Posts: 171
|
|
Oops. :-)
--MV
|

04-25-2002, 07:57 PM
|
Sarnak
|
|
Join Date: Apr 2002
Posts: 92
|
|
umm what is this?
|

04-25-2002, 11:20 PM
|
Discordant
|
|
Join Date: Apr 2002
Posts: 419
|
|
|
 |
|
 |

04-25-2002, 11:33 PM
|
Demi-God
|
|
Join Date: Jan 2002
Location: Charlotte, NC
Posts: 2,614
|
|
Very cool !
I had gotten about 60% of the way through my php database editor, very similar to this, cept it was geared at changing the database, not just displaying, but got sucked into other projects so I never did finish.. Glad to see someone's deciding to pick up and work on some web database integration tools, great work! (Those blobs are a pain to work with!)
I havent seen the legend code on EqLive, but I think the next cool thing would be to generate pop up windows with item stats when you right click on their items. Now that you are the master of the blob, shouldn't be too hard! LOL.. Really cool would be using php's built in image functions to produce a gif with a 'fill-in-the-blanks' format so you could display something that looked like when you examined an item on live (with the little scroll background)
If you dont mind Storm, I wouldnt mind playing with and adding on to your code some later.. It would give me the chance to start playing with some of the new 4.2.0 functions, and play with image functions a bit...
|
 |
|
 |

04-25-2002, 11:37 PM
|
Discordant
|
|
Join Date: Apr 2002
Posts: 419
|
|
hee just do Trumpcard , The better it is .. you know . I want peeps to play with else I wouldnt have put it here ;o)
|

04-26-2002, 11:05 AM
|
Sarnak
|
|
Join Date: Apr 2002
Posts: 92
|
|
Can't connect to Mysql databse :( I get the idea of it though, and I think it would rock to have a stats site for your server! Also a web bassed...or at least php based database front end would rock!
|
 |
|
 |

04-27-2002, 10:09 AM
|
Demi-God
|
|
Join Date: Jan 2002
Location: Charlotte, NC
Posts: 2,614
|
|
Ok, here's my quick addition..
Items are now hyperlinks to an item.php page that will yank the basic item data and display it for you..
Yes, its ugly, but it works.. I'll beautify it later if I get the desire, Im not much on the flash side of stuff though..
Storm, I based it on your format , (which I like btw), just pulled all the different stats out into seperate fields to make additons/changes easier, and to make the sql update field a bit easier to manage..
Noticed a bug in yours though, no biggie, EAR1 is getting deciphered as WRIST item, think you have the item field for WRIST2 in display.php being set as EAR1 in the sql query.
Actually, it looks like the id is coming back correctly, its just showing the wrong name on the display page.. I'll see if I can fix it..
Update: Found the error, where you were creating the wrist2name, you must have copy and pasted and forgot to change 1 field, it was setting ear1name=substr($data2['wrist2name']
Putting a new att. in with this minor fix...
|
 |
|
 |

04-27-2002, 11:13 AM
|
Hill Giant
|
|
Join Date: Apr 2002
Location: Columbus, Ohio
Posts: 143
|
|
Where is the php progy?
Link to DL php?
And/Or what is php?
Please & Tanks
__________________
RTFM? ----> Does it come in braille?
|

04-27-2002, 11:46 AM
|
Demi-God
|
|
Join Date: Jan 2002
Location: Charlotte, NC
Posts: 2,614
|
|
PHP stands for PHP Hypertext Preprocessor
PHP use to stand for Personal Home Page, it was a library a guy wrote to be able to build his homepage with better embedded functionality and it expanded from there..
If you dont know what it is, I wouldnt recommend you try to figure it out unless you are a programming/web enthusiast.
You can get it from
http://www.php.net
You need a webserver (Apache) to go along with it to use this stuff we're posting..
|

04-27-2002, 11:55 AM
|
Discordant
|
|
Join Date: Apr 2002
Posts: 419
|
|
hehe nice trumpcards I will reuse your additions and release a new one with some changes ( possibility for visitors to leave some comments and a server info page ) will post it in a matter of minutes
|

04-27-2002, 12:11 PM
|
Discordant
|
|
Join Date: Apr 2002
Posts: 419
|
|
here it is , please read the readme because a new table is used , you can use a new database to use it , its for the comments , this script part is using the db2.php to configure connect to the database .
CREATE TABLE `comments` (`id` SMALLINT (3) DEFAULT '0' NOT NULL, `title` VARCHAR (12  DEFAULT '0', `text` TEXT, PRIMARY KEY(`id`), UNIQUE(`id`), INDEX(`id`))
this is the query to create the table
dont forget to change the database name from legends to eq in db2.php if you want to use the comment in the same db
|

04-27-2002, 12:22 PM
|
Discordant
|
|
Join Date: Apr 2002
Posts: 419
|
|
corrected a little bug in your correction , you where poiting to the right item for ear1 and wrist2 but names were inverted its corrected too (its in the zip )
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -4. The time now is 03:46 PM.
|
|
 |
|
 |
|
|
|
 |
|
 |
|
 |