Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Self updating picture site

0 views
Skip to first unread message

Confused

unread,
Dec 11, 2003, 9:20:53 PM12/11/03
to
(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.

Jedi121

unread,
Dec 11, 2003, 10:07:01 PM12/11/03
to
"Confused" a écrit le 12/12/2003 :
> (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.

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.

> 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.

It will not be via 'ftp' but via 'http' but you've got the concept.

> 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.

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/

Tim Van Wassenhove

unread,
Dec 12, 2003, 4:38:32 AM12/12/03
to
On 2003-12-12, Confused <gunther...@msn.com> wrote:
> (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.

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.

> 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.

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


--
verum ipsum factum

Geoff Berrow

unread,
Dec 12, 2003, 6:44:04 AM12/12/03
to
I noticed that Message-ID:
<c2550340.03121...@posting.google.com> from Confused
contained the following:

>(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.
>

It is common to store information in a database and then use that
information to generate web pages.

>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.

See above.


>
>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.

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/

NK

unread,
Dec 12, 2003, 10:30:22 AM12/12/03
to

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

Confused

unread,
Dec 12, 2003, 10:57:14 PM12/12/03
to
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.
0 new messages