DragnTougne Posted August 2, 2006 Share Posted August 2, 2006 ((I must say before hand I know 0 about php :-\ ))I have a nice third party program that basically takes saved stats from a game and then puts it to a database to allow it to display on a website. I cannot get it to actually parse the .lua file (thats the place the stats are saved) and then put those pieces of information in the correct tables in the database. I did not set up any of the tables - it did it all automatically on install, I just had to point it to the database and give it the access user name and password. If I manually start adding in information to the table, it displays it fine which is why i think its just not sorting it all correctly to stash it in the tables. I have tried serveral databases same result. I have even tried other .lua files (friends listings) same result. However, me being a slouch when it comes to coding am not sure what I am looking for to try and troubleshoot this issue. I have posted over at the programs Devs forum and got no real good response. Any poke in a direction would be appreciated!I am not sure what all you need to know but I am using:mysql: 4.1.18php myadmin:2.8.01and the program im trying to work with is wowroster v1.70 Quote Link to comment https://forums.phpfreaks.com/topic/16284-parsing-a-file/ Share on other sites More sharing options...
manmadareddy Posted August 2, 2006 Share Posted August 2, 2006 Can you please provide the sample file.I will write the code for parsing that file and i will send it to you. Quote Link to comment https://forums.phpfreaks.com/topic/16284-parsing-a-file/#findComment-67635 Share on other sites More sharing options...
DragnTougne Posted August 2, 2006 Author Share Posted August 2, 2006 http://www.dawnofredemption.smarciz.com/dawnphp/ the characterprofiler.rar file (if you need another format let me know please)Any assistance is MUCH appreciated! Quote Link to comment https://forums.phpfreaks.com/topic/16284-parsing-a-file/#findComment-67761 Share on other sites More sharing options...
manmadareddy Posted August 2, 2006 Share Posted August 2, 2006 Hi I am very sorryI don't have .rar files accessing.Can you send that as zip file and send me .sql file alsowhere you want to insert.I mean table structure and all.You need the parser code in PHP only right? Quote Link to comment https://forums.phpfreaks.com/topic/16284-parsing-a-file/#findComment-67768 Share on other sites More sharing options...
DragnTougne Posted August 2, 2006 Author Share Posted August 2, 2006 ok re uploaded the char. prof as zip. also uploaded roster_DB.sql.zip as well as one that says help.zip - that is all the files for the program (not sure if you need/want those). I included the programs files because they have lots of php files for each type of stat breakdown so im not sure if one main file passes variables to those files or how it all quite works...Yes, basically I'm just looking for the parsing code that will take the data from the file and put it in the correct place in the table. Quote Link to comment https://forums.phpfreaks.com/topic/16284-parsing-a-file/#findComment-67829 Share on other sites More sharing options...
manmadareddy Posted August 3, 2006 Share Posted August 3, 2006 Hi after seeing that i came to know that i am unable to do that .I am very sorry for that. Quote Link to comment https://forums.phpfreaks.com/topic/16284-parsing-a-file/#findComment-68468 Share on other sites More sharing options...
DragnTougne Posted August 3, 2006 Author Share Posted August 3, 2006 ;D dont worry about it, I appreciate the fact that you even tried and were willing to take a look at it. Thank you. Quote Link to comment https://forums.phpfreaks.com/topic/16284-parsing-a-file/#findComment-68519 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.