Re: un php script and excpect an answer



> Then, you should create the smallest possible script that reproduces
> the problem, and then post it here.

> By that I mean that you should make a copy of your faulty script, and
> progressively remove code from it until it no longer fails in the way
> you describe. The last thing you take out will probably give you a clue
> about the cause of the problem. If it doesn't, put it back in and post
> the short script here (and tell us what the last thing was!)

For security reasons I cannot post my script. But my script is in no
way faulty has it run like it should throw a browser but like I said
before when I execute it in my browser it runs with no problem and has
soon has I try to execute it throw the command line the script starts,
sends the request and ends and will not continue but it ends with no
error. So I have no clue why do I have to specify in the command line
that it's a recursive script or ...???

I can probably do an example here (this is just a brief example to help
you guys):

// receives the request from the billing company and updates the
// invoice status of the client but for the first execution there is
// nothing so does not go in the if
If($_GET['status']){
// execute a DB operation to set the invoice status
}

// verify that there is a next client and fetch is it
$value = 'customers_id='.$customers_id.'&'.
'invoiceType='.$inv_type.'&'.....

//Sends a request to the billing company
redirect('https://portal?'.$value);

// The script has ended

.



Relevant Pages

  • Re: How to set Timeout with URL Moniker?
    ... > We use a URL Moniker to make an HTTP/S request to a script which can ... > take sometimes several minutes to execute. ... I've tested and our script executes successfully and returns ...
    (microsoft.public.vc.language)
  • Re: ASP.NET Causing execution of JavaScript on the client side
    ... I am not sure what is the most elegant way of doing this. ... When you meet the condition where you need to execute the client side ... script, you can redirect to your page with some parameter in the url. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: existence and size of client file
    ... to provide a FORM to the client. ... executed after the POST request reaches your server. ... The client sends an HTTP POST request, which contains the URL, the ... Then the server has inkove the CGI script so that the CGI script can ...
    (comp.lang.perl.misc)
  • Re: ASP.Net questions
    ... Could you give me an example of how to add the script to the page? ... Since the page is recreated on every single request, ... > The client goes first. ... > there is a post to the server, ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Will Linux become as vulnerable as MS ??
    ... > beeing vulnerable to viruses. ... > that they know are executable, and execute intentionally. ... >> Linux, each distro is a little different, and even within the distro, ... > Since clicking on a script is easier than typing it's name, ...
    (comp.os.linux.security)