@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info
Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet
Page: 1 2 3 4 5 6 7 8 9 10 11



Comments:

<0> hey guys, gotta run.. thanks for the advice! :)
<1> yo
<2> take care, bye
<0> u2 :)
<3> Umbrum, theres a function in php that will create a chmod 777 dir?
<2> yes, chmod()
<2> mkdir() then chmod()
<2> problem is if you have PHP running is SAFE MODE
<2> BIG problem
<2> coz mkdir() will make directory with Apache uid
<3> How do I verify if its safemode
<2> and chmod won't be able to change permissions
<3> phpinfo?
<2> its in echo phpinfo();
<3> ok
<2> yep



<2> try mkdir first without chmod
<3> safe_modeOnOn
<3> :(
<3> >><
<2> mkdir("/path/dirname", 0700);
<3> k
<3> ok it created the right directory at the right place
<3> but I cant open it
<2> check current permissions
<3> only owners were checked
<2> wait, I meant 0777
<2> sorry, my bad
<3> the 0700 i cant delete lol
<3> it says deleted 0 files
<2> delete with script
<3> rmdir im guessing?
<2> yep
<3> ok
<3> well
<3> it creates the dir but the files afterwards isnt uploaded
<3> and the new dir's chmod is 0755
<3> :[
<2> whats a permission now with mkdir("/path/dirname", 0777);
<2> oh
<2> thats no good
<3> Can I contact the admin so he can take safe mode out? is that what cause it?
<2> I have no workaround for it, except for prepending usernames to file name, and then let them download those files by p***ing it as GET var to a script
<2> they will most probably refuse, SAFE MODE is usually for security purpose
<3> damn :/
<3> I kinda know him though :|
<2> the script which GET var is p***ed to will rename file back to its name and will force download
<2> oh ok, then he may as well do it if you know him
<2> On my servers, I never put SAFE MODE on
<3> if he turns it off, that means all his other clients will have if on off too right
<2> yep, those on same physical server
<3> :/
<3> so lets say i use the GET method
<2> nooooo
<3> what would be stored in the db? filename+username appended
<3> :|
<2> I store it notmally, just prepend username to file name
<2> and then for users to download file, don't let them use direct link, like http://www.domain.com/images/files/file.ext
<3> so like smith82applepies.jpg
<3> well they wont be downloading, its like images for books that i want to be displayedon the webpage
<2> rather use http://www.domain.com/downloadscript.php?file=file.ext&user=username
<2> you may even remove the "&user=username" part is username is stored in cookie
<2> oh ok
<2> then yep, just prepend usernames
<3> ok i will try that then
<3> safemode on.. pff
<2> it may be neat to prepend $username."_".$filename
<2> just so its easier to know which part is username
<3> good idea :|
<3> and like, move_uploaded_file() will upload the file with its new name
<2> yep
<4> what's that linux TV program thing
<2> GShow?
<5> mythtv?
<2> there are many
<2> tvtime
<6> Hey all , my php is hanging says its trying to contact the sendmail.php, but its just waiting for localhost



<7> how does it 'say' that?
<6> when i hit the submit
<6> Im new to php
<7> did you write this?
<6> um yah
<2> does it use SMTP or mail()?
<8> guess what I need help with?!
<8> http://s176171062.onlinehome.us/upload/fhh/1lo3jzp-j5k4vc.png
<6> smtp
<2> paste couple of relevant code lines plz
<6> I think my install is configured wrong
<7> uhg. i'm on the road like 16 hours this weekend
<2> php_mysql|brb: when you back to php_mysql, just letting you know your png link does not open
<7> works fine for me
<2> huh, strange,m it gives me broken image
<2> Internet Explorer 7 (RC1) does not open it ! Firefox opened it!
<2> can anyone test with IE7 (RC!) ?
<2> RC1
<7> i can't
<3> Umbrum, that prepend stuff works great, :D
<3> thx.
<2> yw :)
<9> Whats the liink?
<2> link: http://s176171062.onlinehome.us/upload/fhh/1lo3jzp-j5k4vc.png
<2> above link openbs in FireFox, but not in IE7 (RC1)
<2> with me at least
<10> don't have RC1, but works fine with IE7 beta 3
<11> IE has never been able to parse png properly
<11> and its sad
<11> because png is open source
<2> yes, my IE7 (beta3) was showing PNGs on one of my sites, with transparency alpha properly working
<2> but now IE7 (RC1) does not open it at all, interesting
<8> i even made the png with mspaint
<8> lol
<8> anyway
<8> Two-Bits: http://s176171062.onlinehome.us/upload/fhh/1lo3jzp-j5k4vc.png
<8> you're smrt :)
<7> he is not!
<8> why do i get such an error :'(
<8> jedzilla :|
<12> i am?!
<8> my names jed :D
<8> jedidiah on my birth cert but iv been called jed since i can rember
<8> anyway
<8> my error!
<8> <conrad107> http://forums.winforums.org/showthread.php?t=7414 points to http://forums.winforums.org/showpost.php?p=41702&postcount=20 which addresses the issues
<12> because your php.ini is not pointing to the correct extensions folder, that dll file is missing, your webserver doesn't have access to that file (permissions) or a number of other reasons
<8> nah
<7> php_mysql: did you happen to read the mysql page in php's manual
<8> i have php_mysql.dll and php_sockets.dll in php ini
<8> and sockets loads fine
<12> the 'lib' dll should also be in a system searchable path
<8> C:\www\php516 is in %path%
<12> most just toss it in system32
<12> no, you're missing a dll
<12> er.. nm, there it is
<8> i opened php_mysql.dll is depends
<12> is that the right filename?
<8> and there is no missing dlls that php_mysql.dll needs
<8> iv renamed nothing
<8> all files in C:\www\php516 came from php.net
<12> do you have a lib dll in your system32 that might be of the wrong version?
<8> downloads page
<12> that's a rather odd set up though... no extensions folder? did you manually remove it?
<12> not that it should matter
<8> searching C:;D:;E: for libmysql.dll :)
<8> yeah
<8> i like clean folders :
<8> unneeded files? DELETED
<7> i don't think i like eclipse
<12> could be worse. could be netbeans
<7> that's what i use :P


Name:

Comments:

Please enter the result of the sum 63 + 46 (to avoid spam):






Return to #php
or
Go to some related logs:

#kl
#india
#allnitecafe
#india
#allnitecafe
#india
#india
#kl
KARTULAD PORNO
sahrul khan



Home  |  disclaimer  |  contact  |  submit quotes