ID: 11681
Updated by: zak
Reported By: [EMAIL PROTECTED]
Old-Status: Open
Status: Bogus
Bug Type: Variables related
Operating system: 
PHP Version: 4.0.6
Assigned To: 
Comments:

Relax - it is very unlikely that your work is spoiled. :)

Chances are good that this problem is due to a change in the php.ini file.

Try adding ini_set ('register_argc_argv', 1); at the top of one of your files that 
uses the 'short' arguments.

Does it work now? If so, good - then a setting only needs to be changed in the php.ini 
file. register_argc_argv will need to be set to On.

Also this is unlikely to be a bug. PHP has many configure options - it is easy to 
break things without meaning to if the various options are not understood.

Previous Comments:
---------------------------------------------------------------------------

[2001-06-25 21:22:53] [EMAIL PROTECTED]
I don't know if it is PHP3 ? 4 ? Linux ? apache  ?
I just know that, after working 1 year and half, this X?#:! hoster has decided to 
upgrade his hardware ...
6 months of works spoiled !!!

Anyway... This is the Problem
To avoid these "ugly" and long arguments like:
http://www.mysite.com/index.php?id=12345,
we have adopted a shorter:
http://www.mysite.com/index.php?12345

Begining the "index.php" page, just a simple code:

$what=implode(" ",$argv);
if ($what) {$id=$what;}

And the life can continue ...

And it has continued 1 year and half !
Till today ... after his x%#! change, 
The system anwers: Bad Arguments to implode ...

Difficult to contact all my (6000) clients to tell them to modify the link...

Thanks for your help




---------------------------------------------------------------------------



ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=11681&edit=2


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to