I need to send post data to a php file. Once I connect to my server, how do I send the request? Without the data it is something like:
test = socket:send("GET /test.php HTTP/1.0\r\n")
test = socket:send("host: www.somewebsite.com\r\n\r\n")
Search found 11 matches
- Mon Feb 13, 2006 2:28 am
- Forum: PSP Lua Player Development
- Topic: lua with php
- Replies: 1
- Views: 1702
- Wed Nov 09, 2005 4:06 am
- Forum: PSP Lua Player Development
- Topic: whats wrong with my code? NOOB
- Replies: 2
- Views: 1996
- Tue Nov 08, 2005 9:25 am
- Forum: PSP Lua Player Development
- Topic: whats wrong with my code? NOOB
- Replies: 2
- Views: 1996
whats wrong with my code? NOOB
I just started the LUA thing about a month ago and am still getting the hang of it. When I execute this code: (I know its long) black = Color.new(0, 0, 0) white = Color.new(255, 255, 255) newcwd = "ms0:/" oldpad = Controls.read() numb...
- Sun Nov 06, 2005 2:50 am
- Forum: PSP Lua Player Development
- Topic: file i/o NOOB here
- Replies: 4
- Views: 2388
- Sun Nov 06, 2005 2:44 am
- Forum: PSP Lua Player Development
- Topic: file i/o NOOB here
- Replies: 4
- Views: 2388
file i/o NOOB here
How can i show new lines with file i/o? I am using the script: highscoreFile = "1.txt" function loadHighscore() file = io.open(highscoreFile, "r") if file then high = file:read() file:close() end end when I edit the highscoreFile to: asdf adf adfjkald I get jkdsf then a musical n...
- Wed Oct 12, 2005 11:24 am
- Forum: PSP Lua Player Development
- Topic: http how do i connect
- Replies: 4
- Views: 2670
- Wed Oct 12, 2005 8:00 am
- Forum: PSP Lua Player Development
- Topic: http how do i connect
- Replies: 4
- Views: 2670
http how do i connect
I am in the middle of a project and i have come across a problem. Is it possible to connect to a server over the internet with the psp using luaplayer? I want to send post or get data to a php file that i will store on my server. I would also like to be able to get info from a php file. I don't know...
- Thu Oct 06, 2005 10:33 am
- Forum: PSP Lua Player Development
- Topic: PSP music (NOOB)
- Replies: 10
- Views: 4761
- Thu Oct 06, 2005 9:34 am
- Forum: PSP Lua Player Development
- Topic: PSP music (NOOB)
- Replies: 10
- Views: 4761
- Tue Oct 04, 2005 7:56 am
- Forum: PSP Lua Player Development
- Topic: PSP music (NOOB)
- Replies: 10
- Views: 4761
- Mon Oct 03, 2005 10:01 am
- Forum: PSP Lua Player Development
- Topic: PSP music (NOOB)
- Replies: 10
- Views: 4761
PSP music (NOOB)
I just started this lua programing 4 days ago and I can not figure out what is wrong with my script: if pad:cross() then if Music.playing() then Music.stop() gunshot:play() else gunshot:play() end...