473,569 Members | 2,752 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

simple registeration form through web?

2 New Member
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,™؛PO ST /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&countr y=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 2332
Niheel
2,456 Recognized Expert Moderator Top Contributor
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 New Member
what i mean 4 example
i have aprog called "register.e xe" 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
2958
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
1548
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 pass the "name" parameter to the confirmation.asp page. I know I am going to kick myself whrn I see this. Thanks, Houston
0
7545
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 found none, so, I wrote one and decided to share it with you. It's a very simple one with few functions. I derived a DataGrid and added to it a...
0
1874
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 have run into is that the emitted html at the end of the process is slightly different and doesn't work. Please don't be put off by all the source...
4
1755
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 & ones a child form. I've put this code into a menustrip on the parent form private void maintainClientsToolStripMenuItem_Click(object sender,...
5
1693
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 dealing with would be overwhelmed with it. The approach I tried in the past was to use MDI, but made all the child windows occupy the entire parent...
24
6301
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 have on his site, a Javascript Calculator for working out the cost of what they want, for example: 1 widget and 2 widglets = £5.00
1
2574
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.... do put any registry entry in windows registry? Suppose, If I include my custom OCX in my project. And simply copy that to system folder in a new...
3
1299
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
7694
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7609
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7921
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
1
7666
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7964
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6278
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5504
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
1
2107
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
0
936
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.