views:

15

answers:

4

Hi everyone!

If you are using awardspace.com for free website hosting or have an idea does anyone know how to chnage the include path or my script hosted on awardspace such that...it can correctly display data using the pager.php package. Currently my script has

this option set:

:::PHP CODE::: include_once 'pager/Pager.php';

While the include path on Unix server on awardspace says:

include_path .:/usr/local/php5/share/pear

Can you help me ressolve issue with using pager (jumping or sliding) for db data retrieval.

Help, Anita

A: 

set_include_path() should work.

To append another path to the existing one:

<?php
$path = '/path/to/mydir';
set_include_path(get_include_path() . PATH_SEPARATOR . $path);
Pekka
A: 

@Pekka

I dont actually want to chnage the path and found out that its working only the PHP pager (sliding or Jumping) functionality is not working.

Cna you give a light on that.

Thanks Anita

Anita
A: 

Have you checked or worked your way through the documentation at http://pear.php.net/manual/en/package.html.pager.php ? What seems to be the actual problem? Being a little less vague would help!

kguest
A: 

@Kguest

Its working now...althought the server does not have pager installed...i took files under Pager directory on my localhost/homeserver and posted them on awardspace base folder (home/root dir of mine). And now voila it all works fine.

A Temporary but working solution.

Anita

Anita