Jump to content

westman

Members
  • Posts

    600
  • Joined

  • Last visited

Posts posted by westman

  1. 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

  2. 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?

  3. 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

  4. 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?

  5. 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?

  6. 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?

  7. 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?

  8. 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

  9. 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?

  10. 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?

  11. 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?

  12. 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...