-
Posts
5,717 -
Joined
-
Last visited
-
Days Won
6
Everything posted by Adam
-
Most likely they will have a partnership with another company who provide them a product feed, importing updates peridoically.
-
Well.. Don't play it then?
-
You need to add curly braces around an array when accessed within a string: "UPDATE tbl_ticket set col_techcomments='$newtechcomments' where id = {$_POST['ticketid']}" It's also better to add quotes around an associative key.
-
Maybe there isn't a tutorial? I'm pretty sure facebook's top developers will have put many, many man hours into developing FBML. You won't find a tutorial just a few pages long covering how it can be done. If you're literally unable to think of any possible way as to how they might do it, then perhaps it's a bit premature to be trying?
-
There's no way they can compensate for everyone. Every student will have their own level of experience with different aspects of programming. They'll all have their own preferences with languages, style of learning, etc. Unfortunately unless it's a very small group you won't always get what you want..
-
.. and what have you tried so far?
-
I know aye, the cheek of it! Accepting money for their hard-work at your (free) gaming loss.. Bastards!
-
Ensure the script has the right permissions (and that both locations exist)..
-
It's quite likely the browser is seeing this an XSS attack. You may be able to get away with using the "parent" property to reference a function within the parent document though, opening the window there. Though you'll still see the usual pop-up toolbar asking whether to allow it or not.
-
Is it possible to setTimeout on the following external script?
Adam replied to sfraise's topic in Javascript Help
How is the external JS triggered? -
New Forum Section - Quick Answers
Adam replied to cpawebmaster's topic in PHPFreaks.com Website Feedback
As salathe said though, most problems vary enough for each user that a board like that wouldn't solve their problem. Heck some people post a PHP error clearly stating what the error is, with a line number, and still can't work it out. -
I think he's wanting to do it for the learning curve as opposed to earn tons of cash. Personally I'd go for something a little different, more obscure and varied. Those games just look like development would turn into the most repetitive, tedious chore. I don't personally know of any available, but Google looks promising.
-
Your expression isn't specific enough. Quite often people put something like "@someuser ..." to address someone specifically, but your expression would match this too. You'll easily be able to find a decent regexp to match email addresses on the internet, and you can just modify that to also 'backreference' the parts of the string you need. http://www.regular-expressions.info/brackets.html
-
You sound like you need a bed yourself mate!
-
1MB of JavaScript, are you kidding? If not, you can "minify" it and gzip it.
-
Cookies are not instantly available once set, only after the next HTTP request. Regardless of this though, relying on a cookie to validate a user is totally insecure; I could just set the cookie myself.
-
vBulletin login on wordpress...Please help =[
Adam replied to MasterRenny's topic in PHP Coding Help
Do you mean to import vBulletin's actual login form, or just create a form that can POST correctly to the right page? The latter shouldn't be too difficult really, just need to look at what inputs are sent and where to. -
Good cheat sheet for XSS: http://ha.ckers.org/xss.html
-
Hover over "Profile" > "Account Settings".
-
Sure I've done this before - removed end of string
Adam replied to richrock's topic in PHP Coding Help
That wouldn't remove past the last hyphen only store it, use substr_replace instead: $str = substr_replace($str, '', strrpos($str, '-')); -
Basically === checks they are of the same data type too.
-
Thoughts on an idea? PHP Help site where helpers get paid $$$ ...
Adam replied to Jax2's topic in Website Critique
People would rather spend their time trying to answer questions for the cash than read through possibly a large thread and vote on the best answer. If you help people on here, think about when you look at a forum, nobody really goes for the threads with 8 replies or something unless the title sounds intriguing. Even reading this thread I skimmed most of it so apologies if this has been mentioned, but people simply don't want or don't have the time to read through large threads. If they discovered it through Google or something they won't bother to register just so they can vote once they have the answer to their problem. So again you have the problem of how you'd decide the "best answer", but relying on the OP isn't at all reliable as they're the ones asking for help, the least knowledgeable on the subject, and so not qualified to pick the best answer. Someone could provide an efficient, clever solution, whilst someone else could give them some quick hack. To the OP the hack seems like the best answer as it solved their problem the quickest / easiest. Your idea sounds a bit like experts-exchange, in that people pay for help (though I'm not sure if the "experts" get paid). Problem being though they have millions of answers and perhaps millions of members already, and so can charge for their help because it's trusted and reputable. Even having a few thousand posts these days makes a forum look empty / unused, and you don't really hang around. Also this has probably been mentioned, but people in general want everything for free! -
Any you know that your users want this? Personally I'd much prefer to see the time spent developing more useful functionality, or decent content. Gimmicky JavaScript like that only fills the page up with crap. I bet if you tracked the clicks of that button you'd see barely anybody would use it.