Jump to content

LOSTBOY

Members
  • Posts

    20
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

LOSTBOY's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. I am having a rtf file, now i want to convert that rtf file to html version with same alignment, to be display in the web page. Kindly give some example in php.
  2. I have added authentication script like below @ my htaccess AuthUserFile /var/www/mydomain.com/.htpasswd AuthGroupFile /dev/null AuthName "Authentication required" AuthType Basic <Files "*"> require valid-user </Files> Is there is any way to bypass this authentication for a particular url with specific get variables like http://mydomain.com/index.php?m=file&action=upload Please give me your ideas and suggestions ...to solve this..
  3. I have a text field and a submit button.The top one has a function connected to the onblur event when someone leaves the text field.The submit button has a funciton connected to the onclick event. when I move the mouse from the text field to the button and press the button.the text input loses focus, which fires its blur event and it wont fires its click event. here i give an example:Please check out this <html> <header> <script type="text/javascript" src="../javascript/ui/jquery.js"></script> <script type="text/javascript"> $(function(){ $("#a").blur(function(){ hi1(); }); $("#Submits").click(function() { hi2(); }); }); var id = ""; function hi1(){ id = "1"; alert(id); return; } function hi2(){ id = "2"; alert(id); } </script> </header <body> <form name="frm" method="post"> <input type="text" id="a" name="a" > <input type="button" id="Submits" name="Submits" value="click me" > </form> </body> </html> and give me the suggestion to overcome this problem. ??? :'(
  4. thanks alot for ur suggestions ..let me try
  5. thanks for reply ya read it that thread but i cant understand ....please suggest me by code example
  6. hi experts , am an php beginner when try to redirect using header() it throws error as below what can i do for this .. Warning: Cannot modify header information - headers already sent by (output started at c:\wamp\www\rapid\user\login.php:3) in c:\wamp\www\rapid\user\login.php on line 9 my code <?php if(isset($_POST['submit'])): ?> <?php include_once("clsuser.php"); $objuser = new user; $objuser->validateuser($_POST['uname'], $_POST['pass']); header('Location: http://localhost/rapid/main/campaign.php'); ?> <?php else: ?> //HTML CODE HERE Plz help me ASAP
  7. ya ...i already know that ...but am not sure is it generate non redundant values?
  8. hi , am a newbie to PHP & Mysql...very recently only i started my carrier in this domain... now i need to know is there is any functions available there to select random datas from table which should not repeated ...................................
  9. ur code is not wrong ...but doesnt bring any data from data base....................................................
  10. here is my code.....actually i want to generate Randam Quiz's .....as single quiz per page here $_session['$max'] is the maximum questions that user select from our db if (!isset ($_SESSION['$max'])){ $_SESSION['$max']=$_POST['sel_ques']; $tempArray= array(); } do { $qno=rand(1, $_SESSION['max']); if (!@in_array($qno,$tempArray)) { $tempArray[$r] = $qno; $query="SELECT * FROM question WHERE qid=$qno" ; $result=mysql_query($query); $id=mysql_result($result,$i,"qid"); $question=mysql_result($result,$i,"question"); mysql_result($result,$i,"question"); $query1="SELECT * from answer where qid=$id"; $result1=mysql_query($query1); $r++; } But it not working properly .......plz give ur suggestions
  11. hi am an PHP Beginner when i try this code it throws if (!in_array($qno,$tempArray)) Warning: in_array() [function.in-array]: Wrong datatype for second argument what can i do to overcome this warning! Thanks in Advance
  12. actually am trying this project as quiz system.so i need to show only one set at a time.......
  13. hi wsantos.... ur code works properly but it shows all the question & ans in single page..but i need to show one after another .....in the same page..wat can i do for that
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.