WordPress - Accessing custom PHP file and Creating Session using Ajax
◷
تاریخ انتشار: 1395/2/16 | ساعت: 18:06
Vote count: 0 I have been recently working on WordPress and trying to create sessions however I'm facing the following issue: I have created my own PHP file, where I will get the POST data and assign it to session variable. I have created the following function in Theme Footer file: if(document.getE...
How do I get Pligg/ Kliqqi variables when running PHP codes in template files?
◷
تاریخ انتشار: 1395/2/16 | ساعت: 18:06
Vote count: 0 I'm trying to get and print Pligg's link_summary.tpl $title_short variable. As you know, Pligg parser only runs PHP codes in {..} for example {if}{/if}. So to print $title_short you just need to put {$title_short} and it will echo $title_short. But, I need to pass $title_short content ...
Resizing Highcharts legend on window resize
◷
تاریخ انتشار: 1395/2/16 | ساعت: 16:27
Vote count: 0 I want to change the size of Highcharts legend (especially its width). Here is some of the code I tried to use based on research I did: $(window).resize(changeSummaryLayout); function changeSummaryLayout() { var w = window.i erWidth; if (w < 1370 && w > 992) { for (i = 0; i < charts.le...
'socket.io error on connect: Error: xhr poll error' while importing zone.js when using Karma/Jasmine in Angular 2 with NativeScript 2.0 [1.7.1]
◷
تاریخ انتشار: 1395/2/16 | ساعت: 16:27
Vote count: 0 I'm getting the below error while ru ing my tests using Karma with Jasmine in my Angular2 with NativeScript project. The tests are being executed correctly, but, this error keeps repeating in the console. I observed the error is coming only after importing zone.js (imported it because ...
How to set .NET CRL Version Application Pool using InstallShield 2012 on UI
◷
تاریخ انتشار: 1395/2/16 | ساعت: 16:27
Vote count: 0 How could i set .NET CRL Version to Application Pool using InstallShield 2012?? In InstallShield 2009 , it easy to do it in Application Pool setting. But it seem hide in InstallShield 2012. Thanks ! p/s : please see attach files. asked 1 min agotuancoi Let's block ads! (Why?)
i have API key but when i put it in my android studio to return me list its return me but nothing and i can sad that its return me json
◷
تاریخ انتشار: 1395/2/16 | ساعت: 15:24
Vote count: 0 public class GetPlaceSearchTask extends AsyncTask {enter code here enter code here private Context context; private ProgressDialog dialog; public static final String SEND_RESULT_SEARCH_BROADCAST_FROM_TASK = "send_result_search"; private String API_LOCATION = "https://maps.googleapis.co...
SAP HANA Vora 1.2 : Cannot load as virtual table in HANA Studio
◷
تاریخ انتشار: 1395/2/16 | ساعت: 15:24
Vote count: 0 In SAP HANA Vora 1.2 Dev Edition: I've configured the Spark Controller and started server. Then I run the spark-shell and created a new table. In SAP HANA Studio i can see now folder "spark_velocity" and "table001" in it, which I created. When I try to add this table my HANA folder wit...
Have any solution for validate gcm token?
◷
تاریخ انتشار: 1395/2/16 | ساعت: 15:24
Vote count: 0 I have a api for register device with the server. In this api, the device must send gcmtoken to the server and server will save it to db. My problem is how to server know this gcmtoken has been generate from my app? Have any suggestion for validate a gcmtoken is generate from my app? a...
Storing xml data in Java collections
◷
تاریخ انتشار: 1395/2/16 | ساعت: 14:14
Vote count: 0 <?xml version="1.0" encoding="UTF-8"?> <filepaths> <application_information_ticker> <desc>Ticker1</desc> <folder_path>../atlas/info/</folder_path> </application_information_ticker> <document_management_system> <desc></desc> <folder_path>../atlas/dms/</folder_path> </document_management...
'zsh: permission denied: webpack'
◷
تاریخ انتشار: 1395/2/16 | ساعت: 14:14
Vote count: 0 I installed oh-my-zsh via a curl & ever since, have been getting the following error: 'zsh: permission denied: webpack' When I run the command: 'chmod +x webpack/*', I get the following on my terminal: 'zsh: no matches found: webpack/*' I'm on osx How can I get rid of this error so I c...
Azure Mobile App, Cordova client, Azure AD - refresh tokens?
◷
تاریخ انتشار: 1395/2/16 | ساعت: 14:14
Vote count: 0 This stack is shaping up to be perfect for our use case: Azure Mobile App Azure AD C# backend (using GetAppServiceIdentityAsync<AzureActiveDirectoryCredentials>() to authorize users to API endpoints based on security group membership) Cordova client The missing piece of the puzzle for ...
parsing XML file depends on tags which may or may not be existed
◷
تاریخ انتشار: 1395/2/16 | ساعت: 13:08
Vote count: 0 Im trying to parse an XML file depends on a tag which may or may not be existed ! how I can avoid this IndexError without using exception handler ? python script: #!/usr/bin/python3 from xml.dom import minidom doc = minidom.parse("Data.xml") persons = doc.getElementsByTagName("person")...
Efficient & elegant way to track which records a user has already seen in MYSQL PHP
◷
تاریخ انتشار: 1395/2/16 | ساعت: 13:08
Vote count: 0 Say I have a table of 1000 GIF's and I query and randomly show 1 GIF to a user. But when I go to get the next random GIF I don't want to show one I've already shown to a user. What is the best way to store and retrieve this type of scenario? asked 41 secs agoJeff Solomon Let's block ad...
Undefined index in php when using ajax
◷
تاریخ انتشار: 1395/2/16 | ساعت: 13:08
Vote count: 0 <body> <head> <script src="http://code.jquery.com/jquery-1.9.1.js"></script> <script> function val() { var name=document.getElementById("name").value; if(name == '') { alert(name+" is empty"); } else { var dataString = "name = "+name; $.ajax({ type:"POST", url:"hi.php", data:dataString...
value cannot be passed into another public static method (java)
◷
تاریخ انتشار: 1395/2/16 | ساعت: 11:38
Vote count: 0 This is my DAO. It consists of public static method for presentationBean, public static method for lecturerBean and lastly, public static PresentationBean addavailable2(PresentationBean ADbean) to access the database. public class AddAvailableDAO2 { static Co ection currentCon = null; ...
How can i restrict the access to my php source code?
◷
تاریخ انتشار: 1395/2/16 | ساعت: 11:38
Vote count: 0 I know the question is kinda weird but the thing is like this: I've created a web application in PHP and mySQL database for a school. And I am using the same application as the mini project for my semester. But now we need to submit the whole project into a DVD to my teacher. But I don...
C - error when allocating dynamic memory for linked list node
◷
تاریخ انتشار: 1395/2/16 | ساعت: 11:38
Vote count: 0 I am trying to write a code that read a text file to a linked list and store in memory. I dont know why there are error on malloc functions I use in my code. This is the pre-given header file that need to keep as is: #ifndef ADDRESSBOOK_LIST_H #define ADDRESSBOOK_LIST_H #define NULL_SP...
how to show Min and Max value on dynamic pivot table
◷
تاریخ انتشار: 1395/2/16 | ساعت: 10:12
Vote count: 0 I'am create pivot table from dt_table join with dt_k table dt_k +------+--------+-----+ | id_k | name_k | ott | +------+--------+-----+ | 1 | item 1 | ss | | 2 | item 2 | ss | | 3 | item 3 | ww | | 4 | item 4 | dd | | 5 | item 5 | asa | | 6 | item 6 | rr | +------+--------+-----+ dt_ta...
How to optimze insert in CodeIgniter (insert faster)
◷
تاریخ انتشار: 1395/2/16 | ساعت: 10:12
Vote count: 0 I want to create a table with all the links in another one, but the proccess is too slow, I am doing this with CodeIgniter, and I want to know if there is a better way to do it. This is my code: foreach($results as $value) { $ci->db->select('id'); $ci->db->where('url', $value->Url); $l...
html5 video buffer not effect in Chrome 50
◷
تاریخ انتشار: 1395/2/16 | ساعت: 10:12
Vote count: 0 video preload mode is 'auto' look at these three requests, first when I enter this page, video start get metadata(18.1MB) the second request is when I start video and pause, browser start get buffer and totally buffered(304M) but when I start and pause again, or seek to any video time,...