
Philip
Staff Alumni-
Posts
4,665 -
Joined
-
Last visited
-
Days Won
20
Everything posted by Philip
-
Depends how you have your current 'point' system setup right now. Can you post more info (db schema)? I'd use mysql's time/date and update with NOW()
-
Basically: $var = condition?is_true:is_false; http://us.php.net/ternary#language.operators.comparison.ternary
-
You sure are losing a lot of packets. For me (50 packets) phpfreaks: average 45ms, 0% loss google: average 46ms 0% loss
-
Take your pick, but the shorter the var name the more likely you're going to accidentally use a previous var. $y-$mo-$d $h:$mi:$s $year-$mon-$day $hour:$min:$sec $year-$month-$day $hours:$minutes:$seconds
-
That's the wireless icon if I remember correctly, and you're running off a hard line.
-
Releasing some code, what license should I opt for?
Philip replied to JasonLewis's topic in Miscellaneous
Yeah, the GPL route would probably be better. The one I linked isn't really made for software I guess, but it has the same principles behind what you are looking for. -
Releasing some code, what license should I opt for?
Philip replied to JasonLewis's topic in Miscellaneous
I'm no expert but a quick search: http://creativecommons.org/licenses/by-nd/3.0/ -
The best reply you are going to get was already in this thread:
-
If you are typing a review, why would you need to automate it? Or are you gonna just automate the review item too, madlibs style? Learn some regex, scrape code. Or DOM might work if their html is okay. But you still may need to learn some regex to parse individual nodes. But first, question yourself if you really wanna steal other people's stuff, because I don't know about you, but I'd have a hard time snoozing at night doing that sort of thing.
-
Pagination with sortable columns.
-
Because it works, and that's all they care about. As long as it looks right on the front end, they don't care whats underneath the skin And it is a must for compatibility for email designs, which drives me nuts when I have to do build one... but it's the only option really.
-
I still am asking this question when I visit your site. You shouldn't have to tell me on the forums, I should just know by visiting your site
-
Considering the faq doesn't show anything about the charity, and the playfulness of the copy, I wouldn't be trusting that it went to charity. And yes, just another pixel ad site. These will just never go out of style
-
1. Red 2. Yellow 3. Green ^^ standard traffic light, ha.
-
I've only reached the start screen so far, but it's pretty amazing. That game is completely written in Javascript? Also.. (all of this is so new to me! ) I really want my game to play in the browser though.. Would it be possible to make a game like Aquatis and it plays the same in the browser? It IS possible, but remember not everyone will be able to load it. https://www.khronos.org/webgl/wiki/Getting_a_WebGL_Implementation
-
What the hell are up with the idiotic comments on that video +1
-
My computer is a girl! How can I change the TTS voice in Windows 7?
Philip replied to tibberous's topic in Miscellaneous
/facepalm Really? really? -
Flash is the most common for browser games, but depending on your needs you might be able to get away with some javascript. Just depends on the complexity.
-
How to split a string cleanly into at most 2 strings
Philip replied to hadoob024's topic in PHP Coding Help
You could, but I'm guessing it would be unlikely with the info provided. Changing the delimiter would easily fix this. $strs = explode("|||", wordwrap($mystring, 25, "|||")); -
http://www.snowdropkcs.co.uk/snowdropkcs_integrated_softwar.aspx ?
-
How to split a string cleanly into at most 2 strings
Philip replied to hadoob024's topic in PHP Coding Help
No, you're understanding wordwrap correctly, but if you use explode on that (as seen in my example) it'll convert it into an array -
How to split a string cleanly into at most 2 strings
Philip replied to hadoob024's topic in PHP Coding Help
Why wouldn't wordwrap work? $strs = explode("\n", wordwrap($str, 25, "\n")) -
"SELECT * FROM cinos11_pages WHERE name='chatbox'" What is the column "name"? I thought it was "title" - and it is case sensitive. Did you try plugging in my query?