Add import POST parameters to URL in PHPMyAdmin

psytanium

Well-Known Member
Jun 6, 2014
322
20
68
Lebanon
cPanel Access Level
Root Administrator

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
14,307
2,239
363
cPanel Access Level
Root Administrator
Hey there! If I'm reading the docs correctly, the cronTab browser addon just opens a URL at a scheduled time. If you wanted it to work with PHPMyAdmin, you'd have to ensure the link you're using is an authenticated session, but the browser session ID changes each time you access WHM or cPanel, so I'm not sure that is going to be a good option.

Is there any way you could setup a normal cron on the server to perform this work instead with MySQL commands?
 

psytanium

Well-Known Member
Jun 6, 2014
322
20
68
Lebanon
cPanel Access Level
Root Administrator
Hey there! If I'm reading the docs correctly, the cronTab browser addon just opens a URL at a scheduled time. If you wanted it to work with PHPMyAdmin, you'd have to ensure the link you're using is an authenticated session, but the browser session ID changes each time you access WHM or cPanel, so I'm not sure that is going to be a good option.

Is there any way you could setup a normal cron on the server to perform this work instead with MySQL commands?
The problem is I'm working locally using Wampserver, thants why I can't use CronJob.
 

psytanium

Well-Known Member
Jun 6, 2014
322
20
68
Lebanon
cPanel Access Level
Root Administrator

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
14,307
2,239
363
cPanel Access Level
Root Administrator
I don't believe there is going to be a way to do that through a URL-based system. When I access PHPMyAdmin from cPanel, I get the following URL:


Through WHM, I get this URL:


Without that session code, which changes with each log in, it's not going to properly execute and let you access the page. With the URLs you provided, it sounds like you might actually have an external installation of PHPMyAdmin on the machine, but even that saves the individual authentication session elsewhere, so a URL wouldn't work there either.

I'd look toward a different solution to try and automate this.
 

psytanium

Well-Known Member
Jun 6, 2014
322
20
68
Lebanon
cPanel Access Level
Root Administrator
I don't believe there is going to be a way to do that through a URL-based system. When I access PHPMyAdmin from cPanel, I get the following URL:


Through WHM, I get this URL:


Without that session code, which changes with each log in, it's not going to properly execute and let you access the page. With the URLs you provided, it sounds like you might actually have an external installation of PHPMyAdmin on the machine, but even that saves the individual authentication session elsewhere, so a URL wouldn't work there either.

I'd look toward a different solution to try and automate this.
Yes PHPMyAdmin comes with Wampserver, so it's installed on my machine, testing environment. But anyway, thanks for reading my post.
 
  • Like
Reactions: cPRex