need php help

03moscropl

Flash Freak
Messages
698
Reaction score
0
Points
16
i have got a php script that works using no data bases it simple looks in the folder given finds the name of the game by looking for the first file name then onced clicked takes you to the page were there is the pluging for it, how ever all images must be gif can be solved by chaning the end by cpanel filemanger, and the flash movies are all the smale size.


se it in action

http://dragongamer.net/v1/modules.php?name=MiniClip_Games

the is beta testing i am working on admin!
 

hartap

New Member
Messages
392
Reaction score
0
Points
0
i don't get his problem...
is the game in your hosting or his hosting..?
if in your friend hosting.. u must know the real url
 

NewFuture

New Member
Messages
1,658
Reaction score
0
Points
0
03moscropl said:
i have got a php script that works using no data bases it simple looks in the folder given finds the name of the game by looking for the first file name then onced clicked takes you to the page were there is the pluging for it, how ever all images must be gif can be solved by chaning the end by cpanel filemanger, and the flash movies are all the smale size.


se it in action

http://dragongamer.net/v1/modules.php?name=MiniClip_Games

the is beta testing i am working on admin!

THAT IS EXACTLY WHAT I WANT LOL ! SO IF ANY CUD HLP ME DOING THAT I WILL REWARD YOU,
 
Last edited:

chitwa

New Member
Messages
128
Reaction score
0
Points
0
Ok, how about this, in your form that you give to the user, e.g 'gamechoice.html' make a link like this:
<a href="game.php?name=aqua&type=puzzle>play the aqua puzzle</a>

when a user cllicks this button, gamechoice.html will call game.php with the following variables:
$_GET['name'] = "aqua"
$_GET[type']="puzzle"

or
$HTTP_GET_VARS['name']="aqua"
$HTTP_GET_VARS['type']="puzzle"

You can then search the database with these
Sorry for taking so long to write
 
Last edited:

NewFuture

New Member
Messages
1,658
Reaction score
0
Points
0
could you help me set that up? do you have msn wer we can talk easier?
 

chitwa

New Member
Messages
128
Reaction score
0
Points
0
Ok a very fast page
complete code for sample gamechoice.html

<html><head><title>Games</title></head>
<body><a href="game.php?name=aqua&type=puzzle>play the aqua puzzle</a>
</body>
</html>

Complete code for game.php

<?php
echo $HTTP_GET_VARS['name'];
echo $HTTP_GET_VARS['type'];
?>

Put both of these in a server. When you click on the link, you should see "aqua" and "puzzle".
 

oab

New Member
Messages
918
Reaction score
0
Points
0
how is your database setup? or do you need help?

Aim: acewebd
 

chitwa

New Member
Messages
128
Reaction score
0
Points
0
Ok, then, what do you want for your site? PM me the whole general description and I will see what I can do
 

NewFuture

New Member
Messages
1,658
Reaction score
0
Points
0
oab said:
how is your database setup? or do you need help?

Aim: acewebd

right i need help witht he actual scripting, and the databse which will go with that script
 

chitwa

New Member
Messages
128
Reaction score
0
Points
0
Hi av just checked out your site, good layout by the way. Let me undertand this better step by step. 1)The icons i see are main links that produce a page with other links e.g the action link opens a page with all action games? 2)From the action games page, a click opens the selected game. is this correct?
 

oab

New Member
Messages
918
Reaction score
0
Points
0
okay i think i know what you want if you would im me i could help you get it set up but im not going to do it if you dont im me..
 
Top