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 08:18 PM

You have to use LWP.

Don't even ask. :)

01-26-2001 08:24 PM

Quote:

Originally posted by chrispadfield

$blah = file("http://www.domain.com/index.html")

just tells the script to download the file (in the process of course it sends the data to that server.. about to come to that).

then

?arg=blah

arg is like username=
and blah would be the actual username

now the .urelencode($val) is just to turn $val (which may be say two words into url transmittalbe information).

Chris:
Quote:


$blah = file("http://www.everyone.net/signup.html")

That downloads the sign up sheet for everyone.net?

Quote:


then

?arg=blah

arg is like username=
and blah would be the actual username

So, for example:

"arg" would be the name that everyone.net uses for the username form field?

"blah" would be whatever name I used for my username form field; in my sign up script?

And the script would transfer the data in the "blah" field to the "arg" field?

ED:

I think there is a " missing before 1" in arg2=1", not sure though

I'm in this program at biztech.nfte.com and they are looking into BB systems.

The only problem is biztech mainly for entrepreneurs under 18 (some under 14), so they aren't sure about the legalities. What do you know about this? If they use the COPPA form will they be free of legalities? If you get a chance could you email, or ask someone within Jelsoft to contact them? They are a possible source of a large number of licenses.

Doloresh@nfte.com, nhupert@edc.org


-Eugene (no, not Eugenie, lol)

01-26-2001 09:41 PM

you might have more problem getting this to work with something like everyone.net who might not work with this type of system. It would not be the sginup.htlm page you call anyway but the CGI or PHP or ASP whatever it is program that processes the form when someone clicks submit. I have to say i doubt it will work. This type of thing is really only going to work if you control the scripts which for everyone.net you don't. I wanted to do it for http://www.communityarchitect.com as well but i don't think i can (especially as they appear to have something preventing that as well).

01-26-2001 09:45 PM

Can't you just have it send the data to the resulting html page that is created. The sign up page?

01-26-2001 09:46 PM

Essentially fill out the fields on the everyone.net page, and the fields on the vb sign up page, and submit it, without the user knowing?

01-26-2001 09:53 PM

no :) i don't think you understand how it works.

HTML page containing form.
Visitor types in info
Submits form
Goes to script on server for processing.

that is what happens.

to get it to go to two different scripts for processing (what we want) is impossible directly (it appears). So what we do is get one of the scripts, to call the other script not as a form but using a URL. This is what ed suggests. The url will have to be done in a special way as shown to make it work. Everyone net probably won't allow their scripts to sign people up in this way (GET as opposed to POST) but you can try.

01-26-2001 10:33 PM

So if it uses GET i can have the script call http://www.site.com/signup.asp?usern...sword="qwerty"

and that will fill out and submit the username and password fields?

01-26-2001 10:44 PM

you cannot explicitly tell a script that:
form field one = form field alpha
alpha being on your page.

For example, you can't have the script take all the user's data, send it to a central file.

Then have the script take the username entry, and enter it into each field, the username entry on everyone.net, the dig.user entry on livuniverse.com, etc... and submit it?

01-26-2001 10:48 PM

what about having the other pages loaded in a hidden frame, each time the data is entered its passed along to the other frames, with the name changed appropriately for each hidden frame?

Then when the user hits submit that submits the other frames at the same time?

01-26-2001 10:48 PM

Quote:

Originally posted by Eugenie2000
So if it uses GET i can have the script call http://www.site.com/signup.asp?usern...sword="qwerty"

and that will fill out and submit the username and password fields?



yes, if it works with GET that is what I think Ed is suggesting but i havn't tried it yet. If they make you use the POST protocol then this won't work.


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.01209 seconds
  • Memory Usage 1,738KB
  • 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
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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