What's the current status of the API following the update to tags? For searching, can ony see: `http://www.daniweb.com/api/articles/search?query=blah` which gives the same results regardless of the query text (and the 'members' equivalent, which seems to work). Was there not a tags endpoint before? Can't remember. Anyhow, was thinking of a side project with the API, but I don't want to start if it's not working as expected. For example, as the PHP forum no longer exists, I was trying to get articles with 'PHP' in them, but got a lot of junk. Thanks.

Member Avatar
Member Avatar
+1 forum 13

Pls i need your help here, im working on web page in which i want the user who register or subscribe will login to know thier status either membership expired or active but this code it is working manually if i set the date but not working from the database and in my database i have a data table column called expired with timestramp <?php $now = time(); $sql="SELECT * FROM `user` WHERE (`username` ='$myusername' OR `lastname` ='$myusername') AND `password`='$mypassword'; $expired=date("Y-m-d H:i:s", time()); //echo $now_time."<br>"; $today_date=strtotime($now_time); $d1_register=strtotime("2015-10-01 18:46:38"); $mint=round(abs($today_date - $d1_register) / 60,2)." minute"; $day=round(($mint/60)/24,2); if ($day>=30) { echo "Account …

Member Avatar
Member Avatar
+0 forum 6

Hi, I have a table in which I have Use ON and OFF status and I want to implement in laravell.What I have to do that it will work properly. Thanks!

Member Avatar
Member Avatar
+0 forum 1

im using api for twitter post, when i post content, twitter not generate the status id, i got this below error Fatal error: Uncaught exception 'EpiTwitterNotAuthorizedException' with message '{"errors":[{"message":"Could not authenticate you","code":32}]}' in

Member Avatar
Member Avatar
+0 forum 2

I have this small project to mine that I am using to learn web development but I've been stuck at a certain point now with AJAX for 3 days now. I have this ajax code that is supposed to submit to a PHP file. function submitArticle() { xhr = new ajaxValue(); function ajaxValue() { try { xhr = new XMLHttpRequest(); } catch(e) { try { var xhr = new ActiveXObject("Microsoft.XMLHTTP"); } catch(e) { try { var xhr = new ActiveXObject("Msxml2.XMLHTTP"); } catch(e) { alert("Your Browser is not Supported"); } } } return xhr; } var postTitle = document.getElementById('postTitle'); var postDes …

Member Avatar
Member Avatar
+0 forum 2

i have created a database with username,age,contact,email.now i want a column in which we can show whether the user is active or not.what sholud we do?if we create a column named as status,what sholud be type of column?boolean or binary or something else...??? i am using php to edit delete and for other operations.everything is done except the status.i want that user can see who is active and who is not in his or her profile then what is the way to do it? please guide me..:-(

Member Avatar
Member Avatar
+0 forum 1

For those who are afraid of lycanthropes and full moons, here is a way to figure out the phase of the moon.

Member Avatar
Member Avatar
+2 forum 1

Hello everybody ! There is an issue that's driving me realy crazy. I'ts about Adobe DreamWeaver and adding MySQL Data Connection (For document type:PHP). When I input infrmation about: -Connection name -MySQL server(remote server) -username -password Which all of those infos are correct i receve a http error saying: "HTTP error code 405 method not allowed" Propablly the mention method is the POST method. More about that error you can read on http://www.checkupdown.com/status/E405.html Did anyone have such a problem and knows the solution of this ?

Member Avatar
Member Avatar
+0 forum 1

Hi friends, I am working with library managemnt system. I have a doubt.. I m adding 1 book copy to the library. after borrowing how to reduce copy to 0. and change the status??

Member Avatar
Member Avatar
+0 forum 2

This has been asked before in several places, but I keep finding the question and never a solution. If JavaScript on a page does window.print () I want to get back a status telling either 1) accomplished (which means there was some time elapsed, just like clocking does) or 2) failed, and possibly a reason like out-of-paper or offline That outcome could then invoke the correct follow-on page, "Printed" or "Unable to Print" and this would also tell the server if the message had been delivered or not, in the printer tray. The purpose is to print out orders from …

Member Avatar
Member Avatar
+0 forum 1

Hello guys, I really need your help on this one, Please help me out with it I'm using a webBrowser in my application "Visual Basic 2010", And what basically it will do, Once you open up the application, It will show you a URL, let's say for example Google.com by default | What i wanted to do is, To kind of show a specific part of the website only and hide the rest of it, Like for example like result or on google.com, Show the search bar and the search button, But not the I'm feeling lucky Button Can't i …

Member Avatar
Member Avatar
+0 forum 7

Hi all I have a problem with how to check the printer via LPT1 through programming language Visual Basic 6. Its need for printing the letter post items, so that the data is not easily changed. thanks for the friends who can help solving my problem. respectful greetings,

Member Avatar
Member Avatar
+0 forum 1

i'm having a problem with my project where i should read the inputs from the status port of a DB-25... Input = Inp(&H379S).... whenever i trigger one of the sensor the value of INPUT will be 135 regardless of which sensor i trigger or even if i simultaneously trigger multiple sensors... the problem is i cant distinguish which sensor has been triggered... i'm using one of the output pin as my power supply for the circuit.. are there individual port addresses for each of the status pins??

Member Avatar
Member Avatar
+0 forum 2

Maybe you will help me in this "simple" case: request2 = urllib.request.Request(url) cj2 = http.cookiejar.CookieJar() urlOpener2 = urllib.request.build_opener(urllib.request.HTTPCookieProcessor(cj2)) url2 = urlOpener2.open(request2) allinfo2 = url2.info() Output of this script is on this image: http://img195.imageshack.us/img195/9514/20120523110058.png My question is: How I can add new element to headers ?? something like that ('Set-Cookie',"server=2")

Member Avatar
+0 forum 0

Python 3.2.2 I want to check HTTP status code (eg. 200 or 404) on some www application. There are five server, and each server have a copy of this www application (The user is automatically redirected to the application on the server with low traffic/sometimes on random server). Suppose that the name of servers is: 0,1,2,3,4 I tried various options, three of them I pasted below (they works -always return 200, but choose not this server what I want): ====1==== import urllib.request,urllib.parse, http.cookiejar values2= {"server":"2"} data2 = urllib.parse.urlencode(values2) data2 = data2.encode("utf-8") request2 = urllib.request.Request(url,data2) cj2 = http.cookiejar.CookieJar() cj2.add_cookie_header(request2) urlOpener2 = …

Member Avatar
Member Avatar
+0 forum 3

Though I've seen some modules and stuff for doing this they seem to deprecated. So how do you use python to update your status on Facebook? (Please provide examples to explain) Thanks In Advance,

Member Avatar
Member Avatar
+0 forum 1

How can i get battery status? Any help will really appreciated. Regards Sawamura

Member Avatar
Member Avatar
+0 forum 3

I have a problem when trying to detect the computers network connection status. Here is the code I have used: Dim IsAvalible As String = My.Computer.Network.IsAvailable If IsAvalible = True Then Label1.Text = "Connected" Else If IsAvalible = False Then I Label1.Text = "Disconnected" End If End If But for some even when the network is disconnected or the computers wifi is turned on I still get the result of "Connected". I think there something wrong with the code. Could someone help me please ? Thank You

Member Avatar
Member Avatar
+0 forum 2

Hello, I'am really new to all this Facebook development, and I wanted to integrate Facebook within my personal website. I am now trying to test if what I want is possible. [B]I want to post a status from my server, via php/js to my Page in Facebook. How can I do so?[/B] [U]B.W.[/U] I saw that there is this FBJS function called "Facebook.streamPublish" But I don't know how to integrate it. Is there any possible way to do so? Can you give me an example? -Secondly, what is an access token?

Member Avatar
Member Avatar
+0 forum 4

I have test my app before, and It worked I have managed to post to my page wall. But now after I have changed the code and removed the permissions, and logged in again it didn't work and trowed this exception: Exception: 200: The user hasn't authorized the application to perform this action Code: [CODE] if(isset($_POST['submit'])){ try { //$facebook = new Facebook(###, ###); $facebook->api_client->session_key = '###';//I got this by a tutorial once but I can't seem to get a new one, is there any way of getting one automatically? $response = $facebook->api(array( 'method' => 'stream.publish', 'message' => 'Test from dreafmhosters.com', …

Member Avatar
Member Avatar
+0 forum 2

I have a website where users can add their friends. What I am trying to achieve is to show every user that who are their friends that are currently online. If any one knows a link to any script or tutorial that explains this, Please help.

Member Avatar
Member Avatar
+0 forum 3

I am getting the following error.................. [QUOTE]HTTP Status 500 - type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception org.apache.jasper.JasperException: Unable to compile class for JSP: An error occurred at line: 9 in the generated java file Only a type can be imported. org.apache.commons.fileupload.servlet.ServletFileUpload resolves to a package An error occurred at line: 10 in the generated java file Only a type can be imported. org.apache.commons.fileupload.disk.DiskFileItemFactory resolves to a package An error occurred at line: 19 in the jsp file: /employee_upload_profile_image.jsp ServletFileUpload cannot be resolved 16: int count1=0,count2=0,count3=0,count4=0,count5=0; 17: …

Member Avatar
Member Avatar
+0 forum 3

Hi All, I have a ASP.net web application developed using C#. It has got a button on click of which an excel file is shown to the user. User can save or open the file. But this operation takes about a minute to complete. I wish to implement Ajax in the web page so that the status of excel generation is provided to the user.I wish to put a label control in the web page and update it using Ajax... Please help Thanks Aravind

Member Avatar
Member Avatar
+0 forum 1

Hi All, I have a ASP.net web application developed using C#. It has got a button on click of which an excel file is shown to the user. User can save or open the file. But this operation takes about a minute to complete. I wish to implement Ajax in the web page so that the status of excel generation is provided to the user.I wish to put a label control in the web page and update it using Ajax... Please help Thanks Aravind

Member Avatar
Member Avatar
+0 forum 1

Hi, I have implemented an Ajax object - a div containing another ASP file which can be updated dynamically. This ASP page has a number of checkboxes. Is it possible to use JS (or any other tool) to check the checkbox status (i.e. like javascript's [CODE]if (field.checked)[/CODE]) from the containing HTML/ASP file? This is how I used to check the status when the checkboxes were in the containing HTML: [CODE]<img src="images/trail/ChooseAll.png" border=0 onclick="checkAll(document.<form_name>.<CheckBox_Name>)">[/CODE] But now the form is in the Ajax object's ASP file, so "document" wouldn't work. Ideas? Thanks in advance, Asaf

Member Avatar
Member Avatar
+0 forum 4

Hello, how can I resize a [U]borderless[/U] window with a [U]custom[/U] component (something like status bar) that docks at the bottom part of my window. I draw a sizing grip in the bottom right corner of my scustom tatus bar. I was able to implement functionality for my borderless window to resize but my status bar covers the area so I thought this code: [CODE] protected override void WndProc(ref Message m) { if (m.Msg == (int)Lizard.Windows.Native.NativeMethods.WindowMessages.WM_NCHITTEST && panelEnableGrip && Enabled) { Point pos = new Point(m.LParam.ToInt32() & 0xffff, m.LParam.ToInt32() >> 16); pos = this.PointToClient(pos); if (pos.X >= ClientSize.Width - 16 …

Member Avatar
+0 forum 0

Hi. I need program wich will start other program (for example notepad.exe) and if notepad.exe will exit my program will start it again. How can i get info about process state and put it into variable to use with if? I'm beginner at C++ so please write all headers witch i need to include and code example with explanation. Thank you.

Member Avatar
Member Avatar
+0 forum 2

Hello. I am designing a php forum but one of the things i can't seem to work out or find is how you do the icons on the left side such as 'New' 'No new posts' etc. What i can't work out about it is how you tell php if there is a new post in topic that the user had not seen or if the if there is no new posts that the user wouldn't have seen. if you understand what im on about. Any help is much appreciated.

Member Avatar
Member Avatar
+0 forum 1

Hello DaniWeb, This is my first topic here at DaniWeb. I have always been a great fan of this forum mostly for C# solutions. Iam a 3rd year student IT. Now I have a problem. Iam trying to make a application that checks if IP + Port is online.( it's a WAN IP ) The thought behind is a downloadable application for a friend of mine who runs a MMO Server Status site. I kindly like to hear how can I manage to do so. Till now I have tried: - Socket, Problem with socket is that I cannot make …

Member Avatar
Member Avatar
+0 forum 7

hi everyone, Originally I had a script like: telnet host port then type STATUS for checking remote server,local server status and connection. In order to omit typing "STATUS", now I'm trying combine these two commands into one line, how to write it? or do we have another way to achieve the same purpose? I'm a newbie of Unix, the question I already asked many people, but still cannot get a answer, really hope someone can teach me how to solve the problem. thank you~

Member Avatar
Member Avatar
+0 forum 12

The End.