westman
-
Posts
600 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Posts posted by westman
-
-
-
-
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?
-
-
-
-
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?
-
-
-
-
-
-
-
-
-
-
-
-
-
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?
-
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?
-
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?
-
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?
-
thank you
header ()
in PHP
Posted
no what is a link break and can you give an example please