vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Saving to a text file with PHP (https://vborg.vbsupport.ru/showthread.php?t=51774)

DeMuro1 04-18-2003 05:01 PM

Saving to a text file with PHP
 
I have a little php knowledge and I don't even know if this is possible. Can you use an html form to type in text and then have php save it to a text file or something easily accessed by a site page. The easiest thing I can think of, having no knowledge of the functions, is to create an array that stores the text and then saves itself but that's a little bulky and also a little clumsy to me. it seems that there should be an easier way to do this. Any help would be greatly appreciated

Black Vivi 04-19-2003 09:23 AM

ill make it post it in this thread later :)
im guessing you want it for the Admin CP?

DeMuro1 04-21-2003 03:05 AM

wow thanks. I actually want it so people can enter plain text into an html form and have the text saved onto a page. I'd then call the newly created page so I could use it on my website.

Thanks. the best thing I came up with was saving the text in an array and then have the original page call up the array and display that on the site.

Black Vivi 04-21-2003 07:20 AM

1 Attachment(s)
upload both of the files in the zip.

you might wanna change the colors in the CSS, they're just what I use on my computer.

DeMuro1 04-23-2003 09:39 AM

WOW....thanks, I really appreciate it


All times are GMT. The time now is 03:32 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01168 seconds
  • Memory Usage 1,708KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete