Jump to content

Lefu

Members
  • Posts

    54
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

Lefu's Achievements

Member

Member (2/5)

0

Reputation

  1. hi micah1701, I think I am posting to site2 from site1. Or I may be misunderstanding what you wrote, as for this script I have tried to send data as "hard coded" and still nothing from site2, I do get a session that I have reached site2 and the output is my login screen. Please lemme know how it went schilly, and maybe if it worked you can share the code. Thanx.
  2. Hi guys, I hope this is the right place to post this. I have two subdomains, one has authentication login already setup, so I just want to use the "single sign on" method using curl to achieve this. below is my script. I have tested it and it does pass variables to the authentication page but I can not be logged in, I am hoping you guys can help. $passed_vars='l_username='.$_REQUEST["l_username"].'&l_password='.$_REQUEST["l_password"].'&returnURL='.$_REQUEST["returnURL"]; $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, 'http://example.com/play/login'); curl_setopt ($ch, CURLOPT_POST, 1); curl_setopt ($ch, CURLOPT_POSTFIELDS, $passed_vars); curl_setopt ($ch, CURLOPT_COOKIEJAR, 'cookie.txt'); curl_setopt ($ch,CURLOPT_COOKIEFILE, 'cookie.txt'); curl_setopt ($ch, CURLOPT_RETURNTRANSFER, 1); $store = curl_exec ($ch); curl_close($ch); when I do print_r($store) I can see the login page returned but no sessions set. Thanks
  3. Lefu

    Images reference

    Thanks for your replies guys. have good times
  4. ul{ display:inline; } will show them aligned horizantally.
  5. Lefu

    Images reference

    dear friends, lets say I have www.example.com and an images and css folder. 1. background:url(../images/image.jpg) no-repeat; 2. background:url(http://example.com/images/image.jpg) no-repeat; I would like to know if there loading differences here. thanx a lot.
  6. Thank you rhodesa, you sugestion worked the exact way I need. I have sudoku cells and they are grouped in 9 cells. now I can add this module and it will be easy to solve problems for players who are still learning the game. Thanx once again.
  7. hello guys, I have an array like var letters = new Array('a',...,'i'); then I have created arrays dynamically like var pgA= new Array('a1','a2'); var pgB= new Array('b1','b2'); and so on untill pgZ = new Array('z1','z2'); I want to have a loop like output is "pgA" not the contents. I want to work with arrays in the pgA .. pgZ without having to write pgA to pgZ manually in their own separate loops. Thank you for you help and I hope you understand what I wanna do here.
  8. Thank you both and your points are valid will soon comeback with what both of you suggested, however I do not have iframe on the website and that is one thing I would like to avoid at all cost. I will remove ajax from menus and leave it on page navigations because I think iframe is not what I want anymore since I got ajax. Much respect and have a great day.
  9. just implemented ajax on it and please advise me. thank you www.infinitumphp.co.za apologies for not being clear with the options.
  10. Thanks to both of you I have tested eval(), it worked with no pain. have a great week no make that a year.
  11. Thank you, I am looking in to it as you read this. will let you know how it went. thanx to both of you.
  12. Dear all, I have this code: The results is instead of hello world the code in urlinclude.php file is I am fetching my code from the mysql db, I need to output the results on the screen. allow_url_include=off how can I achieve the results? thanks a lot for your input.
  13. topic solved, I have suse10.2 and installed apache2.2.8 with php5.2.5 and it did not budge too much. thank you, I have a clear head again.
  14. dear friends, I have apache firebird mysql php now I executed this command and it gave me assurance that interbase.so is available but I have no clue as to how to make it be loaded, ie. on phpinfo() page it is not appearing hence I get this error trying to connect to my FDB: . Your help will be great. here are loaded/compiled modules:
  15. ok I want to install enable php_firebird, but I use SUSE10 and I am not sure where apxs is my system, I want to leave the apache alone and uninstall php so that I can install php manually configuring it for apache and firebird, mysql, how can I do this with less stress. if I can get to apxs directory then maybe I will succeed. (if I posted in the wrong forum please direct me) thanx
×
×
  • 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.