Problem with clicking on the link to download

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-09-01 00:20:13
Original
1420 people have browsed it

The backend is written in php.

<code><a href="../CollectionjobAgent
/CollectionJobDashboard/doDownload/
./uploads/collectionjob/0_21111.txt"></a></code>
Copy after login
Copy after login

The interface in the controller is "../CollectionjobAgent/CollectionJobDashboard/doDownload",
Now the backend hopes to get the string ./uploads/collectionjob/0_21111.txt, but it can only read it because of '/' After taking uploads, the collectionjob/0_21111.txt behind is gone. I would like to ask if there is a way to solve this problem.

Reply content:

The backend is written in php.

<code><a href="../CollectionjobAgent
/CollectionJobDashboard/doDownload/
./uploads/collectionjob/0_21111.txt"></a></code>
Copy after login
Copy after login

The interface in the controller is "../CollectionjobAgent/CollectionJobDashboard/doDownload",
Now the backend hopes to get the string ./uploads/collectionjob/0_21111.txt, but it can only read it because of '/' After taking uploads, the collectionjob/0_21111.txt behind is gone. I would like to ask if there is a way to solve this problem.

Just use the query string method.

<a href="../CollectionjobAgent
/CollectionJobDashboard/doDownload?path=./uploads/collectionjob/0_21111.txt"></a>
Copy after login

But due to '/', only uploads can be read. Why?

Related labels:
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Issues
html5 validation for symfony 2.1
From 1970-01-01 08:00:00
0
0
0
The difference between HTML and HTML5
From 1970-01-01 08:00:00
0
0
0
html5 show hide
From 1970-01-01 08:00:00
0
0
0
Can PDF files run HTML5 and Javascript?
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template