Skip to content
Advertisement

automatic form submission with CURL php

I can not run this script, I have every time two error messages can you help me

(!) Warning: DOMDocument :: loadHTML (): Empty string Supplied as input in C: wamp www form formulaire.php on line 23 0.1442 2 142344 loadHTML () .. formulaire.php: 23 Notice (!): Undefined variable: description in C: wamp www form formulaire.php on line 57

JavaScript

Advertisement

Answer

Check out Simple Html Dom. It really simplifies finding stuff in html files. Here is an example with your code.

JavaScript

Simple Html Dom Documentation

User contributions licensed under: CC BY-SA
4 People found this is helpful
Advertisement