Jump to content

NoorAdiga

Members
  • Posts

    14
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

NoorAdiga's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Yes I did ,,, but I still cant find a section for OCI8 in the phpinfo();
  2. Hey ! I'm making a project using php5 and Oracle 10 g, but I 've a problem configuring 'em together I uncomment the line extension=php_oci8.dll and updated the line extension_dir = "./ext" and when I try to execute phpinfo(); I still can't find a section for OCI8 .... what else should I do ?!? Thnx in advance, Noor
  3. There is a misunderstand ... I run the code once on the first windows with the same browser and didn't give me the result (and that is the window I 've my db on) and second time a completely different operating system (another windows xp) with another apache/php and it runs correctly with the session set I'm not using any different browsers or o.s at the same run!
  4. yes sure, I'm running the same script on one o.s and browser at at time, not together ... and this make sense , bcz both of 'em on the same pc thanks for ur replay
  5. I'm using firefox for both o.s but with different versions ... so how 2 check my browser ? and what the required setting ? can u explain more ??? Thank u for ur replay !
  6. :'( nobody knows anything that might help
  7. I 've two operating system (both are windows XP but different editions CDs) I write this code in the first file <?php session_start(); $_SESSION['hi']= "Hello!"; echo "The session hi contain ".$_SESSION['hi']; ?> and this code in the second file <?php session_start(); if (isset($_SESSION['hi'])) echo "set !"; if (!isset($_SESSION['hi'])) echo "not set !"; echo $_SESSION['hi']; ?> first I run the first page the I open the second .... it prints not set and null only but the same code run on the other windows xp and printed set Hello! what do u think ?
  8. well ... Oracle has this problem ... I spent a lot of time till I figure out why my code didn't work and after removing the nested fetch it worked well Mysql is more friendly ... maybe I will convert to it in the next project Regards, Noor
  9. Ya of course I make session_start() and the same script run correctly in my first windows so I think the problem is sth related to the settings ... the syntax is 100% correct !
  10. Hey ... u r making two nested fetch ... I think this is the problem ... I didn't use mysql b4 , I use Oracle database but there I can't make nested fetch ... fetch after another Solution1: $result = mysql_query("SELECT * FROM groupuser WHERE user='$username'"); while ($row = mysql_fetch_array($result)) { $gid = $row['gid']; echo "GIDs is " . $gid . ".<br />"; } $gresult = mysql_query("SELECT * FROM group where gid='$gid'"); while ($grow = mysql_fetch_array($gresult)) { echo $grow['name']; } } close the first fetch before starting the second Solution2: if u need the data from the two tables at the same time .... u can make a join relation between 'em if there is any common things and execute a single query with single fetch Solution3: if u r going to use the first data in order to get the second data ... fetch all the first data and store it inside an array then take 'em from that array .... the make the second fetch I hope this will work, plz try any solution and tell me back about the result Greetings, Noor
  11. Hey folk ... hope u r all doin' good my problem is about sessions in php5 I'm having 2 windows XP on drive C and D The session work correctly on the first windows, but while trying (the same script) on the other windows I get the following detailed problem: 1. the session is created at the first page and I can echo it ... and I see it in the folder I save sessions in (I knew it bcz I empty the file before running the script and after that I got one new file with strange file) 2. when I check for that session I created from another page it says its unset and return nothing .... The same script run on the first windows but not the second one hmm but I need to run it on the second windows bcz my database is there and my new project use data base any suggestions ?!? plz help
×
×
  • 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.