Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 139
  • Last Modified:

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?

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
Eduardo Fuerte
Asked:
Eduardo Fuerte
  • 2
  • 2
1 Solution
 
Julian HansenCommented:
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
 
Eduardo FuerteAuthor Commented:
Hi Julian

Perfect solution!
0
 
Eduardo FuerteAuthor Commented:
Thank you for so effective solution.
0
 
Julian HansenCommented:
You are welcome Eduardo,
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now