You are here: Re: un php script and excpect an answer « PHP Programming Language « IT news, forums, messages
Re: un php script and excpect an answer

Posted by pas805 on 09/14/05 15:41

> 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

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация