Current location: Hot Scripts Forums » Programming Languages » PHP » PHP upload images without FTP?


PHP upload images without FTP?

Reply
  #1 (permalink)  
Old 12-23-04, 11:34 PM
AlexLee AlexLee is offline
Newbie Coder
 
Join Date: Dec 2004
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
PHP upload images without FTP?

Hi, I need some help here. I am currently using my computer to test my server and they consist of Apache, PHP and MySQL.

I want to allow people to upload images on to the site. The path of the image will be store in a database, together with all the other infomation regarding the pictures.

How do I do the upload with PHP when I do not have FTP? I read somewhere you can use streams to upload on to the server but I have no idea how. Or should I just install a FTP? If so, how do I install an FTP on my computer.
Reply With Quote
  #2 (permalink)  
Old 12-24-04, 04:17 AM
NeverMind's Avatar
NeverMind NeverMind is offline
Community VIP
 
Join Date: Aug 2003
Location: K.S.A
Posts: 2,257
Thanks: 0
Thanked 2 Times in 1 Post
you do NOT need FTP for that!
just take a look here:
http://www.php.net/manual/en/features.file-upload.php

also if you wanted to see some code of an upload script (without DB) check the one in my sig ..
__________________
PHPSimplicity
We don't need a reason to help people - Zidane [FF9]
Reply With Quote
  #3 (permalink)  
Old 12-24-04, 09:29 PM
AlexLee AlexLee is offline
Newbie Coder
 
Join Date: Dec 2004
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Thanks for the links!
Reply With Quote
  #4 (permalink)  
Old 12-25-04, 12:41 AM
rmurdo rmurdo is offline
Newbie Coder
 
Join Date: Jul 2003
Posts: 54
Thanks: 1
Thanked 0 Times in 0 Posts
Upload.

Be carefull with that. If you leave it generic people can upload scripts.

Rob
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
move files around an ftp server, with php file upload script? wapchimp PHP 2 12-19-04 07:27 AM
FTP client login vs. PHP login kevincompton PHP 1 11-02-04 01:17 PM
PHP Upload mstahl PHP 2 09-07-04 05:07 AM
Upload data from logical directory in php moonncloud PHP 1 08-25-04 05:53 AM
PHP Upload Form Help tsb PHP 19 12-15-03 07:09 PM


All times are GMT -5. The time now is 05:23 AM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.