Solved

Could you point a way to use a value already obtained  by jQuery / Jason - that has a complete path of a file, to be used by PHP to download this file?

Posted on 2016-10-05
4
83 Views
Last Modified: 2016-10-05
Hi Experts

Could you point a way to use a value already obtained  by jQuery / JSON - that has a complete path of a file, to be used by PHP (Codeigniter) to download this file?

Accordingly to:
img001
The path/file is obtained by jQuery/ JSON after a Codeigniter Controller call.

Thanks in advance.
0
Comment
Question by:Eduardo Fuerte
  • 2
  • 2
4 Comments
 
LVL 54

Accepted Solution

by:
Julian Hansen earned 500 total points
ID: 41829750
If I understand your question - you are receiving the path by jQuery and you want to download the file?

The simplest is to simply do a window.open(url)
0
 

Author Comment

by:Eduardo Fuerte
ID: 41829765
Hi Julian

Perfect solution!
0
 

Author Closing Comment

by:Eduardo Fuerte
ID: 41829768
Thank you for so effective solution.
0
 
LVL 54

Expert Comment

by:Julian Hansen
ID: 41829876
You are welcome Eduardo,
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This article discusses how to create an extensible mechanism for linked drop downs.
Since pre-biblical times, humans have sought ways to keep secrets, and share the secrets selectively.  This article explores the ways PHP can be used to hide and encrypt information.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

813 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now