...

View Full Version : Need help with posting (something i want)



legendrock7
11-07-2012, 04:15 AM
Hi, i'm not Experienced in php at all so i was wondering if someone can help me out.

Anyways, i'm looking for (or you can give me a link that shows me what to do if you find one) where you enter a name into a filed & that will LOG a name onto a text file on your webhost & then it will redirect you to another link afterwards.

thanks if anyone can help!

Redcoder
11-07-2012, 01:48 PM
Check this file handling links out - they'll show you how to write to open and write to text files:


http://php.net/manual/en/spl.files.php
http://davidwalsh.name/basic-php-file-handling-create-open-read-write-append-close-delete

For redirection, see the following:


http://php.net/manual/en/function.header.php


For redirection, take care not to send any headers before redirection like echoing out something. And after header(''); use exit() right after it.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum