| |
| |
| |
|
Page: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
Comments:
<0> i've compiled it like four times with-mysql <0> but i'm not sure that it's really enabled <1> What makes you think it is not? <0> well i'm trying to install horde, and the test page on horde says that it's not enabled <0> i suspect that i'm missing the .so file.. but.. when i compile php its not spitting one out <0> so i think my problem is when i'm compiling php.. <2> Mr3: Which version of MySQL is installed on your server? Can we see your phpinfo()? How about config.log? <0> but.. i'm not sure where i'm going wrong <3> philip, ok latest updated code: http://pastebin.com/654523 <1> Mr3: mysql -i|grep mysql <- does that include anything about mysql? Did you provide the correct path to mysql when you used --with-mysql? <0> http://omg.three-sixteen.be:3160/horde/test.php?mode=phpinfo <3> for some reason its giving me the same error? <4> what error <2> Hmm...when did we stop showing the configure line in phpinfo()? <5> good night all <1> good question.
<0> mer? <1> Mr3: what version of MySQL are you using? <2> Mr3: Check out: http://www.rfserve.net/phpinfo.php <2> See how it shows the compile flags? <4> perhaps you have two different php's, one you are compiling but not installing, and this ubuntu one <0> hmm, that could be <0> i did use synaptic to install php at first <6> hello <4> this one has ubuntu in the name <0> i also see what you're saying about the configure flags <0> is it because it's php 5 <0> ? <3> philip, Possible file upload attack! <4> i am guessing ubuntu took it out of this TML <2> philip: Ah. <2> That could be <2> Becuase it still shows up in ./ext/standard/info.c <0> should I remove it and try to install PHP on my own? <2> Even in SVN <2> s/SVN/CVS/ <4> surfdue: look in $_FILES, pastebin that info <0> well, wait a minute.. <3> k <3> echo it you mean? <4> Mr3: why not just install it all through ubuntu? <0> when i do php --version its returning the version i most recently built <0> i did install it all through ubuntu, and its not working <3> philip, it already does and it does nothing :| <0> so now i'm trying to do it on my own.. and it's still not working <4> yes, that's the cli/cgi, a different php <0> hehe <6> can someone help me out really quick? <7> no <8> not me <2> "Add 052-phpinfo_no_configure.patch, which disables the display of our "Configure Command" in phpinfo(), which was the source of many bogus bug reports over the years, due to people misinterpreting its meaning." <9> jesmith, ask, don't ask to ask. <4> TML: interesting :) <6> okay.. well i have a switch statement that i want to include in a variable.. do i create a function to do that? <4> a switch statement inside a variable sounds scary <7> o.O <2> O.o <9> jesmith, I don't get what you mean. Explain a bit. <0> if theres one thing about linux that frustrates it it's the fact that i need to make all my own modules ;) <0> windows just comes with them <0> hehe <4> Mr3: your ubuntu has many too <0> but no mysql one :( <4> surely it does <2> apt-get install php5-mysql <2> Mr3: Personally, I find it frustrating that it's next to impossible to compile extensions for Win32 <6> what is a good site to post php scripts really quick? <6> well code? <0> well, TML, I will give you that <9> www.pastebin.com <10> pastebin.com <0> I had been trying php-mysql.. of course not the 5 <0> argh <6> thanks <10> np <9> TML: want hashhashphp.org? :] <6> okay. i want to be able to echo this code into my index page in a single line
<6> http://pastebin.com/654538 <0> yay <0> that enabled mysql support <0> :) <9> jesmith, you should use an array. <9> $content['about'] = "blah"; $content['contact'] = "blah"; ... <9> Then, echo $content[$pg]; <11> I'm not sure when this happened but for some reason I now have to specify $_FILES['userfile']['tmp_name'][0] to get the tmp_name value. Before I never used the [0] part. I just kept it strictly by the php docs. Something change in PHP? <3> philip, seems to work not im getting Permission denied in /home/orbno/public_html/includes/upload.mod.php on line 9 <6> ah. <6> so get rid of the switch statement altogether? <9> I would. <2> Julian|Work: Not really, but then, I don't own hashphp.org <7> >:) <9> I got the impression you did for some reason. <9> May as well keep things current. <6> then with $content[$pg], when someone goes to domain.com/index.php?pg=about then it should do the same thing? <4> surfdue: check your permissions then, to the folder that you're writing to <7> The domain is Dave'y, IIRC <3> the folder is 777? <7> er... Davey's <3> the file is 777? <9> jesmith, if you set $pg to $_GET['pg'] <3> i have $uploaddir = '/home/orbno/public_html/files'; <3> philip, i think this example is messed up:| <4> that must be it <12> are you using move_uploaded_file()? <6> would you be willing to write the most efficient script example at pastebin? i would really appreciate it :) <3> philip, Warning: move_uploaded_file(/home/orbno/public_html/filesRCT3plus 2006-03-31 16-47-42-06.jpg): failed to open stream: Permission denied in /home/orbno/public_html/includes/upload.mod.php on line 9 <3> Warning: move_uploaded_file(): Unable to move '/tmp/php5sKaT2' to '/home/orbno/public_html/filesRCT3plus 2006-03-31 16-47-42-06.jpg' in /home/orbno/public_html/includes/upload.mod.php on line 9 <3> Possible file upload attack! Here is some more debugging info:Array ( [userfile] => Array ( [name] => RCT3plus 2006-03-31 16-47-42-06.jpg [type] => image/jpeg [tmp_name] => /tmp/php5sKaT2 [error] => 0 [size] => 69757 ) ) <4> and all this time we thought the php manual was correct <3> sorry! <0> Thank you for your help guys.. I'm gonna idle <12> well theres the problem <11> Why is $_FILES['userfile']['tmp_name'] returning an Array when it should be a string pathname? <12> look at the nice spaces?! <3> dammit here http://pastebin.com/654557 <4> you are missing a / in your dir <3> oh! <13> zenaphex: probably because your form is ***igning the name to an array <13> zenaphex: you most likely have something like: <input type="file" name="myfile[]"> <4> surfdue: you really need to do more thinking and less talking and ***uming <3> duh. <3> lol <11> Ah dang lol thx <14> ok ive read through the imap functions, how do i get a list of all the msg_numbers <14> i can get all the headers but it doesnt show the ones flagges as seen <6> pm with that if you get a chance <6> i gotta go <14> flagged* <15> how can i find where my php binary is? <4> whereis php or which php <14> i found the function to clear the flags but i dont know how to find the msg number of the msgs <16> anyone recommend a particular MVC for php? <16> http://www.phpwact.org/php/mvc_frameworks <-- so many choices :-/ <15> which php returns nothing <15> :( <2> Pretto: What OS/distro? <15> ubuntu linux <15> Linux california 2.6.15-20-386 #1 PREEMPT Tue Apr 4 17:48:51 UTC 2006 i686 GNU/Linux <14> usr/bin/php? <2> Pretto: Try /usr/bin/php4 or /usr/bin/php5 <2> Depending on which you installed <15> pretto@california:~$ whereis php <15> php: <15> pretto@california:~$ <2> Menthol: You get the message number with imap_uid <2> Pretto: Try /usr/bin/php4 or /usr/bin/php5 <2> Depending on which you installed <17> is there a php equivalent of perls ntlmgen? <18> wtf , i sleep during the day, and i work during night, shouldnt be viceversa? <17> or can i run perl scripts within php? <7> scotepi: 'exec'
Return to
#php or Go to some related
logs:
too many levels of symbolic links mythtv #perl #centos perl -e fork while fork oblovian #perl #bash #fedora Fatal error: Call to undefined function: escape_data() #css
|
|