logs archiveIRC Archive / Freenode / #php / 2006 / June / 9 / 1
cythrawll
been looking through those
mr rude
Wolfpaws
Having trouble passing complex types over SOAP using a PHP SoapServer in WSDL mode? Not getting decoded properly? <-- sounds pretty straight-forward question to me
cythrawll
ahh there it is
Wolfpaws
*sigh*
cythrawll
Wolfpaws the wsdl is right
gookhan
hi
woo
Why isn't http://pastebin.com/768322 working?
Wolfpaws
!+doesn't work
stormbot
Look buddy, doesn't work is a strong statement. Does it sit on the couch all day? Does it want more money? Is it on IRC all the time? Please be specific! Examples of what doesn't work tend to help too. Finally, showing us the code is helpful (after you've explained your problem). /msg php-bot pastebin for more information
         

twodeko
i have a quick question
i have a function i would like to use in two different classes
woo
It doesn't replace "word" with &ldquoworrd”.
twodeko
and they are named differently
one handles forms, the other handles user authentication... so i get a "can't redeclare blah blah"
is there any way i can use it in both classes without it seeing it is being called twice?
SEAwolfx
cythrawll: complex datatypes can be done with assotiative arrays.
woo
Why isn't http://pastebin.com/768322 working? It's not replacing "word" with “worrd”.
Better?
cythrawll
SEAwolfx yeah I tried that, they kept on coming back empty
CraZy675
how do I post to the next page using php without using a form?
Wolfpaws
twodeko: Are you sure you're talking about *different calsses*?
SEAwolfx
cythrawll: you chose the right namespace <- look inside the wsdl
woo
Anyone?
Wolfpaws
woo: What encoding are you using? UTF-8?
woo
ISO-8859-1
Wolfpaws:
Wolfpaws
erf?
woo
er?
enygma
or
woo
Wolfpaws: Huh? erf?
twodeko
Wolfpaws, yes
Wolfpaws, but i just made a dir called util and throwin it in there for them to share :p
Wolfpaws
(Action) scrools back
twodeko: where does it says that you're redeclaring a class?
CakerLatvia
does (int)$var of unset $var return allways 0 ?
Wolfpaws
Are you perhaps using require or include? Perhaps you should look into include_/require_once
CakerLatvia: Yes, since (int) of NULL is NOTICE + 0;
         

miracoli
RandomChu baldurk Xen0n CraZy675 cwebber twodeko pieg Jemt woo jsoft jhansen unreal glaucontech gookhan Xyphoid tbee|gelign1te xDest_ SimAtWork GMFlash Ky|ratix chasep_work somiaj alindeman debian_ SP|Sorren omp jimmiehansson brandon_ tjb13 YD Element61 Monkey_b p4tux qbert gsr_ Sameer02 Seadog MatBoy Crell42 Andy[A] claudio` tcwd killd-a-ton Silentt Vollstrecker Frankenstein vestige cythrawll jory FatalReme DevZer0 lepine jbpros
binarydigit raidman r3nd3r r0xoR isoTop DeathWolf salah Mike|mb muhoo xDest snoyes plundra mod_cure lokkju wisp Vasily Judd-MGT Weems rightnow lietu RvGaTe^off colder- peyrol crigo __Ace__ Chillax slide CYC41 Allfeeds arpad DreamweaverN_ Jayinwww chaoscon SEAwolfx CHIEF Lateralus sztanphet TomyLobo lordOdin EvilGuru devians iFeghali Wolfpaws gigido kinginho CEVO|Carmony winmutt a-stray-cat Henk romanb Moosh ^Duffy^ p-nade thana simonbun
CakerLatvia
Wolfpaws ok, then 0 allways be the value?
woo
wtf
Seadog
ffs
Silentt
?
jbpros
?!
Seadog
why do people keep doing this?
second time today
colder-
-_-
Silentt
lol
sztanphet
beacuse they are retards?
woo
Everyone awake?
Silentt
why not stay OP?
isoTop
why that was good for? :/
Jayinwww
thank you Wolfpaws
Wolfpaws
Seadog: Second time today? By the same person?
Silentt
let everyone know you are high commander so they don't mess around :P
Xen0n
why the fu*k do people do that???
qbert
why does everyone have to right documentation to prove how smart they are
twodeko
Wolfpaws, require_once('/') should be the root of the site, correct?
Seadog
Wolfpaws, dunno
qbert
these people should be shot
Chillax
qbert: right?
woo
Why isn't http://pastebin.com/768322 working? It's not replacing "word" with “worrd”.
Seadog
I don't think so
Xen0n
Someone needs to rip their balls off, encase them in concrete, then bludgeon them to death with them
Seadog
the other one had a different name before the @
Wolfpaws
Silentt: No. You were already told, that is a FN policy... Besides, it looks scary with people being opped in the channel... It scares people
Silentt
lol
o rly?
Wolfpaws
twodeko: Hm? No.
Xyphoid
it's foreshadowing
Wolfpaws
Silentt: ...
!+typing english
stormbot
##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.
woo
hahaah
Silentt
i was waiting for somone to say "YA RLY!"
:P
twodeko
Wolfpaws, im trying to include a file that now i can not get to... ala www.blah.com/include/util/haha.php
i thought i could include that with /include/util/haha.php
||cw
twodeko: includes work off the server's file system root, not your webroot
twodeko
aah, that would explain a bit
can you do ../util/haha.php ?
Wolfpaws
This shoud do it
deop Wolfpaws
erf
woo
:-P
alindeman
Heh, wonder who did that
r3nd3r
did someone say my name ?
Jymmm
r3nd3r: No, crawl back under your rock
r3nd3r
Jymmm, i live in a cave
Jymmm
r3nd3r and the cave roof is made of rock!
Chillax
zing.
woo
Chillax: You've helped me before, do you have any ideas?
Chillax
woo: why are you using char?
chr
TheNinthCut
If I have a MySQL Table called, "People" and I have people's name's in it. If I have a row that doesn't have a name, is it more efficient to say <?php if (name == NULL) { $name = 'Uknown'; } ?> or is it better to just store it in the database itself as, "Unknown."
woo
Chillax: Well I wasn't quite sure how to go about it, and I looked online, and that's what a lot of people were using.
Should I use something else?
Crell42
TheNinthCut: Store NULL or empty string in the database, and set the default in PHP. It's easier to change that way.
Chillax
let me look at your code again, hold on
Crell42
Also, isset() is faster than testing == NULL
kaydara
how can i split a string in 2 char blocks like "abcdef" -> "ab","cd","ef" ?
TheNinthCut
Crell42, ok, thanks.
woo
Chillax: Thanks
alindeman
kaydara: substr and a loop, prolly
Wolfpaws
kaydara: str_split() :)
alindeman
Ah, of course, PHP has a random function for it :-0
:-) *
Crell42
Is there anything PHP doesn't have a string or array function for?
Wolfpaws
probably some weird custom array handling
enygma
str_make_toast()
Wolfpaws
\o/
kaydara
danke
woo
\o\
Chillax
woo: what string are you passing to your function
and what is your desired output?
woo
Chillax: Can I PM you?
Chillax
i dont care
Wolfpaws
lol
Jymmm
Wolfpaws: Can I take advantage of your body?
Wolfpaws
Jymmm: okay
but be gentle :)
Jymmm
No deal
Wolfpaws
drat
woo
Chillax: Any ideas?
Damnit
Chillax
woo: any ideas for what
woo
I wasn't identified
Chillax
that would help.
Troy[eat]
hi all )
woo
The food good?
Wolfpaws
is the Troy good?
Troy[eat]
forgot to change nick )
Wolfpaws
Zule.... *smacks*
Zule
(Action) claws Wolfpaws
Good to see you too :)
Troy_
487 php lovers )
twodeko
is there a way to include something in the directory above it without going into the docroot
woo
Troy_: Or haters looking for help
Troy_
(:
twodeko, include '../somefile.php' ?
Wolfpaws
(Action) slashes Zule to smitherens
Zule
Such cute love :D
twodeko
Troy_, can you do that?
Wolfpaws
(Action) throws the pieces in trash
That's for getting me hooked to \o/
Zule
You know you love it \o/
Troy_
twodeko, yes, afaik, though I didn't try )
twodeko
Troy_, works with include... not require_once
Wolfpaws
Zule: It's your fault!
Zule
I have sinned? :)
« 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 next »