Results 1 to 3 of 3

Thread: Help adding Query String

  1. #1
    Join Date
    May 2007
    Posts
    23
    Thanks
    4
    Thanked 0 Times in 0 Posts

    Post Help adding Query String

    Original script can be found here http://www.nubecoder.com/sub/phpsilkmap/
    my running test script all .txt can be found here http://sro110.freehostia.com/sromap/
    this script is client to server post [client files offers phpsilkmap.exe [
    server files includes [index.php,input.php,config.php,demo.php,readme.txt,map.jpg]
    & /data folder
    you see the script data sends the post info from phpsilkmap.exe to the server which the phpsilkmap.exe gets the offerset of chars and post them to the webserver using input.php as post. which looks like this
    http://img261.imageshack.us/img261/2...mapdemote5.jpg
    Well, the problem this some 1 else modified the script to look like this
    http://mofa.cp-g.net/phpmap/
    with querry string or get method
    http://mofa.cp-g.net/phpmap/index.ph...er=all&text=on
    or index.php?server=all&text=off or index.php?server=Pacific&text=on
    index.php?server=Server name&text=on or off
    it is the name of the server displayed with query string with text=on if the text is on it will display or write on word on the map ,if text =off it will display only the dot on the map.
    this is the original of the source script
    index.php
    http://sro110.freehostia.com/sromap/_index_php.txt
    i want to modify it add above description to this script just like this
    index.php?server=Server name&text=on or off
    ?server=all displays all server text=off displays red dot on map text=on displays chars name on map with dot
    original code can be found here where i dl it from ^_^
    http://www.nubecoder.com/sub/phpsilkmap/
    Please help me modify
    Index.php
    http://sro110.freehostia.com/sromap/_index_php.txt

    only index.php displays everything from all server with charname with dot every else by default but on original map it does nt data is transfered from Game client SIlkroad Online

    i am a noob at php
    Last edited by dj30324; 09-02-2008 at 08:34 PM.

  2. #2
    Join Date
    May 2007
    Posts
    23
    Thanks
    4
    Thanked 0 Times in 0 Posts

    Post

    php scriptindex.php
    i need help adding string to this script like index.php?server=all&text=on add also index.php?server=[Any name of the server listed]&text=off
    ex:index.php?server=Pacific, also display normal when not used string index.php ,that is what i need help adding this string to this script. help .
    since the script is too long i am adding the .txt link to the script

    http://sro110.freehostia.com/sromap/_index_php.txt

  3. #3
    Join Date
    May 2007
    Posts
    23
    Thanks
    4
    Thanked 0 Times in 0 Posts

    Post

    this doesn't help at all, -.-

Bookmarks

Posting Permissions

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