8,966 Posted Topics
Re: You'll need some scripting, so perhaps writing a stored procedure is required. | |
Re: The query failed. Try adding error checking so you can see why. | |
Re: Your JSON object should probably look something like this: var postData = { "Credential": { "Username" : "user", "Password" : "pass", "ClientIdentifier" : "ident" }, "MMCode" : "code", "RegYear" : 2012 }; | |
Re: I understand you want to learn the singleton pattern, but IMO it's a strange concept in PHP as at the end of the script all objects are discarded. So everytime the script starts, the mysqli object is recreated. Why not use a regular object instead? This [SO thread](http://stackoverflow.com/questions/4595964/who-needs-singletons/4596323#4596323) explains it … | |
Re: It depends on your bandwidth, unless your code does weird things. | |
Re: What are you trying to achieve? Your `p` tags aren't closed. There's no doctype. Why is the `5` in the `html` tag? | |
Re: If downloading their streams is against the ToS then I will close this thread. | |
Re: Not 100% sure but I think it should be: new RegExp("\\b" + pat + "\\b").test | |
Re: Avatars and signatures disabled by any chance? The flags are blue and purple now anyway. ![]() | |
Re: How is this different from this thread: http://www.daniweb.com/web-development/php/threads/459427/get-div-text-and-image-from-another-website | |
Re: header('../location: admin.php'); // 1 folder up header('../../location: admin.php'); // 2 folders up | |
Re: Try the `ini_set` above in your script. If this is running on a shared webhost, you may be out of luck. Very likely that this setting has been disabled. | |
Re: It works the other way around, a client contacts a server. So some sort of polling mechanism is required. Although it's possible with node.js I think, but have no experience with it. | |
Re: > " Head First Design Patterns " Personally I prefer [this one](http://www.goodreads.com/book/show/85009.Design_Patterns). | |
Re: Closed duplicate, continue here: http://www.daniweb.com/web-development/php/threads/459552/database-update-error | |
Re: > Is the only option to request the credentials of the user and log into the system by using a GET method with the appropriate parameters? If that website does not provide some other method, then yes, you'll need those. The problem is, will the user trust you with his … | |
Re: What are you looking for? What do you want the software to help you with? ![]() | |
Re: From the [manual](http://php.net/manual/en/function.mail.php): *"The formatting of this string must comply with [RFC 2822](http://www.faqs.org/rfcs/rfc2822.html)."* | |
Re: It just wasn't accessible for me either, but everything appears fine now. | |
Re: Does it have to start with a letter, or can it be anywhere in the string? Can you provide some samples? This can be a start: [a-z \+]+ If it always starts with a letter: [a-z][a-z \+]* | |
Re: Personally I don't mind, but perhaps [this](http://www.php.net/manual/en/datetimezone.gettransitions.php) can help. | |
| |
Re: Am not quite sure what you're asking. Can you try to explain with a little more detail? | |
Re: First define what you will be ranking on. Skills, age, experience, ratings, ... | |
Re: > boolean or binary or something else...? Use an integer column, that way you enable the possibility to add new statuses later on. | |
Re: What do you mean by a random string? What about the refresh? Are you talking about an AJAX call? ![]() | |
Re: How about: $nodes = $dom->getElementsByTagName('Equipment'); foreach ($nodes as $node) { // other code here based on $node } | |
![]() | Re: Dani, what's the cutoff date for RSS feeds? I mean, if I get the RSS feed for the PHP tutorials I get an empty feed. Last tutorial was 4 months ago. You don't show anything older than a month, or is there also a maximum number of items returned? Additionally, … |
Re: > Column names in the table have a space in them, such as "Last Name". Could that be the problem? Yes, very likely. They'd have to be escaped in brackets. Not sure how to fix that though, unless you rename the columns. | |
Re: The error states MySQL, so you won't find anything on MSDN. The problem in the query is that there are no values in between the parenthesis. | |
Re: What error message do you get? Looks like the single quotes are both before the last value, instead of around. | |
http://www.daniweb.com/home/about If I open this in IE10 or Opera, it won't let me scroll to the bottom so I can see the light blue bar. It just pops back up again. It appears to only happen with a specific height, weird, but not important. Window height is 1200 minus the … | |
Re: 10061 means no connection could be established, are you sure the server is running? | |
Re: Closed. Continue [here](http://www.daniweb.com/web-development/php/threads/459116/help-cannot-upload-file-php). | |
Re: > How would I find the % used? $used = 100 - round($memmath2); | |
Re: I think you should first check which rooms are available for the full duration, and then self join to get the price. Perhaps it's possible in the WHERE, not sure. | |
Re: Correct. If there is no violation against a rule, threads will not be deleted. | |
Re: Very vague. What do you have already? What do you want to change? ![]() | |
Re: Am sure you can make a [function](http://dev.mysql.com/doc/refman/5.0/en/create-procedure.html) that would return such a value. | |
Re: What kind of browser does the WII use? Perhaps it's not (fully) supporting Javascript. |
The End.