Posts

lotus domino - Querying the users directory via the Java API -

i trying access/querying domino directory using domino java api , have question regarding same - here setup - i creating application uses java domino api interface domino server my java application resides on own server , uses java api (via diiop) talk domino server the domino server version in environment 9.0 there multiple domino servers in environment , user mailboxes distributed across these domino servers my application receives email address , message id external source input. based on input application needs delete message user's mailbox. what stuck @ - want query domino directory server identify mail server name , mail file name user (using email address) application can open user's mail file , delete corresponding message user's mailbox file. as researching found class/method directory.lookupnames() method can used query directory users. will method allow searching users based on email address or search based on user's name? i tried test...

Copy network file from a Linux host to my Linux server using PHP -

i trying retrieve network file opensuse 13.1 host opensuse 13.2 webserver, don't seem have success. first check if target directory directory: $path = "\\\\192.168.xxx.xxx\\public"; if(is_dir($path)){ // returns false every time. return true; } in case function is_dir() returns false, although folder exists , has 777 permisions, ip correct, , computer turned on. have tried combinations of formatting network path, including $path = "smb://192.168.xxx.xxx/public"; witch returns error unable find wrapper "smb" - did forget enable when configured php? could tell me missing? would work same through openvpn centos 6 webserver , ubuntu 14 host? php has no built-in samba support on linux platform. need mount remote share (requires superuser-equivalent access) , access contents local filesystem.

excel - SUMIFS OR criterion -

i'm working rainfall precipitation data , want find total rainfall months of april, may, june, july each year. columns follows: a: rainfall each day b: month c: year d: day e: number indicating reliability of rainfall observation (0,1,2 or 9) i want exclude unreliable observations. find total rainfall 4 months in 1923, example, following correct? sumifs(a1:a100,b1:b100,{"4","5","6","7"},c1:c100,"1923",e1:e100,"<>9") your current formula returns array. example, if highlight formula , press f9 key, see formula returning 4 different values. correct result, going need wrap formula sum function. =sum(sumifs(a1:a100,b1:b100,{"4","5","6","7"},c1:c100,"1923",e1:e100,"<>9"))

eclipse - websphere 8.5.5.6 server having java 6 and 7 but i need java 8 how to add java sdk to existing websphere server -

i installed 8.5.5.6 in system. when trying add in eclipse showing jre run-time environment web sphere application server java 1.6, 64 bit , web sphere application server java 1.7, 64 bit but need work on java 1.8 installed server jre not there default java 1.7 there question how add or upgrade java 1.8 in web sphere when tried run server showing below error: websphere application server error websphere application server error the xxxxxx project built java sdk 8, not compatible server running @ java sdk 7. try publishing application on later version of websphere application server. or try increasing jre of server, if using websphere application server v8.5. xxxx project built java sdk 1.8, not compatible server running @ java sdk 7. try publishing application on later version of websphere application server. or try increasing jre of server, if using websphere application server v8.5. xxxxxx project built java sdk 1.8, not compatible server run...

java - Drawing vector images on PDF with PDFBox -

i draw vector image on pdf apache pdfbox. this code use draw regular images pdpage page = (pdpage) document.getdocumentcatalog().getallpages().get(1); pdpagecontentstream contentstream = new pdpagecontentstream(document, page, true, true); bufferedimage _previmage = imageio.read(new fileinputstream("path/to/image.png")); pdpixelmap previmage = new pdpixelmap(document, _previmage); contentstream.drawxobject(previmage, prevx, prevy, imagewidth, imageheight); if use svg or wmf image instead of png, resulting pdf document comes corrupted. the main reason want image vector image png or jpg image looks horrible, think gets somehow compressed looks bad. vector images shouldn't happen (well, when export svg paths pdf in inkscape doesn't happen, vector paths preserved). is there way draw svg or wmf (or other vector) pdf using apache pdfbox? i'm using pdfbox 1.8, if matters. i this, not directly. in first transform svg documents in pdf documents ...

php - shopping cart issues while adding color option -

please check demo . here 1 product different color not added cart updated same product different color not right way. here code add product . if(isset($_post["product_code"]) && isset($_post["product_color"])) { foreach($_post $key => $value){ $new_product[$key] = filter_var($value, filter_sanitize_string); //create new product array } //we need product name , price database. $statement = $mysqli_conn->prepare("select product_name, product_price products_list product_code=? limit 1"); $statement->bind_param('s', $new_product['product_code']); $statement->execute(); $statement->bind_result($product_name, $product_price); while($statement->fetch()){ $new_product["product_name"] = $product_name; //fetch product name database $new_product["product_price"] = $product_price; //fetch product price database $new_product[...

ios - Transitioning from a TableView to Webview in Xcode 6.4 using Objective-C -

im new coding in xcode , im struggling transition between above mentioned scenes. can create , use each scene separately since cells in tableview aren't created till build initiated, dont know how connect separate rows webview. grateful you'll need more web view; you'll need uiviewcontroller subclass (a scene) contains web view. now have 2 scenes: uitableviewcontroller, , view controller containing web view. control-drag prototype cell in first scene second scene. means: when cell tapped, trigger segue.