Go Back   Cloud Computing > Support > PHP Forum
 

Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old 08-27-11, 00:20
BOD Member
 
Join Date: Aug 2011
Posts: 76
Default File Editing

Hi,

I was wondering, how could i log on to my server, edit it a file and then upload it again?

Its going to be for my Paypal Instant Payment Notification so when they purchase my game, it goes into a file, chooses a random serial key, sends them an email with it in, then delete the serial key from that same file and then put the serial key into another file, so my register program can check if its valid.
Reply With Quote
  #2 (permalink)  
Old 09-03-11, 08:36
Rozanne's Avatar
BOD Member
 
Join Date: Nov 2010
Posts: 116
Default

Do you have a root access to your account? If so, then you are able to edit file on your server directly. Paypal server should call the script on your server and pass the target emial to it. Then your script reads the file with keys into array, chooses the required key, sends an email, deletes the array entry ...
__________________
BODHost.com: | Dedicated Server Hosting | Cloud Server Hosting
Ph. : +1.866-662-0909 | Email : sales@bodhost.com
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump


All times are GMT -6. The time now is 01:16.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
Copyright © 1999-2012, BODHost Ltd. All rights reserved.