how to use url encoded in base64 for embed in iframe using PHP

208
March 01, 2018, at 6:53 PM

I have seen a lot of tutorials which explain how they can encode images into base64 and can be embedded but I am trying to embed a simple URL to be encoded in base64. like this below

<iframe src="https://somelink.com" width="640" height="480"></iframe>

I am trying to encode https://somelink.com into base64 which may somewhat look like this aHR0cHM6Ly9zb21lbGluay5jb20= can I embed this under iframe in src field and hide URL from being shown in view-source.

READ ALSO
Get bottom variable value to top of page

Get bottom variable value to top of page

I want to get the value of bottom variable, to top of the page like thisHow should I do that? Thank You!

134
How to extract nested tag from this JSON?

How to extract nested tag from this JSON?

I have the following MediaWiki JSON formatHow would I go about extracting the content of the 'extract' tag, when underneath the pages I have a tag with a page number that keeps changing?

123
How to implement free products with promocodes? [on hold]

How to implement free products with promocodes? [on hold]

I got products, they're in products table, promocodes table with name, discount (percents), max_discount (if amount of deal is too large for this promocode), valid_until, user_id (for personal promocodes)Also I have the carts table with key=>value structure,...

138
Combine table mysql

Combine table mysql

I got to table need to combine into 1

104