Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8953245
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T14:03:31+00:00 2026-06-15T14:03:31+00:00

I am using cakephp 2.1 and developing an application it contains more content. So

  • 0

I am using cakephp 2.1 and developing an application it contains more content. So I wanna use xml for uploading the content. Where in xml I am specifying url for image like this http://reelstubs.com/img/users/000da9c6dd7f9b7de04c7e17eb4d5e1e.jpg
But I used cakephp uploader plugin from this website http://milesj.me/code/cakephp/uploader. for image upload so Its giving me an error like “Please upload image photo”.

This plugin needs an array like

array(
   'name' => '', 
   'type' => '', 
   'tmp_name' => '', 
   'error' => '', 'size' => ''
 ).

So I am not getting like this when I am specifying url in xml. Please help me I am struggling from many days. The work will be more appreciable.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T14:03:31+00:00Added an answer on June 15, 2026 at 2:03 pm

    You will have to download the image to a tmp location and set the tmp_name to that location. You can use file_get_contents from php or HttpSocket from cake.

    You will need to avoid using the usual php is_uploaded checks as the file would not have been uploaded.

    You will want to add a bit more security to make sure people dont put scripts or other things for uploading as that can be a security issue.

    example using HttpSocket. After the upload is done you could do $Download->file->path() to get its location.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using cakephp 2.1 and developing an application which needed more data. I
I am developing an application in cakephp. In this application I am using saveAll()
I am developing an application using cakePHP v 1.3 on windows (XAMPP). Most of
Using CakePHP 1.3 there are named parameters in the URL like .../name:value/... These are
I am developing a cakephp application, I dont need to use any database tables
I am developing one web application using CakePHP , I will be providing one
Good Day to all. I am currently developing a chat application using cakePHP. It
I am developing a website using cakephp, and I'd like to pass a javascript
I'm using cakePHP 1.3 and would like to use AJAX from my search view
I'm developing a web with cakePHP (using MAMP as localhost) and I just configured

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.