8,966 Posted Topics

Member Avatar for Michalle0987
Member Avatar for old_apache

You'll need some scripting, so perhaps writing a stored procedure is required.

Member Avatar for pritaeas
0
89
Member Avatar for a.arjunvasan
Member Avatar for Venom Rush

Your JSON object should probably look something like this: var postData = { "Credential": { "Username" : "user", "Password" : "pass", "ClientIdentifier" : "ident" }, "MMCode" : "code", "RegYear" : 2012 };

Member Avatar for Szabi Zsoldos
0
368
Member Avatar for nazmule27
Member Avatar for klemme

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 …

Member Avatar for pritaeas
0
389
Member Avatar for subrata_ushasi
Member Avatar for Fiorentino01^

What are you trying to achieve? Your `p` tags aren't closed. There's no doctype. Why is the `5` in the `html` tag?

Member Avatar for JorgeM
0
134
Member Avatar for frankenfrank

If downloading their streams is against the ToS then I will close this thread.

Member Avatar for pritaeas
-1
202
Member Avatar for paine_today
Member Avatar for dencia
Member Avatar for jinggoyy
Member Avatar for Ancient Dragon

Avatars and signatures disabled by any chance? The flags are blue and purple now anyway.

Member Avatar for diafol
0
268
Member Avatar for gogs85

How is this different from this thread: http://www.daniweb.com/web-development/php/threads/459427/get-div-text-and-image-from-another-website

Member Avatar for pritaeas
0
60
Member Avatar for lloydsbackyard

header('../location: admin.php'); // 1 folder up header('../../location: admin.php'); // 2 folders up

Member Avatar for pritaeas
0
169
Member Avatar for bojan123

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.

Member Avatar for bojan123
0
250
Member Avatar for hrnjutt

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.

Member Avatar for TomH.PG
0
176
Member Avatar for mmcdonald

> " Head First Design Patterns " Personally I prefer [this one](http://www.goodreads.com/book/show/85009.Design_Patterns).

Member Avatar for mmcdonald
0
509
Member Avatar for Dardan89
Member Avatar for spluskhan

Closed duplicate, continue here: http://www.daniweb.com/web-development/php/threads/459552/database-update-error

Member Avatar for pritaeas
0
168
Member Avatar for Priti_P
Member Avatar for Zababa

> 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 …

Member Avatar for chrishea
0
212
Member Avatar for vaniranjan

What are you looking for? What do you want the software to help you with?

Member Avatar for diafol
0
115
Member Avatar for Aterin
Member Avatar for duggung
Member Avatar for Tinnin

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)."*

Member Avatar for cereal
0
926
Member Avatar for mKorbel

It just wasn't accessible for me either, but everything appears fine now.

Member Avatar for JorgeM
0
306
Member Avatar for prem2

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 \+]*

Member Avatar for pritaeas
0
255
Member Avatar for Dani

Personally I don't mind, but perhaps [this](http://www.php.net/manual/en/datetimezone.gettransitions.php) can help.

Member Avatar for pritaeas
0
137
Member Avatar for designershiv
Member Avatar for dbalas
Member Avatar for spothao
Member Avatar for veedeoo
0
373
Member Avatar for renierdbruyn
Member Avatar for renierdbruyn
0
513
Member Avatar for judas princess

> boolean or binary or something else...? Use an integer column, that way you enable the possibility to add new statuses later on.

Member Avatar for pritaeas
0
233
Member Avatar for Shikha_1

What do you mean by a random string? What about the refresh? Are you talking about an AJAX call?

Member Avatar for diafol
0
157
Member Avatar for PriteshP23

How about: $nodes = $dom->getElementsByTagName('Equipment'); foreach ($nodes as $node) { // other code here based on $node }

Member Avatar for PriteshP23
0
593
Member Avatar for diafol

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, …

Member Avatar for Dani
0
684
Member Avatar for Ancient Dragon

> 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.

Member Avatar for Ancient Dragon
0
525
Member Avatar for Secretary

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.

Member Avatar for pritaeas
0
209
Member Avatar for parantap

What error message do you get? Looks like the single quotes are both before the last value, instead of around.

Member Avatar for pritaeas
0
154
Member Avatar for pritaeas

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 …

Member Avatar for Dani
0
95
Member Avatar for wallet123

10061 means no connection could be established, are you sure the server is running?

Member Avatar for pritaeas
0
139
Member Avatar for newbie26

Closed. Continue [here](http://www.daniweb.com/web-development/php/threads/459116/help-cannot-upload-file-php).

Member Avatar for pritaeas
0
174
Member Avatar for bradly.spicer
Member Avatar for bradly.spicer
0
104
Member Avatar for milan.sabic

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.

Member Avatar for pritaeas
0
152
Member Avatar for sasatechno
Member Avatar for virusisfound

Correct. If there is no violation against a rule, threads will not be deleted.

Member Avatar for happygeek
0
345
Member Avatar for Priti_P
Member Avatar for diafol
0
317
Member Avatar for JukesK

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.

Member Avatar for JukesK
0
204
Member Avatar for Tcll5850

What kind of browser does the WII use? Perhaps it's not (fully) supporting Javascript.

Member Avatar for Tcll
0
238

The End.