gimme4free
Elite Member
- Oct 22, 2008
- 1,935
- 1,989
Easier to explain with example:
index.php - This has a form on it with one field ($URL).
I want $URL to be submitted to test.php
Test.php contents eg.
Hi, thanks for visiting, your site is $URL
Obviously this is not what I will be using it for but just an example.
So Test.php will already have the text and fwrite will LOOK for the variable and overwrite it. Also if possible does anyone know how to have a default value as well? So there can be a default value that can be overwritten and all URL's can also be overwritten in the future as well so it will not actually remove the $URL variable?
index.php - This has a form on it with one field ($URL).
I want $URL to be submitted to test.php
Test.php contents eg.
Hi, thanks for visiting, your site is $URL
Obviously this is not what I will be using it for but just an example.
So Test.php will already have the text and fwrite will LOOK for the variable and overwrite it. Also if possible does anyone know how to have a default value as well? So there can be a default value that can be overwritten and all URL's can also be overwritten in the future as well so it will not actually remove the $URL variable?