| |
| |
| |
|
Page: 1 2 3 4 5 6 7 8
Comments:
<0> oh' <0> umm, just unlocked the cryptex thing <0> now for the black onyx one.. =) <1> cool <2> can you join on a update? <3> hi, I have a problem in mysql with php <4> how can the url read blah.php?cart_id=aKeqYsAUxf7LZMw and $cart_id be null? <3> I had installed the php5.1.2 and mysql5.0.18 with apache2.0.55 <3> my problem is my mysql cannot work with php <3> after I have uncomment of extension i php.ini for mysql it's still cannot <3> anyone know why ? <3> I install php, mysql and apache properly there should not be wrong <1> trollboy, yes <1> brb <0> stormcrow: are you deliberately entering $cart_id and expecting it to "autmoatically" be that character string? <4> if i set a link to "catherine-zeta-jones-is-fine.php?mehappy=<? print $mehappy; ?>"> at catherine-zeta-jones-if-fine.php $mehappy should be equal to whatever it was on the first page right
<0> douglasCky: if you create a .php document with <?php phpinfo() ?> do you see mysql listed? <4> $cart_id has a value on the first page. <0> dude <0> retype that without catherine-zeta-****-tard is fine with this.php <0> that's the most annoying thing i've ever seen in my entire life <0> and once you do that, i'll tell you what to do <4> $cart_id is set to '123' on the first page <4> then <3> Stoned4Life no I didn't see mysql listed <0> then you didn't install it right <4> <a href="blah.php?cart_id=<? print $cart_id; ?>"> <4> and $cart_id becomes 231 or anything <3> Stoned4Life I had uninstall mysql and reinstall many time it's still the same <0> yes.. that's fine. so the link ends up this.com/blah.php?card_id=thsiwkalsjd .. on blah.php, you need $card_id = $_GET['card_id']; <0> $_GET get's the url id.. <4> tks i'll give it a shot <0> douglasCky: do you have the mysql.dll's ?? <3> i got libmysql.dll in php folder <0> php_mysql.dll ? <0> prolly not. you used the win32 installation? <3> yes I do have php_mysql.dll <0> it's in the folder? <3> yes, it's inside the php\ext <0> ok. move it into the php\ folder.. out of the ext folder. <0> unless you want to add the ext folder to your windows source path <4> Stoned, that threw the value. the url says blah.php?cart_id= and that's it. it's damn wierd - was working a few days ago <0> woah <0> wait <0> not there <0> leave <? print $card_id ?> ? <0> is that what you changed? <4> changed to: .php?cart_id=<? $_GET['cart_id']; ?>"> <0> noo <0> change it back <3> <0> ok. move it into the php\ folder.. out of the ext folder. <3> what do you mean ? <0> err... where did you install php? <3> c:\php <3> and the ext in c:\php\ext <0> ok.. and libmysql.dll resides in c:\php ? <3> all extension inside c:\php\ext <3> yes <0> so add php_mysql.dll to c:\php <3> in php.ini I had set the extention_dir ="c:\php\ext" <3> why need to move out ? <5> douglasCky, copy all of that dll to C:\Windows\system32 <5> restart your apache/iis <0> no <0> don't <0> is php.ini in c:\php only? <3> no php.ini in c:\windows\system32 <0> guah <0> .... <0> you're hopeless.. ok, go ahead and dump libmysql.dll and php_mysql.dll into the system32 directory <0> extension_dir = "./" is what the php extension dir should be =\ <4> Stoned, pm? or notice? <4> ya mind? <0> the SMART thing to do, and which you should hear out at least to look up in the future if you ever feel the need to reinstall php onto a windows machine, is to lookup how to add the php directory to your windows source path <0> stormcrow, yes i do mind <0> i thought the problem you had was retrieving the variable data from the url on the following page.. am i right? <4> exacto
<0> not putting the data into the url itself <4> right <0> ok, so on the next page, you use $cart_id = $_GET['cart_id']; that will put the stuff into $cart_id <4> ok i'm with ya <0> good, give that a shot <4> it's worked fine for months on end though <0> i don't see how that's possible.. using simply $cart_id w/out $_GET['thevar'] doesn't magically put information from the url into the variable =\ <4> the value is in the url on the 2nd page <6> Stoned, sorry just now I have connection error <4> you sure as hell got it working though, 'ppreciate it <0> np. <0> DouglasCky: what's the last thing you remember? <4> fifty pages, just like that one fell over all of a sudden <6> the last thing is you ask me move the php_mysql.dll into c:\php <6> it's still the same, mysql not working also <0> well.. that came before this: [22:04:58] <3> no php.ini in c:\windows\system32 .. so, you had to see something else. <0> ok.. <0> go ahead and dump libmysql.dll and php_mysql.dll into the system32 directory <0> [22:06:24] <0> extension_dir = "./" is what the php extension dir should be =\ <6> yes I put like this in php.ini <6> extension_dir = "C:\php\ext" <0> yeah <0> change that back to what i said <6> change to what ? <0> <0> extension_dir = "./" <0> and put php_mysql.dll & libmysql.dll into the c:\windows\system32 directory to go with the php.ini <6> it's stil the same <6> mysql not working also <0> phpinfo show no mysql? <6> no <0> libmysql.dll and php_mysql.dll and php.ini are in c:\windows\system32 ? <0> & extension_dir = "./" <6> sorry <6> php.ini is in windows folder <0> yeah.. i don't remember if it has to be simply in the c:\windows, or c:\windows\system32... but Satria called system32, so thought they knew something.. <0> a quick read of the manual will devulge this secret <6> Stone4Life so how now ? <0> ? <6> mysql still not listed in phpinfo <0> dump php.ini in the system32 while all the other files are there, and find out if it works. <6> i need to put php.ini in system32 ? <0> no.. reading the manual (WHICH YOU CAN DO TOO), C:\WINDOWS is a fine location for all 3 files.. <6> well, I had put the php.ini, libmysql.dll, php_mysql.dll, php_mysqli.dll in c:\windows\system32 <6> it's still the same <6> phpinfo() does not show mysql <0> are they all in c:\windows now? <6> yes <6> and in windows\system32 also <0> restart apache <6> restart already <6> mysql also restart <6> still the same <0> hmm.. <0> did you change extension_dir back to "./" ? <6> yes <0> can't imagine what you're screwing up <6> ok <6> good day <0> fwait <0> got one more thing for you <0> follow these to the letter: Control Panel > System > Advanced (tab) > Environmental Variables (at the bottom) <0> in the bottom half of that new window, scroll down till you see "Path" <0> click "edit" and add this: ;C:\php <6> ok than ? <0> click all the ok's <0> restart apache <6> still same man <0> copy php.ini, libmysql.dll, and php_mysql.dll to the c:\php directory, and restart apache* <6> ok <6> I see mysql listed already <0> finally. <6> Stoned4Life I remember lastime I install mysql5.0.16 with apache 2.0.55 and php5 <6> don't need do so much thing one <6> I just need to edit the php.ini the extension_dir to c:\php\ext
Return to
#php or Go to some related
logs:
asha gill #linux princess zoe toronto #php #india #allnitecafe bo7abtar #india simran snaps how to install suse linux 10.0files
|
|