Graal Forums  

Go Back   Graal Forums > Private forums > Graal4 Forums > Graal V4 Main Forum
FAQ Members List Calendar Today's Posts

 
 
Thread Tools Search this Thread Rate Thread Display Modes
  #1  
Old 01-29-2006, 07:12 AM
Rick Rick is offline
PipBoy Extraordinaire!
Rick's Avatar
Join Date: Jul 2004
Location: Long Beach, California.
Posts: 831
Rick is on a distinguished road
requestmysql?

What's this for?
  #2  
Old 01-31-2006, 03:15 AM
talkingnoodle talkingnoodle is offline
Rapidwolve
talkingnoodle's Avatar
Join Date: Nov 2005
Location: Leominster, MA
Posts: 229
talkingnoodle is on a distinguished road
Send a message via AIM to talkingnoodle Send a message via MSN to talkingnoodle
mayb it connects to an sql server for information? o_O
__________________


AIM: Rapidwolve Graal
MSN: [email protected]


2/12/06 - Crossroads NPC Admin
  #3  
Old 01-31-2006, 03:22 AM
Riot Riot is offline
Delteria Management
Join Date: Nov 2003
Location: Seminole County, Florida
Posts: 280
Riot is on a distinguished road
Quote:
Originally Posted by talkingnoodle
mayb it connects to an sql server for information? o_O
That would be what the name infers.

I tried using this a while back when was fiddling with requesturl and couldn't find any way to get it to work, or even what it returns if it works. Some insight would be nice, SQL access would be a lot easier than using requesturl all the time.
  #4  
Old 01-31-2006, 04:03 AM
Riot Riot is offline
Delteria Management
Join Date: Nov 2003
Location: Seminole County, Florida
Posts: 280
Riot is on a distinguished road
Quote:
Originally Posted by VulcanP2P
If I had to guess I'd probably think it was something like requestMySQL(siteort,username,password,query); or something like that. I've never tried to use it or even know if that's its actual function though. :o
Both the server and client documents have it listed as:
requestmysql(str, str, str, str, str) - returns object
  #5  
Old 01-31-2006, 04:06 AM
VulcanP2P VulcanP2P is offline
Registered User
VulcanP2P's Avatar
Join Date: May 2005
Location: Florida
Posts: 882
VulcanP2P is on a distinguished road
Quote:
Originally Posted by Riot
Both the server and client documents have it listed as:
requestmysql(str, str, str, str, str) - returns object
Yeah just saw that and deleted my post. Guess I was too slow.

It'd be interesting to find out how exactly it is used.
__________________

For Zone or Guild Support use the Support Center
  #6  
Old 01-31-2006, 04:33 AM
Admins Admins is offline
Graal Administration
Join Date: Jan 2000
Location: Admins
Posts: 11,693
Admins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud of
It's not working yet, the idea was to allow communication to the database of playerworldname.graal.net
  #7  
Old 02-28-2006, 09:47 PM
Warcaptain Warcaptain is offline
Banned
Warcaptain's Avatar
Join Date: Jun 2001
Location: Virginia, USA
Posts: 2,086
Warcaptain is on a distinguished road
Send a message via ICQ to Warcaptain Send a message via AIM to Warcaptain Send a message via Yahoo to Warcaptain
That explains why it hasnt been working for me..

I thought it was
requestmysql(server,account,password,database,quer y);

which would make sense.. and if thats not how its going to work you should add a command like that so it can communicate with any mysql server.
  #8  
Old 02-28-2006, 10:10 PM
projectigi projectigi is offline
Registered User
Join Date: Jan 2004
Posts: 403
projectigi is an unknown quantity at this point
hmmm i think we could write our own requestmysql() function that uses requesturl() and a php file or? :o
  #9  
Old 02-28-2006, 10:28 PM
Skyld Skyld is offline
Script-fu
Skyld's Avatar
Join Date: Jan 2002
Location: United Kingdom
Posts: 3,914
Skyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud of
Send a message via AIM to Skyld
Quote:
Originally Posted by projectigi
hmmm i think we could write our own requestmysql() function that uses requesturl() and a php file or? :o
Well, you could, but I doubt it would be very secure, practical or easy to implement.
__________________
Skyld
  #10  
Old 02-28-2006, 10:47 PM
ZeroTrack ZeroTrack is offline
G2K1 Developer
ZeroTrack's Avatar
Join Date: Apr 2004
Location: LongIsland, NY
Posts: 402
ZeroTrack is on a distinguished road
Send a message via AIM to ZeroTrack
Quote:
Originally Posted by Warcaptain
That explains why it hasnt been working for me..

I thought it was
requestmysql(server,account,password,database,quer y);

which would make sense.. and if thats not how its going to work you should add a command like that so it can communicate with any mysql server.

this would be SUCH a sweeettttt swweeettttt way to use that =p, oh the possibilitys
__________________

  #11  
Old 02-28-2006, 11:06 PM
Warcaptain Warcaptain is offline
Banned
Warcaptain's Avatar
Join Date: Jun 2001
Location: Virginia, USA
Posts: 2,086
Warcaptain is on a distinguished road
Send a message via ICQ to Warcaptain Send a message via AIM to Warcaptain Send a message via Yahoo to Warcaptain
Quote:
Originally Posted by Skyld
Well, you could, but I doubt it would be very secure, practical or easy to implement.

hmmmn

can use it and have and do something like..

domain.com/sqlquery.php?acc=SQLACC&pass=SQLPASS&db=DBNAME&que ry=QUERY

would be as secure as any other command to access mysql through graal.

would still need to know accname and password
  #12  
Old 02-28-2006, 11:11 PM
projectigi projectigi is offline
Registered User
Join Date: Jan 2004
Posts: 403
projectigi is an unknown quantity at this point
yeah and you could make a class for that function
and give noone read access to the class haha xP
  #13  
Old 02-28-2006, 11:16 PM
Skyld Skyld is offline
Script-fu
Skyld's Avatar
Join Date: Jan 2002
Location: United Kingdom
Posts: 3,914
Skyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud of
Send a message via AIM to Skyld
Quote:
Originally Posted by Warcaptain
hmmmn

can use it and have and do something like..

domain.com/sqlquery.php?acc=SQLACC&pass=SQLPASS&db=DBNAME&que ry=QUERY

would be as secure as any other command to access mysql through graal.

would still need to know accname and password
It's this whole thing about sending your SQL details through a URL that probably concerns me. I realise that the chance of someone picking up on them is slim, but still, web server logs and such.
__________________
Skyld
  #14  
Old 02-28-2006, 11:42 PM
Riot Riot is offline
Delteria Management
Join Date: Nov 2003
Location: Seminole County, Florida
Posts: 280
Riot is on a distinguished road
Quote:
Originally Posted by Warcaptain
hmmmn

can use it and have and do something like..

domain.com/sqlquery.php?acc=SQLACC&pass=SQLPASS&db=DBNAME&que ry=QUERY

would be as secure as any other command to access mysql through graal.

would still need to know accname and password
MySQL commands would be much more secure, if done on the server end.
  #15  
Old 03-01-2006, 01:38 AM
projectigi projectigi is offline
Registered User
Join Date: Jan 2004
Posts: 403
projectigi is an unknown quantity at this point
well you could use encryption haha
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 08:24 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.