• Web Development Questions That Don't Need Their Own Thread v2
    3,079 replies, posted
[QUOTE=jetboy;33573427]osCommerce and OpenCart come to mind.[/QUOTE] I think that might just be it! Cheers pal!
[QUOTE=ManningQB18;33573055]Is it possible to achieve something like this without using images or non-HTML/CSS things? [IMG]http://i.imgur.com/ukKVZ.png[/IMG] AKA hover over an element, and it causes changes in other elements that are not within that element? If so, how would I do it? I don't know how to do jQuery or Javascript or anything like that, so explaining that to me would be a waste of time.[/QUOTE] :hover on the containing element (say the tabs are <li> within an <ul>, use "ul:hover li {}" to style them)
[QUOTE=ManningQB18;33573055]Is it possible to achieve something like this without using images or non-HTML/CSS things? [IMG]http://i.imgur.com/ukKVZ.png[/IMG] AKA hover over an element, and it causes changes in other elements that are not within that element? If so, how would I do it? I don't know how to do jQuery or Javascript or anything like that, so explaining that to me would be a waste of time.[/QUOTE] You could use the [url=http://reference.sitepoint.com/css/generalsiblingselector]General Sibling Selector[/url] like this: [code]li:hover~li { }[/code] And if you want the other buttons to be different from each other: [code]li:hover~li#someId { }[/code]
How would I go about automatically having [I][url]http://www.mywebsite.com/blahblah[/url][/I] redirect to [I][url]http://www.mywebsite.com/page.php?code=blahblah[/url][/I] ?
[QUOTE=Epic Sandwich;33582120]How would I go about automatically having [I][url]http://www.mywebsite.com/blahblah[/url][/I] redirect to [I][url]http://www.mywebsite.com/page.php?code=blahblah[/url][/I] ?[/QUOTE] depends which web server which web server?
[QUOTE=Catdaemon;33582436]depends which web server which web server?[/QUOTE] Why does it depend on the webserver? Shouldn't he just do it with a .htaccess? Or do they work differently depending on the server software?
[QUOTE=mobrockers2;33582624]Why does it depend on the webserver? Shouldn't he just do it with a .htaccess? Or do they work differently depending on the server software?[/QUOTE]Apache and nginx are different, mobrockers
[QUOTE=TehWhale;33582632]Apache and nginx are different, mobrockers[/QUOTE] Okay, I thought .htaccess files were universal.
[QUOTE=mobrockers2;33582696]Okay, I thought .htaccess files were universal.[/QUOTE]Yes, all servers can read them. Doesn't mean the code within are the same
[QUOTE=Catdaemon;33582436]depends which web server which web server?[/QUOTE] Apache here, so is it all in .htaccess then?
[url]http://corz.org/serv/tricks/htaccess2.php[/url]
[QUOTE=TehWhale;33582779]Yes, all servers can read them. Doesn't mean the code within are the same[/QUOTE] I guess I just hoped they'd be the same.
I feel I have a good grasp of PHP and would like to now move onto databases. Should I start with MySQL? That's what everybody seems to recommend. I kinda like SQLite because everything is stored in a file, but is there any difference between the two in features?
[QUOTE=TehWhale;33582940][url]http://corz.org/serv/tricks/htaccess2.php[/url][/QUOTE] Many thanks!
[QUOTE=aerochug;33583450]I feel I have a good grasp of PHP and would like to now move onto databases. Should I start with MySQL? That's what everybody seems to recommend. I kinda like SQLite because everything is stored in a file, but is there any difference between the two in features?[/QUOTE] What do you mean by everything is stored in a file.
[QUOTE=mobrockers2;33584420]What do you mean by everything is stored in a file.[/QUOTE]SQLite database entries are stored...in a file. Can you please stop being so retarded?
[QUOTE=mobrockers2;33584420]What do you mean by everything is stored in a file.[/QUOTE] [url]http://www.sqlite.org/different.html#onefile[/url] [quote]Single Database File An SQLite database is a single ordinary disk file that can be located anywhere in the directory hierarchy. If SQLite can read the disk file then it can read anything in the database. If the disk file and its directory are writable, then SQLite can change anything in the database. Database files can easily be copied onto a USB memory stick or emailed for sharing. Other SQL database engines tend to store data as a large collection of files. Often these files are in a standard location that only the database engine itself can access. This makes the data more secure, but also makes it harder to access. Some SQL database engines provide the option of writing directly to disk and bypassing the filesystem all together. This provides added performance, but at the cost of considerable setup and maintenance complexity.[/quote]
[QUOTE=TehWhale;33584449]SQLite database entries are stored...in a file. Can you please stop being so retarded?[/QUOTE] I wasn't trying to make fun of him or anything, it was an honest question. I honestly just wanted to know.
[QUOTE=mobrockers2;33584420]What do you mean by everything is stored in a file.[/QUOTE] Try a google instead of making all these silly easily researchable questions. [QUOTE=aerochug;33583450]I feel I have a good grasp of PHP and would like to now move onto databases. Should I start with MySQL? That's what everybody seems to recommend. I kinda like SQLite because everything is stored in a file, but is there any difference between the two in features?[/QUOTE] MySQL is pretty much the butter of the PHP world, and you should at least get comfortable with its essentials - in a lot of the basic aspects, the SQLite and MySQL dialects aren't that different from each other. SQLite is generally geared towards local storage (think applications, for example), but it can have it's place on very small websites with a limited amount of concurrent requests. MySQL is a mature, enterprise-grade database engine, with a lot to it - you could spend years becoming completely familiar with all it's features and quirks.
[QUOTE=StinkyJoe;33585174]Try a google instead of making all these silly easily researchable questions. MySQL is pretty much the butter of the PHP world, and you should at least get comfortable with its essentials - in a lot of the basic aspects, the SQLite and MySQL dialects aren't that different from each other. SQLite is generally geared towards local storage (think applications, for example), but it can have it's place on very small websites with a limited amount of concurrent requests. MySQL is a mature, enterprise-grade database engine, with a lot to it - you could spend years becoming completely familiar with all it's features and quirks.[/QUOTE] I thought that was the point of this thread, but okay.
[QUOTE=StinkyJoe;33585174]MySQL is pretty much the butter of the PHP world, and you should at least get comfortable with its essentials - in a lot of the basic aspects, the SQLite and MySQL dialects aren't that different from each other. SQLite is generally geared towards local storage (think applications, for example), but it can have it's place on very small websites with a limited amount of concurrent requests. MySQL is a mature, enterprise-grade database engine, with a lot to it - you could spend years becoming completely familiar with all it's features and quirks.[/QUOTE] Thank you for explaining that to me in a simple manner - clears up a lot of things. I shall start to build something with PHP + MySQL. Hmm, lots of possibilities...
Any one know of a decent rails forum? or somewhere on fp that has a RoR section?
[QUOTE=Luc1f3r;33589207]Any one know of a decent rails forum? or somewhere on fp that has a RoR section?[/QUOTE] me and [url=http://github.com/sirupsen]sirupsen[/url] have been meaning to write one for ages. i don't know of any though
anyone got a javascript for counting characters? it should ignore dots, commas and spaces [editline]6th December 2011[/editline] only lower case characters matter
[QUOTE=Cuel;33595449]anyone got a javascript for counting characters? it should ignore dots, commas and spaces [editline]6th December 2011[/editline] only lower case characters matter[/QUOTE] [code]"some string".replace(/[^a-z]/,"").length[/code]
i don't know if i'm doing anything wrong but it breaks after one dot or comma e: solved it ty
-snip- nevermind
[QUOTE=swift and shift;33594412]me and [url=http://github.com/sirupsen]sirupsen[/url] have been meaning to write one for ages. i don't know of any though[/QUOTE] I think he means a forum on which to discuss RoR.
[QUOTE=Ortzinator;33608695]I think he means a forum on which to discuss RoR.[/QUOTE] oh. well there's [url=http://railsforum.com/]rails forum[/url] lmao
uh how does navigator.X work in javascript? i tried using navigator.appName and it said i was using Netscape?
Sorry, you need to Log In to post a reply to this thread.