Connecting Tech Pros Worldwide Forums | Help | Site Map

Self updating picture site

Confused
Guest
 
Posts: n/a
#1: Jul 17 '05
(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
Guest
 
Posts: n/a
#2: Jul 17 '05

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/

Tim Van Wassenhove
Guest
 
Posts: n/a
#3: Jul 17 '05

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
Geoff Berrow
Guest
 
Posts: n/a
#4: Jul 17 '05

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/
NK
Guest
 
Posts: n/a
#5: Jul 17 '05

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
Confused
Guest
 
Posts: n/a
#6: Jul 17 '05

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