phpbar.de logo

Mailinglisten-Archive

[php] Grafik in db

[php] Grafik in db

Roland Scheike r.scheike_(at)_r2-net.de
Mon, 23 Aug 1999 11:01:56 +0200


This is a multi-part message in MIME format.

------=_NextPart_000_000E_01BEED56.EAEB1D80
Content-Type: text/plain;
	charset="Windows-1252"
Content-Transfer-Encoding: 8bit

Hallo,

ich weiss: Vor kurzem war erst der gleiche Thread hier- ich habe dennoch
Probleme da durchzusteigen:
Ich möchte, dass der Benutzer mittels DURCHSUCHEN ein Bild (gif) auf seiner
lokalen Platte auswählen kann und dieses (nicht der Link bzw. Name) dann in
die Datenbank (mysql) geschoben wird.
Mein Ansatz ist im Moment so:
--- schnipp
<body>
<?php
if (isset($store) && $store == 1)
 {
 $id=mysql_connect('','');
 $res=mysql_db_query("test","INSERT INTO eins (pic) VALUES ('$pic');",$id);
 }
?>

<form action="index.php3" method="POST" enctype="multipart/form-data">
<input type="File" name="pic" accept="image/gif">
<input type=hidden name=store value=1>
<input type="Submit" name="Absenden" value="Absenden">

</form>
</body>

--- schnapp

Was läuft hier verkehrt? Wo habe ich da meinen Denkfehler?

Vielen Dank für Eure Hilfe

Roland

------=_NextPart_000_000E_01BEED56.EAEB1D80
Content-Type: application/x-pkcs7-signature;
	name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
	filename="smime.p7s"

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIJojCCAjww
ggGlAhAyUDPPUNFW81yBrWVcT8glMA0GCSqGSIb3DQEBAgUAMF8xCzAJBgNVBAYTAlVTMRcwFQYD
VQQKEw5WZXJpU2lnbiwgSW5jLjE3MDUGA1UECxMuQ2xhc3MgMSBQdWJsaWMgUHJpbWFyeSBDZXJ0
aWZpY2F0aW9uIEF1dGhvcml0eTAeFw05NjAxMjkwMDAwMDBaFw0yMDAxMDcyMzU5NTlaMF8xCzAJ
BgNVBAYTAlVTMRcwFQYDVQQKEw5WZXJp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