rebelsforchrist
New Member
- Messages
- 23
- Reaction score
- 0
- Points
- 0
"To install this script, simply place it within your include path. You can set your include path by calling ini_set('include_path', '/PATH/'). Once properly installed within your include path, you should be able to include the objects within the API in your own php files."
Lightweight PHP Picasa API Version 3.0
http://www.cameronhinkle.com/blog/id/3696159074811309536
the default include_path was: .:/usr/lib/php:/usr/local/lib/php
i changed it to: .:/usr/lib/php:/usr/local/lib/php:/picasa/
i'm not sure what the path would be to the picasa folder in my public_html folder, because this didn't work what i tried above?
From some more searching, i tried
ini_set('include_path', ".:/usr/lib/php:/usr/local/lib/php:/home/rfc1/public_html/Picasa.php:/home/rfc1/public_html/picasa/");
Picasa.php is alongside the test php that i'm testing this with. the picasa folder has all of the contents that Picasa class requires.
one thing that's weird is that if i do that ini_set and phpinfo(); right after it, i will see that include_path has been updated. but, if i do phpinfo(); in another script, then it seems the include_path is getting reset. the more important thing is to get the include_path set correctly, but i'm curious too why is it getting reset back to the default setting.
thanks!
Lightweight PHP Picasa API Version 3.0
http://www.cameronhinkle.com/blog/id/3696159074811309536
the default include_path was: .:/usr/lib/php:/usr/local/lib/php
i changed it to: .:/usr/lib/php:/usr/local/lib/php:/picasa/
i'm not sure what the path would be to the picasa folder in my public_html folder, because this didn't work what i tried above?
From some more searching, i tried
ini_set('include_path', ".:/usr/lib/php:/usr/local/lib/php:/home/rfc1/public_html/Picasa.php:/home/rfc1/public_html/picasa/");
Picasa.php is alongside the test php that i'm testing this with. the picasa folder has all of the contents that Picasa class requires.
one thing that's weird is that if i do that ini_set and phpinfo(); right after it, i will see that include_path has been updated. but, if i do phpinfo(); in another script, then it seems the include_path is getting reset. the more important thing is to get the include_path set correctly, but i'm curious too why is it getting reset back to the default setting.
thanks!