Jump to content

westman

Members
  • Posts

    600
  • Joined

  • Last visited

Everything posted by westman

  1. westman

    header ()

    no what is a link break and can you give an example please
  2. westman

    header ()

    the problem came back and i did not do anything. no code was changed
  3. westman

    header ()

    i got my new login working but i never found the problem.i fixed it by using an old login script and changing the code and layout bit by bit
  4. westman

    header ()

    my error is somthing i have never seen before. 1 simple line of code as you can see above in post 41 and am getting an error and i dont know why, so here is more info.... the 1 line code is on file index.php, the file is in www.mysite.com/testpage/index.php and i use godaddy for hosting is that helpful in finding the problem?
  5. westman

    header ()

    <?php header("location: ../user/index.php?id=$id"); ?> this is an update now just 1 line of code
  6. westman

    header ()

    i don't know what BOM is. i use DW to upload
  7. westman

    header ()

    line1:<?phpline2:header("location: ../user/index.php?id=$id");line3:?> that's my index.php file only 3 lines of code and its not working. if i could get this small code working it would solve my header () problem
  8. westman

    header ()

    i just opened a new folder and a new index.php in it with 1 line of code... <?php header("location: ../user/index.php?id=$id");?>and i got....Warning: Cannot modify header information - headers already sent by (output started at /home/content/31/9408631/html/testpage/index.php:2) in /home/content/31/9408631/html/testpage/index.php on line 3 how do i stop this error happening?
  9. westman

    header ()

    i think my problem is that i am using a sub domain. is there a different way i can change the url in php, html or javascript with out using header () snd that will work on a sub domain?
  10. westman

    header ()

    i also tried removing all code on index.php and just adding header("location: ../user/index.php?id=$id"); and my header did not work.my index.php is on a sub domain (life.example.com) is that my problem?
  11. westman

    header ()

    i tried putting my php above the html but it still is not working
  12. westman

    header ()

    i tried all my code on index.php whith no requiring/including and it still did not work
  13. westman

    header ()

    in index.php 1 line of code...<?php require("code.php"); ?>in code.php 1 line of code...<?php require("code2.php"); ?> and in code2.php is my 1 php file site. i used this method to help stop the site get hacked or downloaded, will this method help? and is this my header problem?
  14. westman

    header ()

    yes i do, full code on index.php...<?php require("code.php"); ?> full code on code.php...<?php require("code2.php"); ?> and on page code2.php is the full site of coding and where i am having header () problems
  15. westman

    header ()

    i also tried header($_SERVER['PHP_SELF']); but with no luck and i did post my code
  16. westman

    header ()

    its not echo, i only have 1 echo and that's at the bottom of the .php file
  17. westman

    header ()

    i have not coded session_start(); yet am coding bit by bit for testing
  18. westman

    header ()

    i have made login pages before and they worked fine with header () moving users to a new page.however the new site i am making is 1 site many pages in 1 .php file so to move the users to different pages i need to change the URL.is there a way i can change the URL with my error?
  19. westman

    header ()

    this code is for my login page.so after i set all sessions i need to move the user to the signed in page. any help?
  20. westman

    header ()

    require/include does not move a user to a different page.
  21. westman

    header ()

    hi all,i have a problem with header () this is what i have... header("location: ../user/index.php?id=$id"); and this is my error.... Warning: Cannot modify header information - headers already sent by (output started at /home/content/31/9408631/html/....../index.php:2) in /home/content/31/9408631/html/....../....../.......php on line304 is there any thing elts i can use instead of header () to change the page? if not how can i solve my error?
  22. westman

    face book login

    ok thak you for finding my spelling error "variable"but back to the script...i still cant get it working could any one give a code example?
  23. hi all i put a facebook login on my site and its not working this is what i have... <div id="fb-root"></div> <script> window.fbAsyncInit = function() { FB.init({ appId : 'YOUR_APP_ID', // App ID channelUrl : '//WWW.MY_DOMAIN.COM/channel.html', // Channel File status : true, // check login status cookie : true, // enable cookies to allow the server to access the session xfbml : true // parse XFBML }); }; // Load the SDK Asynchronously (function(d){ var js, id = 'facebook-jssdk', ref = d.getElementsByTagName('script')[0]; if (d.getElementById(id)) {return;} js = d.createElement('script'); js.id = id; js.async = true; js.src = "//connect.facebook.net/en_US/all.js"; ref.parentNode.insertBefore(js, ref); }(document)); </script><div class="fb-login-button" scope="email" data-show-faces="false" data-width="200" data-max-rows="1"></div> i put my appId in place and with channelUrl i put in the site page after login (user home page) is that right?plus how can i get facebook users info into php veribles?
  24. westman

    face book login

    hi all i put a facebook login on my site and its not working this is what i have... <div id="fb-root"></div> <script> window.fbAsyncInit = function() { FB.init({ appId : 'YOUR_APP_ID', // App ID channelUrl : '//WWW.MY_DOMAIN.COM/channel.html', // Channel File status : true, // check login status cookie : true, // enable cookies to allow the server to access the session xfbml : true // parse XFBML }); }; // Load the SDK Asynchronously (function(d){ var js, id = 'facebook-jssdk', ref = d.getElementsByTagName('script')[0]; if (d.getElementById(id)) {return;} js = d.createElement('script'); js.id = id; js.async = true; js.src = "//connect.facebook.net/en_US/all.js"; ref.parentNode.insertBefore(js, ref); }(document)); </script><div class="fb-login-button" scope="email" data-show-faces="false" data-width="200" data-max-rows="1"></div> i put my appId in place and with channelUrl i put in the site page after login (user home page) is that right? plus how can i get facebook users info into php veribles?
×
×
  • Create New...