parameter passing on command line

Discussion of non-phpBB related topics with other phpBB.com users.
Forum rules
General Discussion is a bonus forum for discussion of non-phpBB related topics with other phpBB.com users. All site rules apply.
Post Reply
jmperu
Registered User
Posts: 3
Joined: Sat Sep 09, 2017 6:58 pm

parameter passing on command line

Post by jmperu » Fri Dec 01, 2017 9:44 am

Hello,
I would like to know how to pass on a command line the user, the password
as I did for the forum
https://xxxxxx/phpBB3/viewforum.php?f=4

cordially

User avatar
david63
Jr. Extension Validator
Posts: 13187
Joined: Thu Dec 19, 2002 8:08 am
Location: Lancashire, UK
Name: David Wood
Contact:

Re: parameter passing on command line

Post by david63 » Fri Dec 01, 2017 10:54 am

That link does not work

jmperu
Registered User
Posts: 3
Joined: Sat Sep 09, 2017 6:58 pm

Re: parameter passing on command line

Post by jmperu » Mon Dec 04, 2017 9:29 am

actually it was to give an example of what I'm doing right now but I would like to add also the username and the password

User avatar
AmigoJack
Registered User
Posts: 4999
Joined: Tue Jun 15, 2010 11:33 am
Location: グリーン ヒル ゾーン
Contact:

Re: parameter passing on command line

Post by AmigoJack » Mon Dec 04, 2017 11:50 am

You can't, as login credentials are only accepted thru a HTTP POST, not script parameters alone - you'd need additional software to do that, such as cURL or wget.

jmperu
Registered User
Posts: 3
Joined: Sat Sep 09, 2017 6:58 pm

Re: parameter passing on command line

Post by jmperu » Mon Dec 04, 2017 2:30 pm

merci

Post Reply

Return to “General Discussion”

Who is online

Users browsing this forum: No registered users and 45 guests

cron