![]() |
That is exactly what I need, subdomain + hosting!
I was going to go with some other weird unprofessional looking company but communityarchitect is the perfect solution. Now I know you probably spent quite a number of hours working around their security, but could you email me the scripts your using to get the sign up? Please? :-) If you could also email the php file your using for the forms, since I don't know how your integrating the $email with the email formfield, and other matters. You are a life saver. -Eugene P.S. Ooooh, they added the attach file feature, don't need to email me, just zip up the php files, html files, or CGI files your using. |
nah havn't got round community architects security yet.
The only way i can think of is somehow getting the images displayed in the screen so the visitor still types them in, but on your form, and then sending the data. It is something i am going to look into in the future but i seriously doubt it will be easy. |
communityarchitect gives a graphix with a security code on it every time?
you must enter in the security code to get the accnt? When I looked on the page there was a security code. Is that something else? |
That's the script that they force you to use or something?
|
I'm kinda confused, the signup works.
|
yes, the www.signup.ascifi.net is part of their site. It uses my domian name but that is their signup form. I don't want to use their singup form (cos it has horrible questions and mailing lists etc in it) i want people to get an account automatically when they sign up at vbulletin. But, i don't know how to because of the security number type thing they have put in there. If i find a way then i will tell you.
|
I asked for authorization on ur icq accnt 25499517
|
How exactly did you use the PHp and html? Did you make a template in Vb, since they allow both php and html variables at once?
or do servers remove all the php related variables when sending the html after processing the file? Could you attach the sign up page and the page that receives the info so i can reverse work it? |
my signup2.php was just a tiny little script to add data to a mysql database, it is just any old form processing script. I used:
Quote:
$name and $email and $description are what need to be sent to the script by the form, or in our case from the form sent internally by singup.php You need to remember that signup.php (ie this form thing we included in it) is just mimicking any old normal form, like the one you are typing here. I could for example, make a script that sent a form request to vbulletin to post a new thread or something like that, that is all that you are doing. I will do the ICQ thing when i get on it, i am very sporadic in using it as it wastes far to much of my time :) |
So your adding users to the database with the script, while I'll be having them fill out multiple forms transparently.
Interesting... I'll see if it works and get back to you. -Eugene |
Hey dood, check out http://www.addesigner.com/ to make some cool banner ads for your sci-fi sites.
You could have them generate it, and then save it to your hd, then edit it with a animated gif editing software to remove the branding, hehe! |
We're so horrible, then again, everyone else is trying to milk us dry, so were just paying them back.
|
hehe, coincidence as it be, i came across that site yesterday :)
|
So let me see if I have this right, the following is a very crude version of what i think i'm supposed to do:
<TD><normalfont><B>User Name:</B></normalfont></TD> <TD><INPUT TYPE="TEXT" NAME="$username" SIZE=25 MAXLENGTH=25> </TD> </TR> <TD><normalfont><B>Password:</B></normalfont></TD> <TD><INPUT TYPE="PASSWORD" NAME="$password" SIZE=25 MAXLENGTH=15> </TD></TR> <TD><normalfont><B>Email:</B></normalfont><br> <smallfont>Please enter a valid email address. You can choose to hide it below in the preferences section.</smallfont></TD> <TD><INPUT TYPE="TEXT" NAME="$email" SIZE=25 MAXLENGTH=50> </TD> </TR> PostToHost("www.everyone.net","/whatever/signup2.php","everyonename=".urlencode($username). "&everyoneemail=".urlencode($e mail)."&everyonepassword=".urlencode($password)."" ); function PostToHost($host, $path, $data_to_send) { $fp = fsockopen($host,80); fputs($fp, "POST $path HTTP/1.1\n"); fputs($fp, "Host: $host\n"); fputs($fp, "Content-type: application/x-www-form-urlencoded\n"); fputs($fp, "Content-length: ".strlen($data_to_send)."\n"); fputs($fp, "Connection: close\n\n"); fputs($fp, $data_to_send); while(!feof($fp)) { echo fgets($fp, 128); } fclose($fp); } //end So that's basically it? Everyoneemail is the imaginary name that everyone.net uses for the form (i havent checked to see the real one). Based on that, is my code correct? |
no. you can't mix the html and php just like that.
You need 3 sections: 1) a html file. This should contain your form that you want to get the details from. Quote:
Then you need a submit button with the action pointing to your php script script. 2. Php Script. call this process.php or whatever you want. it gets the info from the above script (this is email and password). The values that email holds (ie what was typed in) is now held in $email. You can do now what ever you want with these variables in the script, add them to a database etc whatver. 3. Sending a form off. If you want to sign someone up for the everyone.net email account then what you have next appears ok Quote:
Of course, everyone.net will need more fields in their signup process, to find out view the source of their webpage. (p.s. i still don't think it will necessary work as they will have referer checking on it but you can try). That is all there is to it. p.s. i think you need to do a bit of reading about how basic form processing in php works so you can understand how the advanced stuff does (which some of this is). There are loads of good tutorials on this sort of thing, www.hotscripts.com is a good place to find lots of them, it will almost certainly help. |
It automatically puts whatever value was in email into $email?
|
or i just say "email='$email'," ?
|
Quote:
username="$username", password="$password". Then in the second part, i would send the data, while saying everyonenetuser="$username", etc..? |
um no.
you already have $username and $password in the script. You really need to tell me what you are trying to actually do. Are you just trying to have a form on your site so people can sign up to everyone.net? is that it? if so, all you need is the 1st bit (html page for getting info) and the third bit (sending data of to another server). |
Will the intermediate file automatically put the content recieved for the field "username" into $username? Could I see the code for the intermediate file?
What I want to do is have users fill out a form, then have it sent to 3 different sign up forms, each time chaning the form names sent to correspond with the unique form names on each of those forms. |
that is fine then...
i already posted my intermediate file (this is what i called signup.php) and it was the one that both a) connected to the database and b) sent the form info on to signup2.php what you want to do is fine. you need: 1) HTML to get ALL the info your visitors are going to list 2) the PHP script that does: i) has the form sending sub-routine (as shown in previous post) ii) has 3 calls using the sub-routine sending the results of to the 3 different signup-forms. iii) an ending saying "thank you, info submitted" type thing. That is all there is to it, you have everything you need, you need to find out the names of the fields that the scripts you are sending it to use (just view the source on their pages, if it says name="everyone-username" then the field name is everyone-username, just use everyone-username=$username inside the post line to the everyone.net script (already show this). Have a try and doing it, once you have tried to make the scripts and sections and if you can't get it to work, post everything you have made and i will try and debug it for you. |
Looking at Sitepoints tutorials on Managing users with PHP sessions. You ought to take a look. Its on the main page: http://www.sitepoint.com
|
Ok I just finished up with this problem yesterday. Simple way to do it is just to use javascript. Works with everyone except the ones that don't have it enabled of course and all they need to do is click another button to proceed. Have them fill out all the fields on one page drop in a db and then just call them as your submiting to the other forms...
http://www.startalent.tv/emailjoin.phps is an example of this. Hope this helps. |
All times are GMT. The time now is 08:43 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|