@# 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 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28



Comments:

<0> with the built in email system in php, can you add attatchments?
<1> karrot-x: yea, look at the user-notes on the mail function page
<0> itrebal: is that going to be safe enough?
<2> I am looking to create a webhosting setup such that I can have a central php page in which I can enter a username and a p***word and have that setup up on a remote server. What should I use for the xml-rpc server on the remote machines? It needs to run as root since it creates users and have some sort of authenication.
<2> or what is a better way to create this setup so I can add users to remote machines from a central server
<1> is that for the 'Instant Activation' sort of deal?
<2> I just want to be able to set up users remotely from my main php control panel
<3> is it bad to have php running as cgi?
<1> you'd probably want to use Perl, Python or something else... not PHP for a server :)
<3> is any functionality lost?
<4> hax: no.
<1> hax: you dont have $_SERVER['QUERY_STRING']
<3> Stormchaser: how would i tell if its using fastcgi or not?
<1> phpinfo
<2> itrebal: how do you do authenication, I don't want anybody to be able to add and remove users
<1> aldug: uhh... id unno? you'd have to figure it out



<3> itrebal: you're right, i don't have one of those
<3> heh
<3> itrebal: is there a workaround for that?
<2> itrebal: what do you mean, I don't see any auth stuff in the php client functions
<1> and not having $_SERVER['query_string'] kills me :)
<1> the server would ask for authentication, and then your client would see its asking for authentication and provide it?
<2> itrebal: I supposed I could make the "secret p***word" or whatever be the first argument of every method call
<1> you *could* but i am trying to leave behind my PHP socket programming
<2> itrebal: what does that have to do with sockets?
<3> Stormchaser: i think my host only runs php as cgi... but you think thats okay for most uses?
<3> Stormchaser: i think it might be using fastcgi to do it
<1> mehhhh
<1> i dont wanna downgrade to php5!
<5> how do you guys safely handle form input? strip_tags? addslashes?
<1> kombi__: for database insertion?
<6> I take whatever's in $_POST or $_GET...
<5> itrebal: for example..
<5> freeone3000: that's not very wise..
<1> kombi__: for database stuff? or just in general?
<5> itrebal: both
<5> itrebal: for database stuff I try to rule out everything accept possible values, but what about stuff like feedback forms?
<1> kombi__: when i'm inserting into a database, i check to 1) make sure its the same type as the column (for int collumn, it has to be int) and then i run everything through http://us2.php.net/manual/en/function.mysql-real-escape-string.php
<7> hi. i don't see on any file upload cl*** addslashes to the uploaded file. is that safe? for instance, user uploads test'test.txt aren't slashes needed there?
<8> hello
<8> =)
<9> Pincel: no, that does not need slashes.. unless you want to add it to a database or do something to it where ' can cause a problem
<7> niraj, that's the case. the path where it would be stored will be added to a database.
<9> Pincel: then perhaps you should use something to escape special characters before p***ing the file name to the sql query
<7> niraj, but my doubt is even during file proccessing, let see you add the path to a variable to execute it later...
<9> Pincel: see mysql_real_escape_string() for mysql
<9> Pincel: if you want to execute the file, then there's a escapeshellcmd() function to escape special characters
<7> niraj, ok, thanks :)
<9> :)
<10> guys, does php allow to connect to a MS access database?
<1> yea
<1> i think, anyway
<9> yup, it does.. never done it before though, but i've seen it done :P
<10> even in a php install running on a linux box?
<1> maybe
<10> I can't understand why someone whould do that
<9> i think so.. if you have the ODBC functions, it should work
<10> thanks guys
<11> Hi !
<11> i have a problem with php and mysql
<12> php problems here, mysql problems ##mysql <-- there
<13> php and mysql go together like water and oil
<12> you mean like they're totally not able to mix?
<14> php sits happly on top of mysql? :D
<14> *happily
<11> Call to undefined function mysql_connect()
<1> grr.... i installed php5 but still mime_content_type isn't there
<15> Deb_Man: which verison of PHP are you using?
<15> *version
<1> HOLY ****
<11> 4.1.x
<11> i probe at Debian and Ubuntu
<11> the same problem
<11> i can`t run Mambo either
<4> 4.1? Why?



<16> Fatal error: Cannot instantiate non-existent cl***: directoryiterator
<16> the problem is that parse unexpectedly stopped recognizing DirectoryIterator
<1> my server went into nutso-mode ;(
<4> pippijn: wht version of PHP do you have?
<16> I don't know.. it is on a remote system
<1> phpinfo();
<17> Hi, I have written a PHP script that dynamically creates an image and displays it on screen using the function ImagePNG. Now I want to include this image (which is actually a php script) in a forum signature. The problem is that usually forums don't accept the extension .php as an image
<16> itrebal: is that printed on the page?
<16> ah
<4> AnarkiNet: Use apache's ForceType. Now go google.
<1> pippijn: yea
<16> ah
<16> 4.1.2
<4> um...
<4> Are you sure it's *4*?
<1> erggle
<16> Stormchaser: yes?
<16> well that is what the phpinfo(); gives
<16> Stormchaser: PHP Version 4.1.2
<4> pippijn: directoryIterator is a part of PHP5.1, from the SPL
<16> https://cat2.dynu.ca/kshinji/se/
<16> :\
<16> ok then **** -_-
<18> can anyone hook me up with a p*** for katesplayground.com?
<16> I'll have to ask for an upgrade
<1> Xsploit: this isn't exactly the place...
<18> really?
<18> i thought this was a geek room
<18> thus the ideal place
<18> :p
<15> Xsploit: try #wankbank
<15> heh
<13> are there any geeks in here?
<16> ^_^
<4> bratty: You never know...
<1> not i...
<16> depending on what area...
<19> hello, I am currently trying to send mail using: mail('joshua.abbott@fiberia.net', 'My Subject', 'My Message'); and I am not receiving any mailings. The local sendmail binary is running. Anyone have any ideas?
<20> hi everyone
<21> If you want to create an empty variable, is there something like "var $var;" or do you have to use "$var='';"
<1> jabbott: check the sendmail binarys
<1> logs*
<20> i want to know if anyone know a french php channel on irc
<22> hello, do you support the install of php? as in I have it installed, just I don't know if I need to do anything to apache to make it start? because it won't parse php as of right this second.
<4> um... #php.fr?
<4> tuxtheslacker: php.net/install
<22> Stormchaser, the thing is that it is installed, it came with slackware, but do i need to fool around iwth apache first?
<22> if that's not supported here, I'll hobble away. haha!
<20> Stormchaser the phpfr channel is a "bit" empty
<1> !tell tuxtheslacker about at
<19> ah
<23> what are php session ids typically called? I've seen PHPSESSID, sid, session
<19> itrebal: I'm getting 127.0.0.1 Refused Connection
<24> session_id(); if i remember right
<22> itrebal, thanks.
<23> i mean the variable
<23> name
<22> itrebal, I did that, and restarted, and it's still not working.
<1> i too am having issues
<1> i screwed up my entire server
<25> hehe
<1> its... bad ?
<26> hi
<26> can anyone help me?
<23> are php session ids always 32 characters long?
<26> http://194.251.103.119/photo/install.php
<25> what is your problem?
<26> I can't install it
<26> I'e using win2k
<26> wit apachen.php,myslq are installed
<27> Does phpmyadmin allow you to create foreign keys?
<27> It seems like it'd be retarded not to but I can't find the way to create them.
<26> http://194.251.103.119/FusionBB_v1.0/
<26> work s fine


Name:

Comments:

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






Return to #php
or
Go to some related logs:

#perl
openzaurus mysql-native
#perl
malicus removal
no screen found xserver failed ubuntu
#php
smbnetfs ebuild
#math
yast rausb0
#gentoo



Home  |  disclaimer  |  contact  |  submit quotes