-
ELITE started following Doing Object Method from onclick function (or update HTML in iFrame) and URL Token
-
URL Token
Thanks, i have just set it up, put the token in the header as a bearer token, if you want a token key for free let me know, it does HTML to PDF, screenshots to PDF, XML site map and few other ideas i am working on
-
-
URL Token
Hi, just looking for advice, when a user registers I would like them to have a URL token assigned to them, not a problem with that, what I would like to know is the best practice for allowing them access to part of the website that generates an HTML to PDF, the user, from their site uses Curl with the URL token and the URL that they would like converting to HTML. What I would like to know is the following it best to store a session against that user in a database table? how long should I allow the token to be active for 3 months 6 months? do I need to give them a refresh token? or am I over complicating things? thanks
-
python and node
hi, i have one sorted, thanks for the suggestions though
-
python and node
Hi, i am looking for a server than i can install python and node, not AWS though. Thanks
- Doing Object Method from onclick function (or update HTML in iFrame)
-
Laravel 5.5 project cannot work on shared host
i use laravel a lot, i can help you better tonight but for now look at the docs for laravel 5.5 https://laravel.com/docs/5.5/ if it helps i have 2 htaccess files root and public directories see below root <IfModule mod_rewrite.c> RewriteEngine On RewriteRule ^(.*)$ public/$1 [L] </IfModule> public directory <IfModule mod_rewrite.c> <IfModule mod_negotiation.c> Options -MultiViews </IfModule> RewriteEngine On # Redirect Trailing Slashes If Not A Folder... RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)/$ /$1 [L,R=301] # Handle Front Controller... RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^ index.php [L] # Handle Authorization Header RewriteCond %{HTTP:Authorization} . RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}] </IfModule> will have more time to help tonight, hope this helps
-
Basic HTML Form not Working
haha, no problem, we all do it we just tell everyone haha
-
Basic HTML Form not Working
your html for <Form is <form2 also change </form2> to </form>
-
How to resize an image to fit viewport with css3
hi, is this link helpful ? http://www.sitepoint.com/css3-background-size-property
-
Frameworks vs Raw code
personally from my experience i started of learning html css php mysql javascript jquery , when the time came to look for a job all the local companies at the time were looking for MVC frame work experience, if you are looking for a job then take a look at the companies that you would like to work for see what experience they are asking for. In Staffordshire a lot of companies are asking in for Laravel 4 experience
-
refresh an iframe without a src
Hi, i dont want the page to refresh just the iframe
-
refresh an iframe without a src
Solved this, after the ajax call added .done(function(data) { var result = data; var iframe = document.getElementById('view'); if(iframe.contentDocument) doc = iframe.contentDocument; else if(iframe.contentWindow) doc = iframe.contentWindow.document; else doc = iframe.document; doc.open(); doc.writeln(result); doc.close(); }) this updates the iframe and refreshes the iframe so it works like js fiddle
-
refresh an iframe without a src
Hi, i am building a front end developer testing area like js fiddle i have what i want working, it works by loadiing a file and using php file_put_contents to update the file, the way i would like it to work is the posted data to populate the results are (this i can do) the problem i have is if you choose a javascript library like jquery to load into the iframe the iframe needs to be refreshed for the jquery to work and then the results go blank HTML <iframe class="iframe_layout_with_sidebar" src="./files/test.php" id="view"></iframe> AJAX $.ajax({ url: '/convert', type: 'POST', dataType: 'HTML', data: { html: html, css: css, js: js, jquery: jquery, jqueryUI: jqueryUI, ko: ko, option: 'save' }, }) .done(function(data) { document.getElementById('view').contentWindow.location.reload(true); }) php just updates the test.php file with file_put_contents this works but i want it to load the iframe with jquery loaded and with the posted data thank you
-
Decent Shopping Cart PLUGIN
powered by wordpress so is this any use to you http://wordpress.org/plugins/wordpress-simple-paypal-shopping-cart/
-
-
htaccess friendly url problem
RewriteEngine On RewriteRule ^oak-furniture/([A-Za-z0-9-]+)/?$ oak-furniture.php?oak-furniture=$1 [NC] this worked for me thanks for pointing out my copy and paste error