Remi,
I was/am aware of what the header function does (and the ./ relative
reference) but just didn't see the purpose in that script. Thought maybe I
was missing something but glad I wasn't. :)
Thanks for confirming this for me.
Cheers,
Jeff
On Saturday, March 9, 2013 2:43:51 AM UTC-7, Remi
header('location: ./'); redirects to the current folder. Since 99% of LAMP
configuration loads index.php first, it redirects to index.php.
The header was from the previous code i guess.
I was redirecting from index.php to login.php if no session, and when the login
process was ok, header was
Hey Remi,
I like this simple Login approach. As the web-app that I'd like a login for
is for online only, this works great.
Just one question: What is the purpose of the header('location: ./'); in
the index.php file? It seems to work fine without it.
On Monday, February 25, 2013 5:04:12 PM
the panel class is designed in iUI to only work with direct body child nodes.
That's the reason there is no pinstripes and other panel styles around.
So if i test your code, i get some badly shaped UI.
I see no reason to use this DIV around the form by the way. Usng the form
itself as the page
Ahhh... So that's what was breaking the CSS... and why it worked fine for my
edit of the code.
Adding to my knowledge base Done! :-D
Thanks Remi!
Alex,
I'm still curious what was the original Issue? Style issues aside, the form
action in your OP should have worked.
On Wednesday, February
This seems to work now. I'm not sure why it didn't work before as I have
similar form actions myself.
For future reference, care to share how you resolved your issue?
On Monday, February 25, 2013 1:31:26 PM UTC-7, Alex Larente wrote:
I'm fairly new to PHP and iui and i've managed to get stuck.
The function of this application is so the people using it can enter in a
customers email address and it will automatically email them a specific
document.
No need for offline mode or logging in :)
*Application Workflow:*
Tech is working on cable services in customers home.
Customer asks
Not sure, but Remi may have posted that in the wrong thread as there is an
active discussion on login. On the other hand, maybe you should look at
storing the techID so he/she does not have to enter it each time.
Again though... how did you resolve your issue? Was it something other than
the
Still not resolved :(
On Tue, Feb 26, 2013 at 10:04 AM, Jeff (iUI Noob) fjr...@gmail.com wrote:
Not sure, but Remi may have posted that in the wrong thread as there is an
active discussion on login. On the other hand, maybe you should look at
storing the techID so he/she does not have to
Hmmm... it appeared as if it was just working for me. Not sure what I was
looking at.
I just looked at your source for the link you provided and notice the form
doesn't have an id attribute. Currently, the code cannot find an element
with the testemail id.
Also, in the code provided in your OP,
Your code works perfectly on my server (linking to my CSS JS,) maybe your
issue is with the version of iui.js. Did you download it from iui-js-org or
just save the files used by the sample music app that you cannibalized?
While your code does work, I suggest that you:
- include links to
I worked with the music app files.
However I did go back and replace the files with the ones from the main
folder.
I'll go re-download the latest version of iui to make sure that isn't
causing any issues.
Thanks for the tip about DIV UL.
I have been updating the code with the feedback from this
Just in case someone reads this who also needs help; this is my working
code.
*This is my HTML:*
!-- Testing sending a customer an email --
div id=testemail title=Email Customer
form id=emailtest title=Test Email class=panel name=My Form
action=myform.php method=POST
I tried both ways and it didn't work.
*form id=emailtest title=Test Email class=panel name=My Form
action=./myform.php method=POST*
and*
form id=emailtest title=Test Email class=panel name=My Form
action=/shaw/myform.php method=POST*
Any other suggestions?
On Monday, February 25, 2013
Again, about login process, it depends what you need.
If you need to get some pages generated by a login/pass once or if you have a
strong server-side token system, doing this in JS might be ok.
If you need a strong“ session-based process, since session is only initialized
unload, you need to
Here is a URL to test:
http://www.remi-grumeau.com/labs/sandbox/login/
and an archive of the PHP files
http://www.remi-grumeau.com/labs/sandbox/login/login-iui.zip
Note that this is not offline-capable.
Remi
Le 26 févr. 2013 à 00:06, Hello Gurus remi.grum...@gmail.com a écrit :
Again, about
16 matches
Mail list logo