I am trying a script to upload an image
the problem is the php does not recognize it as a local file
The error I get is :
error. File: ''.
Warning: fopen(joey lim.jpg) [function.fopen]: failed to create stream: No such file
or directory in /home/bus8646/www/tryout/upload.php on line 11
Warning:
Hi, following my earlier post
My input file from form in eg upload.html was not detected in the upload.php (handler)
The example can be seen in http://www.busybees.com.my/tryout/upload.html
I tried uploading using the input type=file name=userfile
which is supposed to be captured by the php
Hi everyone thanks.
I did add the enctype but it's still not working. Here're
the codes
Sorry if I posted to the wrong list. because I was trying to store the file as well in
the mysql db blob. Someone suggested to print all the $ post vars as I print, only the
MAX_FILE_SIZE shows up as a
Hi everyone
I changed the code a bit. Using the file tmp now.
Here's the code and the error (still error but less)
Thanks for the help
upload.php
-
?
phpinfo();
echo $_POST['userfile']['tmp'];
if (is_uploaded_file($_POST['userfile']))
Hi everyone.
Thanks for helping
Turned out the problem was my upload_tmp_dir.
So there you go.. heh
Get advanced SPAM filtering on Webmail or POP Mail ... Get Lycos Mail!
http://login.mail.lycos.com/r/referral?aid=27005
--
PHP
Hi All,
I have a sign up page and when the user submit, it goes to a confirmation page, before
the person actually submits.
The confirmation page stores the username and password in the Session variable and the
submit page stores it into the database by getting it from the session. The rest of
Alright thanks.
Can I put a crontab on the script? But I'm not really familiar with the crontab thing.
I'm using a hosting, it's Linux with Apache. I saw some articles in php.net on using
crontab but it looks alien to me.
Thanks a lot everyone!
Dewi
My boss can't seem to login at all through his laptop to my website.
The login process is as follows: from the index.php the person login goes to
handler/login.php which checks with the databae, if the user is authorized then put a
session variable called loginid and redirect the website to a