Jump to content


This topic is now archived and is closed to further replies.


Insert data via a url

Recommended Posts



I have an access database that grabs data from various forms that we submit. It stores the data in a url format. Is there a way to imput the url into my mysql database via a url?

A script of some sorts that will preform the insert based on url instead of relying on a form?



Partial example of output:







Share this post

Link to post
Share on other sites

you could just use get to pull the data from the url and assign it to variables then insert that into the database.

Share this post

Link to post
Share on other sites

If you know the path of the data you want to retrieve, you could do something like to one below;


$uploaddir = \'c:/mysql/data/login/images/\'.$yourfield;




$sql = \"INSERT INTO `your table` ( `imagefilepath`,`objTxtArea`,) VALUES (\'\" . $uploaddir. \"\',\'\".$synop.\"\',curdate())\";


This is part of a code I did. I wanted the user to upload a file which is stored in a directory. Then the path for that file would be stored in the mysql table.


This way when reading the table, it will point to that path and display the file.



Share this post

Link to post
Share on other sites


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.