Author Topic: exempel  (Read 1758 times)

0 Members and 1 Guest are viewing this topic.

Offline jmwell

  • New
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
exempel
« on: 30 Nov 2009 05:37:21 PM »
can you make an example

<?php
$path="Relative path to PageRater Directory"   www.my_site.com/PageRater/
include($path."include.php");    ?????????
create_box(12,"Rate Page:","text-align:center;font-size:12px;","padding-top:8px; text-align:center;","background-color:red; padding:1px; margin-top:7px; text-align:center;","border: 1px solid black; padding:5px; width:160px; text-align:center; background-color:white;",1);
?>

Offline Deano

  • Admin
  • Level 5
  • *****
  • Posts: 122
  • Karma: +6/-0
  • Gibbed
    • View Profile
    • resplace
Re: exempel
« Reply #1 on: 30 Nov 2009 06:00:05 PM »
Hey, you only have to edit this line:
Code: [Select]
$path="Relative path to PageRater Directory"
A relative path is for example if you had pagerater installed at:
http://my_site.com/PageRater/

and the page you was including it on was:
http://my_Site.com/index.php

the relative path is:
Code: [Select]
$path="PageRater/";
if the page is:
http://my_Site.com/stuff/index.php

the relative path is:
Code: [Select]
$path="../PageRater/";
../ means go back a directory.

Hope this helps :)
Regards, Dean Williams

freelance-coders.net is a freelance service, making it easy, fast and secure to freelance on the internet.

resplace.net community forums

Re: exempel
« Reply #1 on: 30 Nov 2009 06:00:05 PM »

RazorRamon

  • Guest
Re: exempel
« Reply #2 on: 12 Apr 2011 08:13:45 PM »
Any one, please post a link to your website, to see the DEMO of script.