PureBasic Forum
https://www.purebasic.fr/english/

PureArea.net - Several News + (german) Showcase online
https://www.purebasic.fr/english/viewtopic.php?f=14&t=13231
Page 8 of 9

Author:  Andre [ Wed Oct 28, 2015 11:42 pm ]
Post subject:  Re: PureArea.net - Several News + (german) Showcase online

I know about the problems of non-actual pages on my website (my missing time... :?), but anyway here is the latest News on the today updated www.PureArea.net:
Quote:
PureBasic 5.40 released - many great improvements!

While Fred released this year the new PureBasic-"sister product" SpiderBasic for web client development (for which a licence at the price of 49 Euro can also be ordered at me), during the last months the full force of the PureBasic team lay on the further development of PureBasic.

And the result is impressive: a lot of new commands (e.g. new Database commands, a completely new VectorDrawing library) and new functions (HTTPS support, additional encryption algorithms, creating 7z archives, etc.) brought a lot of positive reactions from the PB-community to the team.

The complete list of the innovations can be found in the History! See also the updated Update- and Download-sites. Furthermore the latest Online-Manual for PB 5.40+ is available - this is also available as download here.

[Screenshots] VectorDrawing + OpenGL 3D Demo

The version 5.40 is again a so-called LTS-version, which will be maintained for 2 years (without changes to functionality / syntax) through 5.4x bug-fix releases. New commands / functions are reserved to parallel appearing new versions (v5.50 ff.). And like always free for registered users!

Who still does not have a licence for a full-version, can order it fast and easy about me (order-site + german FAQ-sites).

Author:  Andre [ Tue Jan 05, 2016 12:51 am ]
Post subject:  Re: PureArea.net - Several News + (german) Showcase online

My website got another update:

This time an interesting interview with Fred and freak.

Read more about it in the separate announcement thread: viewtopic.php?f=14&t=64493

Author:  Andre [ Sat Mar 18, 2017 12:00 am ]
Post subject:  Re: PureArea.net - Several News + (german) Showcase online

Unfortunately not much new on my website http://www.PureArea.net (very limited free time, sorry!), but I posted some screenshots of my upcoming PureBasic project in the 'News' section there! :mrgreen:

Author:  djes [ Sat Mar 18, 2017 12:09 am ]
Post subject:  Re: PureArea.net - Several News + (german) Showcase online

Yep, nice to see your project, it looks impressive ! Thank you for the credits :)

Author:  Andre [ Sun Mar 19, 2017 4:36 pm ]
Post subject:  Re: PureArea.net - Several News + (german) Showcase online

djes wrote:
Yep, nice to see your project, it looks impressive ! Thank you for the credits :)


You're welcome & thanks! :D

As PBMap is currently only included in my (internal) editor tool, it will probably also improve GeoWorld itself with OpenStreetMap one day... :mrgreen:

Author:  Andre [ Wed Mar 22, 2017 11:43 pm ]
Post subject:  Re: PureArea.net - Several News + (german) Showcase online

I just added a 4th screenshot of my GeoWorld project in the last News message on http://www.PureArea.net, to show the project working on MacOS too (and this way how easy this cross-platform programming is with PureBasic :mrgreen:).

Author:  Lord [ Thu Mar 23, 2017 8:10 am ]
Post subject:  Re: PureArea.net - Several News + (german) Showcase online

Hello Andre!

This is what I get trying to look into the "Showcase":
Quote:
Fatal error: Call to undefined function session_is_registered() in /www/htdocs/v079056/pb/showcase/inc/func.inc.php on line 115

Author:  Andre [ Fri Mar 24, 2017 12:00 am ]
Post subject:  Re: PureArea.net - Several News + (german) Showcase online

Lord wrote:
This is what I get trying to look into the "Showcase":
Quote:
Fatal error: Call to undefined function session_is_registered() in /www/htdocs/v079056/pb/showcase/inc/func.inc.php on line 115

Yes, sorry.

I need to find a solution (or the needed help for fixing it), when I'm back from holidays.
It's surely because my website provider ended support for older PHP versions... :?

Author:  #NULL [ Fri Mar 24, 2017 10:20 pm ]
Post subject:  Re: PureArea.net - Several News + (german) Showcase online

you should access the $_SESSION superglobal directly instead of using these deprecated functions:
- session_register()
- session_unregister()
- session_is_registered()

you can find dirty fixes on the net, like defining similar functions if they don't exist but
i'm not sure they can work under all circumstances. you might be lucky if you only have to change
showcase/inc/func.inc.php or similar includefiles. anyway you can try to put the following snippet
at the beginning of your scripts or your bootstrap file (if you have one) and see if it works:
Code:
session_start();

if (!function_exists('session_register')) {

   function session_register() {
      $args = func_get_args();
      foreach ($args as $key) {
         global $$key;
         $_SESSION[$key] = $$key;
         $$key = &$_SESSION[$key];
      }
   }

   function session_is_registered($key) {
      return array_key_exists($key, $_SESSION);
   }

   function session_unregister($key) {
      unset($_SESSION[$key]);
   }
}


session_register() started the session implicitly if not done yet, that's why you would have to call
session_start() early in your script like at the very beginning and before using the session array
if you did not call session_start() already.

session_register() could also be called with variable argument list (multiple parameters at once), that's
why the func_get_args() is used above.

the reference sharing (the ampersand before $_SESSION in session_register()) did not work here as i would expect,
but there is chance it doesn't matter if you just set some simple session vars at the beginning of a script and
they dont get updated.

in case you want to update your scripts the right way i guess you would use the session array directly as done in these
functions, and use it also directly instead of some global variables that you might have registered until now.
so instead of
Code:
$myGlobalVar = 123;
...
session_register("myGlobalVar");
you use
Code:
$_SESSION['myGlobalVar'] = 123;
and array_key_exists() and unset().


i can not test the original functionality because i don't have the php version, so i cannot guarantee it works. and who knows
what's the next fatal error if the first one gets fixed..

anyway and enjoy you vacation first 8)

Author:  hessu [ Mon Apr 17, 2017 4:49 am ]
Post subject:  Re: PureArea.net - Several News + (german) Showcase online

I can,t reach your site.
I use malware bytes and it says that you have a malicious website.
:( :x :oops:

Author:  Fangbeast [ Mon Apr 17, 2017 5:39 am ]
Post subject:  Re: PureArea.net - Several News + (german) Showcase online

hessu wrote:
I can,t reach your site.
I use malware bytes and it says that you have a malicious website.
:( :x :oops:


I use malwarebytes, up to date. it has no trouble with purearea at all.

Author:  Andre [ Sat Jan 20, 2018 12:40 am ]
Post subject:  Re: PureArea.net - Several News + (german) Showcase online

Just a small 'News' update on www.PureArea.net - showing the latest 'GeoWorld' progress for example... :D

Author:  RSBasic [ Mon Jan 22, 2018 9:30 am ]
Post subject:  Re: PureArea.net - Several News + (german) Showcase online

@Andre
Nice project. Image

Author:  Micoute [ Mon Jan 22, 2018 10:46 am ]
Post subject:  Re: PureArea.net - Several News + (german) Showcase online

Do you have the project to put it in French?

Author:  Andre [ Mon Jan 22, 2018 8:38 pm ]
Post subject:  Re: PureArea.net - Several News + (german) Showcase online

Micoute wrote:
Do you have the project to put it in French?


Yes, it's planned, but probably "only" the program localization (not the many textual informations).
Priority have English and German, at least for now, where many other things are still to do.
My goal is to have a public beta in 2018... but before I'm probably searching for interested contributors first 8)

@RSBasic: thanks :mrgreen:

Page 8 of 9 All times are UTC + 1 hour
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/