php script

Overzicht Reageren

Sponsored by: Vacatures door Monsterboard

19/09/2003 09:54:00
Quote Anchor link
--------------------------------------------------------------------------------

Het is voor een online flash spelletje wat DragRacer heet.. ik zit in het team, en er werd mij gevraagd of ik iemand kon vinden die dit kon maken!
omdat het spelletje binnenkort online gaat, zodat je tegen elkaar kan racen op internet enzow.

accounts.php

Accesses a mySQL database to add, modify and delete Drag Racer Online
accounts.

Parameters : ID, Alias, Type, Action
ID : the Users ID number. a Unique String for each user. (ex.0000001A)
Alias : The Users Nickname. When adding or modifying, your have to check
for duplicates. (ex.GeZa)
Type : Either 1,2,3,4 or 5. They are used for Account Types
Action : Either "add" "modify" or "delete"

Description :
If "Add" is passed :
Append the user's ID, Name and Type to the end of the SQL
Check for duplicates.
If there are duplicates return 'namecheck=false'
Else, return 'namecheck=true'
If "Modify" is passed
Scroll to the User's ID
Change their Name & Type to match params
Check for Duplicates
If there are duplicates return 'namecheck=false'
Else, return 'namecheck=true'
If "delete" is passed
Scroll to the User's ID
Delete that Element in the Database

** Note to return values so that they work in flash, start off with this
line at the top of the file :

print "Content-type: text/html \n\n";

and then to return a variable :
print "variablename=variablevalue";

if you want to add more variable returns :
print "&variablename2=variablevalue";

(That is in Perl/CGI)

Do that one first, I'll see if it works, then We'll move onto RaceTeams.php,
Version.php and News.php



wie zou mij AUB kunnen helpen met dit script want ik kom er egt niet uit.
en mischien zou diegene ook willen helpen met die andere php scripts.
 
PHP hulp

PHP hulp

23/04/2024 08:31:02
 
B a s
Beheerder

B a s

19/09/2003 09:58:00
Quote Anchor link
misschien is het handig voor iedereen om te weten of hier ook een vergoeding aan vast zit. denk dat alleen de real diehards phpers gratis zo'n script voor je zouden maken .. :)
 
Sander D

Sander D

19/09/2003 10:00:00
Quote Anchor link
Opzich kan iemand die die slechts een beetje verstand van PHP en MySQL dit maken. Je hoeft alleen te weten hoe je via PHP gegevens uit een database leest, erin schrijft, en wijzigt.

Maar zoals bas al zei, krijg je hier ook iets voor?
 

19/09/2003 12:08:00
Quote Anchor link
Ik kan zorgen voor een gratis versie van de game..

eerst een aantal gratis beta's, want daar moet je eigenlijk al voor betalen,

en dan het echte spel, ook gratis, het is egt gaaf, en het is online, met raceTeams en accounts enzow!

noem maar op
 
B a s
Beheerder

B a s

19/09/2003 12:42:00
Quote Anchor link
GeZa, ik heb het helaas te druk met andere dingen.. :/
 

21/09/2003 22:09:00
Quote Anchor link
niemand anders die wel wat tijd heb..?
 



Overzicht Reageren

 
 

Om de gebruiksvriendelijkheid van onze website en diensten te optimaliseren maken wij gebruik van cookies. Deze cookies gebruiken wij voor functionaliteiten, analytische gegevens en marketing doeleinden. U vindt meer informatie in onze privacy statement.