#1
|
||
|
phAlbum
Hi
Great little script Been hoping to find something like this for ages, Is there a way to ignore two or more words? like below what is the punctuation or correct syntax in that line to do this, Code:
ignore_word="hats" "coats" "shoes"; //Hide files with this string in the name hats coats shoes as I have tried in the above code? I am trying to use it in a folder with other stuff in Many thanks Ian |
#2
|
||
|
I am not the best with regular expressions but you could try this:
$ignore_word="(hat|coats|shoes)"; Let me know if that works for you..
__________________
04' Dodge SRT-4, Mopar Stage 3, 406whp/436wtq |
#3
|
||
|
Thanks Scott
Just what I was looking for That worked ok for not showing 2 or more unwanted files Also works for ignoring and not showing folders/directories I dont want shown as albums. Problem 2 the script uploads images to the base folder ok. It also creates the new albums, on the server and displays them ok. BUT regardless of what album is selected the images get uploaded to the base album. they do open ok, The links generated for the albums are like http://www.jjjjjjjjjjjjjjjjjjjjjjjj..../?album=boots/ is this correct, because the albums do not show any images although I have also uploaded coppies of image and thumbnail to the folder manually trying to troubleshoot. i have php 4.4.8 apache 2 phalbum v 1.1 Thanks again for your time and efforts Ian |
#4
|
||
|
So even if you upload a picture to the boots album they don't show when you click on the boot folder icon?
__________________
04' Dodge SRT-4, Mopar Stage 3, 406whp/436wtq |
#5
|
||
|
Hi Scott
I have PMd you with some server details to help with troubleshooting, Thanks for your help Ian |
#6
|
||
|
Hi,
Ive got it working now I got in a mess with paths and permissions everything back to default new upload and OK I had lost the dot on the file path. ./album/ Thanks Scott for taking the time ignore the PM regards Ian |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
phAlbum width? | certifiedgeek05 | phphq.Net Forums | 6 | 07-27-2010 08:03 PM |
phAlbum | corny | phphq.Net Forums | 0 | 03-11-2009 10:21 AM |
phalbum error | liamdawe | phphq.Net Forums | 1 | 12-09-2007 04:05 PM |
PhAlbum | tazz0710 | phphq.Net Forums | 2 | 12-07-2007 10:55 AM |
phAlbum | tazz0710 | phphq.Net Forums | 9 | 10-26-2007 12:28 AM |