21, November 2008

upload with curl - webmaster forum

 
Webdigity webmaster forums
This forum shares its ad revenue with its members!
[ Home | Help | Search | Forum's Shop | Archive | Login | Register | Webmaster Directory ]
Webdigity Webmaster Forums  >  Web Development  >  PhP
Topic: upload with curl
« previous next »
Pages: 1 2 [3] Print

Author Topic: upload with curl  (Read 2740 times)
Global Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6435
39434 credits
Members referred : 374


It's time to use PHP5!


« Reply #40 on: Aug 29, 2006, 02:50:37 PM »

but what if I need to to upload a csv to my server and wnat to parse the values to a database (via password protected page)?

I can't see why I need Curl for this... and when do I need a curl upload to upload an image to a directory?


Last blog : Just a better Internet portal provided by Google
I am a metal monkey!
Administrator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 8245
42457 credits
Members referred : 3



« Reply #41 on: Aug 29, 2006, 02:53:19 PM »

Curl helps dramatically when you want to use sessions, plus it is much faster than anything else.

Also it gives you the capabillity to be a little more secure in your queries.

For example you can use a custom referer or browser header when you connect with your remote scripts.

Trial and Error my two best teachers Cool
Join us @ facebook Visit through proxy or twitter Visit through proxy

Last blog : Free Unlimited Bandwith and disk space to good to be true?
Global Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6435
39434 credits
Members referred : 374


It's time to use PHP5!


« Reply #42 on: Aug 29, 2006, 02:55:16 PM »

For example you can use a custom referer or browser header when you connect with your remote scripts.

but this is for uploading files other then the one where the upload form is hosted right?


Last blog : Just a better Internet portal provided by Google
I am a metal monkey!
Administrator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 8245
42457 credits
Members referred : 3



« Reply #43 on: Aug 29, 2006, 02:58:25 PM »

I guess Smiley

Trial and Error my two best teachers Cool
Join us @ facebook Visit through proxy or twitter Visit through proxy

Last blog : Free Unlimited Bandwith and disk space to good to be true?
Global Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6435
39434 credits
Members referred : 374


It's time to use PHP5!


« Reply #44 on: Aug 29, 2006, 03:16:34 PM »

OK, and for all "local" file actions I have to use the common php functions...

I think I got this now, that why you have all this header information in your curl session, otherwise its not safe for the remote server (where the file is send to)


Last blog : Just a better Internet portal provided by Google
I am a metal monkey!
Administrator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 8245
42457 credits
Members referred : 3



« Reply #45 on: Aug 29, 2006, 03:22:10 PM »

It is not the best security, but at least it will slow down some kid hackers Smiley

Trial and Error my two best teachers Cool
Join us @ facebook Visit through proxy or twitter Visit through proxy

Last blog : Free Unlimited Bandwith and disk space to good to be true?
Global Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6435
39434 credits
Members referred : 374


It's time to use PHP5!


« Reply #46 on: Aug 29, 2006, 03:27:14 PM »

I think I know enough to start with the tutorial...


Last blog : Just a better Internet portal provided by Google
I am a metal monkey!
Administrator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 8245
42457 credits
Members referred : 3



« Reply #47 on: Aug 29, 2006, 03:30:03 PM »

Hehe, that's true Smiley

Trial and Error my two best teachers Cool
Join us @ facebook Visit through proxy or twitter Visit through proxy

Last blog : Free Unlimited Bandwith and disk space to good to be true?
Trackback URI for this entry : http://www.webdigity.com/trackback.php?topic=3852
Tags : html forums tutorials browsers Bookmark this thread : Digg Del.icio.us Dzone more....

Topic sponsors:
Get a permanent link here for $1.99!


Pages: 1 2 [3] Print 
Webdigity Webmaster Forums  >  Web Development  >  PhP
Topic: upload with curl
« previous next »
Jump to:
User Area
Welcome, Guest. Please login or register.
Did you miss your activation email?
Nov 21, 2008, 07:36:09 AM





Login with username, password and session length

Donate to our community, and get a permanent link back to your site!

Donate to our community, and get a permanent link back to your site!


Forum Statistics
Total Posts: 37.715
Total Topics: 7.647
Total Members: 4.390
Tutorials : 56
Resources : 143
Designs : 220
Latest Member: panetolikos

27 Guests, 5 Users online :

20 users online today:



Readers

Web Design Gallery · Whois Lookup · Pagerank · Tag Browsing · Lo-fi version · Syndication · Webmaster forum history · Advertise
Developed by HumanWorks © 2005 - 2008 Webdigity webmaster community · sublime directory
Webdigity Webmaster Forums | Powered by SMF 1.0.12. © 2001-2005, Lewis Media. All Rights Reserved.