/    Sign up×
Community /Pin to ProfileBookmark

I need a bit of assistance

This is kind of difficult to explain so bare with me. I have a Starcraft II Replay Parser on my website which doesn’t require Registration to parse the Replay File.

[url]http://www.sc2x.net/upload_file.php[/url]

At the moment, when the user uploads his/her Replay and clicks Submit, it shows the Patch, the Build, the Team Size, the Game Speed, the Players, their Race, their Color, and the entire Chat Log. This is all correctly accurate information but it’s not where I want it to be.

Think YouTube for example, when you upload a video, it doesn’t display the video on the upload page when it’s completed, it generates a seperate page/url for the video. That’s exactly what I need it to do here. I need it to generate a different page and display the results there.

So far I’ve created the Tables in phpMyAdmin, though I have no idea if they are correct:

CREATE TABLE `Aaron21_Upload`.`preform` (
`mapversion` VARCHAR( 40 ) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL ,
`maptype` VARCHAR( 100 ) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL ,
`mapsize` VARCHAR( 3 ) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL ,
INDEX ( `mapversion` , `maptype` , `mapsize` )
) ENGINE = MYISAM CHARACTER SET utf8 COLLATE utf8_general_ci;

And here is the table for Table 2:

CREATE TABLE `Aaron21_Upload`.`playerresult` (
`playername` VARCHAR( 40 ) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL ,
`playerrace` VARCHAR( 7 ) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL ,
`playercolor` VARCHAR( 10 ) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL ,
`playerteam` VARCHAR( 1 ) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL ,
INDEX ( `playername` , `playerrace` , `playercolor` , `playerteam` )
) ENGINE = MYISAM CHARACTER SET utf8 COLLATE utf8_general_ci;

So now I need to be able to click upload, have it generate a new page, and show the information in those tables. What should I do?

to post a comment
PHP

0Be the first to comment 😎

×

Success!

Help @Mesden spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.20,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...