SitePoint Sponsor

User Tag List

Results 1 to 9 of 9
  1. #1
    SitePoint Addict
    Join Date
    Oct 2010
    Posts
    207
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    How to use Cron or any php function

    Hii
    i want that
    i want to know that is this possible that i can run any url or file on back end without knowing user with his ip mean
    i hope you understand
    as free hosting sites do earn money with their web hosting users traffic
    thats what i want if using any php code
    that if some open index.php
    i can also excute index2.php
    but without knowing user
    pmean if i use iframe and include index2 in index.php user can know about that when that will be loading in browser loading bar where show loading files urls
    so any idea how to load file without knowing user?

  2. #2
    SitePoint Evangelist smftre's Avatar
    Join Date
    Dec 2008
    Location
    London
    Posts
    434
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    That was really hard to understand..
    You may want to take a look at the following 2 functions: exec and shell_exec
    Statvoo.com The Website Traffic Monitor
    The best way to monitor traffic to your sites for free!


    Web Development London UK We make web 3.0 applications

  3. #3
    SitePoint Evangelist
    Join Date
    Jun 2008
    Posts
    455
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Could you try to explain your request more clearly?

    Cheers

  4. #4
    SitePoint Addict
    Join Date
    Oct 2010
    Posts
    207
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    well my mean to say is simple
    i want that if i browser index.php page from my browser
    my index2.php autmatic load but don't show in browser loading bar but that got use with my ip
    mean if in my stat i see that 2000 people access index.php there also become the same stat for index2.php
    well one way is possible i use iframe with 0 width but that's not working for me because when index.php will be loading in browser that will also show the files of index2.php
    that simply i don't want that browser show index2.php files
    i hOpe u guyz undestand will help me thanks

  5. #5
    SitePoint Evangelist
    Join Date
    Jun 2008
    Posts
    455
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Why are you wanting to hide content from the user?

  6. #6
    SitePoint Evangelist smftre's Avatar
    Join Date
    Dec 2008
    Location
    London
    Posts
    434
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You still havn't explained *why* you are hiding content but.... you could always use an iframe like so:

    <iframe SRC="index2.php" WIDTH="0" HEIGHT="0" FRAMEBORDER="0"></iframe>
    Statvoo.com The Website Traffic Monitor
    The best way to monitor traffic to your sites for free!


    Web Development London UK We make web 3.0 applications

  7. #7
    SitePoint Addict
    Join Date
    Oct 2010
    Posts
    207
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    for increasing my impressions but don't want that index2.php also load on the same page because that heavy the page so want file load but not in browser so if you really any authenticate answer u can tell me iframe is not working

  8. #8
    SitePoint Evangelist smftre's Avatar
    Join Date
    Dec 2008
    Location
    London
    Posts
    434
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You could use php to load the page into a variable like so:

    $index2 = file_get_contents("index2.php");

    ...but I have a feeling that if you don't render it to the browser you won't get that extra impression..
    Statvoo.com The Website Traffic Monitor
    The best way to monitor traffic to your sites for free!


    Web Development London UK We make web 3.0 applications

  9. #9
    SitePoint Enthusiast
    Join Date
    Oct 2011
    Posts
    47
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I don't think it is possible to load another page behind the scenes without the user ever knowing. If you use iframes or ajax, the user can see that activity in their loading bar and/or firebug.


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
  •