Including non-serverside php

Ask a Question related to PHP Development, Design and Development.

  1. #1

    Default Re: Including non-serverside php

    why whould you want to send the ip to the non php server ? Even so you could
    do it in JS :D

    Savut

    ":: Ole C ::" <olecl-news@start.no> wrote in message
    news:0kgac.75478$BD3.8698530@juliett.dax.net...
    > I'll just skip every bit of formality and go strait to the problem:
    > <problem>
    > I'm doing some website logging(country, ip etc) on a server which of
    > course
    > doesn't have any form of database. Thought it be a smart idea then to
    > include a page from a server which has MySQL, and do the logging there.
    > But
    > that's where the smart stuff stops and the hairpulling starts. I soon
    > enough
    > realized that variables like $_SERVER['REMOTE_ADDR'] cannot be inherited
    > into the non-serverside php. Not as far I'm aware for sure. Or can it? Or
    > has anyone out there a smart sollution to overcome this obstacle?
    > </problem>
    >
    > <sollution>
    > Just fill in the clever stuff.
    > </sollution>
    >
    > ~
    > Ole C.
    > "I always used to put my right boot on first, and then obviously my right
    > sock." - Barry Venison
    >
    >
    Savut Guest

  2. Similar Questions and Discussions

    1. FMS serverside script
      Hello, is there a way in the main.asc to get the full rtmp address in the onConnect method ? The client.uri property just gives the application...
    2. Serverside Buffering ???
      Hello Forum Members, We have a problem with LiveStreaming and Lost Packages. In our company we broadcast live streaming events in wmedia and...
    3. Serverside SharedObjects
      I am wondering if anyone can give a quick hand in showing how to setup Serverside SharedObjects. At the moment, I can only get them to sync once. ...
    4. CF is just as powerful as any serverside language out there
      Few people know that CF is just as powerful as any serverside language out there Few people know that CF is just as powerful as any serverside...
    5. serverside COM-Object
      Hi, is there a way to use COM-objects in ASP-Sites so that the COM-object have to been registered on the serverside only, but not on a remote...
  3. #2

    Default Re: Including non-serverside php

    No way, this program is bogus like hell :D
    And very slow, coding ourselve always give better performance, and for
    something like counter, this is extremely important.

    Savut

    "David Quinton" <usenet_2004_email@REMOVETHISBITbizorg.co.uk> wrote in
    message news:2uqk60tilktvjqlgfk6miahmnfrau3po1p@4ax.com...
    > On Tue, 30 Mar 2004 17:35:57 +0200, Alvaro G Vicario
    > <alvaro_QUITAR_REMOVE@telecomputeronline.com> wrote:
    >
    >>*** :: Ole C :: wrote/escribió (Tue, 30 Mar 2004 15:25:48 GMT):
    >>> I soon enough realized that variables like $_SERVER['REMOTE_ADDR']
    >>> cannot
    >>> be inherited into the non-serverside php. Not as far I'm aware for sure.
    >>> Or can it? Or has anyone out there a smart sollution to overcome this
    >>> obstacle?
    >>
    >>Use PHP to add values to the URL in the call to remote code and then read
    >>them from $_GET array. It might work.
    >
    >
    > Or cheat:
    > <http://www.phpee.com/>.
    > --
    > UK Computer stuff from Morgan Auctions. Bids start at £1. No reserve. Sign
    > up NOW!
    > <http://www.bizorg.co.uk/shopping/morgan.php>
    > Track a Mobile phone: <http://www.bizorg.co.uk/news.html>
    Savut Guest

  4. #3

    Default Re: Including non-serverside php

    "Alvaro G Vicario"
    > Use PHP to add values to the URL in the call to remote code and then read
    them from $_GET array. It might work.
    >
    Thought it be common curtisy to reply on your nice tips.
    I went for your method and it now works nicely. Had a feeling those
    referents with nice "&" letter inside might do some trouble, but they could
    easily be ereg_replaced with "%26". Skipped the [url]http://www.phpee.com/[/url]. It
    was a bit too much of the good stuff :-)

    Thanks a lot.

    Ole C.


    :: Ole C :: Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139