|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
You eat, breathe and sleep innovation. Build your mobile intelligence with BlackBerry® experts this July. Register Today! |
|
#1
|
|||
|
|||
|
Image Gallery 2.0 script - problem
Hi notepad, I'm new to php and I'm using your fantastic Image Gallery 2.0 script, but I'm having some issues with it.
I want to use your script so that each user of my site can see his personnal photos. So I thought I would create a folder for each user and then inside config.php I would change the constant: PATH. Here is a bit of the code of config.php that I changed: I do this so each user can see only his photos. But when I do this the photos don´t appear. Maybe its something easy but if you could help me I would be most apreciated. Thank you in advance, It very good what you do for the commmunity Michael Silva |
|
#2
|
|||
|
|||
|
RE: Image Gallery 2.0 script - problem
Hello there!
There are a few things you can try! First off. Does actually print the users id? If not try this: I also think that you need to use an absolute path. Try: /the/path/to/your/gallery/$user_id or in windows: c:thepathtoyourgallery$user_id You can also try to put the complete path into a variable before defining the constant PATH. Hope this will solve your problem! |
![]() |
| Viewing: Codewalkers Forums > Other > Tutorials > Image Gallery 2.0 script - problem |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|
|
|