Newbie needs PHP Advice -Images and links?

Discussion in 'PHP' started by zipper7, Mar 1, 2008.

  1. #1
    I am helping a friend and we are both PHP newbies.

    the owner wants no data base. They had been uploading a folder with 4 files in each folder and thier flash site simply posted the content.


    I have been resourceful at gathering different scripts to "frankenstien" this thing together but I missed an important issue.


    The advise I need: (I know there are eaiser ways to do some of this, but we are trying not to change the process that she is used to)

    Thats kind of the issue, a need to create a solution that can be solved many ways.

    My only rule is no data base.

    Simply, the client needs to upload folders to her FTP.

    I need two pages:

    the main page that will list all of the ftp folders, it needs to pass (hyperlink or otherwise) a variable to set up the second page

    the second page need to receive the GET/ POST and show the contents of the folder which contains a text file and four images. The images need to be resized.


    what is the simplest way to show that folder list, pass the folder name as a varible and have the second page show the contents of the folder referenced?

    Thanks

    I'm hopless...I should have done this in MySQL and not listen to my friend.
     
    zipper7, Mar 1, 2008 IP
  2. RoscoeT

    RoscoeT Peon

    Messages:
    78
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #2
    I would love to help you out but I cannot tell what you are asking specifically.
    You're request is quite confusing.
     
    RoscoeT, Mar 1, 2008 IP
  3. zipper7

    zipper7 Peon

    Messages:
    10
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Sorry about that, its confusing because there are mutiple solutions and I just don't know where to start. Also the idea for the solution is not the best, but its what the person wants. I sent you a better description, thank you for taking a moment to read my post.
     
    zipper7, Mar 1, 2008 IP
  4. shallowink

    shallowink Well-Known Member

    Messages:
    1,218
    Likes Received:
    64
    Best Answers:
    2
    Trophy Points:
    150
    #4
    it sounds to me like you should be using one php script and reading each sub dir with that script. Kinda like a beefed up file manager. But course I could be wrong given how confused I was after reading the description. Post or PM me some clarifications if you need more help.
     
    shallowink, Mar 1, 2008 IP
  5. zipper7

    zipper7 Peon

    Messages:
    10
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Shallowlink resolved this issue easily with an "open dir" command and also an "echo image resize by pecentage" Email me if you want to see the script.

    Great help from Shallowlink!

    Issue RESOLVED
     
    zipper7, Mar 1, 2008 IP