Jump to content

Getting information from other scripts?


FIREBALL5

Recommended Posts

Is it possible to get information from other scripts without using require() or include()? For example, I have a script called test1.php. It has a parameter "i=1" (test1.php?i=1). This script returns a value specific to this particular parameter. Now, in another script called test2.php, can I somehow get the value that test1.php?i=1 returns in the test2.php script?

 

If my example needs to be clarified any, let me know.

Thanks guys!

Link to comment
Share on other sites

Alright. New example, new explanation.

 

Script 1: Hi,  need some information from you regarding _. Here is the data that will need to fetch me the data: _

Script 2: Thank you for the data. Here is your information: _

Script 1: Thank you for the information. (Now is when I want to embed the information that Script 2 gave Script 1)

<Script 1 uses and displays the information. The End.>

 

Lol, does that help?

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.