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.68 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 >
[05:39]<zufn>Define advanced?
[05:39]<fyfr>like for instance myspace.com *rolls eyes*
[05:39]<zufn>That has an advanced way of including a php file? o_O
[05:40]<fyfr>if i write <? include("foo"); ?>
[05:40]<fyfr>into myspace it comes out as
[05:40]<mjgcnd_2>Zule holy sh*t
[05:40]<mjgcnd_2>u found it
[05:40]<mjgcnd_2>err
[05:40]<mjgcnd_2>YOU found it
[05:40]<mjgcnd_2>i love you
[05:40]<rrdrdr>%$#@%#
[05:40]<zufn>Ew.
[05:40]<sgajgmv>:|
[05:41]<rrdrdr>has anyone worked with the enable-debug stuff in php?
[05:41]<fyfr>ok never mind
[05:41]<fyfr>night all
[05:42]<fyfr>thanks for the help - much apreciated
[05:42]<rrrnfrq9>hi I'm new in php
[05:42]<rrrnfrq9>does anbody can help me
[05:42]<rrrnfrq9>pls
[05:42]<zufn>Also, Monkey_b, via more advanced magic the site is now here: http://smiledsoft.com/demos/index.shtml
[05:43]<vnsvyrn>angela24, just ask
[05:44]<mjgcnd_2>zule, you are a real magician :)
[05:44]<zufn>Or... am I o.o
[05:44]<rrrnfrq9>well I'm using iis instead of apache
[05:44]<mjgcnd_2>:o
[05:44]<rrrnfrq9>I have instaled phpmyadmin, mysql
[05:45]<rrrnfrq9>but I can't see the page of phpmyadmin
[05:46]<rrrnfrq9>to create the database
[05:46]<svjzdzxzsnz>*sigh*sob*
[05:47]<emrev>I need a small web app that'll let users upload and download files, grant access to files to other users, and a small admin to manage users and passwords. Does anyone know of anything like that? It's for an office where they often receive and send files from/to external people.
[05:47]<rrrnfrq9>vestige?
[05:48]<emrev>angela24: Was that for me?
[05:48]<zufn>There there Stormchaser
[05:48]<emrev>Oh, probably not.
[05:49]<vnsvyrn>angela24, i have never set up iis before but from the sounds of it you are either not loading the module or not associating .php with the module
[05:49]<pdznpfdq99q>WOW, simpleXML is fantastic, I found a great tutorial online
[05:50]<rrrnfrq9>rdgzt if u use iis
[05:50]<svjzdzxzsnz>!+u
[05:50]<lxl-2jv>Surely you mean 'you', not 'u'? The letter 'u' is not a personal pronoun. Talking like this in ##php may get you silenced. For details, /msg php-bot aolbonics
[05:50]<z0wjz>is there a rand() like function in php?
[05:50]<svjzdzxzsnz>there is rand() function in PHP... php.net/rand
[05:50]<vnsvyrn>r0xoR, yes and mt_rand as well
[05:50]<z0wjz>php.net is down for me right now
[05:51]<zufn>Does no-one read the manual anymore? :)
[05:51]<svjzdzxzsnz>*blink*
[05:51]<z0wjz>Zule, php.net/rand was the first thing i tried
[05:51]<z0wjz>php.net is not responding for me
[05:51]<rrrnfrq9>vestige I also tried with apache
[05:51]<svjzdzxzsnz>Doesn't anyone use mirrors anymnore?!?
[05:51]<svjzdzxzsnz>*rawr*
[05:51]<z0wjz>Stormchaser, they used to?
[05:51]<zufn>Never in a million years :)
[05:51]<z0wjz>:P
[05:51]<rrrnfrq9>vestige do you know where can I find the configuration of php.ini
[05:52]<vnsvyrn>angela24, the packages all come with default and recommended ini files
[05:52]<z0wjz>angela24, in the php.ini file :)
[05:52]<z0wjz>angela24, i beleive phpinfo() also tells you
[05:54]<mnzmzjjv>is there a docbook for PHP's documentation?
[05:54]<rrrnfrq9>you mean that I don't need to change anything in files?
[05:56]<agga>angela: you change stuff in config.inc.php
[05:57]<rrrnfrq9>kenc I already did
[05:57]<agga>angela: what's the symptom ?
[05:57]<vyfndrwyd>Is there a way to change the mbstring.func_overload for only 1 file running php5 in cgi mode?
[05:58]<rrrnfrq9>kenc don't have connection to phpmyadmin to create the database
[05:58]<agga>angela: is the db on the same box as the webserver?
[05:58]<agga>angela: try using 127.0.0.1 instead of localhost
[05:59]<vxgjvxgefjge>Is MySQL running?
[05:59]<2r2j>I never use mysql_real_escape_string , but rather I just use htmlentities($arr,ENT_QUOTES,'UTF-8'); on all of my incoming data. Same thing pretty much right ?
[05:59]<mnzmzjjv>babo: no
[06:00]<2r2j>deadroot: how so ... ?
[06:00]<mnzmzjjv>babo: it is best to store input data into the database as original as possible
[06:00]<mnzmzjjv>babo: much easier to be manipulated later
[06:01]<2r2j>deadroot: manipulated how ?
[06:01]<mnzmzjjv>also with unaltered data, you can tell who has been attempting to hack your server
[06:01]<fumygnzm>Hey guys
[06:01]<rrvrrrrfj>whenever i go to a .php doc hosted by apache... it wants to show the code.. and not display the document?
[06:01]<fumygnzm>what's wrong with this line of code?
[06:01]<fumygnzm>var $urlvar = $_SERVER['REQUEST_URI'];
[06:01]<mnzmzjjv>htmlentities transforms single quotes to ' for example. so you wouldn't know if it was sent as a single quote or as it's equivalent html entity
[06:01]<2r2j>hmmm .... I usually use mod_sec and apache logs for that ...
[06:03]<2r2j>deadroot: it is safer though IMO when all input gets run through a htmlentities() rather than splitting it up and processing the sql string data seperatly ...
[06:03]<vxgjvxgefjge>jevangelo: You need to make sure php is added to your apache configuration
[06:04]<mnzmzjjv>babo: i would replace the htmlentities with mysql_real_escape_string and just enter the data with that
[06:04]<mnzmzjjv>babo: the database should contain unaltered data as much as possible
[06:05]<mnzmzjjv>much easier for long term data maintenance, imo
[06:05]<2r2j>deadroot: while I think that you are probably right in what you say. Running all data through htmlentities, not only covers sql injections, but also code injections ...
[06:09]<mnzmzjjv>babo: for example, a database containing HTML content. if htmlentities were used, you will have to unhtmlentities that data before you could echo the HTML data
[06:10]<mnzmzjjv>or otherwise have your HTML to be displayed as source code to the user
[06:10]<fumygnzm>How about this line vestige mail("jthollister@gmail.com","Contact Form Data",$message,"From: ContactTheFinancialMentor@thefinancialmentor.com\r\nContent-Type:text/html"); It worked before I had that var in at the top
[06:11]<mjgcnd_2>is this possible with GD? http://www.mydevsite.net/canvas.jpg
[06:11]<vnsvyrn>luminerd, what error does it throw?
[06:11]<fumygnzm>vestige, sorry, same error
[06:12]<mjgcnd_2>i have thumbnails generating right, but i need them to be in a canvas, like: http://www.mydevsite.net/canvas.jpg
[06:12]<fumygnzm>unexpected T_STRING
[06:12]<mjgcnd_2>if i could merge the thumbnail onto the canvas, and have it centered, that would rock
[06:12]<fumygnzm>Oh, it was T_VAR before. Nevermind. This error is T_STRING
[06:12]<zufn>Chances are you possibly haven't closed a previous line or quote properly...
[06:13]<vnsvyrn>luminerd, i was going to say what Zule said
[06:13]<zypvmgsyrg>i have a fairly major website running on php + postgresql...are there any search engines anyone would suggest that is lightweight and has a good api to use on my site?







