امروزدخترم رابردم دندانپزشکی .یکی ازهمکاران قدیمی به اسم خانم شریفی رادیدم خوشحال شدم ،راستش برای من فرقی نمی کنه که خاطره خوب ازهمکارام داشته باشم یانه وقتی بعدازمدتهااونهارامی بینم خوشحال میشم،بعدرف...
ادامه مطلبامروزدخترم رابردم دندانپزشکی .یکی ازهمکاران قدیمی به اسم خانم شریفی رادیدم خوشحال شدم ،راستش برای من فرقی نمی کنه که خاطره خوب ازهمکارام داشته باشم یانه وقتی بعدازمدتهااونهارامی بینم خوشحال میشم،بعدرف...
ادامه مطلبامروزدخترم رابردم دندانپزشکی .یکی ازهمکاران قدیمی به اسم خانم شریفی رادیدم خوشحال شدم ،راستش برای من فرقی نمی کنه که خاطره خوب ازهمکارام داشته باشم یانه وقتی بعدازمدتهااونهارامی بینم خوشحال میشم،بعدرف...
ادامه مطلبpage1.php Submit I want to pass all this 4 php variables and 3 inputs values in form using ajax to the pages called 'page2.php' 'page3.php' when the button is clicked. And i should get back the results from page2 and page3 and display it on page1.php saying like successful....
ادامه مطلبVote count: 0I have been trying this for a while but haven't found a solution yet.I moved to wordpress and my old site is in custom CMS. the old site now goes to archive.example.com while all the new posts will be created on http://example.comI have created different categories for new...
ادامه مطلبVote count: 0 In Java Printing with Pageable. Lets say the exact size of the text on the pages determines the number of pages. In the Pageable interface, how would you determine what value for getNumberOfPages() to retu if we can not have a hold of Graphics2D? Is it even possible? asked 58 secs agoclinux Let's block ads! بخوانید...
ادامه مطلبVote count: 0 Is it possible to add a custom HTTP header to SignalR Hub from JS client when the coection starts? My SignalR hub is shared both by my mobile and web client. I can pass a header from the mobile client but I'm not sure if this is possible to do this from the web client. This is what I'm trying to do var name = Context.Request.Headers["useame"]; how do I differentiate between the web and mobile client? asked 1 min agoAhmed Mujtaba Let's block ads! بخوانید...
ادامه مطلبVote count: -1 I have 2 questions that I would like to get helped with. First question is: If you have 4 bits, how many unique numbers can you write? Second question is: If you have 4 bits, what is the largest number you can write. Answer with the base 10 Appreciate any help! asked 1 min agoJ. Doe Let's block ads! بخوانید...
ادامه مطلبVote count: 0 I have a rather strange problem; there are three pages which are using this cookie - one sets $_SESSION = 0 (as another Stack article suggested my issue might be related to PHP having difficulties with timings so 'pre-creating' the session, then writing to it might help), another file starts the session, changes the session cookie to an array with some useful data in it and supposedly saves it. Only, in this file the session will never actually get written to disk... On the third page, I will try and access the cookie and get an output of '0' (first page). I've spent a lot of time debugging this and have checked: That session_start and session_write_close are being used appropr...
ادامه مطلبVote count: 0 According to the tutorial I've added new page and module, but it doesn't seem to work (neither it's shown in a sidebar, nor I can get it via direct url). What am I missing? asked 47 secs agoMichal_Szulc Let's block ads! بخوانید...
ادامه مطلبVote count: 0 please I am new in hosting projects. I am trying to deploy a laravel project to a shared hosting platform but it keeps giving me this error 500 -Inteal Server Error. It is currently working in my localhost. I have checked other site but with no avail even though .htaccess has been said to be the course but i am yet to figure it out. I have been trying for 5days but have not gotten it. This is my .htacess file Options -MultiViews RewriteEngine On # Redirect Trailing Slashes If Not A Folder... RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)/$ /$1 [L,R=301] # Handle Front Controller... RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^ inde...
ادامه مطلبVote count: 0 I want to write a PDF on more than one page. I already created 4 pages, but the programm do a cut on the first page. So the page 2,3,4 are empty. How to fix that? Code: string outFileName = "Vertrag/vertrag.txt"; using (StreamWriter writer = new StreamWriter(outFileName, false, Encoding.UTF8)) { foreach (string inFileName in Directory.EnumerateFiles("schnippsel", "DE*.txt")) { using (StreamReader reader = new StreamReader(inFileName)) { writer.Write(reader.ReadToEnd()); } } } TextReader readFile = new StreamReader("Vertrag/vertrag.tx...
ادامه مطلبVote count: 0 In the context of a user script, for example executed by Tampermonkey, is it possible to communicate between two pages of different domains, which set 'X-Frame-Options' to 'SAMEORIGIN'? I know about this way of sending messages from one page to another by using iFrames and postMessage, but when working with sites you dont control, like in my case Stack Overflow and Google (working on a bot to automate something for me), you'll get the SAMEORIGIN error when trying to create the iFrame. But I thought since I'm able to insert script in both pages, it might be possible to pull off some workaround or alteate solution. asked 59 secs agoViziionary Let's block ads! بخوانید...
ادامه مطلبVote count: 0 Im having a problem loading pages in wordpress with ajax. I have to make animated page transition, so i decided to use ajax and put page content into a div which i will animate into view. I created this logic, that works 50% of the time. There are generally a lot of weird bugs. So my question did anyone create ajax page loader in wordpress? I read a bit about using ajax with wordpress, and that i had to use wordpress built in features, but I didn't get why is that. Also I don't know how to get the back button to work properly. $( links ).click(function(e) { var link = $(this).get(0).href; $('body').append(''); $('.contain-all').load(link); if(link!=window.location){ window.hist...
ادامه مطلبVote count: 0 Use IIS to configure the local site, and then compile the project is completed, the browser loads the page becomes very slow, before although it will be slower, but up to 1 to 2 minutes to load out (may contain some precompiled loading dll file), but now become very slow, for the first time takes 6 to 7 minutes to load. I used the 'Fusion Log Viewer' to view the assembly binding log loading, found some dlls take a long time. Note that the image below shows the page loading assembly: assembly loding image I made reference to this link: http://blog.lavablast.com/post/2010/12/01/Slash-your-ASPNET-compileload-time.aspx Then I have set the file "C:WindowsMicrosoft.NETFramework64v4.0...
ادامه مطلبVote count: 0 In this issue I saw a very interesting use of iron-pages: ... ... ... ... /** Map the various flags for the `selected` property of iron-pages: */ getKey: function(isAll, isProfile, isMembers) { // Workaround for issue #61: match most specific first if (isMembers) retu 'members'; if (isProfile) retu 'profile'; if (isAll) retu 'all'; retu 'default'; } Doing selected="getKey(isAll, isProfile, isMember)"> would be awesome! But... I haven't managed to find any doc on data binding about it. Is this even supported? Merc. asked 25 secs agoMerc Let's block ads! بخوانید...
ادامه مطلبVote count: 0 I am working on a Django application and on one of the pages we use pagination. I have around 200 pages and if I am somewhere in the middle then it has links from page 1 - 4, displays the 4 pages behind the page I am on, 3 after the page I am on and the last 4 pages. Looking like this I would like it so that it shows fewer pages at a time, maybe the first 2, the last 2 and the current page I am on +/- 2. {% extends 'base.html' %} {% load pagination_tags %} {% load staticfiles %} {% block body_block %} {% autopaginate art 4 %} {% if item%} {% for x in item %} {% if x.picture %} {% else %} {% endif %} {{ x.name }} {{ x.type }} {{ x.price }} {% endfor %} {% endif %} {% paginate %}...
ادامه مطلبVote count: 0 I am developing a website with oure PHP and HTML on an Apache server. No CMS. All of my website's pages from the main directory and its subdirectories call one header.php file. I have now run into an issue with all of the page 's, as these are obviously defined in the header, so now I don't know how to set a different title for each page. Can anyone help? asked 1 min agoTristan Let's block ads! بخوانید...
ادامه مطلبVote count: 0 For a toshiba PostScript 3 printer with a unit for crimp/tack/stitch (whatever the correct translation is) I would like to know if there is a way to trigger the crimp by a PostScript command? As it looks this can be configured in the printer to be done after a complete document has been printed. But I need to print 3 single page documents and then crimp. asked 36 secs agodigipenKH Let's block ads! بخوانید...
ادامه مطلبVote count: 0 Nothing happened when I tried this, but here's what I tried: img {-moz-transform:scale(0.25) !important;} under the my profile folder (random letters and number.default) with the following path: storage > permanent > chrome > userChrome.css asked 1 min agoGeorge Tye Let's block ads! بخوانید...
ادامه مطلب