vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Member Archives (https://vborg.vbsupport.ru/forumdisplay.php?f=202)
-   -   Hidden submital to mutliple scripts? (https://vborg.vbsupport.ru/showthread.php?t=7233)

01-26-2001 10:52 PM

but I thought using ? just passes it to another form and doesnt allow it to be submitted. That's the impression I got from http://tech.irt.org/articles/js063/index.htm

01-26-2001 10:55 PM

How old are you? Just wondering..

01-26-2001 11:27 PM

Create a form and put some fake fields in it.
Make it's method POST.
Submit it and look at the URL.
Change it's mehtod to GET.
Submit it and look at the URL.

That's their difference.

01-27-2001 12:26 AM

I see, GET passes the values in the URL. How does POST pass the values?

01-27-2001 01:08 AM

I looked at some GET vs POST answered questions at ASKasp.com and found some answers. With GET data is unsecure and limited to 250 chars, but visible in the address bar, POST sends the data to the server which processes it?

01-27-2001 01:19 AM

yup makes sense, like replying to this thread uses post. Ed is basically saying we can use his trick only if the resulting script will allow data input by the GET method. then it will work. If it dosen't (and i am betting everyone.net dosen't) and they use only POST then, we are i think, stuck.

01-27-2001 02:03 AM

If you want to use POST (you can go get this way too), you have to use sockets: http://www.php.net/manual/en/function.fsockopen.php

01-28-2001 02:23 AM

On the side, just saw anti-trust (only plays late at nite for some reason).

I find it interesting that the head of NURV (the MS like company) looks very much like Mr. Gates.

The movie kind of creeped me out. I keep taking looks over my shoulder now and then.
You should see it.
I give it a B+.

Thank god there is a way. I guess this is sort of like my crusade to find the holy grail.

-Eugene

01-28-2001 12:41 PM

$fp = fsockopen ("www.php.net", 80, $errno, $errstr, 30);
if (!$fp) {
echo "$errstr ($errno)<br>\n";
} else {
fputs ($fp, "GET / HTTP/1.0\r\n\r\n");
while (!feof($fp)) {
echo fgets ($fp,128);
}
fclose ($fp);
}


is that what I use? Where do I insert
fopen("http://some.site.com/html/page.html","r")
?

01-28-2001 03:12 PM

Quote:


// Data to pass to the cgi script
$name = 'John Doe';
$email = 'johndoe@domain.com';
$description = 'Nice site, I love your animated gif collection!';

// Build the request string
$request = 'name=' . urlencode($name);
$request .= '&email=' . urlencode($email);
$request .= '&description=' . urlencode($msg);

// Build the header
$header = "POST /signup/signup2.php HTTP/1.0\r\n";
$header .= "Content-type: application/x-www-form-urlencoded\r\n";
$header .= "Content-length: " . strlen($request) . "\r\n\r\n";

// Open the connection
$fp = fsockopen('http://www.domain.com/', 80, &$err_num, &$err_msg, 30);
if ($fp)
{
// Send everything
fputs($fp, $header . $request);
// Get the response
while (!feof($fp))
$response .= fgets($fp, 128);
}

is what i was going to work from but so far havn't had much success, i only tried locally which dosen't work so i think i need to do it on a true domain name, will do this week sometime.

the get method worked fine with:

Quote:

$blah = file("http://localhost/signup/signup2.php?name=".urlencode($name)."&email=".urle ncode($email)."&description=".urlencode($descripti on)."");


All times are GMT. The time now is 03:33 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02291 seconds
  • Memory Usage 1,733KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete