logs archiveIRC Archive / Freenode / #php / 2006 / June / 4 / 1
Wolfpaws
RiPLeX: I think it's sexy
RiPLeX
still gives me an error ;-` and I don't know enough PHP to figure out where I went wrong
Wolfpaws
I can't understand what you're doing... Are you trying to included that in the class variable declaration?
RiPLeX
yeah, I guess ...
Wolfpaws
you *can't* do that
RiPLeX
aw :-(
gymsmoke
http://pastebin.com/756380
can anyone here tell me why I'm getting that error ?
RiPLeX
so I'll always have to edit the (page).php itself whenever I want to add a new autolink?
Wolfpaws
no need...
Where do you have the links stored?
         

oxez
gymsmoke, because $this->link is null
RiPLeX
wait a sec ill pastebin it
oxez
if(!$this->dbname = mysql_select_db($dbname, $this->link)) => you need to define $this->link in your db_connect() method
or you can use $this->conn
gymsmoke
oxez, damnit! i hate when someone else changes var names on me...
oxez, thanks...
RiPLeX
@Wolfpaws: http://pastebin.com/756394
Ticktock
Does anyone know if the PHP 5.1 (module) binary is incompatible with the standard Apache 2.2 binary for Windows?
Apache 2.0 works fine but when I tried installing 2.2 I got an error saying it was unable to load php5apache2.dll
Pollita
Yes, it is
Wolfpaws
RiPLeX: you can put them in the file/db and then do the $this->replacement magic in constructor
RiPLeX
@Wolfpaws: constructor? :-0 I don't understand what you are telling me, sorry. Is there an URL wehre I can read up on this that you could tell me?
Ticktock
pollita: Is that something PHP or Apache have to fix?
Wolfpaws
RiPLeX: php.net/oop
Jymmm
PHPoop
RiPLeX
thx I'll go look it up
Mortis_kruuul
http://www.avemetal.com webzine
ceiphas
dumdidum
very quiet in here, whats up?
ironpig
I'm here
people must be deep in their code
ceiphas
in #web noone has an answer for my question
RiPLeX
(Action) is racking his brain, not getting much anwhere ;-)
Wolfpaws
ceiphas: Which doesn't mean you can ask here.,..
...again...
ironpig
I do that alot RiPLeX
         

ceiphas
my code is working... f***ing js wont work
ironpig
yah, I've been there... I took me a week to figure that problem out.
RiPLeX
@ironpig: i suffer the pains of competence not matching ambition ;-)
ceiphas
so, i want an nav-bar, that is hidden
ironpig
heh, me too
Jymmm
!+g8
php-bot
Guideline #8) SQL Q's: #sql, #mysql or #postgresql. Apache Q's: #apache. Linux Q's: Either #yourdistro, #linuxhelp or #linpeople. HTML/CSS/JavaScript Q's: #web. Just because some other channel is 'dead' does NOT mean you can ask here.
ceiphas
when i move my mouse over to the left side, it shows up
that works
ironpig
I'm still new to PHP
Wolfpaws
ceiphas: Do you remember what I just said?
RiPLeX
same here, ironpig
ceiphas
oh sorry...
mixed it up
Wolfpaws
!+sorry
php-bot
Don't be sorry, just don't do it.
Wolfpaws
ceiphas: No you didn't
ceiphas
understod that i CAN ask here, sry
Wolfpaws
...
<Wolfpaws> ceiphas: Which doesn't mean you can ask here.,.. <-- erf
ceiphas
my english is not that good, pleas forgive a poor german boy
ironpig
hey, I see sites using php and they have url addesses ending in something.php?fileid=2 or something like that? What is that? Does that mean its databased?
ceiphas
nop
this site, uses GET for variables
argh... can someone please steal my ','-key?
Jymmm
Per your request...
Wolfpaws
Jymmm: \o/
Jymmm
ceiphas I stole your enter key, and the rest of them too.... steal one, get 103 free!!!!!
ceiphas
<-- has 157 keys
Wolfpaws
we can fix them, too
Jymmm
do you want me to steal the rest?
ceiphas
come on, the distance between you and me is approximately 6000km (i think youre american)
wols_
(Action) is german
and I gladly steal your enter key
Jymmm
(Action) wants one of these... connected to my computer that is... http://www.sonystyle.com/is-bin/INTERSHOP.enfinity/eCS/Store/en/-/USD/SY_DisplayProductInformation-Start?ProductSKU=DVPCX995V%2fKIT2&Dept=tvvideo&CategoryName=hav_DVD_DVDPlayers&DCMP=Google_HAV&HQS=sony_400_dvd
wols_
Jymmm: reexamine your taste. It's a sony
Wolfpaws
Tat's a... Jukebox
magyar
if a php script is broken and someone is abusing it and sends junk mail, is there a way to log any access?
Wolfpaws
wols_: o.O
wols_
magyar: apache should log every access to the server
and the proper thing would be to fix the script, no?
Wolfpaws
(or remove it)
gymsmoke
i have a main.php that instantiates a class. main.php then includes include.php... what do i need to do in order to be able to use the class functions inside of include.php ?
magyar
wols_: well the thing is a have mail being sent every few hours from my apache server. But there is no frickin logs waht so ever. Can anyone help?
wols_
"is a have mail being sent" is nonsensical
restate your problem more clearly please
gymsmoke
the answer is "nothing"... those functions and classes are available within include.php by virtue of the fact that include.php is within scope of main.php
magyar
wols_: http://pastebin.com/756455
RiPLeX
I guess I'll call it a day .. :(
nite everybody, and thanks for listening
Toke
howcome <table bordercolor=#000000> does not work in firefox and opera?
is there anything i can use in its place?
mabu
because it is not valid html
style="border:1px solid #000000"
Toke
define valid html
mabu
style="border:1px solid #000000;" better
zombieReagan
neeed braaaains
wols_
Toke: valid is what w3c says it is
mabu
Valid html is when can be checked in w3c validator
and there is no errors
Toke
who is the authority on html standards?
wols_
mabu: no. it's a needed requisite for valid html, but not sufficient
Toke: w3c.org is. or rather the w3c committee and w3c.org is their website
Wolfpaws
care to take this discussion in #web?
Toke
does html evolve, like, are new things ever added?
and i mean simple html, not css
wols_
Toke: read what Wolfpaws said? follow it, or baaaad things might happen
Wolfpaws
(Action) shakes his tail
Toke
is xhtml a server side script?
wols_
(Action) debates with himself if he should tug it
it's sooo tempting
Wolfpaws
wols_: I'll bite :)
wols_
wouldn't be my first doggie bite :)
Wolfpaws
wolfie :)
wols_
pfffft. cute little puppy dog, nothing more :P
Wolfpaws
arf
Toke
hm..
did i leave the channel?
Wolfpaws
No, you were forced to leave
wols_
(Action) leans back and grabs for the popcorn
Wolfpaws
Save your HTML talks for #web
Fango
Hi - I am setting a cookie in a PHP script that is called by an XMLHttpRequest. As fair as I am aware, nothing printed out by the script before I set the cookie, and the setcookie() function returns true. However, when I return the value $_COOKIE['justset'] on the next line, it does not return the value I just set it to...
Toke
what was the part message?
i dont show a kick in the console
wols_
has left ##php [requested by Wolfpaws: "Oops"]
Wolfpaws
:)
wols_
special freenode feature
Wolfpaws
yes... you get extra cookies with it :)
Toke
ic
Wolfpaws
!+typing english
php-bot
##PHP does not allow aolbonics (or leetspeak) such as "u for you, r for are, ic for i see -- etc" and typing like this will result in you being silenced; furthermore, inability to adapt may result in a ban.
Toke
i asked in here because they dont give html help in #html
Jymmm
!+g8
php-bot
Guideline #8) SQL Q's: #sql, #mysql or #postgresql. Apache Q's: #apache. Linux Q's: Either #yourdistro, #linuxhelp or #linpeople. HTML/CSS/JavaScript Q's: #web. Just because some other channel is 'dead' does NOT mean you can ask here.
Fango
brilliant.
Wolfpaws
(Action) mumbles something about people who don't read guidelines
Jymmm
Toke see /topic
aneurysm
bloody hell sql syntax: should i go over to ##sql or would anyone here know? http://pastebin.com/756510
Toke
what about it?
Jymmm
Toke: /msg php-bot guidelines, ignorance is not an excuse.
Toke
oh
asdx
i want to do a script. if the user is running firefox then header("location: bla bla"); if the user is running ie then heaeder("bla bla"); what do i need? HTTP_USER_AGENT for that?
Toke
well where on the network is a good place to ask HTML questions?
Jymmm
!tell Toke about g8
It gets REALLY old repeating over and over.
wols_
asdx: yes, but useragents can and do lie. so it's not a very good thing to do in the first place. YOu're supposed to design a single page for all browsers
GaryKing
How do I print out the current URL path of the current script?
jeffery
anyone know a fix for apache error for "Invalid command php_value;"
GaryKing
Like if I'm viewing example.com/path/to/script.php, how do I print out /path/to?
asdx
wols_ ok
Pollita
wow
I just realized
The rain was a symbol for menses
(Action) stabs out her third eye
« prev 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 next »