Jump to content

php help


cybernet

Recommended Posts

i'm trying to make a sort of http request if i can say that way

i want to create a user for a program

but for that i need the script to make a http request in the background without the user seeing the address or domain

 

and when the user is looking at the page source in browser i don't want to see the address

 

is it possible ???

so

first of all i'm very hard to explicate because i don't speak english very well

i have a page

register.html

<form action="register.php" method="post"> 

<form>

Type you CFun! ID:<br /> 

<input type="text" name="cfun_id">
</form> 
<br>
<form>
Your Name: <br />
<input type="text" name="name"><br /></form>
<form>
Choose a password please:<br />
<input type="password" name="pass_word"><br />
</form>
<input type="submit" />

 

register.php

$cfun_id= $_POST['cfun_id'];

$name = $_POST['name'];
$pass_word = $_POST['pass_word'];

 

in the code of register.php is missing the http request

something like

http://example.com/plugins/user_reg_del/wkfnwofj29udfj?type=add&secret=bigsecret&username=<? " .$cfun_id."?>&password=<? ".pass_word."?>&name=<? ".name."?>

 

and if i mentioned this, the answer of the request has 6 answers

IllegalArgumentException
UserNotFoundException
UserAlreadyExistsException
RequestNotAuthorised
UserServiceDisabled
ok

 

 

if get response like UserAlreadyExistsException on register page i want to show up

THIS USERNAME IS ALREADY REGISTERED

if get response like ok on register page i want to show up

Have Fun on cyberfun now you are registered

 

later edit:

and i can't make a mysql_query because the password has a hash that can't be implemented in php

 

thank you

cybernet,

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.