Be Excellent To Each Other

And, you know, party on. Dude.

All times are UTC [ DST ]




Reply to topic  [ 89 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: Websites with databases
PostPosted: Sun Jun 01, 2008 11:23 
User avatar

Joined: 30th Mar, 2008
Posts: 2053
ARGH!

All I want to do is have a database of the reviews on PEOWW, so I can have a list that be ordered by name, score, format. that kind of thing.

so far my options seem to be ASP which I tried a bit of at uni and it made me cry or PHP. which seems to have documentation written exclusively by cunts.

please tell me there's an easy way.

anyone?!

_________________
PlayStation Country


Top
 Profile  
 
 Post subject: Re: Websites with databases
PostPosted: Sun Jun 01, 2008 11:29 
User avatar
Legendary Boogeyman

Joined: 22nd Dec, 2010
Posts: 8175
PHP and mySQL is the easy way, honest.

_________________
Mr Kissyfur wrote:
Pretty much everyone agrees with Gnomes, really, it's just some are too right on to admit it. :)


Top
 Profile  
 
 Post subject: Re: Websites with databases
PostPosted: Sun Jun 01, 2008 11:30 
User avatar
Bouncing Hedgehog

Joined: 27th Mar, 2008
Posts: 26064
Heeeyyy!

I have no idea what ou are talking about, but it's so lovely to see you.

Post more often, Bluce, 'cos I is missin' you over 'ere.

Yes. I is. :(

_________________
Image


Top
 Profile  
 
 Post subject: Re: Websites with databases
PostPosted: Sun Jun 01, 2008 11:31 
User avatar
Comfortably Dumb

Joined: 30th Mar, 2008
Posts: 12034
Location: Sunny Stoke
ComicalGnomes wrote:
PHP and mySQL is the easy way, honest.


:this: Even I'm getting the hang of it and I'm thick. :)

_________________
Consolemad | Under Logic
Curse, the day is long
Realise you don't belong


Top
 Profile  
 
 Post subject: Re: Websites with databases
PostPosted: Sun Jun 01, 2008 11:35 
User avatar

Joined: 30th Mar, 2008
Posts: 2053
ok, ta people.

i'm generally alright when I get started but all the 'getting started' tutorials seem to assume that you know how to set up SQL and PHP already.

the site is hosted on 1&1 which, I think, supports PHP but finding out what I need to install (and how to configure it) is proving to be chore!

_________________
PlayStation Country


Top
 Profile  
 
 Post subject: Re: Websites with databases
PostPosted: Sun Jun 01, 2008 11:36 
User avatar
Legendary Boogeyman

Joined: 22nd Dec, 2010
Posts: 8175
If it wasn't easy I'd still be mashing my own head against a wall and going 'davabades? wat dat? buuuuuh'.

something like mysqlfront or heidisql will make it magnificently easy for you to create the necessary tables and fields in mySQL, and the interface is so tidy that you won't have to build yourself an interface to insert stuff into the table, you can just do it directly.

Then all you need is the most basic of php code to pull it all out and arrange it nicely.

_________________
Mr Kissyfur wrote:
Pretty much everyone agrees with Gnomes, really, it's just some are too right on to admit it. :)


Top
 Profile  
 
 Post subject: Re: Websites with databases
PostPosted: Sun Jun 01, 2008 11:37 
User avatar
Legendary Boogeyman

Joined: 22nd Dec, 2010
Posts: 8175
Bluce_Ree wrote:
the site is hosted on 1&1 which, I think, supports PHP but finding out what I need to install (and how to configure it) is proving to be chore!

Unless you own a dedicated server with them, you won't have the power to install anything I don't think. It'll either be installed already, or not, and if you want anything else you'd either have to ask them very nicely or upgrade your account.

_________________
Mr Kissyfur wrote:
Pretty much everyone agrees with Gnomes, really, it's just some are too right on to admit it. :)


Top
 Profile  
 
 Post subject: Re: Websites with databases
PostPosted: Sun Jun 01, 2008 11:52 
User avatar

Joined: 30th Mar, 2008
Posts: 2053
ah right, hopefully they'll make it easy for then and already support it.

is this supposed to happen?

http://www.peoww.co.uk/hello.psp

_________________
PlayStation Country


Top
 Profile  
 
 Post subject: Re: Websites with databases
PostPosted: Sun Jun 01, 2008 11:52 
User avatar
Comfortably Dumb

Joined: 30th Mar, 2008
Posts: 12034
Location: Sunny Stoke
Pretty much all linux hosting comes with mysql/php and phpmyadmin as standard which makes things easier. There's even a flash version of phpmyadmin which is worth the $5 it costs.

_________________
Consolemad | Under Logic
Curse, the day is long
Realise you don't belong


Top
 Profile  
 
 Post subject: Re: Websites with databases
PostPosted: Sun Jun 01, 2008 11:53 
User avatar
Comfortably Dumb

Joined: 30th Mar, 2008
Posts: 12034
Location: Sunny Stoke
Bluce_Ree wrote:
ah right, hopefully they'll make it easy for then and already support it.

is this supposed to happen?

http://www.peoww.co.uk/hello.psp


You've got the wrong extension on that. It should work fine as a .htm I believe.

_________________
Consolemad | Under Logic
Curse, the day is long
Realise you don't belong


Top
 Profile  
 
 Post subject: Re: Websites with databases
PostPosted: Sun Jun 01, 2008 11:58 
User avatar
Comfortably Dumb

Joined: 30th Mar, 2008
Posts: 12034
Location: Sunny Stoke
The Tizag tutorials are pretty good.

_________________
Consolemad | Under Logic
Curse, the day is long
Realise you don't belong


Top
 Profile  
 
 Post subject: Re: Websites with databases
PostPosted: Sun Jun 01, 2008 11:58 
User avatar

Joined: 30th Mar, 2008
Posts: 14367
Location: Shropshire, UK
No, it would need to be .php to run as a PHP script unless the host has a weird setup.

Using PHP and mySQL is dead easy, but if you're totally new to "proper" programming it might be a bit much to take on board. If you want someone to do it all for you, I'm very reasonable ;)


Top
 Profile  
 
 Post subject: Re: Websites with databases
PostPosted: Sun Jun 01, 2008 12:00 
Best
User avatar
Board Mother

Joined: 6th Apr, 2008
Posts: 11395
Location: Mount Olympus
1 database = one living room decorated?

_________________
Doctor Glyndwr wrote:
GJ is right.


Top
 Profile  
 
 Post subject: Re: Websites with databases
PostPosted: Sun Jun 01, 2008 12:00 
User avatar

Joined: 30th Mar, 2008
Posts: 2053
thanks for the offer but I'm determined to learn. I've done a fair bit of Java and C stuff, although will have forgotten everything now.

cheers for all the advices so far. I'll start plugging away!

_________________
PlayStation Country


Top
 Profile  
 
 Post subject: Re: Websites with databases
PostPosted: Sun Jun 01, 2008 12:03 
User avatar
Comfortably Dumb

Joined: 30th Mar, 2008
Posts: 12034
Location: Sunny Stoke
GazChap wrote:
No, it would need to be .php to run as a PHP script unless the host has a weird setup.


See.. told you I was thick :)

_________________
Consolemad | Under Logic
Curse, the day is long
Realise you don't belong


Top
 Profile  
 
 Post subject: Re: Websites with databases
PostPosted: Sun Jun 01, 2008 12:04 
User avatar

Joined: 30th Mar, 2008
Posts: 2053
erk!

1&1 basic package doesn't support SQL or something. meep!

thwart-me-do!

_________________
PlayStation Country


Top
 Profile  
 
 Post subject: Re: Websites with databases
PostPosted: Sun Jun 01, 2008 12:05 
User avatar
Legendary Boogeyman

Joined: 22nd Dec, 2010
Posts: 8175
Thats a ball-ache, they must have some database capability, or they're the suck. The alternative is flat files, which you don't even want to think about I'd say ;)

_________________
Mr Kissyfur wrote:
Pretty much everyone agrees with Gnomes, really, it's just some are too right on to admit it. :)


Top
 Profile  
 
 Post subject: Re: Websites with databases
PostPosted: Sun Jun 01, 2008 12:18 
User avatar

Joined: 30th Mar, 2008
Posts: 2053
it may be possible but they hide the information exceptionally well.

i'm on the fiver a month package which would appear to offer no database support at all. although I dont know what would happen if I hosted a database and tried to access it. but in terms of getting the connection info for that SQL Front program I think I'd be scuppered.

the nine quid a month package gives you all the database gubbins including a database making app thing which apparently does it all for you but I kind of wanted to learn something. and I know it's not much money but it's the principle.

hmph!

_________________
PlayStation Country


Top
 Profile  
 
 Post subject: Re: Websites with databases
PostPosted: Sun Jun 01, 2008 12:20 
User avatar

Joined: 30th Mar, 2008
Posts: 32624
Bluce_Ree wrote:
i'm on the fiver a month package which would appear to offer no database support at all. although I dont know what would happen if I hosted a database and tried to access it. but in terms of getting the connection info for that SQL Front program I think I'd be scuppered.
A fiver a month for hosting without a database server is daylight robbery. Someone recommend this man better hosting.


Top
 Profile  
 
 Post subject: Re: Websites with databases
PostPosted: Sun Jun 01, 2008 12:25 
User avatar
Comfortably Dumb

Joined: 30th Mar, 2008
Posts: 12034
Location: Sunny Stoke
richardgaywood wrote:
Bluce_Ree wrote:
i'm on the fiver a month package which would appear to offer no database support at all. although I dont know what would happen if I hosted a database and tried to access it. but in terms of getting the connection info for that SQL Front program I think I'd be scuppered.
A fiver a month for hosting without a database server is daylight robbery. Someone recommend this man better hosting.


Not the cheapest out there but I'm with ukhost4u who are pretty good.

_________________
Consolemad | Under Logic
Curse, the day is long
Realise you don't belong


Top
 Profile  
 
 Post subject: Re: Websites with databases
PostPosted: Sun Jun 01, 2008 12:28 
User avatar
Kindly deeds done for free

Joined: 30th Mar, 2008
Posts: 1326
Looking at 1&1's site, moving to a new host might involve a certain amount of ballache; I think Mr Ree would have to pay to transfer the domain away from them (and I couldn't see any mention of how much it'll cost which strikes me as somewhat suspicious), assuming peoww.co.uk was the free domain he chose when he took the package.


Top
 Profile  
 
 Post subject: Re: Websites with databases
PostPosted: Sun Jun 01, 2008 12:43 
User avatar

Joined: 30th Mar, 2008
Posts: 2053
i've done some googling and found out how to transfer away.

http://www.thepoorhouse.org.uk/transfer ... and1_co_uk


the annoyance is that when you search for new web hosts there are always a ton of horror stories telling you that host is awful!

_________________
PlayStation Country


Top
 Profile  
 
 Post subject: Re: Websites with databases
PostPosted: Sun Jun 01, 2008 13:26 
User avatar
Legendary Boogeyman

Joined: 22nd Dec, 2010
Posts: 8175
I host websites dude: http://www.2dfx.co.uk/host60.php

I currently have about 30 or so paying customers who are nothing but happy ;)

_________________
Mr Kissyfur wrote:
Pretty much everyone agrees with Gnomes, really, it's just some are too right on to admit it. :)


Top
 Profile  
 
 Post subject: Re: Websites with databases
PostPosted: Sun Jun 01, 2008 13:31 
User avatar
Paws for thought

Joined: 27th Mar, 2008
Posts: 17161
Location: Just Outside That London, England, Europe
Bluce_Ree wrote:
thanks for the offer but I'm determined to learn. I've done a fair bit of Java and C stuff, although will have forgotten everything now.

cheers for all the advices so far. I'll start plugging away!


ASP.net may well be handy, if you affrord the hosting. Very much like programming in windows, and in your language of choice*

* - So long as your language of choice is either VB or C#.

I personally found PHP to be quite horrendous, but I am very much a c++ programmer. Never tried ASP, but it doesn't look as good for rapid development as ASP.net. They're quite different.


Top
 Profile  
 
 Post subject: Re: Websites with databases
PostPosted: Sun Jun 01, 2008 13:31 
SupaMod
User avatar
Est. 1978

Joined: 27th Mar, 2008
Posts: 69713
Location: Your Mum
Bluce_Ree wrote:
[php] seems to have documentation written exclusively by cunts.

Cor - that's a surprising thing to hear - php is pretty much agreed by everyone to have the best documentation around.
Which bit did you take a look at?

_________________
Grim... wrote:
I wish Craster had left some girls for the rest of us.


Top
 Profile  
 
 Post subject: Re: Websites with databases
PostPosted: Sun Jun 01, 2008 13:34 
User avatar
Legendary Boogeyman

Joined: 22nd Dec, 2010
Posts: 8175
Yeah, the php manual is pretty awesome. Where it's not very well documented by the developers there's usually a user-contributed explanation.

Conversely when I poked at asp I found it almost impossible to find any useful info.

_________________
Mr Kissyfur wrote:
Pretty much everyone agrees with Gnomes, really, it's just some are too right on to admit it. :)


Top
 Profile  
 
 Post subject: Re: Websites with databases
PostPosted: Sun Jun 01, 2008 14:02 
User avatar

Joined: 30th Mar, 2008
Posts: 2053
Grim... wrote:
Bluce_Ree wrote:
[php] seems to have documentation written exclusively by cunts.

Cor - that's a surprising thing to hear - php is pretty much agreed by everyone to have the best documentation around.
Which bit did you take a look at?


that may have been written in anger, due to the massive amount of FAIL that my efforts had generated!

i did a bit of ASP back at uni as well (with absolutely no help from any of the staff). i got it working but it was pretty messy and i still don't even know if 1&1 will let me work with it!

_________________
PlayStation Country


Top
 Profile  
 
 Post subject: Re: Websites with databases
PostPosted: Sun Jun 01, 2008 14:45 
User avatar

Joined: 30th Mar, 2008
Posts: 14367
Location: Shropshire, UK
If you're looking for a new host, I'll recommend Flump.net - nothing but professional, quality service and support and excellent uptime. Also, if you ask nicely they may even handle your transfer from your current hosts for you, they're nice like that.


Top
 Profile  
 
 Post subject: Re: Websites with databases
PostPosted: Sun Jun 01, 2008 16:05 
User avatar
Excellent Member

Joined: 30th Mar, 2008
Posts: 5924
Location: Stockport - The Jewel in the Ring
ComicalGnomes wrote:
Yeah, the php manual is pretty awesome. Where it's not very well documented by the developers there's usually a user-contributed explanation.

Conversely when I poked at asp I found it almost impossible to find any useful info.


ASP is easy to pick up, especially if you have done any VBA or VBScript stuff.

Actually, I've been meaning the rant about the state of documentation on my blog. Basically, most documentation but especially PHP and the various *nix stuff is pathetic. I don't mean wrong, because in fact, it is hyper detailed and of no use whatsoever to someone trying to pick it all up and understand it. There is absolutely no middle ground for people who Just Want To Get Stuff Done.

Documentation tends to go something like

"Welcome to Super Pro Language X. Lesson 1, adding two numbers together. This is done by using the plus sign to "add" the numbers. Try it and see.

Lesson 2, multiplying two numbers. This is done by using the * sign to "multiply" the numbers. Try it and see.

Lesson 3, building a quantum based interstellar portal. This is achieved by factoring the three eights gripley module, hacking in flibertygibbet.fd (of course, removing the hurdygurdy.gf code) and then flarkerkarking the whoojamayflip. Can't get it to work? Fuck off then you fucking n00b.

_________________
Mint To Be Stationery - Looking for a Secret Santa gift? Try our online shops at Mint To Be.

Book me in the Face | Tweet me. Tweet me like a British nanny.


Top
 Profile  
 
 Post subject: Re: Websites with databases
PostPosted: Sun Jun 01, 2008 19:29 
SupaMod
User avatar
Est. 1978

Joined: 27th Mar, 2008
Posts: 69713
Location: Your Mum
I used nothing but the manual when I was learning - I was in an offline environment (and I certainly couldn't afford books) so a windows help file of the php manual was all I had. I thought it was really quite good.

_________________
Grim... wrote:
I wish Craster had left some girls for the rest of us.


Top
 Profile  
 
 Post subject: Re: Websites with databases
PostPosted: Sun Jun 01, 2008 19:36 
User avatar
Heavy Metal Tough Guy

Joined: 31st Mar, 2008
Posts: 6607
If they dont have db support, you might be able to hack something together with SQLlite. I`m sure php can handle it. You dont need a db server as such, it sort of uses a flat file and does magic with it.


Top
 Profile  
 
 Post subject: Re: Websites with databases
PostPosted: Sun Jun 01, 2008 19:38 
SupaMod
User avatar
Est. 1978

Joined: 27th Mar, 2008
Posts: 69713
Location: Your Mum
You can practice your code on a windows PC by installing Apache, PHP and MySQL onto it.
I recommed XAMPP, which does it all for you: http://www.apachefriends.org/en/xampp.html
Or maybe EasyPHP: http://sourceforge.net/project/showfile ... p_id=14045

_________________
Grim... wrote:
I wish Craster had left some girls for the rest of us.


Top
 Profile  
 
 Post subject: Re: Websites with databases
PostPosted: Sun Jun 01, 2008 19:57 
User avatar
Excellent Member

Joined: 30th Mar, 2008
Posts: 5924
Location: Stockport - The Jewel in the Ring
Grim... wrote:
I used nothing but the manual when I was learning - I was in an offline environment (and I certainly couldn't afford books) so a windows help file of the php manual was all I had. I thought it was really quite good.


I was being a little unfair to PHP, as the help file is better than most.

However, it does suffer the usual open source/*nix problem of trying to be all things to all people and jumping on whatever bandwagon is currently rolling by.

For example, there are two ways of dealing with databases. Objected or not ($result->free or mysqli_free_result($result); You've got this duplication for everything, depending on where you go one way or the other.

I never, ever, figured out which was the right way to go. And the bit that really got me was that you could do both at the same time. And then retrieving data got a bit complicated - retrieve a row by mysqli_fetch_assoc? mysqli_fetch_row? mysqli_fetch_object? $result->fetch_assoc? $result->fetch_row? $result->fetch_object?

All undoubtedly powerful useful and utterly bloody bewildering for a bloke just going "I want to get the value of that field, please. You know, like I can do in VBA".

I really ought to write that blog entry.

_________________
Mint To Be Stationery - Looking for a Secret Santa gift? Try our online shops at Mint To Be.

Book me in the Face | Tweet me. Tweet me like a British nanny.


Top
 Profile  
 
 Post subject: Re: Websites with databases
PostPosted: Sun Jun 01, 2008 20:11 
User avatar
Legendary Boogeyman

Joined: 22nd Dec, 2010
Posts: 8175
It's just really flexible, you can get results as an array, associative array, or object result set. For different situations this is an extremely handy feature.

_________________
Mr Kissyfur wrote:
Pretty much everyone agrees with Gnomes, really, it's just some are too right on to admit it. :)


Top
 Profile  
 
 Post subject: Re: Websites with databases
PostPosted: Sun Jun 01, 2008 20:24 
User avatar

Joined: 30th Mar, 2008
Posts: 14367
Location: Shropshire, UK
The problem with PHP isn't the documentation, it's the inconsistent order of parameters in functions.

Is it strstr($haystack, $needle) or strstr($needle, $haystack)? It's the former, when many other functions are the latter.


Top
 Profile  
 
 Post subject: Re: Websites with databases
PostPosted: Sun Jun 01, 2008 20:36 
User avatar

Joined: 30th Mar, 2008
Posts: 32624
This isn't a result of bandwidth-jumping though. In fact, as Open Source projects are almost exclusively worked on by volunteers (exception example: Eclipse), who therefore tend to be quite committed and passionate and very good about not jumping on $HOT_NEW_THING just for the sake of it.

PHP has more than one way of doing lots of things because it's quite old and has changed a lot over the years. It has therefore acquired some cruft. If you want really slick webapps in an open source language and framework, go look at Ruby on Rails, which is light and elegant.

As for PHP's alleged inconsistencies: it is absolutely as nothing in this regard compared to the towering collection of rubbish that is COM. All Windows client programming before .Net is just awful, entirely because of this cascading collection of APIs dating back to the win16 codebase.


Top
 Profile  
 
 Post subject: Re: Websites with databases
PostPosted: Sun Jun 01, 2008 20:50 
User avatar

Joined: 30th Mar, 2008
Posts: 14367
Location: Shropshire, UK
I have to agree with you there, Mr. Gaywood. The introduction of .NET revolutionised Windows programming something fierce.


Top
 Profile  
 
 Post subject: Re: Websites with databases
PostPosted: Sun Jun 01, 2008 22:50 
User avatar
Excellent Member

Joined: 30th Mar, 2008
Posts: 5924
Location: Stockport - The Jewel in the Ring
Thirded.

Getting my head around ASP.NET, having coded ASP for a few years was a right royal bastard though.

I'm dealing with Sharepoint 2007 at the moment, and when that works it is brilliant. However, a couple of decades of not dealing with users properly (a la Unix) means that when it comes to permissions some pretty big pigeons are coming home to roost.

_________________
Mint To Be Stationery - Looking for a Secret Santa gift? Try our online shops at Mint To Be.

Book me in the Face | Tweet me. Tweet me like a British nanny.


Top
 Profile  
 
 Post subject: Re: Websites with databases
PostPosted: Mon Jun 02, 2008 0:18 
SupaMod
User avatar
Commander-in-Cheese

Joined: 30th Mar, 2008
Posts: 49244
richardgaywood wrote:
This isn't a result of bandwidth-jumping though. In fact, as Open Source projects are almost exclusively worked on by volunteers (exception example: Eclipse), who therefore tend to be quite committed and passionate and very good about not jumping on $HOT_NEW_THING just for the sake of it.


I would have thought it would be the other way around. Everyone has their own way of doing things and own 'pet methods', and when you're dealing with a varied set of developers from around the world, surely one of the disadvantages is that you tend to end up with inconsistancies in approach?

_________________
GoddessJasmine wrote:
Drunk, pulled Craster's pork, waiting for brdyime story,reading nuts. Xz


Top
 Profile  
 
 Post subject: Re: Websites with databases
PostPosted: Mon Jun 02, 2008 0:20 
User avatar

Joined: 30th Mar, 2008
Posts: 32624
Craster wrote:
I would have thought it would be the other way around. Everyone has their own way of doing things and own 'pet methods', and when you're dealing with a varied set of developers from around the world, surely one of the disadvantages is that you tend to end up with inconsistancies in approach?
Even quite humungous open source projects, Apache HTTPd, Linux, etc -- actually have a small number of committers, typically no more than a few dozen. They also tend to have very strong authority figures at the top of the tree. So this isn't the problem you'd think.


Top
 Profile  
 
 Post subject: Re: Websites with databases
PostPosted: Mon Jun 02, 2008 1:02 
SupaMod
User avatar
Est. 1978

Joined: 27th Mar, 2008
Posts: 69713
Location: Your Mum
GazChap wrote:
The problem with PHP isn't the documentation, it's the inconsistent order of parameters in functions.
Is it strstr($haystack, $needle) or strstr($needle, $haystack)? It's the former, when many other functions are the latter.

Namedrop! I asked Rasmus Lerdorf if he was going to fix that in PHP6. He said "no".

_________________
Grim... wrote:
I wish Craster had left some girls for the rest of us.


Top
 Profile  
 
 Post subject: Re: Websites with databases
PostPosted: Mon Jun 02, 2008 9:05 
User avatar
Legendary Boogeyman

Joined: 22nd Dec, 2010
Posts: 8175
Can't see how he could possibly fix it at this stage. Imagine what would happen to all the legacy code if the server got updated - nightmare.

_________________
Mr Kissyfur wrote:
Pretty much everyone agrees with Gnomes, really, it's just some are too right on to admit it. :)


Top
 Profile  
 
 Post subject: Re: Websites with databases
PostPosted: Mon Jun 02, 2008 10:06 

Joined: 30th Mar, 2008
Posts: 8679
One script to swap the params would fix it though.


Top
 Profile  
 
 Post subject: Re: Websites with databases
PostPosted: Mon Jun 02, 2008 10:15 
SupaMod
User avatar
Est. 1978

Joined: 27th Mar, 2008
Posts: 69713
Location: Your Mum
Yup. Or a ini setting that holds it in 'legacy' mode.

_________________
Grim... wrote:
I wish Craster had left some girls for the rest of us.


Top
 Profile  
 
 Post subject: Re: Websites with databases
PostPosted: Mon Jun 02, 2008 10:20 
User avatar

Joined: 30th Mar, 2008
Posts: 32624
Grim... wrote:
Yup. Or a ini setting that holds it in 'legacy' mode.
This is a better idea, but it doesn't fix muscle memory in hundreds of thousands of coders around the world, and it makes shipping code hard (what if I want to run two PHP apps on my server, one new, one old?). As untidy as it is (and I'm a fan of cleaning up cruft as a language, API, or framework evolves), this is the kind of thing I would leave alone if I were King of the World.


Top
 Profile  
 
 Post subject: Re: Websites with databases
PostPosted: Mon Jun 02, 2008 10:31 
User avatar
Legendary Boogeyman

Joined: 22nd Dec, 2010
Posts: 8175
Dudley wrote:
One script to swap the params would fix it though.

Don't fancy the thought of that.

A lot of people got confused when register_globals went from on to off by default. I don't mind saying a few bits of my code borked and were subjected to frantic corrections.

_________________
Mr Kissyfur wrote:
Pretty much everyone agrees with Gnomes, really, it's just some are too right on to admit it. :)


Top
 Profile  
 
 Post subject: Re: Websites with databases
PostPosted: Mon Jun 02, 2008 11:24 
User avatar

Joined: 30th Mar, 2008
Posts: 2053
thanks again for all this info.

it turns out my 1&1 package is 1.99 a month. although the 4.99 package still doesnt have SQL support.

_________________
PlayStation Country


Top
 Profile  
 
 Post subject: Re: Websites with databases
PostPosted: Mon Jun 02, 2008 11:37 
User avatar
Be Excellent Member

Joined: 30th Mar, 2008
Posts: 98
I like PHP. The problem with the docs is that you have to have a decent understanding of it all before you can filter the user supplied comments into good, bad and dangerous.

ComicalGnomes wrote:
I host websites dude: http://www.2dfx.co.uk/host60.php

I currently have about 30 or so paying customers who are nothing but happy ;)

You know about the PHP5 drive?


Top
 Profile  
 
 Post subject: Re: Websites with databases
PostPosted: Mon Jun 02, 2008 11:47 
SupaMod
User avatar
Est. 1978

Joined: 27th Mar, 2008
Posts: 69713
Location: Your Mum
Eshk! You haven't upgraded?
[edit]MySQL 4 too, I see. How come?

_________________
Grim... wrote:
I wish Craster had left some girls for the rest of us.


Top
 Profile  
 
 Post subject: Re: Websites with databases
PostPosted: Mon Jun 02, 2008 12:22 
User avatar
Legendary Boogeyman

Joined: 22nd Dec, 2010
Posts: 8175
Grim... wrote:
Eshk! You haven't upgraded?
[edit]MySQL 4 too, I see. How come?

PHP5 is on the system if you need to use it, but I've been wary to enforce it for those who I can't to make sure their code is up to date. I'll get there eventually :)

mySQL I believe is handled by cpanel in terms of updates. Chances are they haven't released it with their latest builds yet, or they have and I just haven't ticked the appropriate 'upgrade' box. Again, wary of any problems that might occur, and it's not like people are crying out for new, currently unsupported features.

_________________
Mr Kissyfur wrote:
Pretty much everyone agrees with Gnomes, really, it's just some are too right on to admit it. :)


Top
 Profile  
 
Display posts from previous:  Sort by  
Reply to topic  [ 89 posts ]  Go to page 1, 2  Next

All times are UTC [ DST ]


Who is online

Users browsing this forum: markg and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search within this thread:
You are using the 'Ted' forum. Bill doesn't really exist any more. Bogus!
Want to help out with the hosting / advertising costs? That's very nice of you.
Are you on a mobile phone? Try http://beex.co.uk/m/
RIP, Owen. RIP, MrC. RIP, Dimmers.

Powered by a very Grim... version of phpBB © 2000, 2002, 2005, 2007 phpBB Group.