Jump to content

Search the Community

Showing results for tags 'amember'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Welcome to PHP Freaks
    • Announcements
    • Introductions
  • PHP Coding
    • PHP Coding Help
    • Regex Help
    • Third Party Scripts
    • FAQ/Code Snippet Repository
  • SQL / Database
    • MySQL Help
    • PostgreSQL
    • Microsoft SQL - MSSQL
    • Other RDBMS and SQL dialects
  • Client Side
    • HTML Help
    • CSS Help
    • Javascript Help
    • Other
  • Applications and Frameworks
    • Applications
    • Frameworks
    • Other Libraries
  • Web Server Administration
    • PHP Installation and Configuration
    • Linux
    • Apache HTTP Server
    • Microsoft IIS
    • Other Web Server Software
  • Other
    • Application Design
    • Other Programming Languages
    • Editor Help (PhpStorm, VS Code, etc)
    • Website Critique
    • Beta Test Your Stuff!
  • Freelance, Contracts, Employment, etc.
    • Services Offered
    • Job Offerings
  • General Discussion
    • PHPFreaks.com Website Feedback
    • Miscellaneous

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests


Age


Donation Link

Found 1 result

  1. I know nothing of PHP coding and have bought a php membership program called aMember. All I am trying to do is get each member's name to display on the top of each page. The company says they use something called Am Lite in conjunction with their php code to call up the member name. they gave me the folling instructions: Here is example of usage <?php // it should be first line on your page require_once '/home/myusername/public_html/amember/library/Am/Lite.php'; ?> ...your code... <?php if (Am_Lite::getInstance()->isLoggedIn()) : ?> Welcome <?= htmlspecialchars(Am_Lite::getInstance()->getName() ) ?>! <?php endif; ?> ....your code... I have tried various variations of arranging the code on a php page - see attached - and nothing seems to work. I get the following errors: Warning: require_once(/public_html/amember/library/Am/Lite.php): failed to open stream: No such file or directory in /home/tradeco/public_html/ts_main_1920/login_name_test.php on line 5 Fatal error: require_once(): Failed opening required '/public_html/amember/library/Am/Lite.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/tradeco/public_html/ts_main_1920/login_name_test.php on line 5 Any help and or guidance would be greatly appreciated. Thanks in advance Luke login_name_test.php
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.