Navigation X
ALERT
Click here to register with a few steps and explore all our cool stuff we have to offer!

cracked.io | Best Forum Around | Free Premium Accounts




 2013

[CODING HELP] PHP to C#

by Sunaeon - 02 December, 2018 - 03:40 PM
This post is by a banned member (Sunaeon) - Unhide
Sunaeon  
Registered
23
Posts
2
Threads
5 Years of service
#1
Hi, I'm trying to learn doing a Checker made in C# Console Application.

I'm a PHP Developer myself and have done a perfect web-based checker made in PHP yet you know it is PHP and there are better languages to code a checker.

Right now I'm looking for a way to fetch a value in a response source of a specific web request in C#

In PHP I've simply coded a function to grab a specific value from a web request source.

Code:
function fetchValue($source,$value,$end){
    $str = explode($value,$source);
    $str = explode($end,$str[1]);
    return $str[0];
}

This function returns the $value from the $source that I wanted to fetch. Ex. When grabbing parts of SPECIFIC DATA when doing a POST REQUEST.

Any help will greatly be appreciated. Thanks.  :ezy:
This post is by a banned member (ccplz) - Unhide
ccplz  
Registered
5
Posts
1
Threads
5 Years of service
#2
Add me on discord quickly.
Discord is in my siggy.
fine 
string discord = "ccplz#2600";
Console.WriteLine($"{discord}\nAdd me! ;)");
Console.ReadLine();
:fyou:

Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
or
Sign in
Already have an account? Sign in here.


Forum Jump:


Users browsing this thread: 1 Guest(s)