Welcome, Guest
  • Author Topic: txt not appearing in ecard  (Read 2021 times)

    emp

    • Server what's that
    • *
    • Posts: 4
      • View Profile
      • Email
    txt not appearing in ecard
    « on: 05/14/03, 03:55 »
    Hello everybody,

    the problem:

    i can sent the cards...the cards are arriving at the correct email address, the card is showing, the txt files in dBText are showing......but...the text is not showing in the cards!!
    dBText is on 777, so there should b no error.

    Fun part is......I uploaded this on site A. If i use the exact same files on site B (with the exception of the site address offcourse) than everything works smoothly!!!!

    According to the provider both sites are on the same server. I cannot understand this strange problem...maybe some of u can? How can i check if my provider tells me the truth? What else could b wrong?

    Thnx in advance for your help in this matter.

    Flash-DB.com: A big Thnx for the tutorials. They helped me to improve my flash skills!

    Peace.

    Rik

    vesa kortelainen

    • Global Moderator
    • Systems Administrator
    • *****
    • Posts: 3450
      • View Profile
    Re:txt not appearing in ecard
    « Reply #1 on: 05/14/03, 04:48 »
    Hey Rik,

    Thank you for feedback.

    Do you have url to check out ?


    emp

    • Server what's that
    • *
    • Posts: 4
      • View Profile
      • Email
    Re:txt not appearing in ecard
    « Reply #2 on: 05/14/03, 14:40 »
    http://www.sillies.nl/Ecards/Ecards.swf

    do not pay attention to the lay out please...it  is still under construction :o))

    emp

    • Server what's that
    • *
    • Posts: 4
      • View Profile
      • Email
    Re:txt not appearing in ecard
    « Reply #3 on: 05/14/03, 14:46 »
    by the way..here is the url of the site that does work:

    http://www.net-niet.nl/Ecards/Ecards.swf

    again: Don't pay attention to the lay out PLEASE  ;)

    thnx

    Musicman

    • Global Moderator
    • Systems Administrator
    • *****
    • Posts: 2685
      • View Profile
      • Email
    Re:txt not appearing in ecard
    « Reply #4 on: 05/14/03, 14:57 »
    Hi,

    the first site is running php 4.1.2, the other one php 4.0.6

    Musicman

    emp

    • Server what's that
    • *
    • Posts: 4
      • View Profile
      • Email
    Re:txt not appearing in ecard
    « Reply #5 on: 05/14/03, 15:57 »
    ok thnx,

    so my provider is not telling the truth than...

    Can u tell me how you find this out and how i can solve the problem of the not appearing text. Do i need an upgrade on my php script. If so....where can i get it?

    Thnx.

    Musicman

    • Global Moderator
    • Systems Administrator
    • *****
    • Posts: 2685
      • View Profile
      • Email
    Re:txt not appearing in ecard
    « Reply #6 on: 05/14/03, 16:49 »
    Hi,

    generally the script on the newer server requires lines like
    $varname1 = $_POST["varname1"];
    etc to pick up all the variables. Have a look at older postings - there might be a script with the changes already in place.
    I dont think your rovider is lying - rather they are not upgrading all machines at one time but rather one after the other. Expect a change on the other site as well...

    Musicman

    Michael

    • Server what's that
    • *
    • Posts: 6
      • View Profile
      • Email
    Re:txt not appearing in ecard
    « Reply #7 on: 08/12/03, 15:26 »
    Hey Musicman -

    where would the

    $varname1 = $_POST["varname1"];

    go on the SendECard.php script?



    The original script has:

    $ToName = stripslashes($ToName);
    $FromName = stripslashes($FromName);
    $Greeting = stripslashes($Greeting);
    $IntroMessage = stripslashes($IntroMessage);
    $EndMessage = stripslashes($EndMessage);

    Which I replaced wtih:

    $ToName = $_POST["ToName"];
    $FromName = $_POST["FromName"];
    $Greeting = $_POST["Greeting"];
    $IntroMessage = $_POST["IntroMessage"];
    $EndMessage = $_POST["EndMessage"];

    -->I will say that my knowledge of .php is pretty low and this might be an example of it...lol!

    Any help u*@ 2dvice would be greatly appreciated!

    Thanks!

    Michael

    Musicman

    • Global Moderator
    • Systems Administrator
    • *****
    • Posts: 2685
      • View Profile
      • Email
    Re:txt not appearing in ecard
    « Reply #8 on: 08/13/03, 00:44 »
    Hi,

    you should perhaps use stripslashes too, either as

    $ToName = $_POST["ToName"];
    $ToName = stripslashes($ToName);

    or

    $ToName = stripslashes($_POST["ToName"]);

    Musicman