Jump to content

file which links to another folder


Captain09

Recommended Posts

I have a website with a folder system

now if you click on a button I want from

s1/index/dorf1.php

to

s2/index/dorf1.php

 

the folders have the same files but they have different content

so I want to save the dorf1.php or any other name in the code and make a link for it

 

anyone have an idea?

Link to comment
https://forums.phpfreaks.com/topic/266718-file-which-links-to-another-folder/
Share on other sites

what you on about , you don't go into folders for what?

 

you use folders yes but go into them for what.

 

unless you want to go into a folder then use a .exe still don't make sense .

 

what you doing there?

 

 

what the project for....

 

if you press a button to see what in that folder then list the files what you mean.

 

can then use code to trigger the files in that folder?

 

what you on about , you don't go into folders for what?

 

you use folders yes but go into them for what.

 

unless you want to go into a folder then use a .exe still don't make sense .

 

what you doing there?

 

 

what the project for....

 

if you want to press a button to see what in that folder, then you can list the files is that what you mean.

 

you can then use code to trigger the files in that folder you in?

Its a Php script

s1 and s2 are servers

and I want that when I click on the button I come to the exactly same path in s2 like in s1 and the other way around

Do you wish to get the parsed content from server A, to use on server B?  Just call the file with a file_get_contents.

If you wish to send variables to server A from server B, and have the file parse them, you will have to send those variables via POST, or GET.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.