Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 

Search In

CURL setup in php

Welcome to FindNerd. We are going to discuss the curl setup in php. In php curl is not enabled bydefault. You need to enable it via php.ini file. curl_init and curl_setopt are the functions for main functionality. you can set the url by curl_ini and

Submitting a form via curl

Hers's is the tutorial to submit form via curl. I am taking example of log in form for say xyz.com site. $ch = curl_init(); if($ch){ $url = 'http://www.xyz.com/logmein.php'; $postdata = array('LoginButton' => "Logon",

How to validate url in php

Hello Reader's! If you have a url given and you want to check weather it is valid or not. For example www.facebook.com is a valid but www.fcebook.com is invalid link. By using you can do this by Curl function, Lets see the example below:- function

Uploading an image using curl to remote location

When you are trying to upload a file . file get always uploaded using post. So you need to place @ before the file name which you want to send as a post. Using @before the file path in order to make sure that CURL sends the file in the form of

Strings in C language

String is a collection of characters in an array.It is terminated by by \0 (null character) There are two ways to declare string in c language. 1)By char array declaring string by char array is as follows: char ch[10]={'e','v','o','n', '\0'};

Android Iphone push notifications php API

Push notifications are messages that allow an app to notify of a message similar to how a text message pops up on your screen with a sound.Code for Android ,Iphone API push notification is given below by using urban airship Android Push Notificatio

How to send Push notification on Android mobile

If you want to send push notification on Android mobile please use the below function: Requirement :: a) Mobile TokenId b) Google API Key public function send_notification_mobile($mobiletokens, $GOOGLE_APIKEY){ // API access key fr

File handling operation in c language

File handling in C In C programming language we use a structure pointer of file type for declaring a file. Syntax:- FILE *fp; The fopen() function is used to create a new file or to open existing file. Syntax : *fp = FILE *fopen (const char

CURL Fails To Load Page

Php Guys, Why does this cURL show complete blank page ?   <?php /* ERROR HANDLING */ declare(strict_types=1); ini_set('display_errors', '1'); ini_set('display_startup_errors', '1'); error_reporting(E_ALL); mysqli_report(MYSQLI_REPORT_ER

upload file using CURL?

As we know that CURL is a library that allow us to make requests(HTTP requests) in PHP. We can upload a file as well using CURL. For upload a file using CURL must follow below points : Uploading file size is mandatory to be less than file allowe

prev 1 3 19
Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: