Jump to content

rahultailwal

Members
  • Posts

    70
  • Joined

  • Last visited

Everything posted by rahultailwal

  1. As i saw in phpinfo that looks same as in another server. There is sendmail_path, SMTP is on etc. The problem is from server configuration i guess. But i want to know what should be there to run mail server.
  2. I just used a simple mail. like mail(to,subject,message); Its works in one server and not in this
  3. Hi, I have a servers based on PHP Version 5.3.10-1ubuntu3.4 When i use mail function of php then my mails are not going. It is returning false. It could be server issue but i want to know what is the issue with it. What to do to fix it. I have tried to set sendmail_from in php ini. but nothing works. I tried mailer class but nothing happens. Thanks
  4. As i saw the video tag we have events for the video player but i dont think there are methods for flash fallback. as in this case it is not video tag at all.
  5. But we need to see that flash files should support all the platforms. like iPad etc. There are restrictions on flash based files that's why the problem remains as it is.
  6. do preload="auto" in where u have done it to none. r u seeing your poster image http://mysite.com/hdvideo/0/myvid.png and video player controls. Try to open http://mysite.com/hdvideo/0/myvid.webm in mozilla to verify your video path. If your files are on live server rather than your local server. then there is a need of MIME type supported by the server. You need to add WEBM, MP4 etc mime types in your server settings. ThanksRahul
  7. Hi, I am working on videos on a site. Now as we know we have different browsers available and we need to choose a player which can support all the browsers. Our html 5 video tag supports different video formats and works well with different videos.But for internet explorer less than 9 it makes a flash fallback. Now we can have lots of requirements with our video player. For example i have one requirement to hide controls from video player. Well there is an option to do it in html 5 to remove controls from tag. But we can see the controls again just putting controls by just editing the html by development tool like firebug for Mozilla. In internet explorer less than 9 if we see flash fallback then we also required to hide controls then it will be a double headache. Some times we need to use video events but again double headache as we have to think for all the browsers at the same time. So is there any good solution for this problem Thanks
  8. Hi, Html 5 tag works for all major browsers except ie6, 7 and 8. For these there is option for flash fallback. Now mozilla only works with webm or ogg video files. IE 9, safari and chrome works with mp4 files. Use this javascript to make your player more controllable. http://videojs.com/ Thanks, Rahul
  9. Somewhere in your application you want to delete some particular session variable but don't want to sign out from your application. Then you will use session_unset to unset a particular session variable. And when we log out from our application then we delete all the session data just using session_destroy().
  10. Your code is wrong in else. Use this. <script>function myFunction(){var x;var name=prompt("Please enter your name","Harry Potter");if (name!=null){x="Hello " + name + "! How are you today?";document.getElementById("demo").innerHTML=x;}else {x="Hello Stranger ! How are you today?";document.getElementById("demo").innerHTML=x;}}</script>
  11. the process could be, as i think, 1. Basically the remember me feature is for the users using their own system. No one else touch their computer system. Then their is no security issue.2. As i think the username and password both are saved in cookie in encrypted manner.3. After user browse page again, then cookie will be checked first with the database verification either valid or not.4. If valid then session variable will be set for that user.5. if he logout then all the cookie will be deleted again.
  12. The thing is if cookie is set you will again set the session variable and then redirect to the main page. No need to login again. And if cookie is not set it will go to login page. Simple
  13. rahultailwal

    bullet issues

    Just remove ul style list-style-type: square; from your css that is written in your Activities page somewhere line no 68 Thanks
  14. I mean if you want to set a cookie. then it will be after redirection not before it. And after setting cookie it will be available in next page.
  15. Hello, As in login page with remember me feature. If user successfully logged in the system then you will definitely redirecting user to any other page. You can not use setcookie before header(location; index.php). It should be after header(). Thanks
  16. Place session_start() at the start of page.
  17. Thanks for reply, But i m not looking for header. There is still no way to do it, i asked to zoho support team. Thanks
  18. Make alert boxes on the basis of your conditions. You have to just use javascript alert() function. As i did in below code, it will alert three times. <!DOCTYPE html><html><head><script>function myFunction(){alert("I am an alert box1!");alert("I am an alert box2!");alert("I am an alert box3!");}</script></head><body><input type="button" onclick="myFunction()" value="Show alert box" /></body></html>
  19. rahultailwal

    cookie name

    How did you find it. let share here.
  20. Hi All, I need to login to zoho crm using a url which will be in my own site. But i am unable to do this as i read the zoho api, i got confused and i am not getting a right way to go forward. I need some code example or any good tutorial. Thanks,
  21. Hi use the below code. As i guessed, you want to show three columns value show in drop down. so just put the three column values by giving one space.Hope you want the same.<?include("sql.php"); include("auth.php"); $UID = $_SESSION['UID'];$sql="SELECT * FROM users where UID='$UID' AND Cnumber != ''";$result=mysql_query($sql);$options="";while ($row=mysql_fetch_array($result)) { $id=$row["Nname"]; $thing=$row["Nname"]; $options.="<OPTION VALUE=\"$id\">".$thing." ".$row["CNumber"]"." ".$row["address"]."</option>";}?><SELECT NAME=Nname><OPTION VALUE=0>Choose<?=$options?></SELECT>
  22. Do you know about ajax. By selecting from one drop down, other drop down will fill. For this you need ajax. Search this in google: dynamic drop down list using ajax. Hope you will get a nice code there.
  23. Hi all, The scenario of my problem is to replace some sting from a textarea where some default text is written. Suppose i have a word phone no is written there when i first come to that page. Now i have a textbox where i can put any phone no and a button to submit. After submitting phone no the phone no text will be replaced in textarea. Now the problem is suppose he do mistake of filling wrong phone no. so he will again write phone no in textbox but i have replaced all phone no word with given phone no so how can i make it working again. it will work only once. Hope you understand what i want to do. Thanks
  24. this token is for individual account not like a super account so that i can use it for all. thats the problem
×
×
  • Create New...