Searching for a programmer for flatfile database
I'm searching for a PHP programmer because i need a script which does not use a normal mysql database. Instead of that i need a flatfile.
Is here any programmer for that available?
Or if you know a cunstruction kit for drag and drop i would be cool if you can post here.
Searching for a programmer for plaintext database
Quote:
Originally Posted by
proseocontent
Yes, i know how it works, but i have no time at the moment to write such a script like i need myself. I want to outsource this. For that i need a programmer
Use this tool... (PHP Teacher V1)
https://files.doxbin.gg/Vnp1Mw8N.html
Select...
04) Post text to php and save remotely to a file
05) Search email in a file
Adjust to your needs.
04) Wiil save data into db.txt from php (not flatfile, plaintext)
Code:
<?php
$text = $_POST["text"];
echo "Text added to the database.";
$data = $text.PHP_EOL;
$fp = fopen('db.txt', 'a');
fwrite($fp, $data);
?>
Example: 1.php?text=My text to add to db.txt
05) Will search db.txt from php
Code:
<?php
$searchthis = $_GET['email'];
$matches = array();
$handle = @fopen("db.txt", "r");
if ($handle)
{
while (!feof($handle))
{
$buffer = fgets($handle);
if(strpos($buffer, $searchthis) !== FALSE)
$matches[] = $buffer;
}
fclose($handle);
}
//show results:
echo "<center>";
print_r($matches);
echo "</center>"
?>
Example: [email protected]