Jump to content


Photo

im new, thick and the tutorials scare me


  • Please log in to reply
11 replies to this topic

#1 l3lade

l3lade
  • Members
  • PipPip
  • Member
  • 20 posts

Posted 11 March 2006 - 09:29 PM

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 :(

#2 redarrow

redarrow
  • Members
  • PipPipPip
  • Advanced Member
  • 7,308 posts
  • Locationlondon

Posted 11 March 2006 - 09:52 PM

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?


Wish i new all about php DAM i will have to learn
((EMAIL CODE THAT WORKS))
http://simpleforum.ath.cx/mail2.inc
((PAYPAL INTEGRATION THAT WORKS))
http://simpleforum.a...aypal1_info.inc

#3 l3lade

l3lade
  • Members
  • PipPip
  • Member
  • 20 posts

Posted 11 March 2006 - 10:27 PM

flat files and yes sort of. hears the format that the game server gives me

86.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

#4 l3lade

l3lade
  • Members
  • PipPip
  • Member
  • 20 posts

Posted 12 March 2006 - 06:27 PM

no one :( ?

all i want to know is how to get a file then put it in a table

i 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

#5 l3lade

l3lade
  • Members
  • PipPip
  • Member
  • 20 posts

Posted 13 March 2006 - 04:33 PM

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?

#6 complex05

complex05
  • Members
  • PipPipPip
  • Advanced Member
  • 124 posts

Posted 13 March 2006 - 04:40 PM

please try to be more clear in what you are asking. I have no idea what you are trying to do.

#7 l3lade

l3lade
  • Members
  • PipPip
  • Member
  • 20 posts

Posted 13 March 2006 - 08:09 PM

Main things

1: download file

2: put in table

3: also put some in bars that increase on a bigger number

My hopes and dreams

3: convert html to php (possible?)

4: be able to edit my site. some sort of admin thing?

#8 l3lade

l3lade
  • Members
  • PipPip
  • Member
  • 20 posts

Posted 14 March 2006 - 05:13 PM

common guys i made it understanderbull

#9 shortj75

shortj75
  • Members
  • PipPipPip
  • Advanced Member
  • 118 posts
  • LocationPort Huron,mi

Posted 14 March 2006 - 05:40 PM

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
The Short One

hopfully this helps if it doesn't sorry
i won't write the code for you!!! you don't learn that way

#10 Kris

Kris
  • Staff Alumni
  • Advanced Member
  • 2,755 posts
  • LocationThe Internet

Posted 14 March 2006 - 05:51 PM

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.


Downloading the file
fopen()
fread() / file_get_contents()
fclose()

Put in table
explode()
count()
for()
mysql_query()

Creating bars
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.

#11 l3lade

l3lade
  • Members
  • PipPip
  • Member
  • 20 posts

Posted 14 March 2006 - 07:06 PM

thank you at long last some one knows what i want

#12 redarrow

redarrow
  • Members
  • PipPipPip
  • Advanced Member
  • 7,308 posts
  • Locationlondon

Posted 14 March 2006 - 07:23 PM

[!--quoteo(post=355004:date=Mar 14 2006, 07:06 PM:name=l3lade)--][div class=\'quotetop\']QUOTE(l3lade @ Mar 14 2006, 07:06 PM) View Post[/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.
Wish i new all about php DAM i will have to learn
((EMAIL CODE THAT WORKS))
http://simpleforum.ath.cx/mail2.inc
((PAYPAL INTEGRATION THAT WORKS))
http://simpleforum.a...aypal1_info.inc




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users