Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 8
» Latest member: bentcrayon
» Forum threads: 14
» Forum posts: 18

Full Statistics

Online Users
There are currently 197 online users.
» 0 Member(s) | 197 Guest(s)

Latest Threads
helperphp.php is not comp...
Forum: SecurityAssist
Last Post: sl-webmaster
10-11-2024, 03:22 PM
» Replies: 1
» Views: 76
HTML text from database n...
Forum: PHP/MySQLi General
Last Post: bizpat (Patrice)
09-02-2024, 09:50 PM
» Replies: 3
» Views: 252
DW Password Cheat
Forum: General coding information
Last Post: bizpat (Patrice)
08-29-2024, 08:41 PM
» Replies: 0
» Views: 69
PowerCMS - newer version
Forum: PowerCMS
Last Post: Mags
08-29-2024, 03:57 PM
» Replies: 0
» Views: 61
Emails stopped sending fr...
Forum: Universal Email
Last Post: Mags
08-29-2024, 03:44 PM
» Replies: 0
» Views: 63
Show password on Login pa...
Forum: General coding information
Last Post: Mags
08-29-2024, 03:31 PM
» Replies: 0
» Views: 70
"An unidentified error ha...
Forum: PHP/MySQLi General
Last Post: Mags
08-29-2024, 02:57 PM
» Replies: 0
» Views: 74
Updated to PHP 8.0 and I ...
Forum: PHP/MySQLi General
Last Post: Mags
08-29-2024, 02:52 PM
» Replies: 0
» Views: 76
Email scripts not sending...
Forum: Universal Email
Last Post: Mags
08-29-2024, 02:50 PM
» Replies: 0
» Views: 57
upgrade from mysql 5.7 to...
Forum: PHP/MySQLi General
Last Post: Mags
08-29-2024, 02:48 PM
» Replies: 0
» Views: 69

 
  DW Password Cheat
Posted by: bizpat (Patrice) - 08-29-2024, 08:41 PM - Forum: General coding information - No Replies

If you've lost your site user password, here's a cheat to use.

https://webassist.com/forums/posts.php?id=47028

Summary: To find the password within the ste file

open ste file, find password ## then enter it on this page

https://apptools.com/password.php

It is a long number ... enter the number on this site and the password is converted for your use.

Print this item

  PowerCMS - newer version
Posted by: Mags - 08-29-2024, 03:57 PM - Forum: PowerCMS - No Replies

https://webassist.com/PowerCMS.zip is the link for the latest version of Power CMS, prior to Ray's sad passing. This works on PHP8.3 - sometimes you might run into an issue, but ask on this forum. WebAssist extended community is trying to help out where we can!

Print this item

  Emails stopped sending from contact form?
Posted by: Mags - 08-29-2024, 03:44 PM - Forum: Universal Email - No Replies

If you have a contact form on a website that has stopped sending emails, check that you're not sending the email from the person completing the form using the dynamic binding, for example

PHP Code:
<<?php echo((isset($_POST["Email"]))?$_POST["Email"]:""?>

Most servers nowadays will not deliver mail if it comes from a domain not hosted on the website's server to prevent spoofing. 

I generally set the "From" field to, for example, noreply@mydomain.com and then bind the email address of the actual sender within the body of the email. It just means that when the email arrives you can't hit Reply, you need to copy & paste the sender's email address into the To field manually. As long as the email comes from an address that uses the domain of the hosted website (it doesn't even have to be a functioning email address), there shouldn't be any issues.

Print this item

  Show password on Login pages
Posted by: Mags - 08-29-2024, 03:31 PM - Forum: General coding information - No Replies

If you want to let users show/hide the password instead of the dots in the password field, you can do it like this:

<input id="password" name="password" type="password" value="" confirm="" required="true">

<input id="showpassword" type="checkbox" onclick="showPW()">

<label for="showpassword">Show password</label>

<script>
function showPW() {
var x = document.getElementById("password");
if (x.type === "password") {
x.type = "text";
} else {
x.type = "password";
}
}
</script>

This works by displaying the login info that the user has stored in their browser, it can't pull info from the database.

Print this item

  helperphp.php is not compatible with php 8.1 and 8.2
Posted by: Mags - 08-29-2024, 03:08 PM - Forum: SecurityAssist - Replies (1)

Information and updated file is available here: https://www.webassist.com/forums/posts.php?id=47184

Print this item

  "An unidentified error has occurred" when attempting to connect db using Dynamic MySq
Posted by: Mags - 08-29-2024, 02:57 PM - Forum: PHP/MySQLi General - No Replies

A thread on this error is available here: https://www.webassist.com/forums/posts.php?id=47226

Print this item

  Updated to PHP 8.0 and I receive this error: Fatal error: Array and string offset acc
Posted by: Mags - 08-29-2024, 02:52 PM - Forum: PHP/MySQLi General - No Replies

Useful thread on this error is here: https://www.webassist.com/forums/posts.php?id=47035

Print this item

  Email scripts not sending emails
Posted by: Mags - 08-29-2024, 02:50 PM - Forum: Universal Email - No Replies

Things to check are detailed in this thread - there's every chance it isn't script-related!

Print this item

  upgrade from mysql 5.7 to mariadb 10.6
Posted by: Mags - 08-29-2024, 02:48 PM - Forum: PHP/MySQLi General - No Replies

Useful thread here:

https://www.webassist.com/forums/posts.php?id=47266

Print this item

  HTML text from database not displaying correctly?
Posted by: Mags - 08-29-2024, 02:32 PM - Forum: PHP/MySQLi General - Replies (3)

If you've upgraded to mySQLi and you find that HTML text is displaying the HTML code as well as the text, all you need to do is update the PHP code as in the following example:

Old code:

PHP Code:
<?php echo($recordset->getColumnVal("textcolumn")); ?>

New code:

PHP Code:
<?php echo($recordset->getColumnVal("textcolumn",false)); ?>

Print this item