Questions tagged [web-development-server]

Use this tag for questions related to a Web-development Server, i.e. the backend/server side of a web application, when it comes to its development.

can be used in several situations, so please use one or more additional tags to better describe your case.

1473 questions
-1
votes
2 answers

Prevent from screen recording

I am working on an educational e-commercial website .. In which the user need to authenticate and then the videos on particular topics will be available.. so how can I prevent my video to be screen-recorded...
Utkarsh
  • 11
  • 2
-1
votes
1 answer

Trouble with PHP Post Variable

It is hard to explain but I have been having some issues with the Post variable in PHP. What the problem is is that I have been on Repl.it making a dummy website for some practice with PHP as I am a complete beginner, so I have been trying to a…
-1
votes
3 answers

How to add background image in section of html by using css?

I am trying to add a background image in my section tag but it is not working. I have taken the correct file also still it's showing nothing in the webpage and exactly the same code I have seen someone has written in his code on youtube and that…
-1
votes
1 answer

Confusion Regarding Custom Font Face

I made a website that uses the Avenir font-face. It appears that the font does not work for windows machine (I developed this website on my Mac). My issue is that, based on this tutorial I expected the font to load correctly. Up to this moment the…
im2wddrf
  • 551
  • 2
  • 5
  • 19
-1
votes
1 answer

Does square provide hosting service?

I'm a student developer learning to build an eCommerce website. I currently have the front and back end implemented and hosted on Heroku (MERN). I've been reading the documentation on Square they have an eCommerce website builder so I assume they…
-1
votes
1 answer

Why firstname and lastname fields are not entering in database but just the email and password in the customUser i created?

I created a customUser from AbstractBaseUser with fields email, firstname, lastname and password which comes inbuilt and userManager from BaseUserManager as you can see below. But only the email and password are getting commited onto the database,…
-1
votes
1 answer

How can I generate URLs with random IDs for new users and make them valid

I'm trying to develop a site which asks or a username and creates a dare for their friends through a unique URL with a random ID. I succeeded in generating random IDs with PHP uniqid() function to append them in URL. But I have no idea to make the…
-1
votes
1 answer

How to store everything line by line in JavaScript local storage?

I have this html::

This is heading

I want to store this html in local storage as it is. But if I try to store this html in localstorage as it is, It stores something like this::

This is heading

Is there…
-1
votes
1 answer

When should you use python flask conditionals vs jinja2 html template conditionals?

When would I use a conditional in a template, rather than just use the conditional in the backend function calling this html file containing the template?
StarckOverflar
  • 1,577
  • 2
  • 10
  • 13
-1
votes
1 answer

What's the difference between a blueprint and a template in Flask?

I'm self-learning web development, and I was confused about how blueprint and templates were different. Blueprints support "common patterns within an application or across applications" - http://flask.pocoo.org/docs/1.0/blueprints/ but I don't see…
StarckOverflar
  • 1,577
  • 2
  • 10
  • 13
-1
votes
1 answer

Search filter cannot take sort function in react

I am new in React and was trying to make a AutoCompleteText Search Box from a youtube tutorialReact Beginners Tutorial - Build an Autocomplete Text Box for my Web Application(https://github.com/pydevsg/Bank-Filter-App). But it is showing me this…
S. Ghosh
  • 11
  • 2
-1
votes
2 answers

PHP bug fixing - condition not working properly

In the PHP code when put $result variable more than 100. Then output should be "Your result is invalid". But it's showing "You have passed". Why? Can anybody help me please? Check code here - https://pasteboard.co/HZkC73C.png
-1
votes
1 answer

Browse index after login in with php

i'm working on an E-commerce website and i'm willing to do the back end with PHP, so there is an index page (default) which opens after you browse the website's link which contains the offers, products etc.. so there is a navigation bar with sign up…
EL-Mehdi Loukach
  • 732
  • 2
  • 9
  • 28
-1
votes
2 answers

How can I redirect to a Thank you for contacting us page after user submits a form with Django?

I need to redirect the user to a new page that says, "Thank you for contacting us" after submitting a form with Django. I have tried using HttpResponseRedirect, reverse but I don't know how to implement it to all of the necessary files of my…
-1
votes
3 answers

Session.send() does not work: "session is not defined"

I am trying to use session.send instead of console.log in transporter.sendMail, so that the user knows when the Email was sent successfully, but it does not work. The error is "session is not defined". This is how my code looks like: var nodemailer…
Alex
  • 267
  • 1
  • 3
  • 18