1
pemen
XOOPS script in cron table
  • 2003/12/2 9:07

  • pemen

  • Not too shy to talk

  • Posts: 186

  • Since: 2002/7/8 7


Hi,

I would like to make XOOPS PHP script to make database maintenance operations. These script use the XOOPS API.
These operations need to make DML SQL script like UPDATE, DELETE.

XOOPS is very well secure and we can't make DML operation where we are not in POST. But in my script I can't make form to POST it.

What is the best practise to solve my problem.

Thanks

2
Mithrandir
Re: XOOPS script in cron table

if you are ABSOLUTELY certain, what you are doing and who can access the script, use $db->queryF instead of $db->query as queryF overrides the only-change-data-in-db-if-POST BUT this CAN leave you open to e.g. SQL injection and similar.

Login

Who's Online

84 user(s) are online (47 user(s) are browsing Support Forums)


Members: 0


Guests: 84


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits