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: 1952.32 MB
Powered by
Channel Info
Network: freenodeChannel: #php |
Search in www.irclog.org
Log from #php at freenode 2006-07-16
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
Next >
[00:00]<yvzn2rf>hah
[00:00]<yvzn2rf>Jymmm: was that cleaning up? he got banned for ban evasion
[00:00]<xznvfrs99>would the t= in this have to be escaped?: alt=\"null\"
[00:01]<jdddd>Ah, um sure. Yeah that's it, that's the ticket!
[00:01]<wjlllrws>lol
[00:01]<yvzn2rf>hah
[00:01]<tjufgg>hretlas44: no
[00:01]<[wv]>wow. i can't believe you can return arrays in functions. you can't do that in c++ right?
[00:02]<tjufgg>[xt]: you can
[00:06]<kyddja>Meep-meep.
[00:07]<lsa-nzya>haha.. i broke the gateway
[00:07]<pfywyf>howto enable odbc on php? there is not an php_odbc.dll extension i think
[00:08]<-- dvxn|syzzzyus xzs>http://www.bagdadsoftware.de")
[00:10]<jzcgcjggjz>what's the difference between include_once() and require_once()? the documentation looks exactly the same
[00:10]<drvvdaa>The error level of a failure.
[00:11]<drvvdaa>Just like with include/require, the only difference is that when a require fails, it's fatal.
[00:11]<jzcgcjggjz>oh i see now
[00:11]<jzcgcjggjz>thanks!
[00:12]<pfywyf>I am a bit confused with the documentation of odbc... they say that PDO_ODBC is a driver, so it's build-in, or isn't?
[00:13]<pfywyf>on the doc, they said that pdo_odbc is build-in by default, but wich flavour?
[00:14]<tjufgg>flixil: What do you mean which flavor?
[00:14]<tjufgg>phpinfo usually answers all
[00:14]<pfywyf>Touqen: the problem is that the server is at work, and now i cannot use phpinfo()
[00:15]<pfywyf>PDO_ODBC currently supports three different "flavours" of database drivers: ibm-db2,unixODBC, generic (from the manual)
[00:16]<pfywyf>i am very confused with all the doc and so on... so sorry if it make nosense what i asked
[00:17]<tjufgg>flixil: I don't believe that pdo_odbc is built by default (except on windows) an phpinfo would tell you what flavor it was built with
[00:19]<pfywyf>ok, then an other question about odbc. the unified functions of odbc has nothing to do really with databases that use odbc, ins't it true?
[00:20]<pfywyf>there is no relation, but the one that says that use the same syntaxis.
[00:20]<tjufgg>the Unified ODBC functions in PHP allow you to access several databases that have borrowed the semantics of the ODBC API to implement their own API
[00:21]<tjufgg>Those are for databases that don't actually use odbc, They emulate it.
[00:22]<pfywyf>OK :) thanks to make it clear
[00:22]<xznvfrssq>is there something wrong with this line: $bannerCode[$bannerCounter] = "<a href=\"http://www.example.com/site1\" target=\"_top\"><img src=\"http://www.example.com/site2\" width=\"120\" height=\"600\" alt=\"null\" border=\"0\"/></a>";
[00:22]<xznvfrssq>I am getting unexpected T string
[00:22]<pfywyf>So i think that to use odbc with a type of database i will have to look for the drivers on the database web page, and that pdo_odbc is only the extension that comunicate with such a driver, isn't it?
[00:23]<jznj>hey everybofy!
[00:23]<jznj>everybody*
[00:23]<tjufgg>hretlas44: Why not just use single quotes around the string so you don't have to escape the double quotes?
[00:23]<tjufgg>'blah blha "blah" blah'
[00:23]<jdddd>!+quotes
[00:23]<lxl-2jv>Details on the usage of single and double quotes within PHP can be found at http://php.net/language.types.string
[00:24]<jznj>!about
[00:24]<jznj>jee. you always have something against me Touqen, don't you?
[00:25]<tjufgg>I'm a hater not a fighter, baby
[00:25]<wjlllrws>I can be a fighter
[00:25]<jznj>Touqen: #damn-haters is for ya ;)
[00:25]<tjufgg>The pimp is strong in this one.
[00:26]<jznj>i'm a PHPimp
[00:26]<jznj>lol
[00:26]<drvvdaa>Touqen: Man, what I wouldn't give for a clip of Samuel L. Jackson saying that.
[00:27]<tjufgg>mattmcc: lol
[00:28]<tjufgg>Did you know that Samuel L. is somewhere between the 1st and 4th highest grossing actor of all time?
[00:28]<pfywyf>well a last question... you add C:\php and C:\php\ext on the windows path? (windows is the server is used at work)
[00:28]<jdddd>mattmcc, Superfly or Shaft?
[00:29]<tjufgg>flixil: you only need to add the direcory with the other dlls (not the extension dlls)
[00:29]<suv9w9>sometimes I open my class file in the browser and I get 404... the file name has this format : *.class.php , sometimes I get "Input not found" or something like this. Does this sound familiar to anyone?
[00:30]<pfywyf>Touqen: ok thanks :)
[00:30]<xznvfrssq>mine says : set PHPRC=C:\php
[00:30]<xznvfrssq>but when windows loads up it says too many parameters
[00:30]<pfywyf>thanks a lot
[00:31]<tjufgg>hretlass2: win98 has a limit to the number of env variables it can handle, you have to increase it but i don't remember how
[00:31]<drvvdaa>Jymmm: Mace Windu.
[00:31]<tjufgg>hretlass2: it might be easier to just add it diretly to the path instead
[00:31]<bzjjcd>hi
[00:32]<jznj>hello
[00:32]<tjufgg>howdy
[00:33]<bzjjcd>i need some php scripting help
[00:33]<xznvfrssq>Touqen I don't understand you mean change phprc=c:\php to ?
[00:34]<tjufgg>set PATH=%PATH%;C:\php
[00:34]<xznvfrssq>Touqen I have amended the double quotes but am getting a syntax error on this line : $bannerCode[$bannerCounter] = '<a href="http://www.example.com/site3" target="_top"><img src="http://www.example.com/site3" width="600" height="500" alt="null" border="0"/></a>';
[00:34]<tjufgg>hretlass2: check the lines above it
[00:34]<jznj>Brooky: shoot
[00:35]<yvzn2rf>hretlass2: if your just adding to an array, you can do $bannerCode[] = '';
[00:35]<bzjjcd>www.element-stats.clan.pro
[00:36]<jznj>Brooky: what about it?
[00:36]<bzjjcd>http://joni.vze.com/phpbb2/stats.phps
[00:36]<bzjjcd>that is script
[00:37]<bzjjcd>in the ladder part
[00:37]<bzjjcd>they are not the correct figures
[00:38]<jznj>text files... *cough cough*
[00:38]<tjufgg>Brooky: and what does the ladder.txt file look like?
[00:38]<cgcggxv>Hello everyone
[00:38]<jznj>what are the figures supposed to be?
[00:38]<jznj>keknehv: hi
[00:38]<bzjjcd>2 secs
[00:38]<rxzjdrvn>hi, i'm using a PHP form to update data in a mysql table. in the form i enter the text (they are unicode characters), but when i refresh or when it displays, it is showing the html numerical entities instead of the actual rendered value
[00:38]<cgcggxv>What functions would you recommend for downloading a file from a website, and then spitting it back to the user?
[00:39]<jznj>fopen
[00:39]<yvzn2rf>keknehv: readfile
[00:39]<bzjjcd>like this - http://joni.vze.com/ladder.txt
[00:39]<yvzn2rf>readfile is simpler if you dont' do anything with it
[00:39]<cgcggxv>itrebal: Would a simple echo readfile("http://www.example.com/file.zip") work?
[00:40]<zjjn>this seems strange... "PHP Fatal error: Call to undefined function dns_get_record() " isn't dns_get_record part of the PHP core?
[00:40]<yvzn2rf>keknehv: readfile outputs it automaticly :)
[00:40]<cgcggxv>Ah, excellent
[00:40]<cgcggxv>Thanks
[00:40]<jznj>Brooky: and the others are fine?
[00:40]<yvzn2rf>roo9: its php5 only
[00:40]<bzjjcd>yes
[00:40]<zjjn>itrebal: i'm using php 5.1.4
[00:40]<zjjn>PHP 5.1.4 (cli) (built: May 5 2006 18:58:10)







