Sa-mp HTTP - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Sa-mp HTTP (
/showthread.php?tid=259122)
Sa-mp HTTP -
Georgelopez1 - 03.06.2011
Heya, if anyone is familiar with SA-MP HTTP please contact me. Thank you in advance
HTTP:
https://sampwiki.blast.hk/wiki/HTTP
Re: Sa-mp HTTP -
CoaPsyFactor - 03.06.2011
I am
Re: Sa-mp HTTP -
Georgelopez1 - 03.06.2011
Anyone else? I have a basic outline, but I need more support
Re: Sa-mp HTTP -
Fj0rtizFredde - 03.06.2011
I am
Re: Sa-mp HTTP -
__ - 03.06.2011
What do you need help with? The 'thread' feature was created for a reason, you should use it to request help in, instead of asking the posters inside the thread to add you on your personal contact handles.
If you didn't quite understand the wiki page, I can help you out if you have any questions - just reply and state what it is that you are failling to understand.
Re: Sa-mp HTTP -
Georgelopez1 - 04.06.2011
I need to check my DB for a name in the bans table. I'm unsure how to do this. ( Yes I am familiar with Php ). I don't know what to put in the SELECT * FROM bans WHERE ******************* .
Re: Sa-mp HTTP -
Fj0rtizFredde - 04.06.2011
Quote:
Originally Posted by Georgelopez1
I need to check my DB for a name in the bans table. I'm unsure how to do this. ( Yes I am familiar with Php ). I don't know what to put in the SELECT * FROM bans WHERE ******************* .
|
So what do you need HTTP for if you need help with MySQL?
Re: Sa-mp HTTP -
Georgelopez1 - 04.06.2011
I don't want the mysql info to be in the .pwn.
Re: Sa-mp HTTP -
Ash. - 04.06.2011
You want to pull the information from the database, but through a php file hosted on your website? I understand what you're trying to do, but how you're going to do it is what I have no idea about! You should probably query the php page with some sort of post data to 'hide' it from people that may web/dns trace your website.
Re: Sa-mp HTTP -
Georgelopez1 - 04.06.2011
Heres what i'm doing. Ever heard of "Sprunk Busters", well i'm making a "SA-Bans". I need to have all of the mysql queries on my site (with no mysql plugin) .
Heres the checkban.php so far...
pawn Код:
<?php
include("header.php");
include("config.php");
//just a basic mysql search geos here!!!
mysql_select_db("sabans", $con);
$query = mysql_query("SELECT * FROM bans");
echo(mysql_num_rows($query));
?>