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: 1822.69 MB
Powered by
Channel Info
Network: freenodeChannel: #php |
Search in www.irclog.org
Log from #php at freenode 2006-05-11
Pages: < Prev
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
45
46
47
Next >
[10:02]<anand>hi guys :)
[10:02]<anand>just a question... :D i've a little problem
[10:02]<anand>[Thu May 11 08:41:55 2006] [error] [client 127.0.0.1] PHP Fatal error: Call to undefined function mysql_connect() in /var/www/htdocs/DbbS/includes/connect.php on line 13
[10:02]<anand>ummm.. why ? ;)
[10:02]<pjffyvr>You don't have mysql support installed
[10:02]<ymrg>Jejem: check phpinfo();
[10:03]<ymrg>Jejem: if you dont have mysql in there, install it
[10:03]<ymrg>Pollita: have any ideas for me?
[10:04]<pjffyvr>idan: if (preg_match('@<tag>(.*?)</tag>@i', $filedata, $matches)) { $tagdata = $matches[1]; }
[10:04]<jddddd>Pollita: have any ideas for ME?
[10:04]<pjffyvr>Though you'll want to adapt that to preg_match_all() if you have multiple instances of <tag></tag> to match
[10:04]<ymrg>thanks
[10:04]<ymrg>i will search for it in php.net
[10:04]<pjffyvr>Jymmm: For you? Sex-Change
[10:05]<ndf>Jymmmm, Yeah, I'll speak no more of them. I did remember my warning though, and I didn't intend to go any further, I'm sorry and it wont happen again.
[10:05]<jddddd>Pollita Can we have a three way then?
[10:05]<pjffyvr>depends if you wind up being hot or not
[10:05]<pjffyvr>At 2m/100kg, I'm skeptical
[10:05]<fyr>lol
[10:05]<sxzzdggg>hi
[10:06]<jddddd>Pollita What, you no like back alley chinese take out and sex change center?
[10:06]<sxzzdggg>im having a mystrious problem with apache and php :(
[10:06]<ndf>sharmeen, Just state your question and we might help you.
[10:06]<anand>idan: i have mysql .. :)
[10:06]<pjffyvr>Jejam: But you don't have the php-mysql extension installed.
[10:06]<anand>idan: phpmyadmin works well ...
[10:07]<sxzzdggg>im rewriting url with mod_rewite
[10:07]<anand>> /usr/lib/php/extensions/mysql.so
[10:07]<sxzzdggg>http://localhost/kingpin/naveedse <- its a member
[10:08]<anand>Pollita: ;)
[10:08]<sxzzdggg>http://localhost/kingpin/action-games/ <- its a game category
[10:08]<pjffyvr>Jejem: But is it loaded by default? Or is phpmyadmin loading it dynamically.
[10:08]<sxzzdggg>the two url should look the same
[10:08]<sxzzdggg>im rewriting it like this
[10:08]<sxzzdggg>RewriteRule ^([a-z0-9-]+)/?$ category.php?catname=$1 [NC,L,QSA]
[10:08]<ndf>Jymmmm, BUT. To be fair, we never talked about any of that ugly stuff, if you would read the logg all we talked about was science. I will not complain anymore, just wanted to say that.
[10:08]<pjffyvr>Jejem: I hear you saying you have mysql loaded, but PHP is calling you a liar
[10:08]<sxzzdggg>its working perfect till i add a _member_check.php file
[10:08]<jddddd>eml 1) I didn't ba neither of you, I REMOVED you guys. 2) It went WAY too far yesterday, I *HATE* repeating myself, and it's far easier to type /r eml<enter> then to explain the whole thing like I'm doing now, and far more effective too. 3) You don't have to apologize, just dont do it.
[10:09]<pjffyvr>sharmen: That won't match anything.
[10:09]<sxzzdggg>which checks all categories
[10:09]<pjffyvr>sharmen: You forgot the leading /
[10:09]<sxzzdggg>^([a-z0-9-]+)/?$
[10:09]<pjffyvr>LEADing
[10:09]<sxzzdggg>means?
[10:09]<pjffyvr>Means you need to learn english
[10:09]<sxzzdggg>lol
[10:09]<sxzzdggg>u mean
[10:09]<saxgjjmfns>PRE
[10:09]<sxzzdggg> ^/([a-z0-9-]+)/?$
[10:10]<pjffyvr>Oh don't EVEN break out the aolbonics
[10:10]<sxzzdggg>but its working OK
[10:10]<sxzzdggg>when i include file _member_check.php
[10:10]<pjffyvr>jebus save me from your followers....
[10:10]<sxzzdggg>which checks all categies if it doesnot finds the a categories
[10:11]<sxzzdggg>it includes member page
[10:11]<sxzzdggg>but include state causing apache to die
[10:11]<sxzzdggg>dats the problem
[10:11]<sxzzdggg> $url = sprintf("%smember/home.htm?player=%s", __HOST__, $catname);
[10:11]<sxzzdggg> require_once($url);
[10:12]<sxzzdggg>or its working perfecr
[10:12]<sxzzdggg>perfect*
[10:12]<sxzzdggg>can u plz help me?
[10:12]<ndf>!tell sharmeen about AOLbonics
[10:13]<cjd2y>has anyone here ever wrapped his php app in a windows installer? (together with a complete wamp enviro) how reliable is that?
[10:14]<ndf>kombi, I haven't tried, but I think It'd be quite reliable, what would go wrong?
[10:15]<cjd2y>dunno, you find out how much can go wrong when you do it I guess..;)
[10:15]<anand>thanks guys
[10:15]<anand>problem solved :)
[10:15]<anand>++
[10:17]<cjd2y>eml: guess you're right though, it would take tweaking the guy's host file and the app should run..
[10:19]<ymrg>used if (preg_match_all('<form>(.*?)</form>', $myline, $matches)) gets Warning: preg_match_all() [function.preg-match-all]: Unknown modifier '(' in /usr/prog/idan/src/submiter.php on line 17
[10:19]<ymrg>with @ and @i at the end it dosent return nothing
[10:19]<cjd2y>anyone experienced with php-gtk?
[10:23]<cyjvj>kombi i have a little bit
[10:23]<cyjvj>however try into #php-gtk chan
[10:30]<zufn>Jymmmm: Permission to PM? ~
[10:31]<jddddd>Zule no
[10:31]<zufn>There's a surprise :)
[10:32]<crlsj>How'd I check for a "," in a string, again?
[10:32]<crlsj>strstr?
[10:32]<zufn>strpos.
[10:32]<crvrffw>hi
[10:32]<vnc_>I need some help on a design aspect of my program really quick
[10:32]<crvrffw>is possible to see from which function some function was called ? OR from which file some function was called ?
[10:33]<vnc_>okay basically what this is is a site for my family to be able to stay in contact with eachother
[10:33]<ndf>tek_, So you want something similar to a message board, perhaps with a news section?
[10:33]<vnc_>my question in a nutshell, all family members have different "objects" such as, photos, videos, blog etc... that they can upload but I want them to be able to reposition them when you look at their profile page
[10:33]<vnc_>em1 with a sort of personal aspect of profiles
[10:34]<vxdcj>say, is this valisyntax?:
[10:34]<vnc_>my question is, the features or "objects" would be hard-coded.. they would have to be but i don't know how to store an objects position without a database
[10:34]<vxdcj>do{whatever}while(){some more whatever}
[10:34]<vnc_>so for example in their left column they want their photos, their center column they want their blog, their right column they want their videos... how do I keep track of that AND let them reposition it at any time?
[10:35]<ndf>thyko, do{whatever}while();
[10:35]<vxdcj>yes
[10:35]<cwxye>Cavall1: http://php.net/debug_backtrace
[10:35]<ndf>tek_, Well, I think you'll have to use a clever mix of CSS and PHP-variables.
[10:35]<vxdcj>but there is a line in the do that frees a mysql resource
[10:35]<fyr>later all
[10:35]<vxdcj>i need it to be after the while







