Jump to content


Photo

Sending multiple pieces of data


  • Please log in to reply
3 replies to this topic

#1 Vandalised

Vandalised

    Jedi In Training

  • Members
  • PipPip
  • 307 posts
  • Gender:Male
  • Location:UK
  • Interests:Most sports, football, cricket, hockey, tennis, golf. Web design, graphic design (photoshop) Socialising with friends, going to clubs, bars, concerts.

Posted 02 June 2007 - 08:09 AM

I want to be able to send data to a contact form on a specific site, from MY site, so.. My webpage is loaded, and without having to press send, the data is sent through the other websites contact form. Get it?

Now before I get people going "DIS IZ FOR MARCLIOUS PURPOSES!!!!!!!!!!!!!!111" It isn't, it's for my A level ICT course work, I've spoke about spam and how "hackers" send multiple headers and use other such techniques to "possibly" crash a websites server, my teacher says to hit top grade I need to supply working code and an example of it working, which means actually using the script on myself and print screen it, should be fun.

Help is very very very much appreciated, as I've left it very late to be doing this, going back on monday n'all.

#2 Matthew.

Matthew.

    Official Spammer .Matt

  • Members
  • PipPipPipPip
  • 2,749 posts
  • Gender:Male
  • Location:England

Posted 02 June 2007 - 08:40 AM

Well you can go about this two, maybe 3 ways.

The first way i would suggest is by using cURL to submit the form. A couple of examples for you:
http://www.wagerank....forms-with-php/
http://blog.mypapit....h-php-curl.html

The second way is similar to the first but without cURL using steam_context_create. (Remember obviously recreate POST not GET )
An example for you here:
http://netevil.org/node.php?nid=937

And the third, not very good way of doing it would be to use javascript to submit the form with an external action on your page load. However the first two would be much better, especially if wanting to spam someone :)

Matt

Edited by Matthew., 02 June 2007 - 08:41 AM.


#3 Vandalised

Vandalised

    Jedi In Training

  • Members
  • PipPip
  • 307 posts
  • Gender:Male
  • Location:UK
  • Interests:Most sports, football, cricket, hockey, tennis, golf. Web design, graphic design (photoshop) Socialising with friends, going to clubs, bars, concerts.

Posted 02 June 2007 - 08:45 AM

especially if wanting to spam someone B)

Matt


Hahaha, I suppose they would. Anyway cheers for the help, I'll be having a good read. :)

#4 curthard89

curthard89

    Young Padawan

  • Members
  • Pip
  • 226 posts

Posted 02 June 2007 - 09:57 AM

if u goto print screen it, just mock up suck code tht doesnt do anything lol, and say, it works, but if i try, they ppl im doing it to will hate me or sumthing.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users