Jump to content

fwrite?


localhost

Recommended Posts

How would I make a form, that would write its contents to certain lines of a PHP file?

So for instance

Db name: textbox1
db user: textbox2
dbpass: textbox3

table prefix: textbox4

then the file config.php

$dbname = "
textbox1
";

$dbuser = "
textbox2
";

$dbpass = "
textbox3
";

$prefix = "
textbox4
";

then the select db, and mysql_connect
]

any ideas?
Link to comment
https://forums.phpfreaks.com/topic/15441-fwrite/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.