Wrox Programmer Forums
Go Back   Wrox Programmer Forums > PHP/MySQL > Pro PHP
|
Pro PHP Advanced PHP coding discussions. Beginning-level questions will be redirected to the Beginning PHP forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Pro PHP section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old December 13th, 2004, 03:20 PM
Friend of Wrox
 
Join Date: Dec 2004
Posts: 154
Thanks: 0
Thanked 0 Times in 0 Posts
Default Upload Pictures/Videos

Alright, I spoke with a friend regarding an issue I have when uploading Pictures/Videos; He told me its unlikely you can check in PHP the size of the file you're uploading before sending it to the server.. Can you guys help?

Also, without pushing it too far, I have the standard
$destination = 'Pictures'."/".$_FILES['pix']['name'];
$temp_file = $_FILES['pix']['tmp_name'];
move_uploaded_file($temp_file,$destination);

If anyone got a better script plllease!





Similar Threads
Thread Thread Starter Forum Replies Last Post
two pictures upload at page 1 and see at page 3 gaurav gupta ASP.NET 2.0 Professional 2 July 21st, 2008 07:52 AM
Uploading videos!! ankur_icfai Javascript How-To 1 November 9th, 2006 10:34 AM
Streaming Videos pritambaldota ASP.NET 1.0 and 1.1 Professional 0 August 18th, 2006 06:53 AM
Download videos rajanikrishna HTML Code Clinic 1 October 27th, 2005 05:07 AM
Streaming Videos everest General .NET 0 October 13th, 2005 09:08 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.