hack4lk
-
Posts
6 -
Joined
-
Last visited
Never
Posts posted by hack4lk
-
-
[img src=\"style_emoticons/[#EMO_DIR#]/excl.gif\" style=\"vertical-align:middle\" emoid=\":excl:\" border=\"0\" alt=\"excl.gif\" /] Hello everyone, I have written an application locallly that updates a database but when I moved the database files to the remote hosting server along with the php files, the database will no longer update or sometimes only update part of the fileds...any suggestions?
-
Works great but I had to change the send string to:
objSend.sendAndLoad("whatever.php?nocache=" + Math.random(), objSend, "POST"); -
Hi everyone....I have spent the last day trying to figure this problem out but cannot find what it is....I cannot send vars to php...but I can receive them in flash as echos from php....I am using sendAndLoad to send the vars to php....here is the code.
[b]::Flash::[/b]
var sendData:LoadVars = new LoadVars();
sendData.myVar1 = "11111";
sendData.myVar2 = "impact";
sendData.sendAndLoad("test2.php", sendData, "POST");
[b]::PHP::[/b]
$myVar1 = $_POST['myVar1'];
$myVar2 = $_POST['myVar2'];
echo $myVar2;
Thanks for any advice in advance. -
Thanks...it works great!!!
-
Hello everyone, I was just wondering if there is a way to pass the main server url from one site to another because I would like to build a simple referral system that when someone clicks on a referral link in www.site1.com/sample.html , they are redirected to www.site2.com/referral.php, which catches the first url and says something like "thank you for visiting our sister site www.site1.com, please proceed".
I know that I can use $_SERVER to hold the variable locally but how do i pass that through a url and strip away everyting but the server url....thanks a lot in advance.
$_GET making me mad!
in PHP Coding Help
Posted
e.g.
on the receiving page use,
$myVar1 = $_GET['act'];
$myVar2 = $_GET['id'];
$myVar3 = $_GET['sortnum'];
to catch the variable data.