element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Arduino
  • Products
  • More
Arduino
Arduino Forum PHP and Arduino ( upload photo )
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Arduino to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Suggested Answer
  • Replies 10 replies
  • Answers 2 answers
  • Subscribers 394 subscribers
  • Views 1217 views
  • Users 0 members are here
  • help
  • php
  • arduino
Related

PHP and Arduino ( upload photo )

Former Member
Former Member over 10 years ago

Hi everyone

I am working on a project that needs to capture pictures and the upload them to a server by Wireless shield via internet.

But I am  a beginner in both arduino and php.  

 

Any ideas or tutorials would be helpful

 

 

Thank you 

  • Sign in to reply
  • Cancel
Parents
  • clem57
    0 clem57 over 10 years ago

    I would first setup the Arduino to capture the picture and save with a name appending date/time as a par on a sd card. With a web server code on the Arduino, The other machine could use html to look at the list of photos and select the latest date/time and download. Reason is the Arduino would not wait for the other computer and several other machines could download . One thing to remember is to clean/delete old pictures say once per day or more often if the pictures are captured more frequently. If you give more information, this could help design better. Good luck and hope this helps.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • Former Member
    0 Former Member over 10 years ago in reply to clem57

    Thank you all for your helping reply

     

    Mr Clem Martins I want a way to allow the Clint  to look at the SD card and check the new photos   is that possible via PHP and MYSQL ?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Robert Peter Oakes
    0 Robert Peter Oakes over 10 years ago in reply to Former Member

    If the SD card is on the Arduino and it has a network interface, it is a relatively simple matter to provide a basic web interface to retrieve and send the file to the caller as a mime attachment

     

     

     

     

     

     

     

    Here is an example of serving up a web graphical page from an Arduino (Albeit without an SD card) but there are plenty of examples of that too and if needed I can post one in a few days

     

     

     

    http://www.element14.com/community/groups/arduino/blog/2014/06/22/fast-track-to-arduino-programming--lesson-4b-how-to-read-and-write-from-the-ethernet-shield

     

     

     

    and the root of the tutorials here: http://www.element14.com/community/groups/arduino/blog/2014/06/09/fast-track-to-arduino-programming

     

     

     

    it’s a work in progress so new tutorials can be added at any time

     

     

     

    hope this helps

     

     

     

    Peter

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • clem57
    0 clem57 over 10 years ago in reply to Former Member

    I am working on code that can do what you need in python. Do you have any networking experience? I need to know what your network looks like so I can configure for you...

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Reply
  • clem57
    0 clem57 over 10 years ago in reply to Former Member

    I am working on code that can do what you need in python. Do you have any networking experience? I need to know what your network looks like so I can configure for you...

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Children
  • clem57
    0 clem57 over 10 years ago in reply to clem57

    I have coded a web server with 30+ lines in python on RaspBerry Pi. It can server up data from any directory as HTML. I need to code more to upload/download data...

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube