Connecting Tech Pros Worldwide Help | Site Map

Self updating picture site

 
LinkBack Thread Tools Search this Thread
  #1  
Old July 17th, 2005, 01:36 AM
Confused
Guest
 
Posts: n/a
Default Self updating picture site

(I am very new to PHP I have just started in the last week) My client
is a photographer and wants to be able to update his site himself
without learning HTML. My friend says this is possible with PHP but I
don't know enough to make this. I was hoping that someone could point
me in the right direction.

So what I want is a form that has a title field(if possible I want
this to be the title of the new page), a discription field and a way
to ftp a picture and with this information create a new page for the
picture.

Usually I would experiment with this but unfortunately I need to get
it done in 3 days and I can't learn PHP that fast.

  #2  
Old July 17th, 2005, 01:36 AM
Jedi121
Guest
 
Posts: n/a
Default Re: Self updating picture site

"Confused" a écrit le 12/12/2003 :[color=blue]
> (I am very new to PHP I have just started in the last week) My client
> is a photographer and wants to be able to update his site himself
> without learning HTML. My friend says this is possible with PHP but I
> don't know enough to make this. I was hoping that someone could point
> me in the right direction.[/color]

This we can do :
The official manual online reviewed by coders
http://www.php.net/manual/en/features.file-upload.php

Then you can create the corresponding HTML file or build it on the fly
with data from a database.
[color=blue]
> So what I want is a form that has a title field(if possible I want
> this to be the title of the new page), a discription field and a way
> to ftp a picture and with this information create a new page for the
> picture.[/color]

It will not be via 'ftp' but via 'http' but you've got the concept.
[color=blue]
> Usually I would experiment with this but unfortunately I need to get
> it done in 3 days and I can't learn PHP that fast.[/color]

Then why did you accept?
Do you want us to do your job? That's not the way it is supposed to be.
Sorry.

--
Have you read the manual?
http://www.php.net/manual/en/

  #3  
Old July 17th, 2005, 01:37 AM
Tim Van Wassenhove
Guest
 
Posts: n/a
Default Re: Self updating picture site

On 2003-12-12, Confused <gunther_william@msn.com> wrote:[color=blue]
> (I am very new to PHP I have just started in the last week) My client
> is a photographer and wants to be able to update his site himself
> without learning HTML. My friend says this is possible with PHP but I
> don't know enough to make this. I was hoping that someone could point
> me in the right direction.[/color]

right direction: Go to your client and tell him you can't get the job
done?

other direction: Have a look at whatever gallery script out there, and
let this inspire you.
[color=blue]
> So what I want is a form that has a title field(if possible I want
> this to be the title of the new page), a discription field and a way
> to ftp a picture and with this information create a new page for the
> picture.[/color]

You can find anything you need to know at http://www.php.net/manual


--
verum ipsum factum
  #4  
Old July 17th, 2005, 01:37 AM
Geoff Berrow
Guest
 
Posts: n/a
Default Re: Self updating picture site

I noticed that Message-ID:
<c2550340.0312111820.13c97a09@posting.google.com > from Confused
contained the following:
[color=blue]
>(I am very new to PHP I have just started in the last week) My client
>is a photographer and wants to be able to update his site himself
>without learning HTML. My friend says this is possible with PHP but I
>don't know enough to make this. I was hoping that someone could point
>me in the right direction.
>[/color]
It is common to store information in a database and then use that
information to generate web pages.
[color=blue]
>So what I want is a form that has a title field(if possible I want
>this to be the title of the new page), a discription field and a way
>to ftp a picture and with this information create a new page for the
>picture.[/color]

See above.[color=blue]
>
>Usually I would experiment with this but unfortunately I need to get
>it done in 3 days and I can't learn PHP that fast.[/color]

I'm sorry but there isn't a magic plug in that will do this. The only
way you could do it would be by adapting an existing solution, but I
doubt you could get your head around it in three days even if I posted
the code.

Hire someone.

--
Geoff Berrow (put thecat out to email)
It's only Usenet, no one dies.
My opinions, not the committee's, mine.
Simple RFDs http://www.ckdog.co.uk/rfdmaker/
  #5  
Old July 17th, 2005, 01:37 AM
NK
Guest
 
Posts: n/a
Default Re: Self updating picture site

Confused wrote:[color=blue]
> (I am very new to PHP I have just started in the last week) My client
> is a photographer and wants to be able to update his site himself
> without learning HTML. My friend says this is possible with PHP but I
> don't know enough to make this. I was hoping that someone could point
> me in the right direction.
>
> So what I want is a form that has a title field(if possible I want
> this to be the title of the new page), a discription field and a way
> to ftp a picture and with this information create a new page for the
> picture.
>
> Usually I would experiment with this but unfortunately I need to get
> it done in 3 days and I can't learn PHP that fast.[/color]

Heya,

Just did a quick search for you because I've been in your situation and
I know you dont need anymore people telling you what you did was
wrong... oh well... grab some caffeine and hammer your way through this
tute... hope it helps!

http://www.sitepoint.com/article/1195

Cheers,
NK
  #6  
Old July 17th, 2005, 01:37 AM
Confused
Guest
 
Posts: n/a
Default Re: Self updating picture site

Thank you.
I got it done with the help of the tutorials and examples. I came from
perl to php so I didn't have much trouble understanding the code. I
had a perl version ready if I couldn't finish the php version in time
but for the perl version I had to compromise some of my clients
specifications.
Thank you very much for all your help. I know you don't want to do my
job for me.
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 220,989 network members.