Find Jobs
Hire Freelancers

Script to inject data into a MySQL database from XML file

$30-250 USD

Completed
Posted over 10 years ago

$30-250 USD

Paid on delivery
I do have some data in an XML file in addition to some images in a folder that needs to be injected into a MySQL DB. Below is a brief description of what I have and what I want: - XML file that include, say 10-20 fields. One field would hold a unique value (like a reference code for the record and we would call it X. For example, W1324123). - In the folder that would include the images, you would have jpgs in this name format (PhotoX-n). Where (Photo as a string is constant), X is the same X unique number, and n is an incremental number (between 1 and 6) which is the number of photos associated with the record. So we can have up to 6 images associated with each record. For example, an image named (PhotoW1324123-1) would be the main image associated with the record (W1324123). - There can be other images like (PhotoW1324123-2 and PhotoW1324123-3 and up to PhotoW1324123-6) that are all related to the same record but the one that ends with (-1) is the main one. The Requirement - I need a script that creates the table and injects the initial data ( full form XML file) and images into the database. - I need another script that automatically refreshes the information on the database at a specific scheduled time of the day. I would have another XML file and a new set of images. The second XML file would hold the data deference (incremental) between last day and the current available records in the DB. Therefore, the script needs to delete what is no longer available and adds the newly added records. - The scripts should be written using php - The scripts should be properly coded so I can easily manipulate like modifying data fields and other settings (I am not a coder but can understand code to a certain extent and I don’t want to turn modifying the code into a hassle every time my client is looking to change something). Therefore, comments on how the script works are required. - Due to so many people responding to projects without reading through the requirement, reaching to this point tells me that you are doing your job properly and I would like to ask you to put the code “6534” at the beginning of your response to consider your bid. - Errors should be handled properly with an alert (email) sent to the admin.
Project ID: 5414766

About the project

17 proposals
Remote project
Active 10 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
6534.I can do this work easily. I can show you a demo of it in next few hours and can finish this very quickly. Do let me know when you are ready to start. Thanks
$54 USD in 3 days
5.0 (52 reviews)
5.2
5.2
17 freelancers are bidding on average $158 USD for this job
User Avatar
I have read your project details, and I am interested in offering my services. I provide 100% satisfaction guaranteed on all my work. Milestone is required to begin; to be released when the job has been satisfactorily completed. I estimate a 2-3 day turnaround (including weekends) on this project. ftp details to your site will be required. Contact me at your soonest convenience so we may get your solution delivered quickly. Thanks, coderXO
$185 USD in 3 days
4.9 (588 reviews)
8.0
8.0
User Avatar
Hello, With 99% completion rate, 650+ successfully completed projects, and a 5.00 reputation (maximum possible, 5.0) (Yes, not even 4.99 average rating, can be verified on my profile page !!)... you can never go wrong choosing me :) I look forward to your reply. Thanks. Kind Regards, Rajesh Soni
$721 USD in 4 days
4.9 (478 reviews)
7.4
7.4
User Avatar
6534 Dear customer I can write these scripts for you easily. Please have a look at my past projects. Looking forward to work with you. Thanks Rinsad
$206 USD in 3 days
4.9 (314 reviews)
7.3
7.3
User Avatar
Hello, I am an expert in PHP with over 10 years of experience. I have done many similar jobs. Ready to start. Thanks, Alex
$144 USD in 3 days
5.0 (89 reviews)
6.0
6.0
User Avatar
6534 Hi! I am qualified and experienced freelancer with 5* reputation. I have experience on similar work and I am very much interested in this project. Please let me know more details if you are interested. BUDGET NEGOTIABLE, QUALITY WORK GUARANTEED. Please visit my profile to know about my clients satisfaction with my service. Thanks, Rajib
$77 USD in 3 days
5.0 (57 reviews)
5.4
5.4
User Avatar
6534 - as you said to put the code in beginning of response. I'm Expert in PHP, I have done similar jobs, can develop scrapers, scripts to put data into databases. I use PHP. I will ask 1, 2 questions before starting to clear 1,2 points. Anyhow totally understand what you want.
$99 USD in 1 day
5.0 (18 reviews)
4.1
4.1
User Avatar
“6534” I have read your description for this project carefully and really interested in taking up this project. I am an PHP | Mysql software expert with rich experience. I have done many successful PHP | Mysql projects. please see my comments below 1) I need a script that creates the table and injects the initial data ( full form XML file) and images into the database. haysandeep : do you want to store the images in database or just its name so that we can find the images by its name in future. storing images on database will make it so heavy and slow. 2) I need another script that automatically refreshes the information on the database at a specific scheduled time of the day. I would have another XML file and a new set of images. The second XML file would hold the data deference (incremental) between last day and the current available records in the DB. Therefore, the script needs to delete what is no longer available and adds the newly added records. haysandeep : for this specific requirement i will schedule a cron job which will refresh the information and will also delete the records which is not needed. 3) i will put comments with every bunch of code so in near future you can understand about the execution of specific code and can also manipulate it. 4) Errors should be handled properly with an alert (email) sent to the admin. haysandeep : use the exceptions to handle the errors and will also shoot an email to admin when it would be happened
$210 USD in 7 days
4.6 (3 reviews)
3.5
3.5
User Avatar
6534 Hello Sir, I well read your description. I need to re-evaluate my bid according to more details about your project. About availability, I am free from today and theses next days. I have a lot of experience with php/mysql + jquery and more (xml and api, ...), I am freelancer since 10 years and last year I was working for a big company who own a network of adult tubes (youporn network). You can also check my portfolio where you can find few websites I've programmed. If you have any questions, feel free to contact me here or through skype: djflexlive Thanks.
$250 USD in 3 days
5.0 (3 reviews)
3.3
3.3
User Avatar
A proposal has not yet been provided
$111 USD in 2 days
5.0 (4 reviews)
3.1
3.1
User Avatar
A proposal has not yet been provided
$144 USD in 3 days
4.1 (3 reviews)
1.5
1.5
User Avatar
6534 Hi, Your request seems simple enough, and shouldn't take long at all to complete. I have years of experience in doing scripts just like this. All I would need from you to begin is the XML file to parse, and if you have a database schema you would like, otherwise I would create that too. The scripts are to be command line I presume? Please feel free to contact me if you have any questions. Thanks for considering my bid, Odinn
$100 USD in 2 days
3.5 (1 review)
0.0
0.0
User Avatar
6534 Dear sir i have experience data scrapping from web page and xml file. Sir i understand you requirements so i mange it easily and deliver on time.
$40 USD in 3 days
0.0 (0 reviews)
0.0
0.0
User Avatar
6534 I only have two question to ask 1.- Do you want the pictures to be save in the database? I ask this because it could with the time bloat your database making it to work really slow. A better approach is to save/move the files to X directory lets say following your example: pictures/W1324123/photoW1324123-1, photoW1324123-2, etc. What do you think about it.? 2.- You want the script to run automatically at certain time of the day.: I believe that the better approach is to create the script to update the tables, but run it with a cron job (linux) or scheduled task (windows). Let me know what you think about it. Reynaldo.
$55 USD in 3 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of CANADA
Mississauga, Canada
5.0
13
Payment method verified
Member since Sep 9, 2011

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.