l3lade Posted March 11, 2006 Share Posted March 11, 2006 well im not quite sure how to say it but hear goes. how do i get a php that automaticly at 12.00 downloads and overwrites the old .txt file then saves it to the local server and then how do i make a php thing that detirmins the long line of numbers and puts them in a table then sends some of the later numbers to different pages (or ignores them and other pages use them) to make little bars that fill up the higher the mumber. just like this page [a href=\"http://www.rentnerschwemme.com/modules.php?name=Stats_mani\" target=\"_blank\"]the rank page for you to look at[/a]ill explian better if you want me to but my english is bad and im in a rush at the moment :( Quote Link to comment Share on other sites More sharing options...
redarrow Posted March 11, 2006 Share Posted March 11, 2006 Can someone exsplain this more clearly please.Are you asking how to set up a rating system ?Are you using a database or flat files? Quote Link to comment Share on other sites More sharing options...
l3lade Posted March 11, 2006 Author Share Posted March 11, 2006 flat files and yes sort of. hears the format that the game server gives me86.27.54.50,1142103157,1,1509,371,238,648,8,0,39218,138494,217,429,743,500,537,161,238,216,121,197,1,3,6,30,1,17,0,19,0,0,1,13,131,90,11,5,1,1,1,0,0,0,0,0,0,0,13279,3041,1,0,0,4,0,0,12,0,0,0,415,247,328,163,[RmmS] Ænima (uk)just want some of the numbers ignored and some in a table Quote Link to comment Share on other sites More sharing options...
l3lade Posted March 12, 2006 Author Share Posted March 12, 2006 no one :( ? all i want to know is how to get a file then put it in a tablei would also like it if i could modify my website[a href=\"http://www.rmmsclan.com\" target=\"_blank\"]http://www.rmmsclan.com[/a]and convert it to php, is that possible?so when i enter news i dont have to go through the hassle and if its bigger then the page it promps a new page or somthink please help Quote Link to comment Share on other sites More sharing options...
l3lade Posted March 13, 2006 Author Share Posted March 13, 2006 ok... i dont like bumping but ive waited quite a long time so...im i being compleatly think or does no one know how to do this? Quote Link to comment Share on other sites More sharing options...
complex05 Posted March 13, 2006 Share Posted March 13, 2006 please try to be more clear in what you are asking. I have no idea what you are trying to do. Quote Link to comment Share on other sites More sharing options...
l3lade Posted March 13, 2006 Author Share Posted March 13, 2006 [u]Main things[/u]1: download file 2: put in table3: also put some in bars that increase on a bigger number[u]My hopes and dreams[/u]3: convert html to php (possible?)4: be able to edit my site. some sort of admin thing? Quote Link to comment Share on other sites More sharing options...
l3lade Posted March 14, 2006 Author Share Posted March 14, 2006 common guys i made it understanderbull Quote Link to comment Share on other sites More sharing options...
shortj75 Posted March 14, 2006 Share Posted March 14, 2006 do you have any code started so we can see what you are working with because no one here is gonna want to write out a long and really coplex code for someone else to use but if you have a code that is started or just needs tweeling you will get alot of help and for future reference if you have a problem post your code in your first topic and you will get helped if help is possible for the code much quicker sorry if that sounds like i am comming off rude i am not meaning to Quote Link to comment Share on other sites More sharing options...
zq29 Posted March 14, 2006 Share Posted March 14, 2006 The best thing to help you on your way would be a list of the functions I would use here, then you can look them up in the manual to see how they work and how they are used. Most manual pages have examples scripts and plenty of user input to get a good idea of where to start. If you are unaware of the manual, you can find it at php.net.[b][u]Downloading the file[/u][/b]fopen()fread() / file_get_contents()fclose()[b][u]Put in table[/u][/b]explode()count()for()mysql_query()[b][u]Creating bars[/u][/b]mysql_query()mysql_fetch_assoc()while()Probably best to do this with a set of images, maybe 10 different ones, each one with the bar slightly more filled in, then use a switch() or elseif() control structure to decide which image to use for the current number. Quote Link to comment Share on other sites More sharing options...
l3lade Posted March 14, 2006 Author Share Posted March 14, 2006 thank you at long last some one knows what i want Quote Link to comment Share on other sites More sharing options...
redarrow Posted March 14, 2006 Share Posted March 14, 2006 [!--quoteo(post=355004:date=Mar 14 2006, 07:06 PM:name=l3lade)--][div class=\'quotetop\']QUOTE(l3lade @ Mar 14 2006, 07:06 PM) [snapback]355004[/snapback][/div][div class=\'quotemain\'][!--quotec--]thank you at long last some one knows what i want[/quote][a href=\"http://www.phpfreaks.com/tutorials/9/0.php\" target=\"_blank\"]http://www.phpfreaks.com/tutorials/9/0.php[/a]Look at this link tell me if this is what your looking for the idear i mean know work it out how to add small images to appear on a bar and increase.good luck. Quote Link to comment 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.