Official Everybody Edits Forums

Do you think I could just leave this part blank and it'd be okay? We're just going to replace the whole thing with a header image anyway, right?

You are not logged in.

Donate!

pls donate


#1 2019-05-20 01:24:04, last edited by jjoj (2019-05-20 01:37:58)

jjoj
Member
From: Hell
Joined: 2015-02-16
Posts: 11
Website

Connect to EE Database with php

I'm trying to make my own EE User Tag maker similar to the one made by lrussel but I don't know where to begin as far as connecting to the db. Does anyone know how I would connect to the db in php?


EDIT: Javascript would also work I guess


According to all known laws of aviation, there is no way that a bee should be able to fly. Its wings are too small to get its fat little body off the ground. The bee, of course, flies anyway. Because bees don’t care what humans think is impossible.” SEQ. 75 - “INTRO TO BARRY” INT. BENSON HOUSE - DAY ANGLE ON: Sneakers on the ground. Camera PANS UP to reveal BARRY BENSON’S BEDROOM ANGLE ON: Barry’s hand flipping through different sweaters in his closet. BARRY Yellow black, yellow black, yellow black, yellow black, yellow black, yellow black...oohh, black and yellow... ANGLE ON: Barry wearing the sweater he picked, looking in the mirror. BARRY (CONT’D) Yeah, let’s shake it up a little. He picks the black and yellow one. He then goes to the sink, takes the top off a CONTAINER OF HONEY, and puts some honey into his hair. He squirts some in his mouth and gargles. Then he takes the lid off the bottle, and rolls some on like deodorant. CUT TO: INT. BENSON HOUSE KITCHEN - CONTINUOUS Barry’s mother, JANET BENSON, yells up at Barry. JANET BENSON Barry, breakfast is ready! CUT TO: "Bee Movie" - JS REVISIONS 8/13/07 1. INT. BARRY’S ROOM - CONTINUOUS BARRY Coming! SFX: Phone RINGING. Barry’s antennae vibrate as they RING like a phone. Barry’s hands are wet. He looks around for a towel. BARRY (CONT’D) Hang on a second! He wipes his hands on his sweater, and pulls his antennae down to his ear and mouth. BARRY (CONT"D) Hello? His best friend, ADAM FLAYMAN, is on the other end. ADAM Barry? BARRY Adam? ADAM Can you believe this is happening? BARRY Can’t believe it. I’ll pick you up. Barry sticks his stinger in a sharpener. SFX: BUZZING AS HIS STINGER IS SHARPENED. He tests the sharpness with his finger. SFX: Bing. BARRY (CONT’D) Looking sharp. ANGLE ON: Barry hovering down the hall, sliding down the staircase bannister. Barry’s mother, JANET BENSON, is in the kitchen. JANET BENSON Barry, why don’t you use the stairs? Your father paid good money for

Offline

#2 2019-05-20 03:31:40, last edited by XxAtillaxX (2019-05-20 03:31:56)

XxAtillaxX
Member
From: Canada
Joined: 2015-11-28
Posts: 3,988

Re: Connect to EE Database with php

JavaScript won't work since you can't get a browser to execute an arbitrary script on the sanitized embeds for obvious security reasons.
You could do run a NodeJS server, or you could run a web server using .NET and ASP.NET or Nancy or fully home grown whatever suits your needs.

I wrote a bare-bones library in PHP for loading objects from BigDB in the past. I've lost the original source code since then, but it appears Yonom improved upon it and published it.
I haven't tried it myself though.
https://github.com/Yonom/playerio-php


signature.png

Offline

Wooted by: (3)
XxAtillaxX1558319500750691

Board footer

Powered by FluxBB

[ Started around 1571453074.3016 - Generated in 0.024 seconds, 10 queries executed - Memory usage: 1.26 MiB (Peak: 1.35 MiB) ]