top contributors since
Prankster
theangryepicbanana
HazTheWaz
thesephist
SuigamiMitsokeL
eankeen
mat1
HackermonDev
HarperframeInc
cgjml
view leaderboard →
h
3 years ago
Guide to Asking Coding QuestionsGuide to Asking Coding Questions Why? Good questions help your question be solved faster, and people will want to answer your question Bad question
Ask
179 comments
Latest comments
KS-11ZZ-94397126 days ago
how to ask how many courses you're taking
EthanRachall30 days ago
Hi can someone help me fix my code? The background color won't work on my Python Turtle code, Link is here: https://replit.com/@EthanRachall/mountain-range-1#main.py
MikeW33 months ago
repl.it/feedback and repl.it/bugs are broken links
view all ›
h
1 year ago
Wildest programming language ideaWhat is your wildest programming language idea? This could be fun (silly) ideas or really cool and useful ones. Go! Also on le twatter: https://twit
Ask
835 comments
Latest comments
DaxCodes10 days ago
RTexter can make movie scripts/other fun things with text
JonDoeBeep12 days ago
A lanuguage where you can use only the word: I. For example this program in binary from bloomu 111000101101101011101110111000010110101111101101101011011110111011101100111010110001000000001100111111101010101010100010010101101011111011101110111000100001101011011110101011011101111011111110101011101101101010011010100110111111110000000010000111001010110111101100111011010000000011011100110110100010101000101100101010101100111010111111110000000010000111001010110111101100111011010000000010101111110110100
SebastjanTekavc14 days ago
hi
view all ›
2 years ago
How to connect to an external mysql database?I am trying to connect to mysql using php but the function is not working. I am receiving this error: Fatal error: Uncaught Error: Call to undefined
AskPHP Web ServerPHP Web Server
6 comments
Latest comments
matjung9 months ago
While you cannot edit php.ini, you can create your own php.ini. Copy the driver into a ext directory php -c php.ini -i | grep mysql MysqlI Support => enabled Client API library version => mysqlnd 5.0.12-dev - 20150407 - $Id: 38fea24 f2847fa7519001be390c98ae0acafe387 $ Active Persistent Links => 0 Inactive Persistent Links => 0 Active Links => 0 Then php with mysql code works if the sql server is located at another host. Instructions for getting the drivers: https://repl.it/talk/learn/Installi
Mr4FX9 months ago
repl.it should allow users to edit PHP.ini !! other ways repl.it will be closed source for coders
LuukDev10 months ago
This is a problem by Repl.it, they didn't install the MySQLi extension what allows you to use a database.
view all ›
answered
21 days ago
how do you make the main.py runI made a php web server repl to make a game (similar to mrush.net) and I took some programming from my friends repl where we tried to make it and I fe
AskPHP Web ServerPHP Web Server
13 comments
Latest comments
BuddyRaider20 days ago
@CodingElf66's answer was on the right track, but rather than run="main.py" You need to specify to run "main.py" with "python" as a Python file is not a standalone application: run="python main.py" `
CodingElf6620 days ago
There is actually a way to do it! If you create a PHP web server, you can then create a .replit file. Inside, attach the following code: run = "main.py" Then, in your main.py file, just put something in! Now you can mark it as answered, thanks so much!
SixBeeps21 days ago
So you want to host your server from that Python file instead of in PHP? Is there a reason why you don't want to make a new Repl for it? Also, here's how to use the .replit file.
view all ›
1 year ago
Configure php.iniHow to configure php.ini?
AskPHP Web ServerPHP Web Server
comment
2 years ago
Php cUrlIs it possible to use the cUrl with php without using the command line version ?
AskPHP Web ServerPHP Web Server
3 comments
Latest comments
matjung9 months ago
I assume it is still not possible?
cypher1372 years ago
No sadly it's not
view all ›
answered
1 year ago
Why won't the php mail() function work?The mail() function for PHP doesn't seem to work. No matter what I try. I can't figure out why. Does anybody know? Thanks in advance!
AskPHP Web ServerPHP Web Server
5 comments
Latest comments
TSelden1 year ago
It gives me this error as well (in an alternative editor): sh: 1: /usr/sbin/sendmail: not found. I think this means that the sendmail package isn't installed. I think that I need to install the sendmail package, although I don't know how to do that on repl.it, and I'm not currently in a position where I can download another editor.
view all ›
5 months ago
help with login buttonso on the login page of my website i cant get the login button to make the form i wrote in javascript to show up
AskPHP Web ServerPHP Web Server
9 comments
Latest comments
Coder1005 months ago
Form elements override js So Have to add preventDefault button.addEventListener(function(e) { e.preventDefault(); });
51LV3RC0D3R5 months ago
Here is an example that worked for me. .button { background-color: #4CAF50; /* Green */ border: none; color: green; padding: 16px 32px; text-align: center; text-decoration: none; display: inline-block; font-size: 16px; margin: 4px 2px; transition-duration: 0.4s; cursor: pointer; border-radius: 1000px; } .button1 { background-color: white; color: black; border: 2px solid #4CAF50; } .button1:hover { background-color: #4CAF50; color: white; } Login
view all ›
answered
h
2 years ago
Custom domainWhenever I enter the web address of my website in a DNS changer, it says it's not registered. What is going on? I know it has something to do with sub
AskPHP Web ServerPHP Web Server
22 comments
Latest comments
Grify2 years ago
What is the address?
view all ›
answered
h
2 years ago
Global variable.I am making a feedback form, and I have it set up so that in submission1.php, it will gather the variable from the textarea from the index.php. It the
AskPHP Web ServerPHP Web Server
9 comments
Latest comments
blonkm2 years ago
Every php page you run is a process on it's own which does not have variables. $feedbacka=var_dump($feedback); will never work in seefeedback.php. The variable $feedback is not set because the page has no idea it exists. You need a way to communicate between pages. This can be done through cookies as you tried, but it's better to either use: the url (as in ?feedback=...) a hidden field in a form, and using JavaScript to submit the form. a session variable $_SESSION['feedback'] = ... also test a
Egghead212 years ago
you can put the input section in the main file, but store the input in a different file: config.personinput = input('') sorry- I only really do pyhton
Egghead212 years ago
Maybe you need to put the data into a list. Could you print out the feedback after I submit it? BTW i love phantom forces
view all ›
2 years ago
LoginI am making a simple PHP Chatroom, but I've never used PHP before. I just want to know how do you make a login that'll actually save and be able to be
AskPHP Web ServerPHP Web Server
8 comments
Latest comments
DJWang2 years ago
Hey @mamamia5x! I've noticed your problem here. Yes, there is a way to store them in a txt file but you can only use that in python.
Vandesm142 years ago
PHP databases like SQL do not work on repl.it. You're going to have to use remotesql or some other remote database service instead (some are free, most are paid).
view all ›
20 days ago
Need a programmer willing to work with me in making a simple game.I know how to make the web side of the game but I don't know how to do a lot of the other stuff. I am searching for a programmer willing to take time
AskPHP Web ServerPHP Web Server
7 comments
Latest comments
lajbel20 days ago
I can in kaboom
CosmicBear20 days ago
You are asking for help. This should be in the ASK section.
view all ›
1 year ago
curl examplehow to enable cURL? I have a project that is based on cURL calls but on replit it doesn't work
AskPHP Web ServerPHP Web Server
3 comments
Latest comments
CodeLongAndPros1 year ago
install-pkg llibcurl4-openssl-dev to install the libs.
view all ›
2 years ago
I don't understandI am in coding class and i don't understand anything
AskPHP Web ServerPHP Web Server
2 comments
Latest comments
ash15khng2 years ago
What kind of help do you need?
Vandesm142 years ago
What of the code do you not understand?
view all ›
1 year ago
How to add data to jsonI'm trying to add data to a JSON when registration is successful. But it is showing null, can anyone help me in this.
AskPHP Web ServerPHP Web Server
6 comments
Latest comments
WilliamPenrod1 year ago
You need to properly format your JSON file. Just add the [ to the beginning of the JSON file and ] to the end. Then continue to debug from there :)
view all ›
h
1 year ago
Favicon?How do I include a favicon in my Repl? I have tried: ``.
AskPHP Web ServerPHP Web Server
8 comments
Latest comments
CodeLongAndPros1 year ago
With a html site, place faivcon.ico in the project root.
hcahoon011 year ago
You might need to use this version:
0xmmalik1 year ago
I'm assuming it takes some time for the icon to appear, so this might be the issue.
view all ›
answered
1 year ago
php againsome of my code is showing up in the site and there are 2 places where it asks your name please help on this code
AskPHP Web ServerPHP Web Server
5 comments
Latest comments
Coder1001 year ago
you are pasting it twice
view all ›
answered
9 months ago
My site is blocked by Google!Guys, I was trying a phishing experiment. Unfortunately when I typed the URL in the chrome. Chrome reported that this site have hackers active on it a
AskPHP Web ServerPHP Web Server
14 comments
Latest comments
[deleted]
9 months ago
R u playing fortnite on it?
Bookie09 months ago
Screen Shot 2021-01-25 at 9.38.23 AM For me it works, doesn't seem to be blocked..(And I'm also on Chrome).
RYANTADIPARTHI9 months ago
it sometimes happens to me. Try forking the repl again. IF it still doesn't work, then the only thing is to contact your admin. That person can unblock it.
view all ›
h
2 years ago
Installing sendmail.Is there a way to install sendmail for PHP? I want to use the mail() function since emailing services seemingly don't work.
AskPHP Web ServerPHP Web Server
19 comments
Latest comments
SixBeeps2 years ago
I'm not finding anything about a sendmail module. Could you link me the documentation for it?
view all ›
1 month ago
how do i get a view from the attached browser?i wish to create a storage xss demo so i found an example online and selected a php project. but using the example code i can't get a hello world afte
AskPHP Web ServerPHP Web Server
6 comments
Latest comments
CoderGautamYT1 month ago
Seems to be working-
view all ›
2 years ago
how do i get this error out of my way When i try to connect to my remotemysql database via this line of code: $connect = @mysqli_connect($host,$username,$password,$db); i keep getting th
AskPHP Web ServerPHP Web Server
6 comments
Latest comments
glassdemon662 years ago
for some reason it's still not working https://stackoverflow.com/questions/25281467/fatal-error-call-to-undefined-function-mysqli-connect this stackoverflow link show help but i don't understand it
V3rmillionNet2 years ago
There's no function named myslqi_connect, define the function and it will work
view all ›
9 months ago
Can someone neaten this up?I got this code from here: https://www.geeksforgeeks.org/php-form-processing/ I copied and pasted it. It works, but It needs to be more cleaned up. W
AskPHP Web ServerPHP Web Server
12 comments
Latest comments
Coder1009 months ago
https://repl.it/@Coder100/ThankfulKhakiComputationallinguistics-aoeu#me.php here's something
Coder1009 months ago
code formatter?
RYANTADIPARTHI9 months ago
one thing would be the styles. It seems kind of static right now. Also, try making the forms better. Make then have more functionality too. if you can.
view all ›
answered
1 year ago
Can I import this github repo?it says that https://github.com/powerbox1000/devtime-wiki.github.io is too big, but I can't use github pages and don't know anywhere else to host it?
AskPHP Web ServerPHP Web Server
12 comments
Latest comments
powerbox10001 year ago
@realTronsi @RayhanADev NEW QUESTION: https://repl.it/talk/ask/Upload-to-github-pages/60534
realTronsi1 year ago
If you want a host provider, you will need to buy a domain and hosting, which will cost around $200 per year at cheapest
realTronsi1 year ago
The repo is way too big, you have a maximum 500MB capacity for a repl, unless you get hacker, which increases that to 2GB.
view all ›
answered
h
11 months ago
Why is curl_init() not found?Hello, I'm working on a PHP project and the function, curl_init() isn't found. Is it disabled on replit? It works on my own machine.
AskPHP Web ServerPHP Web Server
11 comments
Latest comments
Baconman32111 months ago
repl does not support curl on here, nor do they support the php mail function. Additionally, they don't support .htaccess (sadly).
view all ›
answered
2 years ago
Playing Sounds over other sounds.So, i am working in a fork of some kind osu!mania and i tought of making a hit sound in the game so when you pressed the key the sound played. It work
AskPHP Web ServerPHP Web Server
2 comments
Latest comments
SixBeeps2 years ago
Have you thought about creating a new instance of the Hitsound and playing that instead of just calling a play method on one instance? Also, I am a fellow circle clicker/key presser as well :)
view all ›
1 year ago
PHP GET method not working well with mail() functionBefore I start, I'm aware that the PHP Mail() function is non-functional on repl.it. I'm copying the code over to a different client to see if it work
AskPHP Web ServerPHP Web Server
13 comments
Latest comments
Baconman3211 year ago
How many characters are you putting in the subjects? Also, don't forget to change the method to get in the
view all ›
answered
2 years ago
"Adress already in use"Sometimes when I run my code, I get an error saying that "Failed to listen on 0.0.0.0:8000 (reason: Adress is already in use)" Why is this? edit: re
AskPHP Web ServerPHP Web Server
2 comments
Latest comments
Vandesm142 years ago
Either stop the server and wait a bit or fork the repl. This is a problem with repl.it where two or more instances of your program are running at the same time, clogging up the ports and preventing your main instance from running. > Please mark this as answered if I helped your problem 👍
view all ›
h
2 years ago
Setting up a databaseI found this good website with a remote SQL hosting ability since I heard that making a remote database and connecting to repl.it would work. I don't
AskPHP Web ServerPHP Web Server
comment
answered
6 months ago
.env question(plz answer thx) about lists HTMLso env variables yay! but first lemme tell me my env vars(for right now ) so all of them are [] and i want to append $Usernamee, $Passwordd, and $USER
AskPHP Web ServerPHP Web Server
8 comments
Latest comments
Coder1006 months ago
You cannot modify .env variables programmatically. They are constants. In fact, they shouldn't even be modified at all in that way, they are meant to store API keys!!
view all ›
h
2 years ago
Adding sqlOk, this is pretty new to me. I need to add an SQL database so that I can enter information from the feedback. The thing is though, that I have no ide
AskPHP Web ServerPHP Web Server
comment
h
1 year ago
How does my project perform (testing stage)I want to know how does my new project perform. I want to know how it performs on other people's devices. How do you like the details? Comments, Feedb
AskPHP Web ServerPHP Web Server
10 comments
Latest comments
RYANTADIPARTHI1 year ago
It's good. But how about putting more functionality into it.
view all ›
h
2 years ago
mailHow would I email someone using the mail() function?
AskPHP Web ServerPHP Web Server
12 comments
Latest comments
west2 years ago
The simplest solution would be a mailto link. You can populate it with a form. Then people get to send the feedback from their own email. This also provides an avenue for you to reply to them.
view all ›