close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

what code can be removed?

Thread began 10/15/2020 5:15 pm by Peterson Design Studio - jefferis | Last modified 10/16/2020 8:13 am by Ray Borduin | 10 views | 1 replies |

Peterson Design Studio - jefferis

what code can be removed?

Hi Ray,
I finally got my client site moved off of Earthlink and it is not on an ubuntu server with MySql and I need to redo the security/login fo ra few pages.

Can you tell me which of the following lines are part of the old/outdated login security I can remove?

require_once('../includes/common/KT_common.php');

// Load the tNG classes
require_once('../includes/tng/tNG.inc.php');

// Load the required classes
require_once('../includes/tfi/TFI.php');
require_once('../includes/tso/TSO.php');
require_once('../includes/nav/NAV.php');

// Make a transaction dispatcher instance
$tNGs = new tNG_dispatcher("../");

// Make unified connection variable
$conn_LiveGold_i = new KT_connection($LiveGold_i, $database_LiveGold_i);

//Start Restrict Access To Page
$restrict = new tNG_RestrictAccess($conn_LiveGold_i, "../");
//Grand Levels: Any
$restrict->Execute();
//End Restrict Access To Page

// Start trigger
$formValidation = new tNG_FormValidation();
$formValidation->addField("rate", true, "double", "int", "", "", "Please enter a valid value. No dollar signs");
$formValidation->addField("price", true, "double", "int", "", "", "Please enter a valid value. No dollar signs");
$tNGs->prepareValidation($formValidation);
// End trigger

ALSO, can I easily remove old Security from WA on pages before doing a reinstall? I'm having trouble getting the security to work.

Sign in to reply to this post

Ray BorduinWebAssist

Unfortunately I am not familiar with any of that code. None of it is from native Adobe server behaviors or previous versions of our extensions. You must be using code from another provider, so I couldn't tell you what you might need.

I think that is old interAKT code, since I see a lot of naming conventions that start with KT_

I can tell you that you don't need any of that code for our extensions to work.

Sign in to reply to this post
Did this help? Tips are appreciated...

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...