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
63 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 51

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 51

Expert Comment

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

Featured Post

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

We will take a look at the d3.js library for visualizations.  I will provide a walkthrough of a short bar graph example as well as introduce you to the d3.js API.  We also will explore links of other examples and further information regarding SVG's.
Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

759 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

21 Experts available now in Live!

Get 1:1 Help Now