[PHP] Datei Upload - Datei is da, wird aber nicht angezeigt...
Jo, der Titel sagt ja eigentlich schon alles.
Ich hab mit Hilfe meines PHP Upload Scriptes mehrere Dateien auf meinem alten Server problemlos uploaden können und diese (sofern ich wollte) auch in einem FTP Programm "gesehen".
Da jetzt endlich mein finaler Serverumzug vorüber ist, und ich alle meine Scripte angepasst habe, musste ich leider ein seltsames Phänomen bemerken.
Wenn ich jetzt auf meinem neuen Server eine Datei hochlade wird sie mir nicht in SmartFTP (oÄ) angezeigt, ist aber trotzdem am Server vorhanden und kann geöffnet werden!
Ich hab das 1:1 selbe Script auf einem anderen Server laufen lassen und dort geht alles reibungslos...
Einziger (offensichtlicher) Unterschied ist wohl das auf dem Server wo es funktioniert PHP5, and auf dem anderen PHP4 läuft, aber im eigentlichen Sinne "funktioniert" es ja auf beiden Servern, es wird nur nicht bei beiden angezeigt...
Wenn also jemand eine Idee hat woran das liegen könnte, postet was das Zeug hält
Danke!
A2k
--
The problem with America is stupidity.
I'm not saying there should be a capital punishment for stupidity, but why don't we just take the safety labels off of everything and let the problem solve itself?
----
Arguing with the moderators is like shaking your fist at God. There's nobody there; and if there is, he's not listening. And if he's listening, all you're doing is pissing him off.
Es wäre ganz sinnvoll, wenn du mal deinen Upload Code posten würdest.
Ansosnten kannst du ja mal ausgeben, was realpath() bei deiner Upload Datei ausspuckt. Eventuell guckst du einfach nur an der falschen Stelle...
...
Also dass ich an der richtigen Stelle nachschau krieg ich grad noch hin, danke.
ausserdem hab ich das ganze jetzt mal mit mehreren ftp programmen/diensten ausprobiert und es ist überall dasselbe phänomen.
hier mal der code:
falls ihr euch grade fragt was das mit $anderer_pfad usw. soll, das is dafür gedacht dass ich mal in einen anderen Ordner uploaden möchte als im Dropdown angegeben. Hat aber im Grunde nichts mit dem Problem zu tun. Genau dasselbe Script funktioniert auf meinem PHP5 Server allerdings so wie es soll.
greets,
A2k
--
The problem with America is stupidity.
I'm not saying there should be a capital punishment for stupidity, but why don't we just take the safety labels off of everything and let the problem solve itself?
----
Arguing with the moderators is like shaking your fist at God. There's nobody there; and if there is, he's not listening. And if he's listening, all you're doing is pissing him off.
Liegt dein Webspace auf funpic?
Denn dort, hatte ich ähnliche Probleme.
Eine Datei wurde hochgeladen, doch sie wurde nicht angezeigt, allerdings konnte man sie problemlos per Browser anzeigen lassen (Pfadeingabe).
Nach einiger Zeit ~1-2 Wochen erschien die Datei letztendlich im FTP.
*Edit* Scheint nicht auf funpic zu liegen, demnach kann man Funpic als Ursache ausschließen..
ich muss zugeben, wenn es wirklich nur an einem FTP Befehl liegen würde, wäre ich doch sehr überrascht, da ich wirklich weder mit SmartFTP, web2ftp.com und noch anderen FTP Zugangsmöglichkeiten erfolg hatte.
Weiters werden in meinem FTP Prog alle Ordner mit "LIST -laL" ausgelesen. Dass kann es also auch nicht sein....
--
The problem with America is stupidity.
I'm not saying there should be a capital punishment for stupidity, but why don't we just take the safety labels off of everything and let the problem solve itself?
----
Arguing with the moderators is like shaking your fist at God. There's nobody there; and if there is, he's not listening. And if he's listening, all you're doing is pissing him off.