Posts: 737
Threads: 338
Joined: Jan 2013
Hi,
It's possible use php in pawno?
It's one thing, you call with given number, then you hear letters, and input in web input form, and then i get money... But i want to do this in game, you write the code in dialog input, and then you got a my privilegies..
Just when i write this code, then somehow go to php file, and there check input code, but how do it? maybe here is include or something?
Posts: 7,801
Threads: 187
Joined: Feb 2010
Reputation:
0
Uh... considering the language is PAWN and not PHP, no. There is the HTTP function available, though.
Although, it's my understanding that you're trying to make money from your SA:MP server which isn't allowed as per the SA:MP server agreement.
Posts: 737
Threads: 338
Joined: Jan 2013
I saw http, but if i post inputtext, how in my php file in my web, check that posted information?
Posts: 737
Threads: 338
Joined: Jan 2013
If people, want give me money... They give if they want. Just simple code..
Posts: 7,801
Threads: 187
Joined: Feb 2010
Reputation:
0
Your English is extremely broken and I can't even understand the exact thing you want; I doubt many other people can, too! Go post in your language's section.
Posts: 737
Threads: 338
Joined: Jan 2013
$_POST["Text"];
I want, to send information to my php file. I want to send player inputtext and get that inputtext with Post methode. In php language you can do it:
Code:
<form action="welcome.php" method="post">
Name: <input type="text" name="fname">
Age: <input type="text" name="age">
<input type="submit">
</form>
Code:
Welcome <?php echo $_POST["fname"]; ?>!<br>
You are <?php echo $_POST["age"]; ?> years old.
But how i can POST player inputtext in my php file?
Posts: 737
Threads: 338
Joined: Jan 2013
I ask how in php file i can get that information what i have been posted used http?