Page 1 of 1

Webspace for the PB Community Projects for free!

Posted: Tue Jul 12, 2005 8:43 pm
by 125
Hello community,

because Lukaso had problems with his webspcace provider 2 month ago and the idea of a Purebasic clan came, he bought a webserver for the next 2 Years. On this server he hosts the webspace for our clanmembers. He thought of a big Idea to give the PB-Community a big gift. He quickly asked the people at IRC which has a Right to Vote(Me,hardfalcon,zigapeda). Which found this Idea great! I don't want to talk around it so:

Yeah, we thought we give active members of the Community webspace for their projects, but to get webspace you must fullfil these things:

- The Applicant which is applicating for webspace should be a little bit longer a member of the community ;)
- At the "About" window should be appear "Pure Basic", like "Powered by PureBasic"
- The Project should have a future, Projects which aren't maintained good, are bad at this place.
- Much supported are Projects for pb like Librarys,Editors,Tools for PB..
- A big Projectdiscription must be there

If someone needs webspace, he should mail Lukaso, we will discuss about it in our HosterGroup(125,Hardfalcon.Zigapeda and Me), and will think about if we give you webspace.

Features:
- Server is running Suse Linux 9.1 and is administrated bye 125 and Lukaso.
- Traffic is like unlimited (but it shouldn't be too much)
- Space is sized by you (It shouldn't be too big)
- PHP 4.3.8, MySQL-Databases, CGI, FTP-Users, Confixx (!!), Webstatistics, PHPMyAdmin, ...

Applications to: lukaso@gpfclan.de or here in the Thread.

For German speaking people: http://forums.purebasic.com/german/view ... hp?p=44228

Yours faithfully 125, Lukaso and the others of the GPF - Crew

Posted: Tue Jul 12, 2005 10:03 pm
by GedB
125,

This is a great service you are offering.

You would consider allowing a PureBasic compiled CGI application to run on the web server?

I'm creating a Wiki in PB and it would be great if I could find a server to use it on.

Posted: Tue Jul 12, 2005 10:16 pm
by 125
Hi,
Yes we allow. And we host you if you want :)

I must know following things:
-How many MB Webspace do you need
-How many Databases
-How many FTP Accs

When you told us i will make your acc avaible :)

Posted: Tue Jul 12, 2005 10:31 pm
by GedB
That is fantastic.

The project I'm working on is initially a PB Wiki.

However, that is just the start of it. The wiki will be based upon a RESTful web server coded in PB.

Basically, you will be able to deploy a DLL and then browse to functions within that DLL.

So, if you DLL is called App.Dll and it has functions GetDetails you can enter 'www.site.com/App.Dll/GetDetails?Param1=This&Param2=That' and the server will call GetDetails with these paramaters and return the result to the caller.

It will make much more sense when you see it.

I'm calling it The puREST Server.

All I need is 5MB and an single FTP account.

This is very generous of you. Thanks.

Edit: No need for a Database.

Posted: Tue Jul 12, 2005 10:43 pm
by 125
Hi,
Ok your account is ready :D I sent a pm, inside it you can find the Login Data for Confixx,FTP,... :)

Have Fun!

Posted: Tue Jul 12, 2005 11:01 pm
by GedB
This is fantastic. Thanks.

Any idea where I can get a 'Purebasic' logo from.

Re: Webspace for the PB Community Projects for free!

Posted: Tue Jul 12, 2005 11:24 pm
by Lukaso
125 wrote: If someone needs webspace, he should mail Lukaso,
[...]
Applications to: lukaso@gpfclan.de or here in the Thread.
You can send my now a PM also :wink:
GedB wrote:This is fantastic. Thanks.
Any idea where I can get a 'Purebasic' logo from.
No Problem :wink:
Look here: http://images.google.com/images?svnum=1 ... basic+logo

MFG Lukaso

Posted: Wed Jul 13, 2005 9:48 am
by Num3
I whish to make this sugestion...

Since PureArea has been dead in terms of source code (last update Jan 2004), maybe we could take this offer and build a simple code repository site, with an automated upload tool or copy/paste tool and even a cgi script that can be called from a client executable for posting code there.
(I don't mind making the PB Code Poster)

Something very simple, 1 input box for code name and 2 drop down boxes for placing the code in the right category.

Finally a cgi script that reads the database and generates the site...

Just a thought!

Posted: Wed Jul 13, 2005 11:52 am
by Fred
I don't think PureArea is dead, there is just a lot of sources code which have mostly been updated. A new version should be out soon from what i can tell.

Posted: Wed Jul 13, 2005 3:45 pm
by Lukaso
I want to write a PB Code Wiki, but I did not have much time. I already begun with a PB Syntaxhighlighting Function in PHP 2 months ago.

MFG Lukaso

Posted: Thu Jul 14, 2005 12:45 pm
by Tommeh
You would consider allowing a PureBasic compiled CGI application to run on the web server?
If you are using Paul or El_Chonis library to compile the CGI app, then i think it will only work on windows, not linux :(

Posted: Thu Jul 14, 2005 1:07 pm
by 125
Tommeh wrote:
You would consider allowing a PureBasic compiled CGI application to run on the web server?
If you are using Paul or El_Chonis library to compile the CGI app, then i think it will only work on windows, not linux :(
Hi,
At Linux, It's very simple to put out something with a CGI:

Code: Select all

PrintN("CONTENT-TYPE: text/html"+Chr(10)+Chr(10))
PrintN("HTMLCODE")
And with this Procedures, you can read Get and Post Vars:

Code: Select all

Procedure.s CGI_GetPostVar(VarName$)
POST_DATA$=getenv_("POST_DATA")
For x=1 To CountString(POST_DATA$,"&")+1
  If UCase(StringField(StringField(POST_DATA$,x,"&"),1,"="))=UCase(VarName$)
    ProcedureReturn StringField(StringField(POST_DATA$,x,"&"),2,"=")
    Return
  EndIf
Next
EndProcedure

Procedure.s CGI_GetGetVar(VarName$)
QUERY_STRING$=getenv_("QUERY_STRING")
For x=1 To CountString(QUERY_STRING$,"&")+1
  If UCase(StringField(StringField(QUERY_STRING$,x,"&"),1,"="))=UCase(VarName$)
    ProcedureReturn StringField(StringField(QUERY_STRING$,x,"&"),2,"=")
    Return
  EndIf
Next
EndProcedure
:)

125

Posted: Thu Jul 14, 2005 1:57 pm
by Tommeh
I know that much for CGI on linux, but what stumps me is STDout, how do you do that on linux?

Posted: Thu Jul 14, 2005 2:00 pm
by 125
Could you tell me what STDout does, pls? Thx :mrgreen:

Posted: Thu Jul 14, 2005 3:01 pm
by Tommeh
STDout is standard output, its where the program returns the information and the calling process can read it, for instance getting the enviroment variables like QUERY_STRING is STDin, on linux (i think) STDout is the file descriptor 1. Its how php returns the result for apache to sent.

For example, if you do like php.exe script.php in console, it will show you all the information it has given back, thats the STDout