Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

PHP Forum


You are currently viewing our PHP Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
Can I use PHP to update a website
Old 06-09-2005, 06:40 PM Can I use PHP to update a website
Junior Talker

Posts: 1
Trades: 0
Hi all, Im new to this so im very sorry if im in the wrong area. Essenially I'd like to be able to update a web page by using a form or similar. i do not have a database setup on this site.

Im not sure if php is the answer - can anybody help with advising the correct code I should be using or pointing me in the direction of a good tutorial.

Thanks for you help.
djmcdee is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 06-09-2005, 07:06 PM PHP can do anything!
Monkeon's Avatar
Skilled Talker

Posts: 59
Trades: 0
I just started learning PHP a few months ago, during that time I learnt that PHP can do almost anything! It's great.

It depends how you mean by 'update'. If you mean you want to be able to post text to a web page using a form. Then yeah PHP can do that.
First you need to decide where the form is going to post the text to.
Since you already said that you don't have a MySQL Database, you could store the text into an ASCII file.

So basically, the form posts the results to a PHP script, which then opens your ASCII file and saves the text inside it.

Then your web page would use some simple PHP code to then open the ASCII file and display it's contents on the web page.

I highly recommend this site for learning PHP
http://www.tizag.com/phpT/

you'll see it has tutorials for File Open, File Write, File Close
which are the PHP basics for storing data into text files.

Hope that helps!
Monkeon is offline
Reply With Quote
View Public Profile
 
Old 06-09-2005, 08:15 PM
Phaedrus's Avatar
Ultra Talker

Posts: 271
Location: CA
Trades: 0
If you have the ability to use a MySQL database, a Content Management System sounds like what you're looking for. I like Etomite , it's simple and flexible.
__________________

Please login or register to view this content. Registration is FREE
Phaedrus is offline
Reply With Quote
View Public Profile
 
Old 06-10-2005, 05:26 AM
Average Talker

Posts: 28
Trades: 0
A nice content management script is Cutenews, jsut google for it. No database need, easy to install and writes everything to a text file.
__________________

Please login or register to view this content. Registration is FREE



Please login or register to view this content. Registration is FREE



Please login or register to view this content. Registration is FREE
e-vange is offline
Reply With Quote
View Public Profile
 
Old 06-10-2005, 10:29 AM
Extreme Talker

Posts: 171
Trades: 0
Cute News is not a CMS (Content Manage System). It is a news publishing system and It's real basic.
mohamoud is offline
Reply With Quote
View Public Profile
 
Old 06-15-2005, 05:37 AM
Average Talker

Posts: 28
Trades: 0
True true, I take it back, easy on the horse feed mohamoud!

I was simply making a suggestion of a handy way to update pages......

Apologies for the incorrect terminology I shall go and bleach my mouth now......
__________________

Please login or register to view this content. Registration is FREE



Please login or register to view this content. Registration is FREE



Please login or register to view this content. Registration is FREE
e-vange is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Can I use PHP to update a website
 

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.30470 seconds with 12 queries