Created
July 19, 2011 01:18
-
-
Save jonalter/1091099 to your computer and use it in GitHub Desktop.
Desktop PHP Get Value
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <html> | |
| <head> | |
| </head> | |
| <body style="background-color:#1c1c1c;margin:0"> | |
| <div style="border-top:1px solid #404040"> | |
| <div style="color:#fff;;padding:10px"> | |
| Welcome to Titanium | |
| <script> | |
| function openWindow(){ | |
| var win = Titanium.UI.createWindow("app://test.php?fname=Jonathan"); | |
| win.open(); | |
| } | |
| </script> | |
| <input type="button" value="Click me" onclick="openWindow()" /> | |
| </div> | |
| </div> | |
| </body> | |
| </html> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| echo "hi there "; | |
| echo $_GET["fname"]; | |
| ?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment