Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » General Discussions » General Discussion » MySql
MySql [message #232834] Sun, 03 December 2006 19:07 Go to next message
jnz is currently offline  jnz
Messages: 3396
Registered: July 2006
Location: 30th century
Karma: 0
General (3 Stars)
im having a bit of a problem, my hoster doesn't supply MySql with php.
although i have never liked MySql i would of rather tryed it.
ok...the question...you already guessed it.

this is for a forum, i had an idea. make a folder only readable be admin, create a folder inside that for your forum name eg "General Discusion" inside that a new folder for topics and inside that txt files for posts.

but another way i though of was to use XML, create a file and use XML type syntax for lay it all out. then...encrypt the file with some made up althrigram. but this would be hard and time consuming...anyone have any other ideas (except, change hoster, that is out of the question). help would be much appriciated.

Re: MySql [message #232835 is a reply to message #232834] Sun, 03 December 2006 19:08 Go to previous messageGo to next message
xptek is currently offline  xptek
Messages: 1410
Registered: August 2004
Location: USSA
Karma: 0
General (1 Star)
Use a DB wrapper and support multiple backends.

PostgreSQL, mySQL, sqlite, etc.


cause = time
Re: MySql [message #232836 is a reply to message #232834] Sun, 03 December 2006 19:23 Go to previous messageGo to next message
jnz is currently offline  jnz
Messages: 3396
Registered: July 2006
Location: 30th century
Karma: 0
General (3 Stars)
DB Wrapper?
Re: MySql [message #232837 is a reply to message #232834] Sun, 03 December 2006 19:24 Go to previous messageGo to next message
xptek is currently offline  xptek
Messages: 1410
Registered: August 2004
Location: USSA
Karma: 0
General (1 Star)
Make your database code modular so people can use whatever module they want.

cause = time
Re: MySql [message #232838 is a reply to message #232834] Sun, 03 December 2006 19:29 Go to previous messageGo to next message
light is currently offline  light
Messages: 988
Registered: January 2005
Karma: 0
Colonel
If your host doesn't support mySQL then I suggest moving hosts.

Or using one of the free DB services out there.


http://www.azupload.com/displayImage.php/setid2745.png
Re: MySql [message #232839 is a reply to message #232834] Sun, 03 December 2006 19:30 Go to previous messageGo to next message
jnz is currently offline  jnz
Messages: 3396
Registered: July 2006
Location: 30th century
Karma: 0
General (3 Stars)
no, i know what a wrapper is.

i mean, how would i do that? MySql if a deamon if i rember correctly. most big ended DBs are. im sorry if im completly and utterly stupid.(non-sarcastic)

it is late, i can't sleep. Dont Get It
Re: MySql [message #232840 is a reply to message #232834] Sun, 03 December 2006 19:38 Go to previous messageGo to next message
xptek is currently offline  xptek
Messages: 1410
Registered: August 2004
Location: USSA
Karma: 0
General (1 Star)
Look at PunBB's way of doing it.

Pretty simple.


cause = time
Re: MySql [message #232843 is a reply to message #232834] Sun, 03 December 2006 19:50 Go to previous messageGo to next message
jnz is currently offline  jnz
Messages: 3396
Registered: July 2006
Location: 30th century
Karma: 0
General (3 Stars)
ahh, thanks.

although, that wouldn't be the complete solution, i have had an idea of one from that. thanks for that find.
Re: MySql [message #232861 is a reply to message #232834] Sun, 03 December 2006 22:07 Go to previous messageGo to next message
Crimson is currently offline  Crimson
Messages: 7429
Registered: February 2003
Location: Phoenix, AZ
Karma: 0
General (5 Stars)
ADMINISTRATOR
I seriously hope you're not paying for a provider who has PHP but not MySQL.

I'm the bawss.
Re: MySql [message #232870 is a reply to message #232834] Mon, 04 December 2006 00:30 Go to previous messageGo to next message
jnz is currently offline  jnz
Messages: 3396
Registered: July 2006
Location: 30th century
Karma: 0
General (3 Stars)
yup, i have done twice already ^^
Re: MySql [message #232873 is a reply to message #232834] Mon, 04 December 2006 00:46 Go to previous messageGo to next message
danpaul88 is currently offline  danpaul88
Messages: 5795
Registered: June 2004
Location: England
Karma: 0
General (5 Stars)
Then your being ripped off, PHP without MySQL is like a house with no roof....

http://steamsignature.com/card/1/76561197975867233.png
Re: MySql [message #232889 is a reply to message #232834] Mon, 04 December 2006 04:28 Go to previous messageGo to next message
Crimson is currently offline  Crimson
Messages: 7429
Registered: February 2003
Location: Phoenix, AZ
Karma: 0
General (5 Stars)
ADMINISTRATOR
Or it's like a car with no seats or steering wheel.

I'm the bawss.
Re: MySql [message #232891 is a reply to message #232834] Mon, 04 December 2006 05:11 Go to previous messageGo to next message
=HT=T-Bird is currently offline  =HT=T-Bird
Messages: 712
Registered: June 2005
Karma: 0
Colonel
Could they be supplying some other SQL database engine? You may wish to check on that...

HTT-Bird (IRC)
HTTBird (WOL)
Proud HazTeam Lieutenant.
BlackIntel Coder & Moderator.

If you have trouble running BIATCH on your FDS, have some questions about a BIATCH message or log entry, or think that BIATCH spit out a false positive, PLEASE contact the BlackIntel coding team and avoid wasting the time of others.
Re: MySql [message #232897 is a reply to message #232834] Mon, 04 December 2006 06:04 Go to previous messageGo to next message
Crimson is currently offline  Crimson
Messages: 7429
Registered: February 2003
Location: Phoenix, AZ
Karma: 0
General (5 Stars)
ADMINISTRATOR
There's always SQLite... no daemon required.

I'm the bawss.
Re: MySql [message #232937 is a reply to message #232834] Mon, 04 December 2006 12:54 Go to previous messageGo to next message
danpaul88 is currently offline  danpaul88
Messages: 5795
Registered: June 2004
Location: England
Karma: 0
General (5 Stars)
I have never managed to get SQLite working with PHP... it works fine with C++, Perl etc...

afaik you need to install an extension to the main PHP parser, which you can only do if you happen to be the person hosting the server, or have remote access to it.


http://steamsignature.com/card/1/76561197975867233.png
Re: MySql [message #232945 is a reply to message #232834] Mon, 04 December 2006 13:26 Go to previous messageGo to next message
xptek is currently offline  xptek
Messages: 1410
Registered: August 2004
Location: USSA
Karma: 0
General (1 Star)
Most PHP installations come with the sqlite extension.

cause = time
Re: MySql [message #232947 is a reply to message #232834] Mon, 04 December 2006 13:44 Go to previous messageGo to next message
danpaul88 is currently offline  danpaul88
Messages: 5795
Registered: June 2004
Location: England
Karma: 0
General (5 Stars)
Mine is apparently one of the few which does not then Razz I should probably download an updated version sometime, still on version 4.something

http://steamsignature.com/card/1/76561197975867233.png
Re: MySql [message #232953 is a reply to message #232834] Mon, 04 December 2006 14:56 Go to previous messageGo to next message
jnz is currently offline  jnz
Messages: 3396
Registered: July 2006
Location: 30th century
Karma: 0
General (3 Stars)
rember i cant install any binarys on the server, unless they are cgi.
Re: MySql [message #232962 is a reply to message #232834] Mon, 04 December 2006 15:42 Go to previous messageGo to next message
danpaul88 is currently offline  danpaul88
Messages: 5795
Registered: June 2004
Location: England
Karma: 0
General (5 Stars)
try sqlite and see if it works, if not you will have to just use text files... which would be VERY slow after a while.

Why can't you simply switch to a better host which offers mysql databases?


http://steamsignature.com/card/1/76561197975867233.png
Re: MySql [message #233063 is a reply to message #232834] Tue, 05 December 2006 15:03 Go to previous message
jnz is currently offline  jnz
Messages: 3396
Registered: July 2006
Location: 30th century
Karma: 0
General (3 Stars)
i dont really like mysql. too much fafing around.
Previous Topic: free server host
Next Topic: OT: Garry's Mod 10
Goto Forum:
  


Current Time: Mon Nov 25 02:09:42 MST 2024

Total time taken to generate the page: 0.00943 seconds