I’m working with some php and need some help. Basically I have a script which sends a string from pascal to a php file which then gets posted into mysql.
I was wondering how I would go about this in the php and mysql table?
if test then
begin
TakeScreenshot(main screen)
error := bitmaptostring(the screenshot);
getpage('website.com/error.php?bitmap=error);
end;
Okay so what you want to do is to get the value from the url which you do like this:
And to connect to mysql in php is pretty easy, and is something like this.
I’m not really familiar with how to use mysqli(but it is prefferred over mysql_connect) so i recomend that you read up on it beforehand:
PHP manual: MySQLi