IRC Networks
Irc Logs Stats
Start date: 2007-09-27 02:48:27
Last update: 2008-10-24 20:19:38
Channels: 41
Logged Lines: 6230436
Size: 1982.49 MB
Powered by
Channel Info
Network: freenodeChannel: #php |
Search in www.irclog.org
Log from #php at freenode 2006-07-08
Pages: 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
34
35
36
37
38
39
40
41
42
43
44
Next >
[00:02]<pzjpypyargjsys>can someone please tell me whats wrong with line 21
[00:02]<pzjpypyargjsys>http://pastebin.ca/81757
[00:03]<d9fu7>{sigh}
[00:04]<pzjpypyargjsys>anyone
[00:05]<svznrcd_>$result = connector->query(
[00:06]<svznrcd_>you mean $result = $this->connector->query( ?
[00:06]<pzjpypyargjsys>yeah but that isn't the issue, thanks though
[00:06]<bzygcnm>streaky so that line should be imagejpeg($canvas, "/path/{ $file_name = md5(time().rand());}.jpg", 100);
[00:06]<bzygcnm>right?
[00:07]<pzjpypyargjsys>do i have to put this
[00:07]<pzjpypyargjsys>'this'
[00:07]<bzygcnm>rather this: imagejpeg($canvas, "/home/newb/public_html/images/{ $file_name = md5(time().rand());}.jpg",
[00:07]<svznrcd_>no, you can't do that - imagejpeg($canvas, "/path/".md5(time().rand()).".jpg", 100); if you're gonna do it inline
[00:07]<ajppyged>Hello
[00:07]<pzjpypyargjsys>for some reason it won't allow $connector = new DbConnector();
[00:07]<||aw>prolificgnosis: class vars cannot conatin executable code, only scalar values
[00:08]<pzjpypyargjsys>so how do I get a connector object
[00:08]<||aw>prolificgnosis: you would use a constructor to initialize that
[00:08]<svznrcd_>prolificgnosis, no, it probably wont, use a constructor maybe?
[00:08]<pzjpypyargjsys>but I thought I could get an actual object with all the methods of the DbConnector
[00:09]<||aw>prolificgnosis: also you have to do $this->connector->query('select...
[00:09]<svznrcd_>plus, you can't have ill('1234'); there like that
[00:09]<svznrcd_>fill*
[00:09]<svznrcd_>||cw, yeah, i already mentioned that
[00:09]<||aw>k
[00:10]<||aw>prolificgnosis: have you seen php.net/oop and php.net/oop5 ?
[00:10]<bzygcnm>i did something wrong
[00:11]<bzygcnm>i made the images folder writeable dont understand
[00:11]<bzygcnm>4newbs.com/test.swf
[00:12]<ajppyged>I've installed a set of php scripts in a sub directory of the root folder on my website. My permissions are fine, but everytime I try to run this newly installed script the browser kicks me back to my index. Any ideas?
[00:12]<svznrcd_>prolificgnosis, http://pastebin.ca/81772
[00:12]<bzygcnm>coffin, you have to give the absolute path in your configs then
[00:12]<pzjpypyargjsys>oh, so i should assign dbCOnnector in a contructor for userContact
[00:12]<ajppyged>that's all done in the apache config?
[00:12]<sxrdjw_dyf>is "\r\n" == chr(10).chr(13)?
[00:12]<svznrcd_>yup
[00:12]<ajppyged>ah so simple thank you
[00:12]<bzygcnm>no coffin, should be in the scripts config files
[00:13]<bzygcnm>when you define path, should look something like /home/username/public_html/subfolder/
[00:13]<ajppyged>let me check to make sure they're not like that already
[00:13]<svznrcd_>prolificgnosis, http://pastebin.ca/81774 - more to the point
[00:14]<bzygcnm>scripts be default are set to be installed in the root
[00:14]<d2c>what does this command do?
[00:14]<d2c>echo $mysms->session;
[00:14]<d2c> echo $mysms->getbalance();
[00:14]<d2c>/me saysecho $mysms->session;
[00:14]<d2c> echo $mysms->getbalance();
[00:14]<d2c>echo $mysms->session;
[00:14]<d2c> echo $mysms->getbalance();
[00:14]<d2c>echo $mysms->session;
[00:14]<d2c> echo $mysms->getbalance();
[00:14]<d2c>/me says echo $mysms->session;
[00:14]<d2c> echo $mysms->getbalance();
[00:14]<d2c>echo $mysms->session;
[00:14]<d2c> echo $mysms->getbalance();
[00:14]<sjryjlrvx>im having a dilemma about my project
[00:14]<d2c>what do these commands do?
[00:14]<d2c>!
[00:14]<sjryjlrvx>should I divide it to alot of small php files or to big chunks of them?
[00:14]<svznrcd_>mbk, ever hear of pastebin, and.. you tell me
[00:14]<fusxuyrr>everyone has them
[00:14]<d2c>normal socio
[00:15]<sjryjlrvx>mbk?
[00:15]<d2c>please
[00:15]<sjryjlrvx>what is normal?
[00:15]<d2c>neither largenor small
[00:15]<svznrcd_>...
[00:15]<d2c>what is meant by this
[00:15]<d2c>-> in php?
[00:16]<d2c>echo $mysms->session; // will it execute a command or will it display results to the screen???????
[00:16]<d2c>please tell me
[00:16]<svznrcd_>mbk, http://php.net/oop
[00:16]<ajppyged>still no luck getting it to work, brinked
[00:16]<d2c>if i comment it out , will it haveany effect on the script OR it just displays text?
[00:16]<d2c>please
[00:17]<d2c>tell me
[00:17]<svznrcd_>oh seriously
[00:17]<d2c>anybody?
[00:18]<svznrcd_>http://en.wikipedia.org/wiki/Manners
[00:18]<d2c>all i need to know is (whether echo $mysms->session; is used to display the TEXT like in echo "hi"; or it is ALSO used to execute commands ??????????????????????????????????????//
[00:19]<ajppyged>are you still able to help Brinked?
[00:19]<fxyfyf>mbk: we did not write your class
[00:19]<d2c>but u know what is echo $aaa->lala;?
[00:19]<d2c>is it executing a command this way or writing text?
[00:20]<fxyfyf>php.net/echo
[00:20]<d2c>if i comment it out, will it have any effect?
[00:20]<d2c>!
[00:20]<fxyfyf>you really need to learn how to work with others and act in a respectful intelligent manner
[00:22]<fxyfyf>http://php.net/manual/en/language.basic-syntax.comments.php
[00:23]<wjlllrws>lol
[00:24]<wjlllrws>That was so sad it was actually funny :)
[00:24]<ajppyged>Could anyone please take a second to help me work through this problem?
[00:24]<wjlllrws>!+g1
[00:24]<lxl-2jv>Guideline #1) Don't ask to ask, Don't state: "I have a question", Don't ask: "Is anyone around?" or "Can anyone help?". Just Ask The Question
[00:24]<ajppyged>I've installed a set of php scripts in a sub directory of the root folder on my website. My permissions are fine, but everytime I try to run this newly installed script the browser kicks me back to my index. Any ideas?
[00:25]<rddjguc>just curios, what text editors do you php guys use?
[00:25]<eee>Hi! Is it posibble to use an array as a $_SESSION variable?
[00:25]<-- svgvsdyzgjvr__ xr>/dev/null")
[00:25]<eee>If yes, then how?
[00:26]<wjlllrws>Um... Have you read the README / INSTALL file?







