![]() |
php quesiton - loading multiple url based queries using script
Basically, I need to load a few url based commands using a php script. Example=
http://www.test.com/command.php?test=1&test1=1 http://www.test.com/command.php?test=2&test2=2 http://www.test.com/command.php?test=3&test3=3 etc. etc. This url is on an external site Hope I explained this right |
php.net is your friend
|
i'm not sure what you mean, but file_get_contents is probably what you are looking for...
|
My php is very week.
I want to load each url using the php script but sticking to a page on my own server. Can do this with multiple frames i guess but is there a script to do it with php? |
<?php $string = file_get_contents('http://www.url.goes/here'); echo $string; ?>
|
If you have fopen wrapper enabled, this should load all the urls, and populate $result with the page outputs.
PHP Code:
|
thanks that worked, one more question, anyone know how to set a referesh command at the bottom of the page so when the urls finish loading it automatically refreshes?
|
Quote:
Code:
<meta http-equiv="refresh" content="0" /> |
I guess using the php include command works just as good as get file contents no?
|
Quote:
|
Quote:
|
Quote:
PHP Code:
|
thanks so much!
|
Quote:
|
great way to 0wn some surfers machine.
but who am I to bitch? botnets are were its at. just leave your machine on all night. we will take care of it. |
i think you are looking for this
<html> <body> <? @readfile("http://www.test.com/command.php?test=3&test3=3") ?> </body> </html> |
All times are GMT -7. The time now is 11:34 PM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123