The following warnings occurred:
Warning [2] Undefined variable $unreadreports - Line: 26 - File: global.php(961) : eval()'d code PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/global.php(961) : eval()'d code 26 errorHandler->error
/global.php 961 eval
/showthread.php 28 require_once





× This forum is read only. As of July 23, 2019, the UserSpice forums have been closed. To receive support, please join our Discord by clicking here. Thank you!

  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
First project for dummies
#1
I've installed 4.3 into http://localhost/UserSpice43dev-master as well as 'myown'.com/US but can't figure out how to use it. I'm looking for the simplest steps to add a login procedure to basic html file without bootstrap or anything else. Let's say it's Hello.html and all it does is to say "Hello Joe", Joe being the user name of whoever signs on. So: step 1) rename Hello.html to Hello.php; step 2) Edit Hello.php adding some lines at the top and bottom; step 3) save this php file into ... what folder? Then what? Once I understand the basic steps I assume I'll be able to use them for other projects which include their own CSS, Javascript, Bootstrap, etc.
  Reply
#2
Take the text of this file and save it into the root folder.

https://pastebin.com/w5t5aFqh

Personally, I would do this on localhost only to start and rename UserSpice43dev-master to just us

so put it in your us folder.

Call it index.php

It should do what you're looking for.
  Reply
#3
Thank you very much! I hope this simplest possible starter will attract many other users who might otherwise not get going with your wonderful and important application.
  Reply
#4
I hope it helps. If there's anything I can do to help, let me know!
  Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)