Hab mal wieder eine nette kleine Herausforderung für euch: Mein kleines Upload-Script will irgendwie nicht so richtig.
Hab mir ein relativ simples Script gebaut wo man alle Datei-Endungen der Welt hochladen kann und man auch nicht auf die Größe schauen muss. ABER irgendwie bekomm ich immer den Fehler dass er eine Variabel nicht lesen kann, was aber nicht so richtig sein kann.
Schaut selbst:
Jetzt bekomm ich dauernd die Fehlermeldung: copy(): Unable to access in /www/htdocs/public/scripts/upload/index2.php on line 42
Wobei Zeile 42 hier diese wäre:
Nur hab ich jetzt grad keine Ahnung was da falsch ist...
Nur zu Info. Es wird am Anfang des Scripts die Datei "config.php" includiert, in dieser Datei ist lediglich mein Passwort und der Upload-Order gespeichert.
Das wär das eine, und nur so nebenbei, gibt es eine PHP Funktion mit der mir der Syntax einer .PHP/.HTML/-Datei farbig angezeigt werden kann?
THANKS!
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.