Create a small php script to create database from current existing code
$10-30 USD
Bezahlt bei Lieferung
I want to have a database created... I currently have a small script that save all the users IP & HOSTNAME & other information into a .txt document but when my site has 100k+ visitor it is very inconvenient...
I want to have a database instead of using text document.
The database should be split into different category each one being a country. for exemple visitor from US will appear in the database table US .. all the hostname and other information my php script currently save to texts will be saved to the database
here is the php code i use:
if (stristr($hostname, $us) !== FALSE) {
$myFiley = "[url removed, login to view]";
$fh = fopen($myFiley, 'a');
fwrite($fh, $hostname);
fwrite($fh, $virgule);
fwrite($fh, $browser);
fwrite($fh, $virgule);
fwrite($fh, $referer);
fwrite($fh, $stringData);
fclose($fh);
}
It is currently working but as u can see it only save the text to a document, this should be made into database... $myfiley = [url removed, login to view] should mean table = us , so that text goes into the table us..
I also want another script , in php, that will tell me how many row there is in each table
I beleive this job is very easy as its almost like converting a small php code into another... i wont pay much.
Projekt-ID: #6473929
Über das Projekt
Vergeben an:
13 Freelancer bieten im Durchschnitt $24 für diesen Job
hi: i can develop a small db to store the information that you are currently saving in the text file, please contact me to get started
Hi There, Can be done now. Please check my profile reviews and share this project rightnow. Thanks for the help.
Hello sir, I am professional web developer and can convert this PHP code into your requirement. Please consider my bid so we can discuss on this project. Thanks
I am a web developer with 6 years of experience, I can delver you this in 24 hours with documentation. please contact me for more information.
Hi i'm an expert of 2 year in php and mysql. I can do this job in 2 days. Lets have a chat. thank you.
I have more than 3 years of experience in same field (Php- mysql). let me know if I can help you.............