Tagged Questions
0
votes
0answers
34 views
Getting a unique token from a page using CURL
And so I setup some security in my application by generating a unique token everytime the page reloads, so there won't be a spam-clicking
Lets say I set it up like this:
<a href="#" ...
1
vote
1answer
28 views
Do CURL uses cookies php
So I created a poll using php, this poll does not need an account in order to vote, but I was scared that it can be hacked , spam vote.
I can somehow vote again if I deleted the cookies in the ...
-1
votes
2answers
39 views
Using PHP to submit a Webform that uses javaScript:submitForm()
I have previously used PHP CURL to submit web forms by using the post URL.
I'm trying to automate the process of logging into a website, I can't change server side code.
The submit button on the ...
0
votes
5answers
78 views
Get data from php file + ajax
i want to get data that's loaded in my PHP file in javascript.
This is what I do:
$("#submit").click(function() {
// GET VALUE OF APPID
var appid = $("#appid").val()
// GET JSON FROM PHP ...
1
vote
3answers
66 views
Select parts of JSON and check if value is empty
I have a question about selecting parts of a JSON object and check if they have a value or not.
I load the JSON from an API in PHP:
$json_url ...
-6
votes
0answers
38 views
Script to Grab a Links from a site [closed]
I am interested in the download link of a website.
Each page of the site contains 6 posts and each post contains a download link.There are around
900 pages , so aroung 5500 links to capture.
Page ...
0
votes
1answer
35 views
Use json from API (loaded in PHP) in Javascript [closed]
I have a question about using json (loaded in php) in javascript.
I load the JSON from an API. Someone said I could best do this with curl?
I've searched information about curl but I didn't found ...
-1
votes
0answers
40 views
Form to API via Jquery/JS with Json
I am trying to create a form that posts to a webservice' api. It requires an "application/json" header.
I have managed to make it work with php but unfortunately the server will not work with php.
...
-2
votes
1answer
63 views
Check box selecting using curl php
i am Tried to select 2 checkboxes in php using CURL.
Here is the part of Source of the site.
function CheckBoxCheckUnCheck(ChkBox,ChecboxNameStart)
{
var Length = ...
0
votes
1answer
43 views
Some content does not come with CURL request
i am trying to develop a spider to get data from other sites, just for academic meanings.
Very well, i am trying to crawl this website: http://urlmin.com/ngz
What happens if that:
I can get all the ...
1
vote
2answers
82 views
how to embed a github git README file on a website
I am making a website for someone and they want to be able to have that site fetch the github readme markdown file at a certain URL and display it on the website, so that instead of having to write ...
0
votes
0answers
63 views
NodeJS does not respond to CURL Request
Im using NodeJS to perform som Queries to a MongoDB.
I've set up the routing so when
http://127.0.0.1:8888/GetAllCities
is called, a function name GetAllCities will run on the server and ...
0
votes
1answer
45 views
Fetching Data with cURL (JavaScript, PHP, jQuery)
I am learning webdev and programming at college, and want to advance some of the courses, so I'm learning on my own. I'm trying to figure out how APIs work, and I have found this site HabitRPG ...
0
votes
1answer
47 views
Open new webpage using js
i have a website that has a login form and i want it to use AJAX and PHP, the AJAX and php scripts work file, well most of it, but when i try and redirect to a new page i have a problem.
The problem ...
0
votes
3answers
50 views
Meta tag and javascript browser redirection - which has priority?
I'm developing in PHP, using Curl to follow links to their final destination. I occasionally reach a page with a meta tag redirection or a javascript redirection, and want to be smart enough to ...