darklexus2k9 Posted October 7, 2010 Share Posted October 7, 2010 Hi guys i dont know if this is the right section but i need help with this so here we go ok i have created a program in vb.net that visits a url and sends people a text mesg with there password in it but i need to to this in a web browser 2 what i was thinking is creating a for and then having that for submit the info into a hidden i frame and it would send the msg from therewith out the use ever seeing it sending the msg here is how i think the i frame would work <iframe src=http://myurl.com/?contact=(+44user number)&Text=(users password) width='0' height='0'> the thing is i dont know how to get the user contact and password from the form into the iframe url could this be done in php or would i need to use javascript if any one can help that would be really creat Quote Link to comment Share on other sites More sharing options...
jammesz Posted October 7, 2010 Share Posted October 7, 2010 if the forms on the same page as the iframe then you'll need javascript. otherwise you can do it via php after the forms submitted. Quote Link to comment Share on other sites More sharing options...
darklexus2k9 Posted October 8, 2010 Author Share Posted October 8, 2010 No the form is not on the same page as the iframe the i fram is on the password sent page i just need to know how do i get the info from the fourm into the iframe url if you can help agen thanks if it would be easy to use javascript i will use that Quote Link to comment Share on other sites More sharing options...
jammesz Posted October 11, 2010 Share Posted October 11, 2010 if the iframe source is a server script page that can access a database then all you have to do is store the content from the forum into a table and pass the id of the entry through the url so that the iframe source can then receive the content from the database. You could do the exact same thing but instead of a database use a text file to store the content passing the file path in the url of the iframe. If the content is short and the two options are not possible then perhaps use base64_encode() to encode the content, pass it through the url, then decode it using php or javascript, or ect... Also, im pretty sure that javascript can read/write to files. If this is true then probably a better choice then the one mentioned above. Hope this helps Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.