473,498 Members | 1,956 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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.
Jul 17 '05 #1
5 2197
"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/

Jul 17 '05 #2
On 2003-12-12, Confused <gu*************@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
Jul 17 '05 #3
I noticed that Message-ID:
<c2**************************@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/
Jul 17 '05 #4
NK
Confused 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.

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.


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
Jul 17 '05 #5
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.
Jul 17 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

11
16069
by: Jason | last post by:
Let's say I have an html form with 20 or 30 fields in it. The form submits the fields via POST to a php page which updates a table in a database with the $_POST vars. Which makes more sense? ...
7
6566
by: Frostillicus | last post by:
Hi, I've written some javascript to randomly choose a classical music composer's picture and sample audio and display it on my home page (http://marc.fearby.com/), and this works fine in Mozilla...
4
1985
by: Raymond Wilk | last post by:
I used javascript to open a new window, then used the following to close the new window on the next click: <body onBlur="self.close()" onClick="self.close()" bgcolor="#FFFFFF"> On the new window...
20
2827
by: Wayne Sutton | last post by:
OK, I'm a newbie... I'm trying to learn Python & have had fun with it so far. But I'm having trouble following the many code examples with the object "self." Can someone explain this usage in...
2
3038
by: mark s | last post by:
How can I make a simple, self-updating calendar in a form without using any controls except textboxes *or* toggle buttons? -- name: Mark S. email: huskie_009@hotmail.com *** Sent via...
3
4311
by: Katy | last post by:
In my project I have two tables with the same structure and second table's data is a part of the first one. (one is the main and the second is used to keep the results of filters performed on the...
12
4794
by: AES | last post by:
Can an HTML web page dynamically modify its own code? (without resort to Java or any other non-HTML complexities) That is, is there any provision in HTML such that a single "Next" button on a...
2
2849
by: Paul | last post by:
I am moving an existing app written years ago to a new server. It uses Sigma Template 1.3 and Quickform 1.1.1 and PEAR.php,v 1.1.1.1 2004/02/16 The directory structure is like this: /site...
4
13405
by: Jerry West | last post by:
I have a routine that updates a PictureBox image every x seconds. I do this by first loading an array with the path to all of the images. I then generate a random number to use as the index of the...
0
7125
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7203
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
7379
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5462
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
4908
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4588
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3093
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
1
656
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
290
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.