PDA

View Full Version : Updating information using PHP


lou28
02-07-2005, 11:22 AM
Hi,

Im doing a site all in Flash and my client needs to be able to update a certain area regularly. They dont have a database facility but I can use php.

Would it be possible to make an area on the site available to them to type in the new info so it then permanently displays it elsewhere (until updated again).
Could anyone outline this process quickly or point me to a web site that can?

Thank you!!

andehlu
02-08-2005, 10:41 PM
if you have no database you can use text files. PHP can open and write text files ... look into fopen() and fwrite() at php.net. Then in flash use loadVars to display the text files....

Dark_Element
02-09-2005, 09:39 AM
andehlu... if the host has MySQL disabled its most likely that file functions are also disabled...

andehlu
02-09-2005, 02:14 PM
sounds like they only dont have mysql installed..... whoever installs php and disables fopen and fwrite needs to be slapped ;)

Dark_Element
02-09-2005, 10:04 PM
someone to slap:
www.hostultra.com (they may have allowded file functions now, but i am not sure)

lol