Sending Data

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
CMason
Forum Newbie
Posts: 6
Joined: Thu May 26, 2005 9:18 am

Sending Data

Post by CMason »

Does anyone know a script or where i can find a script that enables me to send data to a specific URL.
User avatar
John Cartwright
Site Admin
Posts: 11470
Joined: Tue Dec 23, 2003 2:10 am
Location: Toronto
Contact:

Post by John Cartwright »

how would you like to send the data?

through the URL or POST?
CMason
Forum Newbie
Posts: 6
Joined: Thu May 26, 2005 9:18 am

Post by CMason »

Through the URL because i have stats i want to change and i have to send false info to the URL
User avatar
John Cartwright
Site Admin
Posts: 11470
Joined: Tue Dec 23, 2003 2:10 am
Location: Toronto
Contact:

Post by John Cartwright »

Code: Select all

$foo = 'bar';

echo '<a href="http://adifferentdomain.com/somepage.php?data='.$foo.'&false=false">Click here to send Data to different domain</a>';
You can now access $foo through $_GET['foo'] on 'adifferentdomain.com/somepage.php'
Am I missing something?
CMason
Forum Newbie
Posts: 6
Joined: Thu May 26, 2005 9:18 am

Post by CMason »

Thanx man.
CMason
Forum Newbie
Posts: 6
Joined: Thu May 26, 2005 9:18 am

Post by CMason »

The URL i want to send data to is
http://tracker.torrentbytes.net/announc ... ey=passkey here
Its a bittorrent tracker i want to send false data to any ideas?
User avatar
shiznatix
DevNet Master
Posts: 2745
Joined: Tue Dec 28, 2004 5:57 pm
Location: Tallinn, Estonia
Contact:

Post by shiznatix »

just use the $_GET array, and didnt you post here before under a diffrent name and get your topic locked or am i just going insaine?
User avatar
John Cartwright
Site Admin
Posts: 11470
Joined: Tue Dec 23, 2003 2:10 am
Location: Toronto
Contact:

Post by John Cartwright »

shiznatix wrote:just use the $_GET array, and didnt you post here before under a diffrent name and get your topic locked or am i just going insaine?
I believe your insane. Atleast no other account has been created under the same IP.
User avatar
phpScott
DevNet Resident
Posts: 1206
Joined: Wed Oct 09, 2002 6:51 pm
Location: Keele, U.K.

Post by phpScott »

jCart you should know that IP address aren't a relaible way of recording unique users.

check out viewtopic.php?t=33716&highlight=bittorrent which was locked by Pimptastic regarding a very same subject.

shiznatix you can have some of your sanity back.
hongco
Forum Contributor
Posts: 186
Joined: Sun Feb 20, 2005 2:49 pm

Post by hongco »

viewtopic.php?t=33716&highlight=

:twisted:

oops didn't realize phpscot already posted up the link :roll:
Post Reply