Posts

php - How to send the mail automatically to respective user before a specific time? -

I have a system that is managing the document authorization at various hierarchical level, in this I have to automate my system The system is required to match. User is using PHP MySQL APACHE before end of 3 days for some termination / notification How can I get it? Create a script, and send automated email to cron job or You can use .

how to add assign the value and make an addition in javascript -

& lt; इनपुट नाम = "" प्रकार = "बटन" मान = "300" onclick = "document.all .t1.value = this.value "/ & gt; & Lt; input name = "t1" प्रकार = "text" id = "t1" /> gt; & lt; br / & gt; & Lt; input name = "" type = "बटन" मान = "400" onclick = "document.all.t2.value = this.value" / & gt; & Lt; input name = "t2" प्रकार = "text" id = "t2" /> gt; & lt; br / & gt; & LT; स्क्रिप्ट & gt; फ़ंक्शन जोड़ें () {document.getElementById ("T3") मान = मठ.फ्लूर (document.getElementById ("t1") मान) + Math.floor (document.getElementById ("t2")। मान); } & Lt; / script & gt; & Lt; input name = "" type = "बटन" मान = "जोड़ें" onclick = "add" / & gt; & Lt; input name = "t3" प्रकार = "text" id = "t3" / ...

c - problem getting my program to work -

I am having a newbie problem with my program .... I want it Print both a list of cities in ascending and descending order, so far I am only implementing the falling part. # include & lt; Stdio.h & gt; #to & lt include, stdlib.h & gt; #to & lt include, string.h & gt; # Include & lt; Ctype.h & gt; Int main (zero) {int i, j, ch, sort = 0; Printf ("How would you like to dry? \ N \ n Working \ n \ n Desigending \ n \ n"); Ch = getc (stdin); If (tuper (ca) == 'a' and 'tolar (ca) ==' a ') sort = 1; If (sort == 1) printf ("\ nSupport Assending ... \ n"); Else printf ("\ nSupporting ... \ n"); Printf ("How many cities do you want ?: - \ n"); Scanf ("% d", & amp; i); Four names [i] [20]; J = 0; While (J & lt; i) {printf ("ENTER NAME"); Scanf ("% s", name [ja]); J ++; } Four Swapnames [20]; Int r, k; Printf ("The original list was: \ n"); For (R = 0;...

jquery - how to know if someone is logged via javascript? -

मैं php में करता हूँ अगर (isset ($ _ cookie ['user'] ) & Amp; $ _COOKIE ['उपयोगकर्ता'] == $ valueFromDb) 'लॉग इन' गूंज; लेकिन जावास्क्रिप्ट में मैं इसे कैसे देख सकता हूं? धन्यवाद सर्वर पर अनुरोध किए बिना ऐसा करने का कोई विश्वसनीय तरीका नहीं है, क्योंकि सत्र सर्वर की तरफ समाप्त हो सकता है। एक प्रोजेक्ट में, मैं इसे निम्न, अपूर्ण तरीके से करता हूं: checkAuth () {var लॉग = (फ़ंक्शन () {var isLogged = null; $ .ajax ({'async': false , 'वैश्विक': झूठी, 'url': '/ उपयोगकर्ता / आललित /', 'सफलता': फ़ंक्शन (resp) {isLogged = (resp === "1")}}}); वापसी लौटा है;}) ); लौटा; } मैं अपूर्ण कहता हूं क्योंकि यह एक तुल्यकालिक अनुरोध करता है जो अस्थायी रूप से ब्राउज़र को लॉक करता है इसका एक फायदा है कि checkAuth () क्लाइंट-साइड अनुप्रयोग के किसी भी भाग से भरोसेमंद कहा जा सकता है क्योंकि यह ब्राउज़र को जेएस कोड के निष्पादन को जारी रखने से पहले परिणाम की प्रतीक्षा करने के लिए मजबूर करता है, लेकिन यह इसके बार...

java - How do you get IntelliJ to recognize muliple tiles views.xml? -

मैं एक Spring Roo प्रोजेक्ट के साथ IntelliJ 10 का उपयोग कर रहा हूं। Webmvc-config.xml (स्प्रिंग mvc config संदर्भ फ़ाइल) में IntelliJ मुझे टाइल्स के विचारों को भरने के लिए स्वत: पूर्ण का उपयोग करने की अनुमति देता है I हालांकि, यह केवल ऑटो-कॉम्प्लेट को वेब-एनएफ़ / लेआउट / लेआउट्स.एक्सएम से विचारों के नाम की अनुमति देने के लिए लगता है, यह सभी दृश्यों को डीआईएन / वाईईबी -INF / दृश्य / IntelliJ को इन फ़ाइलों को टाइल कॉन्फ़िग फाइल के रूप में पहचानने के लिए बाध्य करने का एक तरीका है मुझे इस बात के बारे में कष्टप्रद लगता है कि एक IntelliJ निरीक्षण है जो & lt; mvc: view-controller path = "... के किसी भी उदाहरण का प्रतीक है" दृश्य-नाम = "..." एक त्रुटि के रूप में यदि वह दृश्य रीफ़्रैडेड नहीं मिल सकता है अब यह वास्तव में काम करने से कुछ भी नहीं रोकता है लेकिन यह कष्टप्रद है। मैं सिर्फ यह जानने की कोशिश कर रहा हूं कि क्या यह IntelliJ में एक बग है या यदि कोई सेटिंग है जो मुझे याद है YouTrack के लिए धन्यवाद, हमारे डेवलपर्स इसकी जांच करेंगे।

Using Gyroscope/Acceleromotor in Android browser? -

I know what is about Android 4.2.1 for IOP 4.2? Anyone know when we can use gerroscope data in the Android browser? I know, the most common release (Android 2.2, 2.3) accelerometer, gerroscope, any speed API Browser is not supported for ... You can also read more here: But from Android 3, there are new device orientation events that you can use:

ASP.NET MVC 3 Razor Syntax question -

When I work with partial footage (MVC 3 / Razor), but I'm sure - this is a clear razor syntax question, this question appears then, not related to the related partial view - therefore I have partial with full markup The View menu is cshtml: @EmployableEnumerable & lt; SportsStore.WebUI.Models.NavLink & gt; @forcha (Miscellaneous Links in Model) {@ Html.RouteLink (link.Text, link.RouteValues); } No problem - see "Parents" @ {Html.RenderAction ("Menu", "Navigation");} And all the work is called magic. However, if I edit the menu.cshtml as: @modelimimableable (See 'A' 'before HTML. Rutalink!) Has broken now: now @ {html. Render Action ("menu", "avi");} Output is completely empty, there is no HTML tag. Want to know - what is the difference between the two pieces of code? Do I also accept "strong" @ @ before @ and also apply to Html.RouteLink ? So - am I wrong? Before the statement @ it ...