upload images in database? [closed] - database

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I would like to make a script that adds news in a database, but every newsitem needs an image. But I don't know how I have to do the part with the images, do I have to add them also in the database or is their another way to do it? And what's the best way?
Cheers

You should store path to the image and use it in code that actually loads the file by the path, specified in the DB.
Also: http://www.kirupa.com/forum/showthread.php?323567-How-to-save-image-in-folder-and-path-to-database - look over here. It is the second link in google, by the way.. you better started by looking this up over there.
Storing Images in DB - Yea or Nay? - searching stack... :)

There're 2 ways
1- Store Image in Database.
2- Store Image's file path in Database

Related

fetching data from MLS while creating a real estate site [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 9 years ago.
I was doing some analysis for working on creation of a real estate site.
I need to fetch data from www.mls.ca
Now i am not sure on two things:
1. Is it legal to fetch data from that site for commercial purpose.
2. How do i pull the data from the site (i. Do i need to take the data every time and keep updating my db, ii. Do i need to get any db credentials from the mls site), i am a java developer so any hints on that line would be helpful.
Please help me with the process of fetching data from www.mls.ca
I'm not entirely clear what you intend to do, however, Spark looks promising, though. Please provide a specific question, so I can help you further.

Server design for social app [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I am currently designing an app to upload and download files from a server. I want to know what type of server to implement that would be robust enough to handle a lot of data per user and a lot of users.
I realise this is probably a very broad and slightly naive question.
I have done some research I think I have to get a SQL server and create a web service for the database and implement a REST system for interfacing with the service on the device side.
Regards, J
It's not a naive question per se, but you need to provide way more information than that.
If you just like to transfer files: Why not go with the simple, but effective FTP-protocol?

download data from database online from google POI [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I want to create an iPhone app that use the POI of google (for example a category, like baker shops or fish shops) and displays the POI on the map. I want to download all the data (name, address, telephone,..) abd put them into a database used by my app. Is it possible? How? There're tutorial or software to do this? I'm a beginner on database management. Thank You
I think you have to find them manually. Try to search a list of POI and then use Google Earth to find the coordinates of each of them..

R: How to extract the search results from web database to R data.frame? [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
(1) I have a list of protein' names.
(2) I want to search a web database for the biological function of these proteins.
(3) I know if the protein's name is in the database, the information such as "location" and "bioactivity" can be found.
(4) Can I do it auotomatically to extract those information to R's data.frame?
(5) If I cannot do it with R, what is the best way to do this automatically?
Many thanks,
Catherine
RCurl is the package you want, as it can be used to scrape the web. Download it, install it, require() it and read the manual and you should be able to do what you want.
Disclaimer: I have not used the package myself, but its the answer to many webscraping questions on R-help.

how website find them the request come from a browser or from any other [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
how website checked that a request come from a browser or from a programs.
in javascript you may use navigator.userAgent. note that this may vary from browser to browser. a good example how to use it can be found at
quirksmode.
However be aware that you can edit the userAgentString at any time using the appropriate browser, script or code. so no absolute guarantee on the result - but at least a starting point.
cheers,
markus
If you would prefer to use server side code, and presuming you are using .net, the Request.Browser property will provide details of the agent making the request.

Resources