| Forum |
|
|||||||
| Open Source A place where you can talk to like-minded people about the fastest growing software movement today! Discuss anything and everything about Open Source software and Operating Systems. |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|
#1 (permalink) |
|
In The Zone
Join Date: Jul 2005
Location: KOLKATA
Posts: 267
|
The following script I am using for inserting the image which is not working. I have changed the buffer and global settings(output_buffering = on and register_globals = on) in php.ini file but with no result. Kindly see the attachment and please help.
__________________
Desktop: P-IV 2.4GHz, 512MB DDR, 865GBF Mother Board, G-Force 5200FX, 17" Samsung flat, WinXp with SP2, Kaspersky Internet Security 2009. Laptop:LENOVO 3000 C100 D7 lappy with 2GB DDR2. |
|
|
| Advertisements. Register and be a member of the community to get rid of them. | |
|
Advertisement
|
|
|
|
#2 (permalink) |
|
In The Zone
Join Date: Jul 2005
Location: KOLKATA
Posts: 267
|
A bump for all??
__________________
Desktop: P-IV 2.4GHz, 512MB DDR, 865GBF Mother Board, G-Force 5200FX, 17" Samsung flat, WinXp with SP2, Kaspersky Internet Security 2009. Laptop:LENOVO 3000 C100 D7 lappy with 2GB DDR2. |
|
|
|
|
#3 (permalink) |
|
String Phreak
Join Date: Mar 2005
Location: In ur Evil Mind!
Posts: 2,453
|
http://hockinson.com/index.php?s=37
But I wud recommend to store them in server folders n use em from there!
__________________
Bad Bad server.....No candy for u! |
|
|
|
|
#4 (permalink) |
|
In The Zone
Join Date: Jul 2005
Location: KOLKATA
Posts: 267
|
I found a good solution with working script(Yes working script) which I want to share with you guys.please see the attachment or click
http://www.dreamwerx.net/phpforum/?id=1 Thanx Mediator, indeed I was also thinking about the same as it is said that unless you are having a good pattern recognition software which can identify a rose from a picture of garden, storing image in database is not a very good idea. Another problem is the size restriction. I want to store a scanned image (in tiff format) which has approximately 35 to 40MB size. This is very very difficult if i use the database.So your solution will be very helpful. can you provide me a script or a link? Thanx in advance.
__________________
Desktop: P-IV 2.4GHz, 512MB DDR, 865GBF Mother Board, G-Force 5200FX, 17" Samsung flat, WinXp with SP2, Kaspersky Internet Security 2009. Laptop:LENOVO 3000 C100 D7 lappy with 2GB DDR2. |
|
|
|
|
#5 (permalink) | |
|
String Phreak
Join Date: Mar 2005
Location: In ur Evil Mind!
Posts: 2,453
|
@bukaida : See u can store the image in a folder and develop a php script so that u can manually enter the filepath of that file and make it as a link!
To make an existing file as a link (so that u can open it via link) here's the script! Quote:
U can use this idea to insert the filepath in mysql and retrieve it from there and make it a link !!
__________________
Bad Bad server.....No candy for u! |
|
|
|
|
|
#6 (permalink) |
|
In The Zone
Join Date: Jul 2005
Location: KOLKATA
Posts: 267
|
@mediator: Got your idea but can it be used to upload the image file. I mean the image is in client's machine and it should be uploaded to a remote folder at the server so that another client can download and use it.Can you help?
__________________
Desktop: P-IV 2.4GHz, 512MB DDR, 865GBF Mother Board, G-Force 5200FX, 17" Samsung flat, WinXp with SP2, Kaspersky Internet Security 2009. Laptop:LENOVO 3000 C100 D7 lappy with 2GB DDR2. |
|
|
|
|
#7 (permalink) |
|
String Phreak
Join Date: Mar 2005
Location: In ur Evil Mind!
Posts: 2,453
|
@bukaida : Sorry dood, I haven't yet tried the remote upload part of php yet! U can manually ftp to upload the file or follow this link! See the php ftp n http section on left hand side!
__________________
Bad Bad server.....No candy for u! |
|
|
|
|
#8 (permalink) |
|
In Pursuit of "Happyness"
Join Date: May 2005
Location: New Delhi
Posts: 3,404
|
Code:
if ($_FILES['imagefile']['type'] == "image/jpg"){
copy ($_FILES['imagefile']['tmp_name'], "files/".$_FILES['imagefile']['name'])
or die ("Could not copy");
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|