dcsimg
A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: PHP question, NEED HELP!!!

  1. #1
    Senior Member zoranvedek's Avatar
    Join Date
    Aug 2001
    Location
    Wagoner OK
    Posts
    892

    PHP question, NEED HELP!!!

    Ok, this is probably something so obvious that I'm going to feel like an idiot even asking, but it has completely puzzled and has for 2 days now.....

    I have a simple php script that should load text into an edit box when the page loads. It works locally, run on my computer there is no problems at all, when onsite it refuses to run.

    the starting script in 3dfa is:

    loadVariables("upcoming.php","GET");


    The php is as follows:

    <?php
    ..echo &upcoming='<center><b>text here</b></center>.....


    ....should be simple, and again it runs fine locally, but when uploaded nothing happens.

    -J
    Last edited by zoranvedek; 11-17-2006 at 03:34 AM.

  2. #2
    A Senior Newbie - How Odd ForumNewbie's Avatar
    Join Date
    Mar 2003
    Posts
    590
    Just a quick thought since my battery' low:

    You're not trying to access the PHP script across domains are you? You can only do loadvariables on files in the same domain.

    M.
    Please note that my domain has changed to http://www.morganmultinational.com

  3. #3
    Senior Member zoranvedek's Avatar
    Join Date
    Aug 2001
    Location
    Wagoner OK
    Posts
    892
    Nope all in the same domain, tried the cgi-bin, same folder, different chmod settings, it just doesn't seem to want to work. Runs perfectly on my machine though.........


    -Jason

  4. #4
    Senior Member zoranvedek's Avatar
    Join Date
    Aug 2001
    Location
    Wagoner OK
    Posts
    892
    Replaced the php with a txt file---> upcoming="blah blah blah......"

    ......................and everything runs smooth
    Last edited by zoranvedek; 11-17-2006 at 03:36 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center