aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Pages: 1 2 [3] 4

Author Topic: PHP based webserver (amuleweb) is available for public testing  (Read 406393 times)

kreegee

  • Full Member
  • ***
  • Karma: 2
  • Offline Offline
  • Posts: 160
    • http://kreegee.cycovery.com
Re: PHP based webserver (amuleweb) is available for public testing
« Reply #30 on: October 26, 2005, 12:48:15 AM »

sounds quite like reinventing the wheel  8o

 :P

thedude0001

  • evil bugfinder ;)
  • Hero Member
  • *****
  • Karma: 6
  • Offline Offline
  • Posts: 827
Re: PHP based webserver (amuleweb) is available for public testing
« Reply #31 on: October 26, 2005, 12:53:30 AM »

Sounds like a PHP license that wouldn't allow us to use their source in amule ;)
Logged
Das Schlimme auf dieser Welt ist
daß die Dummen so selbstsicher sind
und die Gescheiten so voller Zweifel.

Vollstrecker

  • Administrator
  • Hero Member
  • *****
  • Karma: 67
  • Offline Offline
  • Posts: 1549
  • Unofficial Debian Packager
    • http://vollstreckernet.de
Re: PHP based webserver (amuleweb) is available for public testing
« Reply #32 on: October 26, 2005, 07:49:46 AM »

Can it be dynamically  linked? Or just imported as module like apache does?
Logged
Homefucking is killing prostitution

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: PHP based webserver (amuleweb) is available for public testing
« Reply #33 on: October 26, 2005, 08:37:47 AM »

this would just add another dependency...
Logged
In its default setup, Windows XP on the Internet amounts to a car
parked in a bad part of town, with the doors unlocked, the key in
the ignition and a Post-It note on the dashboard saying, "Please
don't steal this."

Jacobo221

  • Hero Member
  • *****
  • Karma: 3
  • Offline Offline
  • Posts: 2712
Re: PHP based webserver (amuleweb) is available for public testing
« Reply #34 on: October 26, 2005, 08:50:43 AM »

and much more load than what amuleweb really needs and still would need lots of into-amuleweb code since PHP5, by itself, doesn't provide any information about aMule ;)
Logged

thedude0001

  • evil bugfinder ;)
  • Hero Member
  • *****
  • Karma: 6
  • Offline Offline
  • Posts: 827
Re: PHP based webserver (amuleweb) is available for public testing
« Reply #35 on: October 26, 2005, 02:37:08 PM »

We had this discussion, too, but lfroen stated that for him it was not a hard and disliked task to write the PHP parser, but rather fun and interesting. He didn't do it because he had to but because he wanted to ;)
Logged
Das Schlimme auf dieser Welt ist
daß die Dummen so selbstsicher sind
und die Gescheiten so voller Zweifel.

lfroen

  • Guest
Re: PHP based webserver (amuleweb) is available for public testing
« Reply #36 on: October 26, 2005, 09:00:23 PM »

Quote
He didn't do it because he had to but because he wanted to
On my day job I do things that I have to and get paid for. Here, on a contrary, I have a choice :)

But, being serious, using external php interpreter is not trivial thing, and suffer from several drawbacks:
1. External dependancy
2. Installation complexity
3. Dependancy on php version currently installed
4. Dependancy on configuration of installed php
5. Developing such thing would be plain PITA - I did some RTFM to be sure

Implementing own interpreter (parser is only one part of it :) ), on the other hand, is fun and serve the purpose as I see it.
Worth note, that it doesn't prevent me from using external php as choice, and I may add support for this in near future.
Logged

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: PHP based webserver (amuleweb) is available for public testing
« Reply #37 on: October 26, 2005, 09:19:30 PM »

Not so near, we have to release at some point.
Logged

kreegee

  • Full Member
  • ***
  • Karma: 2
  • Offline Offline
  • Posts: 160
    • http://kreegee.cycovery.com
Re: PHP based webserver (amuleweb) is available for public testing
« Reply #38 on: October 26, 2005, 11:18:38 PM »

hehe, Kry :P

@lfroen
i don't know about the difficulty of implementation, but it would be much more powerfull with the official php-runtime (i guess you haven't implemented all 100s function available *g*). but thanks anyway - looks much better now - and IMHO it's faster than the old webadmin too!

small notice: did i miss something or are the links/hashs of the shared files not shown anymore?

Jacobo221

  • Hero Member
  • *****
  • Karma: 3
  • Offline Offline
  • Posts: 2712
Re: PHP based webserver (amuleweb) is available for public testing
« Reply #39 on: October 27, 2005, 01:45:56 AM »

hey lfroen! that's the first kind post i read from you! congrats!

you can keep posting rude ones now ;) :P
Logged

lfroen

  • Guest
Re: PHP based webserver (amuleweb) is available for public testing
« Reply #40 on: October 27, 2005, 06:10:34 AM »

Quote
it would be much more powerfull with the official php-runtime
Oh, definitly. I can't compete with Zend which develops php several years. But, that's the trade-off I choose against drawbacks listed above.

Quote
small notice: did i miss something or are the links/hashs of the shared files not shown anymore?
No. I don't see what it can be used for. File hash accessed via property "hash" like $file->hash (for shared files and downloads), and link to shared files accessed via $file->link. Add it where you see fit.
I will publish complete manual before release.
Logged

wardevil

  • Sr. Member
  • ****
  • Karma: -1
  • Offline Offline
  • Posts: 402
Re: PHP based webserver (amuleweb) is available for public testing
« Reply #41 on: November 07, 2005, 12:59:49 PM »

Is it just me or webserver is broken?
I noticed that amuleweb dont run at amule startup even if run amuleweb at startup option is check in preferences and a "You choose to run amuleweb at startup but amuleweb executable is not installed or not in path" error is raised.
Another thing is is i start amuleweb manually i cant login with a password bad in the log....after a read all posts in this thread i copied the password hash in amule.conf and pasted in the remote.conf webserver section ...same thing :Password bad....i even deleted amule.conf and remote.conf and configure it in the GUI with no luck....and then remember lets run amuleweb with a --no-php switch but hey....i cant login either...
Is there a problem with this??

I guess nothing is perfect....  :))

Good work to everybody involved....

Cheers.....
Logged
Linux user nº289016 at Linux counter

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: PHP based webserver (amuleweb) is available for public testing
« Reply #42 on: November 07, 2005, 01:03:48 PM »

yup your right, same thing here..
when I type pass and the page simple reloads
Logged
In its default setup, Windows XP on the Internet amounts to a car
parked in a bad part of town, with the doors unlocked, the key in
the ignition and a Post-It note on the dashboard saying, "Please
don't steal this."

lfroen

  • Guest
Re: PHP based webserver (amuleweb) is available for public testing
« Reply #43 on: November 07, 2005, 04:47:11 PM »

Login part did not changed for weeks. And it work for me. Try to clear cookies.
Logged

wardevil

  • Sr. Member
  • ****
  • Karma: -1
  • Offline Offline
  • Posts: 402
Re: PHP based webserver (amuleweb) is available for public testing
« Reply #44 on: November 08, 2005, 10:39:47 AM »

Quote
Login part did not changed for weeks. And it work for me. Try to clear cookies.
Changed or not, cvs from yesterday works fine now....   :D

Cheers....
Logged
Linux user nº289016 at Linux counter

Pages: 1 2 [3] 4