Jump to content

What is geturl function?


siddscool19

Recommended Posts

I was reading rapidleech script today and i faced a new function geturl

 

here:

$page = geturl($Url["host"], $Url["port"] ? $Url["port"] : 80, $Url["path"].($Url["query"] ? "?".$Url["query"] : ""), 0, 0, 0, 0, $_GET["proxy"],$pauth);

 

What does it do?

And is there any page on php.net on it

?

I was not able to find myself there :(

Hope someone can help

Thanks in advance

Link to comment
https://forums.phpfreaks.com/topic/154465-what-is-geturl-function/
Share on other sites

It's a user defined function. You should be able to find the function definition somewhere in the source, it will probably say something like:

 

<?php
function geturl($param1, $param2, $param3 ... $param9) {
   //stuff
}
?>

 

When you find that you can see what the function does.

I have done a Google search... there is a getURL function within the HTTP_Request package of pear, but it doesn't share the same input parameters.

 

http://pear.php.net/package/HTTP_Request/

 

newer version

 

http://pear.php.net/package/HTTP_Request2

Put it this way... if the script works, then it must, somehow find the function. I usually put an echo in the function, something like this:

 

echo("I am inside the function <br>");

 

If you get that output on the screen, then you can be sure the function is being called :)

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.