Jump to content


Photo

php guard help


  • Please log in to reply
2 replies to this topic

#1 ozm8

ozm8

    Newbie

  • New Members
  • Pip
  • 2 posts

Posted 04 February 2014 - 07:34 PM

Hello I bought a script called php guard v2 and successfully installed it but I'm haveing trouble intergrating it into my other scripts like wordpress chat room etc I'm supposes to put this line of code in any main file of my scripts

 

<?php include “phpguard_folder/config.php”; include “phpguard_folder/security.php”; ?>

 

so i put my folder name where it says phpguard_foldername but when i go to test it i get lots of errors saying cannot find path blah blah blah

 

If someone could help me that would be good I'd even pay $5 if someone can do it for me



#2 cyberRobot

cyberRobot

    Advanced Member

  • Gurus
  • 1,649 posts

Posted 28 February 2014 - 08:38 AM

Have you tried using a root-relative path? You could use $_SERVER['DOCUMENT_ROOT'] as shown here:

http://www.php.net/m...clude.php#86842

 

Of course, you'll need to adapt the path so it points to phpguard_folder.


Blogging about PHP and other web development topics at ScorpBytes.com

#3 sambalette

sambalette

    Newbie

  • New Members
  • Pip
  • 1 posts

Posted 03 March 2014 - 09:47 AM

I'll gladly integrate php guard in your system.

 

You can contact me at sambalette@gmail.com






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

Cheap Linux VPS from $5
SSD Storage, 30 day Guarantee
1 TB of BW, 100% Network Uptime

AlphaBit.com