Jump to content

hack4lk

New Members
  • Posts

    6
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

hack4lk's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. i'm no expert but it seems to me that you should try to use POST method for the form and GET for the receiving page e.g. on the receiving page use, $myVar1 = $_GET['act']; $myVar2 = $_GET['id']; $myVar3 = $_GET['sortnum']; to catch the variable data.
  2. [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?
  3. Works great but I had to change the send string to: objSend.sendAndLoad("whatever.php?nocache=" + Math.random(), objSend, "POST");
  4. 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.
  5. 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.
×
×
  • 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.