Wrox Programmer Forums
Go Back   Wrox Programmer Forums > PHP/MySQL > PHP How-To
PHP How-To Post your "How do I do this with PHP?" questions here.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the PHP How-To 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 March 6th, 2007, 07:35 AM
Authorized User
Join Date: Feb 2007
Posts: 25
Thanks: 0
Thanked 0 Times in 0 Posts
Default upload file in php4.2.2

Hi Everybody!
I am new user and working in php4.2.2, apache2 and mysql which (all three) are install on another machine(IP add 172.28.**.**)linux plate form. There is windows service pack2(SP2) on my machine. I work through telnet.

I have to upload file which is stored on "/var/www/html/telephone/". When i execute upload file code it open browser on path of my machine while i have to upload file from path /var/www/html/telephone/ of telnet machine.....
My code is ======>
<form enctype="multipart/form-data"
  action="import.php" method="post">
  <input type="hidden" name="MAX_FILE_SIZE" value="2000000" />
  <table width="600">
  <td>Names file:</td>
  <td><input type="file" name="file" /></td>
  <td><input type="submit" value="Upload" /></td>

As I click on browse it should open on the remote machine ie at which i am telneting ...Please help me and mail me at rapraaj@rediffmail.com
Thank u....

Similar Threads
Thread Thread Starter Forum Replies Last Post
Filter File Types in ASP.NET File Upload ramuis78 ASP.NET 2.0 Basics 2 May 31st, 2007 10:50 AM
upload ms access file in php4.2.2 rapraj PHP How-To 0 April 17th, 2007 07:55 AM
upload excel file in php4.2.2 rapraj PHP How-To 0 April 13th, 2007 01:56 AM
Whole Folder upload(Multi file Upload) ramasamy_rams XML 1 September 9th, 2005 12:43 PM
JSP file upload and delete file pandjie JSP Basics 0 January 29th, 2005 10:49 PM

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