Posts

How to generate XML sitemap for php website -

As we have now used WordPress for our website, and XML Sitemap, some plugins for the full plugin Now we are switching to a php website made from scratch, after some Google search, I have not got anything to help me understand how I can create a sitemap for my website. Please help with any kind of software or any web script? Thank you. It really depends on the page pages Include what-what is) But, if you do not have a lot of pages then you can only create a document called sitemap.xml . Keep it in hand and keep it in your root directory. There are lots of examples that you can simulate with a quick Google search.

c# - The process cannot access the file ' ' because it is being used by another process -

I am trying to delete the local copy of an uploaded image file (on the computer) using the file dialog I am It throws the process 'C: \ Documents and Settings \ user names \ My document \ My Pictures \ 1220.bmp' because it is being used by another process. Private Zero _btnImportPhoto_Click (Object Sender, RoutedEventArgs e) {// user clicked Import / Change photo, open file dialog for browsing for photo system. Windows.form. OpenFile Dialog file dialeg = new system.windows.form. OpenFile Dialog (); FileDialog.Multiselect = false; FileDialog.filter = ResourceFile.PhotoFileTypes; If (fileDialog.ShowDialog () == System.Windows.Forms.DialogResult.OK) {FilePath = fileDialog.FileName; FilePathCopy = fileDialog.FileName; String SecureFilePath = FilesyLog .SafeFileName; Bitmap bitmap = new bitmap (file path); Current photo = bitmap; Bitmap bitmap 1 = new bitmap (filecapcap); // When a local copy is removed to save a copy, m_PhotoCopy = bitmap1; FileSystem.DeleteFile (FilePath); ...

javascript - IndexedDB Transaction constant in Google Chrome -

चश्मा: const अहस्ताक्षरित कम READ_ONLY = 0; Const अहस्ताक्षरित कम READ_WRITE = 1; google क्रोम के कंसोल में वेबकीटआईडीटीबीटीसंसैक्शन .__ प्रोटोटा __ की जांच करना: READ_ONLY: 1 READ_WRITE: 0 मुझे आश्चर्य है कि क्या google क्रोम यहां इंडेक्सएडब चश्मा को गलत रूप से लागू कर रहा है? IDBTransaction मैं पिछले संस्करणों से बात नहीं कर सकता लेकिन webkitIDBTransaction .__ प्रोटोटा __ ऑब्जेक्ट में READ_WRITE या कोई अन्य लेनदेन स्टेट स्टंटेंट नहीं है I आज तो यह संभव है कि जिस ऑब्जेक्ट को आप देख रहे थे वह गलत प्रोटोटाइप था या जैसा कि आप कहते हैं, इसका प्रोटोटाइप (जो कि क्या होगा?) गलत ढंग से लागू किया गया था। किसी भी स्थिति में, ये स्थिरांक ठीक हाल ही में क्रोम का निर्माण: console.log (webkitIDBTransaction.READ_ONLY); & Gt; 0 console.log (वेबकिटआईडीबीटीसंहार। आरएडी_विरेट); & Gt; 1

Querying SQLite Tree structure -

मेरे पास इस तरह से तालिकाएँ हैं: पेड़ {id, name, parent } content {id, content, parent} पेड़ तालिका में एक पेड़ की तरह संरचना होती है, जहां माता-पिता 0 हैं शीर्ष स्तर तत्व और यदि यह अलग है, तो यह एक ही तालिका से माता-पिता का आईडी है। content तालिका में एक parent स्तंभ होता है जो एक पेड़ तालिका से आईडी। मुझे क्या चाहिए है सामग्री के लिए आईडी को दिए जाने पर माता-पिता के तत्वों की पूरी श्रृंखला प्राप्त करना है। मैं डॉन यह नहीं लगता कि यह तालिकाओं के लिए सबसे अच्छी संरचना है और मुझे लगता है कि मैं इसे बदल सकता हूँ। आप इस पर क्या ले रहे हैं, कृपया? सबसे पहले, मैं रूट कोड को इंगित करने के लिए शून्य के बजाय parent = null का उपयोग करने की सलाह देता हूं, जो tree मूल मूल पर संदर्भ के लिए id ; संदर्भित अखंडता उपयोगी है। फिर आप रूट नोड से प्रत्येक पंक्ति में वर्तमान नोड में शामिल कर सकते हैं। भौतिक मार्ग एक स्ट्रिंग कॉलम होगा जो रूट नोड से पथ को वर्तमान नोड तक दर्शाता है; अपने उद्देश्यों के लिए आप पथ में प्रत्येक नोड के लिए एक निश्चित-चौड़ाई प्रारूप का उपय...

android - Java Deep Copy without Serialization -

I'm writing a card game for Android, and how to protect my game status, let me briefly tell my program For, I have a card that has a sprite class to display a bitmap image, a point for the position, and a border rectangular. I pass this class to create a card category, which has two bitmaps, whether or not to face above or below the card, and depending on calculations for the suit and rank storage. These card objects are in CardStacks objects in which there is an extra position, and there is an array list of cards. There are various cardstacks in the game model, and there are rules for driving cards between the heap. This game works very well. Now I am trying to figure out how to save my game to the state. I want to serialize my entire game object and want to save it to a file. However, many objects (bitmap, point, rectangle, color, etc.) which are not serialized. In C #, I know that you can use memorystream and just copy the whole object, but I can not find the javascript, f...

asp.net - IIS 7 Bad Request response when %0A exists in the URL -

I have an application that had to accept unsafe characters from Salesforce. They are% A and% 0D (so far ...) and they are not working. to correct , 2.0 , requestPathInvalidCharacters to BLANK , relaxedUrlToFileSystemMapping to true and maxRequestLength to 1024 . It was not working. Then I tried to set a custom error for 400, which redirects to the same page without filling it. Also did not work in addition. Then I tried to do this through the IIS 7 Error Pages section and it still does not work How can I: Get the app to accept the letters? Or get an app / IIS to redirect to the same page for manual entry? This is all in an ASP.NET MVC3 application, but I suspect that matters because its possible IIS can stop it before it even calls the ASP .NET runtime. I need some help in advance thanks! You probably want to see IIS manager, click on your server node (or website node), Find a request filtering icon. Go to the URL tab and here you can always...

asp.net - ASP & SQL Server 2008 : calculated value from another calculated value -

I have to use a SQL statement which will be displayed in Gridview & amp; From CAB or Select * table totals (column 1) SS 200, Yoga (column 1) as table 001 (S & K Constant) as table amount (column 1) There should be something like Select / CONSTANT AS C01 CONSTANT will be given value to the query as a session variable. That is, the second column of Gridviv is calculated from the result of the first calculation. What would be the best way to achieve this? You need to repeat the expression, or use a subquery example eg. SELECT *, from C01 = (S00 / continuous); SELECT S00 = SUM (column 1) from table);