| |
| |
| |
|
Page: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
Comments:
<0> Hey <1> it's just saying it doesn't exist <1> but I have removed the comments from the extension on the mysql.dll and I set up the extension dir to where the mysql dll is <0> is there a way to run loops simultaneously <2> gantal: No <2> Though, there is probably a way to do what you want. <0> not even with fork? <2> Well, if you fork, yes. <2> You'll have to look at the pcntl extension for that. <3> albo: http://pastebin.com/580028 <0> hmm <0> thx <3> ... Acs: http://pastebin.com/580028 <0> i like forking ;) <2> :P <4> pcntl_fork?
<1> alecs.. but the error wasn't in the code man <1> Fatal error: Call to undefined function mysql_connect() in C:\Programas\Apache Group\Apache2\htdocs\livraria\ligabd.php on line 8 <1> mysql_connect is a mysql function right? <2> Yes <1> so I don't think the dll is loading or somehting <2> You haven't got the MySQL extension enabled on Windows. <1> kuja I do <2> There's 3 things you must do. <2> No, you don't. <1> I have removed the comments on the extension=php_mysql.dll <2> Unless you've loaded it and haven't restarted Apache, it's not loaded. <1> I have restared it <1> more than once <2> have* <5> hey there php gods, I'm trying to learn how to trick the CSS from my CMS so that it will customize my forum? <2> Acs: Likely that you're not modifying the right php.ini <5> this is the template for my board: http://pastebin.com/580030 <5> I'm guessing that I have to change line 75, but not sure <5> what to do.... any ideas? <1> I think I am <6> Is it normal that PEAR.php triggers Notices <6> ? <2> Acs: And which one would that be? <1> because I set up in apache that the directory of the php.ini <1> was c:\php <2> EricCartman: Yes, because it's stupid. <1> PHPIniDir "C:\php" <2> Acs: Where does phpinfo() say it's looking for the php.ini? <6> kuja, what's your point ? <1> Configuration File (php.ini) Path C:\php\php.ini <2> EricCartman: My point is it ****s, it's badly coded, and the answer being "yes", that's supposed to happen. <0> Acs, uninstall all your crap an go to apachefriends.com and get xampp complete apache php mysql <1> ... <2> Acs: Okay, now have you also made sure that you've changed extension_dir in your php.ini to point to the absolute path of your extension directory? <2> As well as placing libmysql.dll somewhere recognizable by your %PATH% environment variable. <1> extension_dir = "./ext/" <2> Change that. <2> Make it point to C:/php/ext (***uming that's where it is) <1> it is <1> ok <1> libmysql.dll ? <7> hey, I'm thinking of using scrambled pictures for an activation form, but I'm not sure at all how to make this, tips? <2> Acs: Now, also move libmysql.dll to somewhere recogizable by %PATH% or add C:\php to your %PATH%. <1> I have libmysql.dll in the windows folder <2> Acs: And is C:\WINDOWS in %PATH%? <1> ops <1> I have it in the php dir also <1> I think the one in windows was from a previous instalation <1> where do I define the %PATH%? <2> It *DOESN'T* matter where it is, as long as it's somewhere in %PATH%. Do you know what %PATH% is? <1> no I don't <1> could you please explain <1> or tell me where I can find out please <2> %PATH% is an environment variable. Right click on My Computer, go to Properties, then I believe you must click the Advanced tab and go to Environment Variables. <7> hmm, how can I check if I have php-gd2 on my server? <2> eml: phpinfo() <7> ah =) <1> kuja ok I have see the PATH dir <1> I think if I put it in system32 dir <1> it will see it <7> damnit, I don't have it >_>
<2> You may place libmysql.dll in any of those directories. <2> You may also add your C:\php directory. <2> I usually add C:\php so I don't have to type C:\php\php.exe in my command-line. <2> Whenever I want to use PHP on the command-line, that is. <1> I have never used php on the command-line <1> just for web stuff <7> hmm, can I solve a scrambled-letters-activation form with something else than gd2? You know those pictures with letters that you have to copy <2> eml: Without GD? Using some other imaging library, maybe ImageMagick, if you have it installed. <3> what is the function for concatenation ? <2> Otherwise, no. <2> alecs: $foo = $bar . $baz; <2> alecs: $foo .= $bar; <3> ah <3> ok <2> Those two ways are how to concat. <7> kuja, http://eml.nu/phpinfo.php <- I didn't find imagemagick/gd2 by searching, it'd be nice if you would try to look very quick in case I'm wrong <7> and maybe find something else I could use <2> If you're on shared hosting or on any sort of hosting, you'll have to ask your hosting provider. <7> unfortunately he won't install anything <2> Then you're... screwed. <7> ok <7> hmm, maybe I could make 2-3 different <td>s with letters that you have to match <7> not spam-safe, but it's a start at least <2> Just generate a random string. It's decent for minimal sites. <8> hi, can anyone help with this please Call to undefined function: gzfile() in <7> kuja, kay <2> porkpie: You don't have the zlip extension compiled/enabled. <2> zlib* <8> kuja:ah OK ...must be a port for that in Freebsd ?? <2> Maybe, I haven't used FreeBSD. <1> hahah <1> now it works!!!! <1> but in the phpinfo I get <1> Client API version .1.7 <8> my php.info should show if it's complied <1> when I have installed MySQL 5.0.18 <9> **porkpie scrathes his head <9> **scratches <9> ;) <10> can you use HTTP_Client to read in an external web page and incorporate it into your own site? <2> Welly: We don't support PEAR here. <10> kuja: is there a Pear channel? <2> But the answer is probably "yes" <9> couldnt you use curl or file_get_contents() even <2> If you want to know how, then ask efnet/#pear, maybe. <10> thanks <1> this is weird lol <2> ? <1> this Client API version .1.7 <2> ext/mysql is for MySQL 4.x and below. <2> ext/mysqli and pdo are for 4.1 and above. <1> when I installed the 5 <1> hhumm <2> I suggest you downgrade your MySQL. <1> why? <2> Because you don't need a newer MySQL. <1> can't i just load the php_mysqli.dll ? <2> Apparently you're using the mysql_*() functions, so it's obviously you won't be using the features of MySQL 4.1 and above. <2> s/obviously/obvious/ <8> kuja:hmm! this is a strange one ....would zlib show up in this http://www.mambotech.co.uk/php.info <11> I have a string that might contain non alphanumeric characters. What is the simplest way to ensure this string consists of only alphanumeric (aka- drop any odd chars)? <1> maybe I will. This was just an old project I set up to see if I could work with mysql <2> [fields]: preg_replace() <11> kuja: what functions replaced mysql_*()? <2> They aren't replaced, they are there for MySQL 4.x <2> php.net/mysqli and php.net/pdo are in favor of the newer versions. <11> kuja: I'm terrible at regular expressions, can you compose the preg_replace() that I want? <2> I normally would tell you to RTFM. <8> kuja:is zlib a switch in the php.ini ?? <11> the manual seems down right now <1> kuja ok <1> I'll see if I can downgrade <2> [fields]: The manual is not down.
Return to
#php or Go to some related
logs:
fatx FC5 #gentoo #mysql #math #css concact two strings sql #linux how to uinstall fluxbox #centos #perl
|
|