Go Back  Xtreme Visual Basic Talk > Other Languages > Web Programming > passing a VB to php


Reply
 
Thread Tools Display Modes
  #1  
Old 06-03-2005, 05:35 AM
tomtraxler tomtraxler is offline
Freshman
 
Join Date: May 2003
Posts: 42
Default passing a VB to php


I want to write my application where a user has to register online when the program is first started. I am not new to VB ( use VB 6), but i am new to Internet programming with VB. Registration will require filling out a website form using php. i know how to call that page and program the php to send the information to me, except....

...I want the VB application to read the hard drive serial number and pass that string or value to a php variable so that the php can send it to me.

How do I pass a VB variable to a php variable?

Thanks.
Reply With Quote
  #2  
Old 06-03-2005, 07:14 AM
wayneph's Avatar
wayneph wayneph is offline
Web Junkie

Retired Moderator
* Expert *
 
Join Date: Apr 2004
Location: D/FW, Texas, USA
Posts: 8,393
Default

you search the forum for this question because it's been asked 1000 times before....

you basically have your option of tools. you can use the INET control, the Internet APIs, the XMLHTTP object, or a few other ones. You can pass variables to a web page by including them after the question mark in the request.

Take the forum for example. When you click on the Web Programming link on the main page you get a link that looks like this:
http://www.xtremevbtalk.com/forumdisplay.php?f=35

The f=35 at the end of the link is a parameter. You use the GET variables in PHP. The variable name will be f and the value 35. You can pass multiple parameters by putting an ampersand (&) between them.

The rest, I leave to a forum or google search. It's out there...
__________________
-- wayne, MSSM Retired
> SELECT * FROM users WHERE clue > 0
0 rows returned
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
 
 
-->