Find Jobs
Hire Freelancers

Connect to ODBC data source remotely

$10-30 USD

Completed
Posted about 8 years ago

$10-30 USD

Paid on delivery
Hi, I have a Sybase database on a local machines I am connecting and extracting info from locally using php. I need the same PHP file to access the data on another computer on the same network. Here is an example of how I am doing it locally which works great: <?php $conn = odbc_connect("data source name", "username", "password"); if (!($conn)) { echo "<p>Connection to DB via ODBC failed: "; echo odbc_errormsg ($conn ); echo "</p>\n"; } $resultset=odbc_exec($conn, "SELECT * FROM table_name"); odbc_result_all($resultset,"border=1"); odbc_close($conn); ?> Can you help me modify the php so I can use it on another computer on the same network? In other words... the database would be hosted on the 'server' and I need to connect using a php file from a different computer on the same network. Thanks for considering this project!
Project ID: 9731468

About the project

8 proposals
Remote project
Active 8 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
HI, I having more than 5 Years experience as Software Developer in IT company. I having 100% completion rate. I will help in this task you need to use mysql_connect() function. Please ping me or share me your screen Thanks, Sanjay
$15 USD in 1 day
5.0 (2 reviews)
0.5
0.5
8 freelancers are bidding on average $22 USD for this job
User Avatar
Hi Assuming the other computer is in the network and accessible from the current computer then I see no reason why you can't connect. You will have to create a new ODBC connection giving the same details as the one locally but a different name, then change it on the first parameter of odbc_connect. We can work it out on teamviewer if you want. Thanks Rui
$20 USD in 1 day
5.0 (62 reviews)
5.8
5.8
User Avatar
Dear Sir I am a software engineer from Sri Lanka with a degree in Information technology from the university of Colombo. I have experienced in web application development using ajax, php And mysql . and also have a experience with android application development With java and standalone app development in java. I take great pride in my believe I could produce exactly what you are Looking for. Look forward to discussing this opportunity with you further. Kind regards Asanka
$25 USD in 1 day
5.0 (5 reviews)
2.7
2.7
User Avatar
hi. how are you. i have experience in php and will do it quite easily. waiting for your response thanks code4tech
$20 USD in 1 day
5.0 (3 reviews)
2.1
2.1

About the client

Flag of UNITED STATES
Belleville, United States
5.0
5
Member since Jul 31, 2015

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.