Skip to content
This repository has been archived by the owner on Dec 27, 2022. It is now read-only.

index.php issue #1926

Open
leoloveisme opened this issue May 14, 2021 · 1 comment
Open

index.php issue #1926

leoloveisme opened this issue May 14, 2021 · 1 comment
Labels

Comments

@leoloveisme
Copy link

leoloveisme commented May 14, 2021

Describe the Bug

content of index.php is not shown per default, instead of that I get the listing of the directory's content, which is not ideal.

To Reproduce

https://youtu.be/Wf3mBmgpc1I

Expected Behavior

to show the content of index.php per default

Screenshots

Screenshot 2021-05-14 15:01:43
Screenshot 2021-05-14 15:02:14
Screenshot 2021-05-14 15:06:59
Screenshot 2021-05-14 15:03:30

Environment

  • OS: Ubuntu Linux
  • Beaker Version: Version: 0.8.10 Electron: 8.1.1 - Chromium: 80.0.3987.141 - Node: 12.13.0

Additional Context

content of index.php is not shown per default, instead of that I get the listing of the directory's content, which is not ideal.

See some screenshots below:

Screenshot 2021-05-14 15:01:43
Screenshot 2021-05-14 15:02:14
Screenshot 2021-05-14 15:06:59
Screenshot 2021-05-14 15:03:30

and please also take a look onto 2 minutes something video I uploaded onto YouTube:

If you would make it able to run index.php per default, it would be able to run Wordpress and other php programmed or perl or python programmed projects, you would have many more users, using your browser.

https://youtu.be/Wf3mBmgpc1I

@da2x
Copy link
Contributor

da2x commented Jul 27, 2021

Beaker doesn’t have a PHP, Perl, or Python interpreter and it’s very unlikely it’ll ever get either of these. You can’t run server-side code on the client. It would be a security nightmare to even attempt to safely support these languages. You need to use HTML and JavaScript and do things client-side instead.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants