Jump to content

Recommended Posts

Hello all,

 

I am new to this site so please forgive if something's wrong.

Actually i have to visit a link for around 40 to 50 times thrice a day using different variable values. Luckily that link is php and accepting variables in link. As,

 

www. example. com / result ? var1 = 5 & var2 = simplestring & var3 = 5000

 

So what i have to do is change the values of var1, var2 and var3 multiple times in multiple period of day and note results. As the outcome of the link is just simple string, i can easily catch the output in a string variable.

 

Any ideas how to so such thing? I am beginner to php but learned something about "file_get_contents()"

 

Thanks

Edited by unkn00wn

why?

 

I have to take readings, its like my primary assignment. Now i am not here asking help my assignment, i am asking to improve it. I already tried "file_get_contents()" and it worked, but for larger requests my "free web hosting" account fails... SO i am asking for another workaround!

that's why I'm asking why it is being done this way, this sounds like a strange way to do things. Break down the assignment, and the technology involved, and lets see if there is a better alternative to the way things are being done at the moment.

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.