.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

Raging Tiger- Save $9.00
winSPMBT: Main Battle Tank- Save $6.00

   







Go Back   .com.unity Forums > Shrapnel Community > Space Empires: IV & V

Reply
 
Thread Tools Display Modes
  #41  
Old April 22nd, 2005, 05:17 PM
Gandalf Parker's Avatar

Gandalf Parker Gandalf Parker is offline
Shrapnel Fanatic
 
Join Date: Oct 2003
Location: Vacaville, CA, USA
Posts: 13,736
Thanks: 341
Thanked 479 Times in 326 Posts
Gandalf Parker is on a distinguished road
Default Re: OT: Look what I can do...

Quote:
Instar said:
Quote:
Gandalf Parker said:
Since we are on this subject.....

I would be interested in a CGI which is the simplest possible for UPLOADING a file to a linux webserver. Such as, if I click it then it goes the full path to "C://program files/Space Empires IV/mygame/myturn.fil" and uploads it. No questions, no options, no checks and verifications.
Perl is what you want for CGI. PHP is better though, IMO.
I wouldnt care if it were written in Basic. In this case my definition of "better" would be simplest. Kindof like a game my programmers used to play called "I can do that in # lines of code".
__________________
-- DISCLAIMER:
This game is NOT suitable for students, interns, apprentices, or anyone else who is expected to pass tests on a regular basis. Do not think about strategies while operating heavy machinery. Before beginning this game make arrangements for someone to check on you daily. If you find that your game has continued for more than 36 hours straight then you should consult a physician immediately (Do NOT show him the game!)
Reply With Quote
  #42  
Old April 22nd, 2005, 09:28 PM
Instar's Avatar

Instar Instar is offline
Major
 
Join Date: Aug 2000
Posts: 1,246
Thanks: 0
Thanked 0 Times in 0 Posts
Instar is on a distinguished road
Default Re: OT: Look what I can do...

Quote:
Gandalf Parker said:
Quote:
Instar said:
Quote:
Gandalf Parker said:
Since we are on this subject.....

I would be interested in a CGI which is the simplest possible for UPLOADING a file to a linux webserver. Such as, if I click it then it goes the full path to "C://program files/Space Empires IV/mygame/myturn.fil" and uploads it. No questions, no options, no checks and verifications.
Perl is what you want for CGI. PHP is better though, IMO.
I wouldnt care if it were written in Basic. In this case my definition of "better" would be simplest. Kindof like a game my programmers used to play called "I can do that in # lines of code".
Well, do you want to learn how to do it yourself, or do you want a freebie or something? I think there are some free Perl cgi scripts...
__________________
When a cat is dropped, it always lands on its feet, and when toast is dropped, it always lands with the buttered side facing down. I propose to strap buttered toast to the back of a cat. The two will hover, spinning inches above the ground. With a giant buttered cat array, a high-speed monorail could easily link New York with Chicago.
Reply With Quote
  #43  
Old April 22nd, 2005, 09:44 PM
Gandalf Parker's Avatar

Gandalf Parker Gandalf Parker is offline
Shrapnel Fanatic
 
Join Date: Oct 2003
Location: Vacaville, CA, USA
Posts: 13,736
Thanks: 341
Thanked 479 Times in 326 Posts
Gandalf Parker is on a distinguished road
Default Re: OT: Look what I can do...

No on the learning. Ive got a ton of books and help sites on that. I just want something that I click and it sends
"D:\Program Files\Space Empires IV Gold\Empires\mine.emp". No questions, no choices. If its simple enough then it will serve my purpose of being able to modify it on the fly.

I thought there might be someone here who writes their own CGI's. If not then no problem, I can keep asking around.
__________________
-- DISCLAIMER:
This game is NOT suitable for students, interns, apprentices, or anyone else who is expected to pass tests on a regular basis. Do not think about strategies while operating heavy machinery. Before beginning this game make arrangements for someone to check on you daily. If you find that your game has continued for more than 36 hours straight then you should consult a physician immediately (Do NOT show him the game!)
Reply With Quote
  #44  
Old April 23rd, 2005, 01:59 AM
Instar's Avatar

Instar Instar is offline
Major
 
Join Date: Aug 2000
Posts: 1,246
Thanks: 0
Thanked 0 Times in 0 Posts
Instar is on a distinguished road
Default Re: OT: Look what I can do...

What kind of webserver you running? I assume some kind of Apache, right?
__________________
When a cat is dropped, it always lands on its feet, and when toast is dropped, it always lands with the buttered side facing down. I propose to strap buttered toast to the back of a cat. The two will hover, spinning inches above the ground. With a giant buttered cat array, a high-speed monorail could easily link New York with Chicago.
Reply With Quote
  #45  
Old April 23rd, 2005, 09:42 AM
Gandalf Parker's Avatar

Gandalf Parker Gandalf Parker is offline
Shrapnel Fanatic
 
Join Date: Oct 2003
Location: Vacaville, CA, USA
Posts: 13,736
Thanks: 341
Thanked 479 Times in 326 Posts
Gandalf Parker is on a distinguished road
Default Re: OT: Look what I can do...

Quote:
Instar said:
What kind of webserver you running? I assume some kind of Apache, right?
Debian Linux, Apache. Dedicated, full root so anything can be added if its not already there for this.

Im half trying to move toward handling some PbEM games from the SysAdmin upward side of it rather than the WebMaster downward side usually used. The one stumbling block that I keep meaning to work on and never do, is an upload routine. Simple, single file going to a single location, no options. If someone can do that, great. If not then I will put it back on the back-burner till I get around to it.
__________________
-- DISCLAIMER:
This game is NOT suitable for students, interns, apprentices, or anyone else who is expected to pass tests on a regular basis. Do not think about strategies while operating heavy machinery. Before beginning this game make arrangements for someone to check on you daily. If you find that your game has continued for more than 36 hours straight then you should consult a physician immediately (Do NOT show him the game!)
Reply With Quote
  #46  
Old April 24th, 2005, 02:47 AM
Instar's Avatar

Instar Instar is offline
Major
 
Join Date: Aug 2000
Posts: 1,246
Thanks: 0
Thanked 0 Times in 0 Posts
Instar is on a distinguished road
Default Re: OT: Look what I can do...

Quote:
Gandalf Parker said:
Quote:
Instar said:
What kind of webserver you running? I assume some kind of Apache, right?
Debian Linux, Apache. Dedicated, full root so anything can be added if its not already there for this.

Im half trying to move toward handling some PbEM games from the SysAdmin upward side of it rather than the WebMaster downward side usually used. The one stumbling block that I keep meaning to work on and never do, is an upload routine. Simple, single file going to a single location, no options. If someone can do that, great. If not then I will put it back on the back-burner till I get around to it.
No promises, but I'll look into it. I'm pretty busy with work and the beta, but it should be really easy.
__________________
When a cat is dropped, it always lands on its feet, and when toast is dropped, it always lands with the buttered side facing down. I propose to strap buttered toast to the back of a cat. The two will hover, spinning inches above the ground. With a giant buttered cat array, a high-speed monorail could easily link New York with Chicago.
Reply With Quote
  #47  
Old April 24th, 2005, 03:04 AM
Instar's Avatar

Instar Instar is offline
Major
 
Join Date: Aug 2000
Posts: 1,246
Thanks: 0
Thanked 0 Times in 0 Posts
Instar is on a distinguished road
Default Re: OT: Look what I can do...

http://cgi-lib.berkeley.edu/ex/fup.html
Something like the above? It looks to be a fairly common Perl lib that takes a HTTP POST from the HTML form.
__________________
When a cat is dropped, it always lands on its feet, and when toast is dropped, it always lands with the buttered side facing down. I propose to strap buttered toast to the back of a cat. The two will hover, spinning inches above the ground. With a giant buttered cat array, a high-speed monorail could easily link New York with Chicago.
Reply With Quote
  #48  
Old April 24th, 2005, 10:25 AM
Gandalf Parker's Avatar

Gandalf Parker Gandalf Parker is offline
Shrapnel Fanatic
 
Join Date: Oct 2003
Location: Vacaville, CA, USA
Posts: 13,736
Thanks: 341
Thanked 479 Times in 326 Posts
Gandalf Parker is on a distinguished road
Default Re: OT: Look what I can do...

Quote:
Instar said:
http://cgi-lib.berkeley.edu/ex/fup.html
Something like the above? It looks to be a fairly common Perl lib that takes a HTTP POST from the HTML form.
No. Thats the kindof thing I found plenty of in google. But thanks. I can add it to my list of "maybe this one stipped down if I ever get time and motivation for it".

Gandalf Parker
__________________
-- DISCLAIMER:
This game is NOT suitable for students, interns, apprentices, or anyone else who is expected to pass tests on a regular basis. Do not think about strategies while operating heavy machinery. Before beginning this game make arrangements for someone to check on you daily. If you find that your game has continued for more than 36 hours straight then you should consult a physician immediately (Do NOT show him the game!)
Reply With Quote
  #49  
Old April 26th, 2005, 01:56 AM
Instar's Avatar

Instar Instar is offline
Major
 
Join Date: Aug 2000
Posts: 1,246
Thanks: 0
Thanked 0 Times in 0 Posts
Instar is on a distinguished road
Default Re: OT: Look what I can do...

Well, I don't understand what you want then. You want a webpage you visit to automatically upload a file from the user's computer? That just isn't very possible with standard Perl/PHP/HTML stuff. You can create a default value for the HTML input, if that is what you mean.
__________________
When a cat is dropped, it always lands on its feet, and when toast is dropped, it always lands with the buttered side facing down. I propose to strap buttered toast to the back of a cat. The two will hover, spinning inches above the ground. With a giant buttered cat array, a high-speed monorail could easily link New York with Chicago.
Reply With Quote
  #50  
Old April 26th, 2005, 02:11 AM
narf poit chez BOOM's Avatar

narf poit chez BOOM narf poit chez BOOM is offline
Shrapnel Fanatic
 
Join Date: Mar 2003
Location: CHEESE!
Posts: 10,009
Thanks: 0
Thanked 7 Times in 1 Post
narf poit chez BOOM is on a distinguished road
Default Re: OT: Look what I can do...

I think he wants a script that will upload a file in a specific location on his computer to a specific location on his webpage, so that if he wants to upload something different, all he has to do is change the addressing.
__________________
If I only could remember half the things I'd forgot, that would be a lot of stuff, I think - I don't know; I forgot!
A* E* Se! Gd! $-- C-^- Ai** M-- S? Ss---- RA Pw? Fq Bb++@ Tcp? L++++
Some of my webcomics. I've got 400+ webcomics at Last count, some dead.
Sig updated to remove non-working links.
Reply With Quote
Reply

Bookmarks

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 05:05 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2024, Shrapnel Games, Inc. - All Rights Reserved.