/    Sign up×
Community /Pin to ProfileBookmark

php tutorial upload file problem

Hello i’m new to php so there is probably something I haven’t set up properly, I had a look through the forum quickly but couldn’t find a quick fix other using a completely new tutorial.

This tutorial helps you upload a file with error checking using 2 files. its a tutorial on html goodies php

I have copied and pasted the tutorial:

[url]http://www.htmlgoodies.com/beyond/php/article.php/3472561[/url]

into 2 text files and uploaded them to a php server, after uploading a text file using the html form, the html page connects to and loads the .php file to upload the text file and then the browser says done( in the grey loading part of the browser at the bottom, that shows the urls), with no text on the .php page at all… when I should have had a result saying if the file was uploaded or not.

Also, the file hasn’t uploaded either.

Any ideas?
Thanks, Chris

to post a comment
PHP

2 Comments(s)

Copy linkTweet thisAlerts:
@Phill_PaffordAug 24.2006 — I looked at the code from your link and I dont like it.

If you looking for a good tutorial on how to upload a file try this one:

http://www.tizag.com/phpT/fileupload.php

I had used this in the past on customized it to fit my needs, works great.

Hope this helps
Copy linkTweet thisAlerts:
@chris_25authorAug 24.2006 — Thanks a lot for replying, i'll try that instead.

Chris
×

Success!

Help @chris_25 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 6.16,
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: @nearjob,
tipped: article
amount: 1000 SATS,

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

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,
)...