Jump to content

Help with this please !!!!!!

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
5 replies to this topic

#1
kresh7

kresh7

    Programming God

  • Members
  • PipPipPipPipPipPipPip
  • 661 posts
im trying to do a form that sends the input to a php file on my host im using inet but i dont work that are am i doing wrong

this is how my code looks like

Private Sub Command1_Click()
Inet1.OpenURL ("http://yourwebsite.com/PHPScript.php?Field1=" & Text1.Text)

End Sub

and the .php looks like this but im new in php and maybe im making somthing wrong

<?php
$Result=$_GET["Field1"];
?>


if someone could make an exemple form and tell me what am i making wrong pls help

#2
TcM

TcM

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 11,147 posts
If you are using the inet control how are you going to see the result? DO you store that value in a db or something?

#3
kresh7

kresh7

    Programming God

  • Members
  • PipPipPipPipPipPipPip
  • 661 posts
im using get.php file

#4
TcM

TcM

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 11,147 posts
Yeah but are you opening the get.php with the inet control and reading the data from the inet? or you are opening the get.php from your browser?

#5
kresh7

kresh7

    Programming God

  • Members
  • PipPipPipPipPipPipPip
  • 661 posts
im opening it from the webbrowser

#6
TcM

TcM

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 11,147 posts
How do you expect that the Inet control forward the value to the php opened into the browser?!!!??!!