|
|
I am trying to setup a site where I connect to an SAAS system via an iframe in my default.asp page. However I seem to be having troubles getting the iframe to pass a variable in the URL.
Here's what I'm trying to do. If I click on the following link, I am immediately logged in as a guest at the SAAS site. Just pasting the link in my browser works correctly.
http://www.mywebapp.com/home/login.asp?FromLogin=1
However, if i use the same URL an iframe, it doesn't seem to pass the variable because I end up at the login page.
<iframe src="<a href="http://www.mywebapp.com/home/login.asp?FromLogin=1">
Can anyone provide a suggestion? This is driving me nuts!
Thanks in advance for your help!
|
|
|
|
|
Don't suppose the obvious occurred to you?
|
|
|
|
|
Thanks for the suggestion. Actually the link i s am using is:
<iframe src="a href="http://www.mywebapp.com/home/login.asp?FromLogin=1"></iframe>
So no. Unfortunately it did not work.
Michael
|
|
|
|
|
Dear All,
i am new to php, i am querying data from mysql database using php.
i can query data from mysql,but when i query the persian (farsi) data from mysql i see these characters (??????) in my browser i dont know how to solve this problem. the character "????????"
plz help me
|
|
|
|
|
More than likely you need to set the character encoding of the HTML page to something that supports Farsi (for example, UTF-8)
|
|
|
|
|
your answer is correct, i saved my page in utf8 format and i even add the script Header (... charset=utf-8) but still it is not working
Abdul Rahaman Hamidy
Senior Student Student in Computer Science
Kabul, Afghanistan
Software Developer
|
|
|
|
|
Hi Rahman.
First you should set Column Charset to utf8 and set Column Collate to utf8_persian_ci in your MySql table.
Then before each query first send these queries :
mysql_query("SET NAMES 'utf8'");
mysql_query("SET CHARACTER SET 'utf8'");
mysql_query("SET character_set_client = utf8 ");
mysql_query("SET character_set_results = NULL ") ;
mysql_query("SET character_set_connection = utf8 ");
By the way there is a great Persian Forum here[^] that you can ask your questions over there in Persian.
|
|
|
|
|
Thank you very much and You solved my problem.
I do really appreciate your assist and cooperation.
It works fine.
Abdul Rahaman Hamidy
Senior Student Student in Computer Science
Kabul, Afghanistan
Software Developer
|
|
|
|
|
No problem.
I'm glad to help.
|
|
|
|
|
I'm trying to access my eMail contents using "telnet". My eMail Address is testpopid@yahoo.com (I've made it temprarily and will delete it after your answers ). here is my conversation with the server:
telnet pop.mail.yahoo.com 110<br />
+OK hello from popgate 2.4 ...<br />
USER testpopid<br />
+OK Password required.<br />
PASS MyPassword<br />
-ERR [AUTH] invalid user/password
I use the password I defined when creating the eMail account. When I try to log into my account within my brower, ther's no problem and the above password works (I use www.yahoo.com to log in)
Thank you masters!
|
|
|
|
|
Yahoo may use more advanced authentication than simple plain-text passwords.
|
|
|
|
|
Yes, that's what I was getting across to him in his cross-post in another forum.
Johnny ² wrote: more advanced authentication than simple plain-text passwords
And for obviously good reason.
"The clue train passed his station without stopping." - John Simmons / outlaw programmer
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
"Not only do you continue to babble nonsense, you can't even correctly remember the nonsense you babbled just minutes ago." - Rob Graham
|
|
|
|
|
hi,
how can I make "tabs" using css.
and if possible I need more examples of web pages using css.
|
|
|
|
|
It's not just CSS that makes the tabs - it's the HTML too, and if you want interactive content, the JavaScript.
Take a look at this article which explains one approach to tabs in more detail.
Regards,
--Perspx
"I've got my kids brainwashed: You don't use Google, and you don't use an iPod." - Steve Ballmer
"Some people have told me they don't think a fat penguin really embodies the grace of Linux, which just tells me they have never seen an angry penguin charging at them in excess of 100mph." - Linus Torvalds
|
|
|
|
|
|
Surely this should be in the SQL forum?
In MySQL you can extract a random row using
SELECT fieldlist FROM table ORDER BY RAND() LIMIT 1
In SQL Server you would use:
SELECT TOP 1 fieldlist FROM table ORDER BY NEWID()
|
|
|
|
|
Oh Sorry Will ask in the SQL forum then.
Before I used the code I use now I used ORDER BY RAND() but it spend even more time. The code I am using now was supposed to be and is faster then the one I used before.
On before hand
Thank you for your help
|
|
|
|
|
HI,
i'm creating a multichoice quiz in javascript conditions are
1. it is multichoice
2. answer to be stored in database sql
3. there is a timer.
how to start??
|
|
|
|
|
With a book on programmng?
Don't post homework questons, nobody should answer them, else you learn nothing.
Bob
Ashfield Consultants Ltd
|
|
|
|
|
Ashfield wrote: Don't post homework questons, nobody should answer them, else you learn nothing.
I agree, but usually some cluck ends up answering for them. Robs the OP of any kind of learning.
"The clue train passed his station without stopping." - John Simmons / outlaw programmer
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
"Not only do you continue to babble nonsense, you can't even correctly remember the nonsense you babbled just minutes ago." - Rob Graham
|
|
|
|
|
Was the cluck comment directed at me?
Regards,
--Perspx
"I've got my kids brainwashed: You don't use Google, and you don't use an iPod." - Steve Ballmer
"Some people have told me they don't think a fat penguin really embodies the grace of Linux, which just tells me they have never seen an angry penguin charging at them in excess of 100mph." - Linus Torvalds
|
|
|
|
|
No. I did see your reply after I posted, and the answer you gave him was appropriate. Maybe what I meant by cluck, are the folks who throw the code how to do the task at hand. Those are the ones that rob the poster of any kind of learning. Not the ones who give some insight on what to do
"The clue train passed his station without stopping." - John Simmons / outlaw programmer
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
"Not only do you continue to babble nonsense, you can't even correctly remember the nonsense you babbled just minutes ago." - Rob Graham
|
|
|
|
|
Yeah, I know what you mean. They can get someone from Rentacoder to do that for them if they want full source code..
Regards,
--Perspx
"I've got my kids brainwashed: You don't use Google, and you don't use an iPod." - Steve Ballmer
"Some people have told me they don't think a fat penguin really embodies the grace of Linux, which just tells me they have never seen an angry penguin charging at them in excess of 100mph." - Linus Torvalds
|
|
|
|
|
Okay:
- Read up on HTML forms and radio buttons - these are good for multiple choice questions.
- You'd need to use some sort of server side collaboration here, such as with PHP/ASP/ASP.NET so you may need to look into this in some detail if you're not already familiar with server-side languages.
- Read up on JavaScript timing functions for this one - Google's always good for that sort of thing.
Regards,
--Perspx
"I've got my kids brainwashed: You don't use Google, and you don't use an iPod." - Steve Ballmer
"Some people have told me they don't think a fat penguin really embodies the grace of Linux, which just tells me they have never seen an angry penguin charging at them in excess of 100mph." - Linus Torvalds
|
|
|
|