Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 3 of 3
  1. #1
    Join Date
    Jul 2004
    Posts
    6

    Submit to Web: Post / Get functions.. .

    Just need some help with the post / get functions php script.

    I have the post function working with this php script

    <?
    $guiban = fopen("guiban.txt", "a+");
    fwrite($guiban,"$guibanvalue\r\n");
    fclose($guiban);
    ?>


    but, how do i create a get function script in php.. I need the php to find a text stored in %variable% on setupfactory and get the line number and return it to setup factory in %linenumbervariable%... how would this be done?

    so it will look up let's say "thisword" on "guiban.txt" and return whatever line number that "thisword" is on. please.. help.

  2. #2
    Join Date
    May 2003
    Location
    Pendleton, Oregon
    Posts
    1,038
    Are you completely set on using PHP for this? The reason that I ask, is because you should be able to do it completely within Setup Factory if you want to, and skip the whole PHP idea.

  3. #3
    Join Date
    Jul 2004
    Posts
    6

    erm..

    well the reason for this is so i can manage the serial numbers that have been used. therefore only 1 person can use the serial number. on top of the idea of using a serial number, i also have a randomly generated gui number that goes on the same line number as the serial number but on a different text file. the gui number is hidden in the users registry. so that only one computer can use the serial number. confusing.. yes but.. i really am trying to get some sort of secure way of handling serial numbers online..

Similar Threads

  1. Using forms, submit to web etc.
    By Rob_H in forum AutoPlay Media Studio 4.0
    Replies: 10
    Last Post: 12-11-2003, 07:15 AM
  2. The dreaded Submit to web PHP issue!
    By Bruce in forum AutoPlay Media Studio 4.0
    Replies: 2
    Last Post: 09-19-2003, 03:00 PM
  3. Submit to web
    By User1 in forum AutoPlay Media Studio 4.0
    Replies: 8
    Last Post: 06-24-2003, 06:30 PM
  4. Submit to web ASP
    By kaylward in forum Setup Factory 6.0
    Replies: 1
    Last Post: 11-30-2002, 07:15 PM
  5. Submit to Web - POST and HEAD Issue
    By Michael in forum AutoPlay Media Studio 4.0
    Replies: 1
    Last Post: 11-29-2002, 07:07 PM

Posting Permissions

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