/    Sign up×
Community /Pin to ProfileBookmark

saving image file and label txt into SQL

HI

I been saving image file and label txt into SQL server database with binary mode, uploading from any images source .

Is there a better and a fast way script to do it?

Thanks

to post a comment
PHP

3 Comments(s)

Copy linkTweet thisAlerts:
@kingdmFeb 08.2010 — Why not save the images in a folder and save the path in the database.

Suggestion only. ?
Copy linkTweet thisAlerts:
@JoseSilvaauthorFeb 08.2010 — Why not save the images in a folder and save the path in the database.

Suggestion only. ?[/QUOTE]


Thank you

Can you teach me how to do it?

And then with that process how to give to my database that that object has an image?

I have in my main product database where all respective data is stored I have a column setted to int 1 characters: image="1" can be displayed. If image="0" the product cannot be displayed because does not have image.

Thank in advance
Copy linkTweet thisAlerts:
@kingdmFeb 09.2010 — Thank you

Can you teach me how to do it?

And then with that process how to give to my database that that object has an image?

I have in my main product database where all respective data is stored I have a column setted to int 1 characters: image="1" can be displayed. If image="0" the product cannot be displayed because does not have image.

Thank in advance[/QUOTE]


What exactly is the content of your main product database? Does it have an id with an incremental value? Specify it in detailed ?

In regards to uploading an image, check this link http://www.webdeveloper.com/forum/showthread.php?t=101466 . But it doesn't save the path in a database. I can assist you with that, just give me your specific problem, I'll try my very best to help ?
×

Success!

Help @JoseSilva spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.17,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...