[dba-Tech] PHP trick...

Shamil Salakhetdinov shamil at users.mns.ru
Wed Mar 16 17:18:48 CST 2005


> If you are running the script then  it's possible that your
> ISP would recognise this and count it as your traffic.
Thank you, Stuart!

I was wrong with hackers.
My son used RegEt for file download from the local server.
But RegEt had mirror site search function switched On.
And it used its mirror db at mirrordb.reget.com to find the quickest
download site.
And it happened this was the outer Internet, not locat Internet :(

Best regards,
Shamil
--
Web: http://smsconsulting.spb.ru/shamil_s

----- Original Message ----- 
From: "Stuart McLachlan" <stuart at lexacorp.com.pg>
To: "Discussion of Hardware and Software issues"
<dba-tech at databaseadvisors.com>
Sent: Thursday, March 17, 2005 1:41 AM
Subject: Re: [dba-Tech] PHP trick...


> On 17 Mar 2005 at 0:30, Shamil Salakhetdinov wrote:
> >
> > Question: when I have HTML page loaded in a browser from a server, and
this
> > HTML page has Javascript, which calls PHP function (from compiled PHP
file -
> > I can't get source)  that possible that this PHP function will
work(starts
> > a server process, thread)
>
> Yes, but note that PHP is not compiled and it doesn't need any javascript.
>
> <quote>
> PHP (recursive acronym for "PHP: Hypertext Preprocessor") is a widely-used
> Open Source general-purpose scripting language that is especially suited
> for Web development and can be embedded into HTML.
> .....
> Example:
> <html>
>    <head>
>        <title>Example</title>
>    </head>
>    <body>
>
>        <?php
>        echo "Hi, I'm a PHP script!";
>        ?>
>
>    </body>
> </html>
>
> Notice how this is different from a script written in other languages like
> Perl or C -- instead of writing a program with lots of commands to output
> HTML, you write an HTML script with some embedded code to do something (in
> this case, output some text). The PHP code is enclosed in special start
and
> end tags that allow you to jump into and out of "PHP mode".
>
> What distinguishes PHP from something like client-side JavaScript is that
> the code is executed on the server. If you were to have a script similar
to
> the above on your server, the client would receive the results of running
> that script, with no way of determining what the underlying code may be.
> You can even configure your web server to process all your HTML files with
> PHP, and then there's really no way that users can tell what you have up
> your sleeve.
> </quote>
>
> >using my credentials and my IP and will download
> > file on server side, which my ISP will count as my traffic?
> >
>
> PHP has a full set of FTP functions, so I suppose it's possible for
someone
> to set up PHP script to download files from an FTP site to the server and
> then upload them to their own FTP site.  If you are running the script
then
> it's possible that your ISP would recognise this and count it as your
> traffic.
>
>
>
>
>
>
>
> -- 
> Stuart
>
>
> _______________________________________________
> dba-Tech mailing list
> dba-Tech at databaseadvisors.com
> http://databaseadvisors.com/mailman/listinfo/dba-tech
> Website: http://www.databaseadvisors.com




More information about the dba-Tech mailing list