Jump to content

& string problem


mforan

Recommended Posts

I have this problem where Johnsmith doesnt get sent to the page. the website :

/vote.php?id=847&user=JohnSmith

 

the website inqueston allows you to select a page that the data will be sent to, ie "user"

 

i made this code to recive the info and so i knew it was working i made it so it would email me something:

<?php
include("dbinfo.inc.php");
$reward = $_POST['user'];

mail( [email protected], "free land test", "lol" );
?>

 

thats not working, any ideas?

Link to comment
https://forums.phpfreaks.com/topic/129128-string-problem/
Share on other sites

ok now its looking like:

 

<?php
include("dbinfo.inc.php");
$reward = $_GET['user'];

mail( '[email protected]', "free land test", "lol" ); ?>

 

still not working thou. the exact url that shud make it email that test is:

http://www.mpogr.com/vote.php?id=847&user=tester

 

 

Link to comment
https://forums.phpfreaks.com/topic/129128-string-problem/#findComment-669442
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.