473,412 Members | 3,343 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,412 software developers and data experts.

simple registeration form through web?

2
hello

i sniffed a program that make aregisteration account through the program itself
i need to make asimple form in php/html that make registeration through web instead of the application
here's the result of sniffing

PE,™؛ZPE,™؛POST /register.php HTTP/1.1
Accept: */*
Content-Type: application/x-www-form-urlencoded
Host: www.a.com
Content-Length: 318
Cache-Control: no-cache

name=name&email=a@a.com&country=United States of America &zip=550037 HTTP/1.1 200 OK ... etc

i tried http://a.com/register.php?name ..... etc
but it send the data as "GET" not "Post" and i get error > invalid data

i know it's simple code but i can't figure it well , hope 2 find help here
Sep 28 '05 #1
2 2193
Niheel
2,460 Expert Mod 2GB
Could you explain what you are looking to do a bit further.

I hope i got this right:

You have a application and you want to send registration data to it via _GET, but it only accepts it via _POST . . if that is the case . . then the application probably is making sure that only accepting post variables.

to change it . . make sure that

Expand|Select|Wrap|Line Numbers
  1. $var = $_POST[var];
  2.  
is this ..


Expand|Select|Wrap|Line Numbers
  1.  
  2. if(isset( $_GET[var])){ 
  3.     $var = $_GET[var];
  4. }else{
  5.     $var = $_POST[var];
  6. }
  7.  

When you enable GET variables always add extra layers of error checking. Lot's of script kiddies around.
Oct 1 '05 #2
spid3r
2
what i mean 4 example
i have aprog called "register.exe" which make registeration account to the site www.a.com with the user and pass which i insert into the application register.exe

i want to make html/php page that do the same function of the application register.exe so i don't need the file anymore and register new accont via web page
hope u understand what i mean
Oct 4 '05 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

7
by: r0adhog | last post by:
I have a very simple form: <html> <head> </head> <body> <% function ValForm() if len(document.form.newapp.all("AccessCode").Value) = 4 then document.form.newapp.submit()
7
by: Houston | last post by:
I have a form that after being filled out has its contents written to a database and then goes to confirmation .asp page. I want the confirmation page to be personalized but I am not sure how to...
0
by: Tal Sharfi | last post by:
Hi everyone I recently had the need for StringGrid object same as the one that Delphi has. An object that helps show lists of other objects in a simple grid. I searched the news groups and...
0
by: 42 | last post by:
I implemented a simple class inherited from Page to create a page template. It simply wraps some trivial html around the inherited page, and puts the inherited page into a form. The problem I...
4
by: Duncan | last post by:
Hi I'm learning c# 2.0 as I feel I need to be able to switch between vb & c#, I'm just starting with a few simple examples and I've come across a problem. I've got two forms ones an MDI parent &...
5
by: Byron | last post by:
I need to create an application that uses primarily a single form rather than an SDI that creates a new form for everythting. However, I don't want an MDI style application since the users I'm...
24
by: firstcustomer | last post by:
Hi, Firstly, I know NOTHING about Javascript I'm afraid, so I'm hoping that someone will be able to point me to a ready-made solution to my problem! A friend of mine (honest!) is wanting to...
1
by: kaymatrix | last post by:
If my vb project contains no external OCX, DLLs. Is msvbvm60.dll and my exe enough to run in new system containing no vb runtime? Do msvbvm60.dll need regsvr32 registeration? doing REGSVR32.......
3
uogen
by: uogen | last post by:
hi i want to know the code for registeration in database (sql) and i use c# and asp
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.