3,417 Topics
![]() | |
I am new to perl. In a string How do I replace a backward slash with a forward slash? when I call the following perl api $FindBin::Bin; I get the path as follows $myPath = c:/perl/test I would like to covert this to c:\perl\test I did try the following and … | |
Hi All, I'm trying to implement an experian bank account checking facility on the systems at work. I'm trying to do this using php and Soap. This is my first time using Soap so I'm not entirely sure if I'm doing it correct. Here is my code: <?php $options = … | |
Now i can check the size of the image. But can't validate the image type(.jpg, gif etc..). Could you please check the following my code and give answer. <!--Form image validation--> <script type="text/javascript" src="js/jQuery-1.4.1-min.js"></script> <script> $(document).ready(function(){ $('#i_submit').click( function() { //check whether browser fully supports all File API { //get the … | |
<?php $ip = '59.32.28.65'; $url = "http://www.ipmango.com/api.php?ip=".$ip; $xml = simplexml_load_file($url); echo "IP address : {$xml->ipaddress} <br />"; echo "City : {$xml->city} <br />"; echo "Region : {$xml->region} <br />"; echo "Country Name : {$xml->countryname} <br />"; echo "Latitude : {$xml->latitude} <br />"; echo "Longitude : {$xml->longitude} <br />"; ?> | |
![]() | ## Contents ## Overview 1. Alternatives to Deprecated mysql_* Functions 2. SQL Injection: What to do with $_POST and $_GET variables 3. How to Insert Tablenames and Fieldnames Properly 4. What to do With Dynamic Values? 5. How to Use Aggregate Functions (COUNT, SUM, MIN etc) 6. How to Paginate … |
Hello i did a research about a import contacts script. The best script i find this is https://www.design19.org/blog/import-google-contacts-with-php-or-javascript-using-google-contacts-api-and-oauth-2-0/ On the last comment as Simon you ll see where i stuck with. Although i think its the best import gmail contacts script | |
Hello i have created an API account for oauth services. I did it so that our users could log in to our website through their google acount credentials i want to use that google API so that the users could import their contacts to out website and i am getting … | |
I have a JSON decoded array in php with foreach that includes a select option in a form every time I select an option from this drop down it returns the last value in the list. The option is just the selector not the value I'm trying to save. I'm … | |
can i get some help with installing solve media captcha in yourls? here is the guide for solvemedia, http://wsnippets.com/integrate-solve-media-captcha-php/ YOURLS blog on how to add recaptcha http://blog.yourls.org/tag/captcha/ what I've done so far is put the solvemedia scriptline in place where it tells you to put the same thing for recaptcha. … | |
i will be receiving JSON POST as mentioned on this web page https://sendgrid.com/blog/sendgrids-parse-api-parsing-incoming-email-is-now-faster-and-easier/ how do my application receive this request and process furthur?? | |
hi, new to php. i have just started a project for entering 2 postcodes (zip code) and working the distance between the 2. if i have to a url like "https://api.postcodes.io/postcodes/cf634px" and when you put that in a browser content is returned within. how would i use php to echo … ![]() | |
Hi there, I have a login form.which contains two input parameters. login_id and password. login_id may be mobile or email. user may use mobile no or email as login id. my table structure is uid email mobile password status when i login through mobile no it is validating and showing … ![]() | |
I am trying to get similar effect as this link: http://api.jquery.com/slideup/ ## What I am using: ## vb net, JQuery,css ## what I am trying to do: ## I have a div with ID 'box' and inside this div, I have one span and one imagebutton. When user click on … | |
The following on the attachment below are the page feeds with its comments returned by facebook PHP sdk and Graph API. What I want here is to get number of comments per user on each feed. Here are the codes $helper=new FacebookRedirectLoginHelper($url); try{ $session=$helper->getSessionFromRedirect(); if(isset($session)) { $request=(new FacebookRequest($session,"GET","/357971644373038/feed"))->execute()->getGraphObject()->asArray(); $comment=$request["data"]; $counter=count($comment,1); … | |
I made an API request using AJAX request, I received JSON, I tried my best to use JavaScript to parse it, but to no avail. Instead I used jQuery which made it as painless as 2 lines of code. Now I have JSON array translated into array-ish object in JavaScript. … | |
Hi I have encountered a problem where I cannot think of a solution. I'm attempting to work with event tracing but the problem is that a handle is not released even when the program exit, and the API appears such that once it is opened or started, it is closed … | |
<div class="hor-menu "> <ul class="nav navbar-nav"> <li class="active"> <a href="index.html">Dashboard</a> </li> <li class="menu-dropdown mega-menu-dropdown"> <a data-hover="megamenu-dropdown" data-close-others="true" data-toggle="dropdown" href="javascript:;" class="dropdown-toggle"> Categories <i class="fa fa-angle-down"></i> </a> <ul class="dropdown-menu" style="min-width: 710px"> <li> <div class="mega-menu-content"> <div class="row"> <div class="col-md-4"> <ul class="mega-menu-submenu"> <li> <h3>Level 1</h3> </li> <li> <a href="add_category.php" class="iconify"> <i class="icon-plus"></i> Add Categories … | |
hello guys, I know you may heard about Telegram bot API, and I want to use their API to send texts and photos, telegram API differs from bots API here is the full document about API https://core.telegram.org/bots/api I want to send photo using curl but its fail always, sending text … | |
Hey guys, Is there any one who knows how to get a session from access_token? In Facebook PHP SDK v5 I can get access_token, but I don't know how to get a session so as to retrieve feeds. According to Facebook PHP SDK v5 and Graph API v 2.4 documentation([Click … | |
I am writing code to upload photos to Picasa, before the code runs well, now new picasa google upgrade. help yourself way up photos on picasa Code old $albumUrl = "https://picasaweb.google.com/data/feed/api/user/$user/albumid/$/albumid"; // XML Upload được cung cấp bởi google $rawImgXml = '<entry xmlns="http://www.w3.org/2005/Atom"> <title>' . $path . '</title> <summary>' . … | |
Hi Dw. I'm doing a research on how or whether VB.NET has some sort of support to listen to Windows OS events and be able to take over to be the core respond to certain events raised by an OS such as Copying/Moving of file(s) to other locations. What I … | |
Here are my codes, I want to get access token after user login, but I don't know where am I wrong guys. I know to get access token in PHP SDK v4 but I think It's quite different in PHP SDK v5. Please help me guys <?php session_start(); require_once("Facebook/autoload.php"); use … | |
I'm building an API and on the aspect of sending a mail. I'm getting mail not sent error. In my API, the front-end sends a JSON request consisting of the mail parameters. { "to":"gideonappoh@gmail.com", "subject":"Testing Reviewer's Page", "body": "Hello Gideon", "headers":"oksana.v@scopicsoftware.com" } I then decode them and pass them through … | |
what i need is how to save the file part to mongodb using mongoose and also the image id, and also get each image in a link such as localhost//3000/users/photos/234 as u can see im a newbie here thanks /*Define dependencies.*/ var express=require("express"); var multer = require('multer'); var mongoose= require … | |
I need some help created a google weather api using vb .net. I found the code online and there are no errors. Problem is that I can't seem to display wether information. Nothing shows up on screen and I am not sure what I did wrong. any ideas? Imports System.Net … | |
Hello, I am used Wordpress-seo plugin by Yoast. When i share [article](http://gititsolution.com/angularjs-development) on facebook not allow me to share feature image. also check in [facebook degub](https://developers.facebook.com/tools/debug/) but not given solution. also  screenshot Suggest me solution. Thanks. | |
I need After-ship API integration for e-commerce website. https://www.aftership.com/docs/api/4 which will be useful in tracking the order status. I have downloaded sdk from https://github.com/abishekrsrikaanth/aftership-php-sdk I have given the api key in AfterShip/Core/request.php. But its not working can anyone suggest me steps to integrate it. | |
Imagine this, (names made up or/and don't apply to current situation, names used/imagined only for purposes of explaination) There's server called `daniweb.com`, it's an API server. You can get quite chunk of data out of it. But for some reason, the one who orders the project, demands that we request … | |
Hey guys can I have a problem relating to Graph API, I want to get user profile info but it seems I can't generate a session, I don't know what is the problem. Here is my code.....please help me guys session_start(); require_once "facebook/autoload.php"; use Facebook\FacebookSession; use Facebook\FacebookRequest; use Facebook\GraphUser; use … | |
Hello, My computer has been slow and having problems for the last week or so. A message popped up the other day that my son said something about my internet provider found a threat or something weird. He closed out of the internet quickly, so I never saw it, but … Information Security amazon-web-services api apple apple-hardware audio data-protection file-stream google-api microsoft-office microsoft-windows office-suite pdf printer user-interface vbscript video-card virus-malware visual-basic visual-studio web-browser webcam windows-api windows-virus windows-vista wireless-networking | |
Imports System.Windows.Threading Imports System.Threading Imports System.Net Imports System.Drawing Imports System.IO Imports Microsoft.Win32 Class Window1 #Region "Fields" Private geoDoc As XDocument Private location As String Private zoom As Integer Private saveDialog As New SaveFileDialog Private mapType As String Private lat As Double Private lng As Double #End Region Private Sub GetGeocodeData() … | |
# GITHUB INSIDE THE CLI # This is my repo : [https://github.com/harshasrinivas/cli-github](https://github.com/harshasrinivas/cli-github) It's a **python app** to display **Github inside the Command line Interface** It uses the GITHUB API I started working on it, a couple of days back. If you people could give comments and suggestions on where i … | |
Quite a while ago, I made [URL="http://www.daniweb.com/code/snippet217147.html"][B]this[/B][/URL] snippet. This code is basically the same, except that it adds animation. This method of blitting is very fast assuming you don't use a surface that's too large. On a 500 x 500 surface, I managed 350fps using only 0-1% of the cpu. … | |
I am working with Visual Basic Studio 2013 and one of my forms requires the use of a web client component. I added Web Client to my toolbox and easily added it to my form. When VBStudio cooperates the form does everything as it should perfectly. However, when I loaded … | |
Function coinT() tests if two time series are stationary using ADF test and Hurst exponent. Time series are stored in cvs files 1511x6 each, but for testing only a vector of the 5th column is returned by function stock(), there are 50 files in total. It seems that the program … | |
Please someone help. I want to put the $url which is created into $shorturl = to generate a custom url ($url actually outputs a http://something.com actual link) but don't know how. or can you help me put the $url in header("Location:" ## .$url ## ']); to redirect users to the … | |
hi, I was trying to download whatsapp for my pc and lots of rubbish came down instead. I have got rid of most of it but now every time I start IE searching.com comes up. Click on mu home page icon and ok. Also I've tried to uninstall all that … | |
Hello, I have created a website and clicnt needs a link shortner to be integrated on the website the link shortner and is of https://po.st they have an API key as well so please let me know how do I integrate the link shortner is there a way using an … | |
Hi community, I want to prevent user input character in Edit Control on a dialog. I think i need to catch WM_Char to prevent showing the character, but i do not know how to do it. Thanks for your help. | |
I am inserting a record via Campaign Monitor API; as I am passing below array; why I am getting error: Array( [EmailAddress] => tljljljl@example.com [Name] => Trial test [CustomFields] => Array ( [0] => Array ( [Key] => First name [Value] => trial ) [1] => Array ( [Key] => … | |
Hey everyone, First of all I am a one-week self taught when it comes to web service so pardon if this is a duh! question. I was given a sample Web Service and aske dto re-create it a new one from scratch. I have been able to understand and apply … | |
hello i want to get tweets from twitter in asp.net. how can i use streaming API in asp.net. please send me source code of sample streaming API of twitter with asp.net using c#. i am using asp.net webform microsoft visual studio 2008. Thanks in advance. | |
I have one project named P2PTicTac. I have one file named layout.java. and one with CLient.java. I have made simple GridView in layout file with 9 buttons in 3*3 Grid. I have run two threads in client.java. One for reading the data from server and one for writing data to … | |
How would i make a request to the etsy api? I want the grid_cell div to show the results for something typed into the search bar. The grid_cell div should display an image for whatever the user searches for. [Click Here](http://jsfiddle.net/jmann1622/wbL1t04t/) | |
How would i make a request to the etsy api? I want the grid_cell div to show the results for something typed into the search bar. The grid_cell div should display an image for whatever the user searches for. Jsfiddle. [Click Here](http://jsfiddle.net/jmann1622/wbL1t04t/) <!DOCTYPE html> <html> <head> <title></title> <meta name="viewport" content="width=device-width, … | |
I'm relatively new to mediawiki and has just started last week. Anyone can point me to the correct direction of getting the top article (based on number of likes) in mediawiki? I've already implemented the fblikebutton extension on every article and managed to retrieve the number of likes for each … | |
I need to check for plagiarism on my website using an API. I found few plagiarism checker APIs and I don't know which is a web tool is the most reliable of all.I found [Copyleaks Api](https://copyleaks.com), Copyscape api and Plagscan API. Can you advise me which web tool to use? | |
Now am using substance look and feel version 5.3.I want to upgrade the it to latest version 7.2.1. I need to know what is the new features in new version and difference between 5.3 and 7.2.1.why we need to prefer the new version. | |
**Modifications Required for VB6 Applications to Work on Vista/7** Thanks to Hassan Basri in VBForums **Application Changes** - Remove SendKeys calls and replace them with API code. - Use the HKEY_CURRENT_USER in the registry for the settings of your application. - Do not write to HKEY_LOCAL_MACHINE. - If you are … | |
Wouldn't it be nice to have a sizable command button in VB6? Face it. In the hidden recesses of your mind you have always wanted to be able to resize that command button in VB6--after the program is running that is. It's just that VB6 has not provided you with … |
The End.