Can it run the PHP and Js at the same time?

Website URL

http://yqsun.lovestoblog.com/?i=1

Error Message

Hi, the js code should be run if you click the button in the bottom right-hand corner, but it return nothing. the code is a test code from Github, so there should be no bug here. and I’d like to know if we can run JS code and PHP together on our service?

Other Information

I’m new to here, please forgive me if my question is silly, and I really appreciate it if anyone can help!

1 Like

We only support PHP as a server side programming language. Our servers do not support Node.js hosting, but you can of course use Javascript on your pages that’s executed within the browser of the visitor.

9 Likes

Got it, many thanks!

Thanks again, and the client load a JS code meet the 403 error, and other JS code can be load successfully, all the permissions are same. can you help with this?
below is error message:

from Request URL:

https://errors.infinityfree.net/errors/403/

Request Method:

GET

Status Code:

403 Forbidden

Remote Address:

104.26.9.174:443

Referrer Policy:

strict-origin-when-cross-origin

Here is the answer to your hidden question

8 Likes

@yuqiansun to your updated question

keyword chat

9 Likes

@Oxy, big thanks! learned a lot from you :heart: :heart: :heart:

2 Likes

NP and YW :slight_smile:

Good luck with your further work on the website !

4 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.