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