Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Php is killing me...

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Random spam
View previous topic :: View next topic  
Author Message
Cryoma
Member of the Year
Reputation: 198

Joined: 14 Jan 2009
Posts: 1819

PostPosted: Tue Oct 26, 2010 2:04 pm    Post subject: Php is killing me... Reply with quote

Ugh.
I've managed to code a working register and log in script, then a basic account page, but now I need to somehow build a trade function and I'm totally lost.
Back to top
View user's profile Send private message
shitposter
Newbie cheater
Reputation: 5

Joined: 12 Nov 2008
Posts: 15

PostPosted: Tue Oct 26, 2010 2:07 pm    Post subject: Reply with quote

THINK, THINK HARD.
Back to top
View user's profile Send private message
Aniblaze
Grandmaster Cheater Supreme
Reputation: 138

Joined: 23 Apr 2006
Posts: 1757
Location: The Netherlands

PostPosted: Tue Oct 26, 2010 2:16 pm    Post subject: Reply with quote

Uhm, perhaps I can be of assistance?
Back to top
View user's profile Send private message
Cryoma
Member of the Year
Reputation: 198

Joined: 14 Jan 2009
Posts: 1819

PostPosted: Tue Oct 26, 2010 2:17 pm    Post subject: Reply with quote

Augustine wrote:
Uhm, perhaps I can be of assistance?

Messenger?
Back to top
View user's profile Send private message
Aniblaze
Grandmaster Cheater Supreme
Reputation: 138

Joined: 23 Apr 2006
Posts: 1757
Location: The Netherlands

PostPosted: Tue Oct 26, 2010 2:23 pm    Post subject: Reply with quote

Cryoma wrote:
Augustine wrote:
Uhm, perhaps I can be of assistance?

Messenger?

Netsend?
Back to top
View user's profile Send private message
Up2Admin
I'm a spammer
Reputation: 126

Joined: 17 Oct 2007
Posts: 6548
Location: Texas

PostPosted: Tue Oct 26, 2010 5:11 pm    Post subject: Reply with quote

Should be pretty easy...

In the 'users' table, you could have a row for the currency. Just have a textbox for the value to send, and a button to send it. Using PHP, you could subtract the amount from the sender, and add the amount to the receiver. Blah blah blah, just adding and subtracting with a textbox and a button.

_________________
Back to top
View user's profile Send private message Visit poster's website
Garavito
Master Cheater
Reputation: 0

Joined: 21 Jun 2009
Posts: 387

PostPosted: Tue Oct 26, 2010 5:13 pm    Post subject: Reply with quote

Python is the key to all of your struggles(usethesnaketojimmythelock)
_________________
Back to top
View user's profile Send private message
Slugsnack
Grandmaster Cheater Supreme
Reputation: 71

Joined: 24 Jan 2007
Posts: 1857

PostPosted: Tue Oct 26, 2010 5:16 pm    Post subject: Reply with quote

Use JSP and App Engine and I'll share my knowledge and expertise with you.
Back to top
View user's profile Send private message
Garavito
Master Cheater
Reputation: 0

Joined: 21 Jun 2009
Posts: 387

PostPosted: Tue Oct 26, 2010 5:18 pm    Post subject: Reply with quote

Slugsnack wrote:
Use JSP and App Engine and I'll share my knowledge and expertise with you.


Yo, Slugsnack don't you own a blog? also I think I've seen you on Digitalgangster Forums.
Back to top
View user's profile Send private message
Up2Admin
I'm a spammer
Reputation: 126

Joined: 17 Oct 2007
Posts: 6548
Location: Texas

PostPosted: Tue Oct 26, 2010 5:18 pm    Post subject: Reply with quote

Ca wrote:
Python is the key to all of your struggles(usethesnaketojimmythelock)
Python is terrible, I don't even see how it would contribute to OP's goal.
_________________
Back to top
View user's profile Send private message Visit poster's website
Garavito
Master Cheater
Reputation: 0

Joined: 21 Jun 2009
Posts: 387

PostPosted: Tue Oct 26, 2010 5:19 pm    Post subject: Reply with quote

Up2Admin wrote:
Ca wrote:
Python is the key to all of your struggles(usethesnaketojimmythelock)
Python is terrible, I don't even see how it would contribute to OP's goal.


http://vortexchan.org


that's the power of python, baby.
Back to top
View user's profile Send private message
Monkeys
I post too much
Reputation: 29

Joined: 20 Jul 2006
Posts: 2411

PostPosted: Tue Oct 26, 2010 5:19 pm    Post subject: Reply with quote

Up2Admin wrote:
Should be pretty easy...

In the 'users' table, you could have a row for the currency. Just have a textbox for the value to send, and a button to send it. Using PHP, you could subtract the amount from the sender, and add the amount to the receiver. Blah blah blah, just adding and subtracting with a textbox and a button.


Safer to divide currency from information.
And currency might be something else than just one numerical value.

If the trading happens between two humans with a possible delay between acceptance of both, you'll need to create a buffer.

For example, once terms have been set, one person accepts and the terms get stored in the buffer.
If the other person accepts, the buffer gets checked if it already exists, if it does the terms get executed, if it doesn't, it gets added.



But yeah, depends on what exactly you're trading and in which timeframe.

_________________
Get a lid on that zombie,
he's never gonna be alri-i-ight.
Oooh get a lid on that zombie,
or he's gonna feed all night.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Random spam All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites