Richard Lynch wrote:
Browsers will probably NOT populate these reliably...
Mac Safari, might, for example, choose "application/x-pdf" for the PDF
file.
You really can't rely on 'type' to be useful in any way, shape, or form.
Thanks for the tips, I've deleted this check, and changed how I ch
On Thu, May 3, 2007 3:23 pm, Marcelo Wolfgang wrote:
> I'm developing for my first time an upload file form which will
> populate
> a sql insert query, I think I got everything working fine, but the
> data
> isn't been saved on the database. Can someone help me with what I'm
> doing wrong here ?
>
Marcelo Wolfgang wrote:
Hi all,
I'm developing for my first time an upload file form which will populate
a sql insert query, I think I got everything working fine, but the data
isn't been saved on the database. Can someone help me with what I'm
doing wrong here ?
the code follow:
0)
{
Hi all,
I'm developing for my first time an upload file form which will populate
a sql insert query, I think I got everything working fine, but the data
isn't been saved on the database. Can someone help me with what I'm
doing wrong here ?
the code follow:
0)
{
echo "Return Code: "
day, August 05, 2004 1:34 AM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] File Uploading Issue
On Thursday 05 August 2004 13:42, PHP E-Mail List wrote:
> You don't have permission to access /directory uploaded
> to/renamed file.txt on this server.
What are the permission
PHP E-Mail List wrote:
Ok, I figured I'd tackle this since I've been coding php for about 6
months now. And wouldn't ya know, I'm having problems with, what I
thought would be the easiest thing to code ever. Yeah well I get the
file to upload, and heck I can even take the file and display what tex
On Thursday 05 August 2004 13:42, PHP E-Mail List wrote:
> You don't have permission to access /directory uploaded
> to/renamed file.txt on this server.
What are the permissions on that file?
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integ
Ok, I figured I'd tackle this since I've been coding php for about 6
months now. And wouldn't ya know, I'm having problems with, what I
thought would be the easiest thing to code ever. Yeah well I get the
file to upload, and heck I can even take the file and display what text
was uploaded.
How
on 11/07/02 10:10 AM, Nick Oostveen ([EMAIL PROTECTED]) wrote:
> I've got a (hopefully) simple question which is indirectly related to php.
Very indirectly. Infact, it's completely a HTML/CSS question.
Try the comp.infosystems.www.authoring.stylesheets newsgroup.
Justin French
--
PHP Gene
I've got a (hopefully) simple question which is indirectly related to php.
I'm currently developing an application which includes functionality to
allow users to upload image files. Does anyone here know of a way to
customize the look of the HTML "file" input type? By this I mean changing
the
for security and
performance reason.
Love that manual,
---John Holmes...
- Original Message -
From: "Tim Decker" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, May 01, 2002 11:13 AM
Subject: [PHP] File uploading fails
> I have searched high and l
You haven't defined $file_name before trying to echo it, I think you'll
have to create it using $HTTP_POST_...['file'] and HTT...['name']
Also check your php.ini to see if file uploads are allowed and if yes the
max. limit.
> I have searched high and low and done everything
> recommended generical
I have searched high and low and done everything
recommended generically and yet am still having
problems uploading files. My script is as follows:
\n";
}
?>
Output is as follows:
Warning: Undefined variable: file_name in addimage.php
on line 5
Warning: Undefined index: file i
Hi,
I'm having trouble with a file upload php script.
I can upload a file, but when I try to transfer it from the temporary
location to anywhere within my domain, permission is denied.
I had exactly the same problem with the same script on another server and
tech support fixed it with the followin
Hello,
I have written code to upload files from the browser itself.But only
specified user can upload files for specific directory.That one also i
have done.I have given permission to upload files to a directory.If there
are any subdirectory how will write the code to upload files in the
ent
8, 2002 6:37 PM
Subject: Re: [PHP] File uploading like hotmail
I think you might be looking for HTML form element.
"Duky Yuen" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I want to make something like when you are attaching somet
8, 2002 6:37 PM
Subject: Re: [PHP] File uploading like hotmail
I think you might be looking for HTML form element.
"Duky Yuen" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I want to make something like when you are attaching somet
I think you might be looking for HTML form element.
"Duky Yuen" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I want to make something like when you are attaching something to an
> email in hotmail. I want to make something that searches your own
> computer
I want to make something like when you are attaching something to an
email in hotmail. I want to make something that searches your own
computer for files on your harddisk that you want to upload to the
server.
But I don't know if this is possible. If this is possible.Can somebody
tell me which fu
On Monday 21 January 2002 21:17, Uma Shankari T. wrote:
> Hello,
>
>
> When i upload the file it is updating only in the document root
> directory.It is not updated in some other directory except the root
> directory.why is it so?
>
> Any one tell me the solution for this?
The general procedu
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
* On 21-01-02 at 14:24
* Uma Shankari T. said
> Hello,
>
>
> When i upload the file it is updating only in the document root
> directory.It is not updated in some other directory except the root
> directory.why is it so?
>
> Any one t
Hello,
When i upload the file it is updating only in the document root
directory.It is not updated in some other directory except the root
directory.why is it so?
Any one tell me the solution for this?
Regards,
Uma
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
On Monday 21 January 2002 18:30, J.F.Kishor wrote:
> Solutions for your question is given in the PHP manual, and here's
> a part from the manual.
[snip]
A polite suggestion, please refrain from posting such a large chunk of the
manual! After all the manual is freely available online and
Try this:
- Original Message -
From: "Uma Shankari T." <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, January 21, 2002 3:34 AM
Subject: [PHP] File Uploading
>
>
> Hello,
>
> How to upload files in a particular directory usin
hi,
Solutions for your question is given in the PHP manual, and here's
a part from the manual.
Hope this would solve you problem.
Example 1. File Upload Form
---
Send this file:
The _URL_ should point to a PHP file. The MAX_FILE_SIZE
On Monday 21 January 2002 10:34, Uma Shankari T. wrote:
> Hello,
>
> How to upload files in a particular directory using php script in the
> browser itself
The gory details can be found in the chapter "Handling File Uploads".
--
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
/*
Lo
Hello,
How to upload files in a particular directory using php script in the
browser itself
Regards,
Uma
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-m
thanks, i know what u mean, but what if you have to upload bigger files?
is it possible that maybe the next php release will have a option to auto write the
uploading file to disk(if the file being uploaded is bigger than a certain size) while
uploading instead of slurping the entire file int
set your max upload file size smaller then. default is 2mb max. I find that
too small, I re-set mine to 5mb. I have 2g of ram on our server, 5mb isnt a
worry to me. Id rather that then the slow speed of writing the file to the
hd.
--
Chris Lee
[EMAIL PROTECTED]
"David" <[EMAIL PROTECTED]>
hi all,
I wes doing some file upload stuff with php when i noticed that as the file is being
uploaded, the entire file is stored in ram until it\'s finished.
obviously, we know the problems associated with this(use up a lot of ram for large
files), i\'m just wondering, is this going to be fi
Here is the code i'm running for my file upload and it
work correctly:
// file with submit form
// This is the file that you want to use as post
// example is postfile.php
// That will copy the file.
here is the full function I have implemented with my
page to store path into mysql.
fun
Lauri,
supposing you name the file input tag "myfile" (like ), then
$myfile contains the name of the temporary file on the server, while
$myfile_name contains the filename on the client's system.
See also
http://www.php.net/manual/en/features.file-upload.php
Drop me a line if you are still stu
Hello everybody,
I'm trying to do a file upload from the users computer via HTML file form element
to a Linux server running Apache. The file is selected by the user from her
or his computer, they hit the submit button and the file goes to /print/ folder
(dir relative to uploading script on the
http://www.turingstudio.com
vox+510.666.0074
fax+510.666.0093
Saul Zaentz Film Center
2600 Tenth St Suite 433
Berkeley, CA 94710-2522
> From: [EMAIL PROTECTED] ("Matt Williams")
> Newsgroups: php.general
> Date: 11 Jan 2001 03:11:21 -0800
> Subject: RE: [PHP] File Uploading Security - Ur
-
From: David Smith [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 11, 2001 5:45 AM
To: 'Php-General@Lists. Php. Net'
Subject: [PHP] file uploading error - can't upload "none"
Below is my code. I am uploading an image and a zip file only I want to make
it insert nop
hat the uploaded file has the correct extension.
>
> Where $userfile is the upload field name in the form
>
> M@
> > -Original Message-
> > From: Statbat [mailto:[EMAIL PROTECTED]]
> > Sent: 11 January 2001 11:00
> > To: PHP-General
> > Subject: [PHP] Fil
t [mailto:[EMAIL PROTECTED]]
> Sent: 11 January 2001 11:00
> To: PHP-General
> Subject: [PHP] File Uploading Security - Urgent please
>
>
> Hello,
>
> I am doing file uploading of only jpg file format, It first copys
> in tmp directory then I copy it in main well you al
Hello,
I am doing file uploading of only jpg file format, It first copys in tmp directory
then I copy it in main well you all know the procedure... neways what I am
concerned is how can I check that the file in temp is correct file and is safe for me
to copy it in the main folder?
Regards
Below is my code. I am uploading an image and a zip file only I want to make
it insert nopic.jpg if they don't upload an image. When I change
if($fileimage== "none") { to
if($fileimage== "none") {
$FileImage = 'nopic.jpg';
}
else {
$FileImage = $fileimage_name;
}
I get error can'
39 matches
Mail list logo