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.50 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 >
[04:54]<svjzdzxzsnz>s/inable/unable
[04:54]<lynzr>Hey Stormchaser
[04:54]<lynzr>what a travesty
[04:55]<mnfvyz>woho! he's msging me :|
[04:55]<zufn>Message me adrian !
[04:55]<svjzdzxzsnz>Meltir: What he said?
[04:56]<mnfvyz>dunno, id have to disable my irssi script :P
[04:56]<svjzdzxzsnz>lol
[04:56]<mjgcnd_2>I know it's not allowed to hire people in this channel, so is it allowed to run "contests"? I would like to run a contest where people have to create a very simple GD script for me, and the winner makes $100... is that ok stormchaser? :]
[04:56]<svjzdzxzsnz>Monkey_b: no.
[04:56]<mjgcnd_2>damnit
[04:57]<mnfvyz>Stormchaser: I am sorry by the way, did not realize against
[04:57]<mnfvyz> the rules.
[04:57]<mnfvyz>(thats a paste :p)
[04:57]<lynzr>I can't believe Chris got eliminated
[04:57]<svjzdzxzsnz>piera: Who's Chris?
[04:58]<lynzr>american idol hahhaa
[04:58]<svjzdzxzsnz>piera: Meaning I didn't miss anything...
[04:58]<svjzdzxzsnz>:)
[04:58]<zufn>Stormchaser: So true \o/
[04:58]<svjzdzxzsnz>lol
[04:58]<lynzr>Stormchaser: doesn't matter the other contestants.. just chris was just so good hehehe
[04:58]<zufn>Was he the one people thought was gay?
[04:59]<svjzdzxzsnz>o...kay...
[04:59]<lynzr>Zule: no Chris was the rocker
[04:59]<zufn>Ah, oh well.
[04:59]<pjffyvr>piera: You watch american Idol? *smack* BAD! You are the weakest link, good-bye.
[04:59]<svjzdzxzsnz>lol
[04:59]<mnfvyz>lol
[04:59]<pdznpfdq99q>Can anyone recommend a good beginner PHP + XML tutorial, I seem to be confusing myself here
[04:59]<lynzr>Pollita: hahaha I can't help I'm addicted heheh
[04:59]<lynzr>wait till Canadian Idol starts..
[04:59]<zufn>I'm in the UK, so I'm saved :)
[04:59]<bjucggsdr>hey guys, I have a webpage that is in the process of being trasfered to godaddy. There is a public_html folder that has all the website (php) in there, but it doesn't look like you can use that as the docroot, is there any way to create a index script that will redirect to the public_html/index.php script without showing the public_html in the address bar?
[05:00]<fyfr>morning all, i have a slight problem with mail(); apache and php but im not quite sure where im going wrong anyone have general knowledge of custom servers?
[05:00]<fyfr>Boukensya: tried using header(location:); ?
[05:00]<mnfvyz>firefly2442: php.net/xml_writer php.net/xml_reader (i think it was)
[05:01]<bjucggsdr>lilg, I don't know php, I just need to know if it is possible (so I can tell the guy making the website) to do it
[05:01]<fyfr>try
[05:01]<bjucggsdr>cool
[05:01]<bjucggsdr>thanks (:
[05:01]<fyfr>where is the redirect file being placed, and where is the new stuff?
[05:01]<sgajgmv>Oops. Howdy
[05:02]<mnfvyz>bubblenut: mod_rewrite if you get an apache based service.
[05:02]<pdznpfdq99q>Meltir, thanks, I will read that
[05:03]<fyfr>Boukensya: where is the redirect file being placed, and where is the new stuff?
[05:05]<pjj>Hmm, can someone tell me why people have image verifications? They have it so that people cannot have automated sign ups, right? Why not make sure the HTTP_REFERER is correct from the previous form? And send the method via POST ...
[05:05]<zufn>foo: Because both of those can be done via automated scripts :)
[05:05]<pjffyvr>Because it's trivial to fake an HTTP_REFERER
[05:05]<mnfvyz>foo: HTTP_REFERER can be faked
[05:05]<pjj>Ah, ok.
[05:05]<zufn>Simple perl script can do it
[05:05]<pjffyvr>And it's trivial to send automated POSTs
[05:05]<fyfr>what's the best way to avouid automated signups?
[05:05]<pjffyvr>Or a PHP script for that matter :)
[05:05]<zufn>Or simple php one no doubt.
[05:05]<pjj>Right, I know posts can be automated. Didn't know about HTTP_REFERER
[05:05]<zufn>Image verification system.
[05:06]<mnfvyz>lilg: image challenge :)
[05:06]<zufn>HTTP_REFERER comes from the client, so it's evil by default.
[05:06]<fyfr>ha:P
[05:06]<ldq>Hi - I have a flat-file database, where records are separated by \n, and fields by ;. Are there any PHP libraries/PEAR stuff for using SQL on this thing?
[05:06]<pjffyvr>foo: ini_set('user_agent', "PHP\r\nReferer: http://whatever/foo");
[05:06]<pjffyvr>There I just turned on referer faking
[05:06]<fyfr>nice ;)
[05:06]<pjj>Pollita: Interesting. Thanks.
[05:07]<fyfr>wondering if you guys can help debug a mail(); problem i have
[05:07]<bjucggsdr>lilg, redirection is from the root of the website and redirecting to public_html/index.php
[05:07]<zufn>vague! Tel us what the problem is :)
[05:07]<mnfvyz>lilg: what errors are you getting ?
[05:07]<p00fytx>lilg: ok, if you tell me if there's a way to apply an instance method of a class to every item in an arrray
[05:07]<mnfvyz>f00li5h: foreach ?
[05:07]<p00fytx>Meltir: i was hoping for something better ...
[05:07]<fyfr>Meltir: not getting any errors, not sending mail :) simple as...
[05:08]<pjj>Pollita: May I private message you?
[05:08]<p00fytx>array_map would have been nice
[05:08]<p00fytx>(but appears to not work like that)
[05:08]<fyfr>Meltir: on another server its fine, im wondering if i havent installed the right package for it. anyway to debugg the mail to tell me why its not sending?
[05:09]<p00fytx>lilg: are you just using the mail function?
[05:09]<fyfr>f00li5h: yes mail(); ill copy my script now
[05:09]<p00fytx>lilg: don't do that
[05:10]<mnfvyz>lilg: check phpinfo - the sendmail stuff. there should be something in the servers error logs
[05:10]<p00fytx>lilg: if you've got the arguements to the funciton right
[05:10]<p00fytx>then the only thing is that you're not running a mail daemon
[05:10]<pjffyvr>lilg: Make a wrapper program and point sendmail_path at it
[05:10]<pjffyvr>Make sure what PHP is trying to send looks valid
[05:10]<mnfvyz>lilg: also - error_reporting(0) should give more insight
[05:10]<fyfr>Meltir: im trying to check the server logs in /var/log/apache2 but not making sense :)
[05:11]<fyfr>Meltir: error reporting was what i was looking for. *opens vim*
[05:11]<pjffyvr>sendmail_path = "cat - >> /tmp/mail.log" should do the trick
[05:11]<mnfvyz>ini_set("display_errors","1"); may also be required iirc
[05:12]<fyfr>woah, easy guys :) im no pr0 at this php stuff :)
[05:12]<mnfvyz>lilg: give it time :)
[05:12]<fyfr>ill try now...
[05:13]<zzspzzv>hello
[05:13]<zzspzzv>earthlings!
[05:13]<mjgcnd_2>anyone here familiar with GD and image manipulation/resizing?
[05:13]<zzspzzv> http://pastebin.com/710666 <-- can somebody correct this pls? i have a file try.csv with three columns in a row separated by " my problem is i want to store it in an array but it didnt display field2 nor field3 yet all are passed to field1.i need help
[05:14]<jufyrgjbrsvjs>what this code means? $_GET['mode']







