POST/GET - VB .Net & PHP
POST/GET - VB .Net & PHP
POST/GET - VB .Net & PHP
POST/GET - VB .Net & PHP
POST/GET - VB .Net & PHP
POST/GET - VB .Net & PHP POST/GET - VB .Net & PHP POST/GET - VB .Net & PHP POST/GET - VB .Net & PHP POST/GET - VB .Net & PHP POST/GET - VB .Net & PHP POST/GET - VB .Net & PHP POST/GET - VB .Net & PHP
POST/GET - VB .Net & PHP POST/GET - VB .Net & PHP
POST/GET - VB .Net & PHP
Go Back  Xtreme Visual Basic Talk > > > POST/GET - VB .Net & PHP


Reply
 
Thread Tools Display Modes
  #1  
Old 08-20-2011, 10:35 AM
Syzis Syzis is offline
Newcomer
 
Join Date: Apr 2008
Posts: 9
Default POST/GET - VB .Net & PHP


Hello,

I'm developing an app for learning proposal only but I have some questions regarding POST/GET.


Lets say I have a PHP file that reads a database with a user and a password.
If the user matches the password, the it will display another form ( logged in form ), if doesn't, it will give an error and close the app.

My PHP file is ready and with all the sentences to fetch the info in the DB but I would like to know how to make that request from VB .Net and treat the information sent by PHP file.

example PHP link: localhost/login.php?user=USERNAME&pass=PASSWORD

If user and pass match, a variable with errors will be with the value 0, if not, it will be value 1 ( think that will needed for VB treatement of the info ).

Now, how can I send that information to my link and how to work the answer from PHP file?

Can anyone please explain me and get me an useful example? Already searched over internet but didn't found a solution to my problem.

Hope you can help me.
Thanks.
Reply With Quote
  #2  
Old 12-05-2011, 06:07 AM
Teckniel Teckniel is offline
Newcomer
 
Join Date: Jul 2004
Posts: 9
Default

check webrequest/webresponse
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
POST/GET - VB .Net & PHP
POST/GET - VB .Net & PHP
POST/GET - VB .Net & PHP POST/GET - VB .Net & PHP
POST/GET - VB .Net & PHP
POST/GET - VB .Net & PHP
POST/GET - VB .Net & PHP POST/GET - VB .Net & PHP POST/GET - VB .Net & PHP POST/GET - VB .Net & PHP POST/GET - VB .Net & PHP POST/GET - VB .Net & PHP POST/GET - VB .Net & PHP
POST/GET - VB .Net & PHP
POST/GET - VB .Net & PHP
 
POST/GET - VB .Net & PHP
POST/GET - VB .Net & PHP
 
-->