User Profile

Collapse

Profile Sidebar

Collapse
bandito40
bandito40
Last Activity: Mar 31 '08, 12:46 AM
Joined: Mar 23 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • bandito40
    started a topic scheduling with 'AT' from php
    in PHP

    scheduling with 'AT' from php

    Hi,

    I am wondering if it is possible to give the escape command ctrl+d via the php function exec() or some function that is similar. I am trying get php to call the 'AT' command which asks for the ctrl+sequence to close the entering of a new scheduled event. I tried adding '<EOT>\n' at the end of the command sequence but that still didn't work. I only want the event to run once unlike CRON that's why I am using 'AT' instead....
    See more | Go to post

  • bandito40
    replied to conflict for function copy() .
    in PHP
    Thanks for the reply. I actually over looked that. I should have noticed it on the php site. Sometimes you need another pair of eyes.

    Carl


    http://www.gaihosa.com...
    See more | Go to post

    Leave a comment:


  • bandito40
    started a topic conflict for function copy() .
    in PHP

    conflict for function copy() .

    HI,

    I am using the copy() function to download a web page as shown in this
    example:
    [php]
    $userAgent = $_SERVER['HTTP_USER_AGEN T'];
    $context_option s = array (
    'http' => array (
    'method' => 'GET',
    'header'=> "User-Agent: $userAgent"

    )
    );

    $context = stream_context_ create($context _options);...
    See more | Go to post
    Last edited by ronverdonk; Mar 24 '08, 12:01 AM. Reason: code tags included
No activity results to display
Show More
Working...