hi when i have class_a that extends class_b the stack of functions inside class_a are parent__construct other

__construct().. other function, so when i initialize the class_a the first thing that PHP will do is call the construct() inside class_b and execute all the functions inside the construct() and
then when finished it will return to class_a and execute the remaining functions, right?

god dam***

correct, akan01n_w

ok, thanks

oh got I just tried to tab-complete when doing “mkdir”

lol

that’s okay…i did it for “ls” once

but … ls does have tab compelte …
s/compelte/complete

oh, I thought you meant for the command
like “mk tab”

? I do, in terminal – I did mkdir t[presses tab] to get mkdir tags
oh you mean to get the command? :P

yeah – heh

would be cool if they could implement mind-tab-completion

I just completely missed that there was a sleep function don’t feel too bad lol
granted I havn’t needed it since php3

you can use voice recognition with windows vista… hehehehe…

yeah and you’ll never catch me using Vista

sure there is a nix VoiceR program somewhere

Because you only use it in your closet with the door locked?

shhh!

hehe

is it possible to compile php scripts as a .exe?

hi

no, but you can run “php scriptname”

How can I test if a PEAR:B handle is actually connected, I dont see a isConnected or similar method ?

which wont do it for what i want
think i’ll use perl instead for this one

may I ask why you’d want a php script as exe??

dude i know wants a script which does some file copying/replacing

can someone help me please?

no one can help if you ask no question,

I have a PHP daemon running in the background, and occasionaly the mysql drops the DB connection, how can I test if the handle in my code is still connected ?

See, the only pdf related options I see under ./configure include –with-cpdflib, which of course is ClibPDF, which the manual page says is provided by FastIO, who’s site appears to be down.
Has been down for like… a week.

stupid opera

try r&os pdf lib, works well

er, ok, i’ve seen that around.
It doesn’t have any dependencies?

no
its pure php , no need to compile it in

Hm.

its kind of slow

php if (wp_list_pages(‘depth=2&is_page=Route) == Route) { } else { wp_list_pages(‘title_li=’ ); } ?

#wordpress

I did but no one is answering

thanks, qbert.

!tell ShawnRisk about g10

AHA
i sorted it out
ok
sorry about enter problem again – anyways so the zend ext line needs to be above all the others for ioncube to worka nd your extensions dir needs to be ./

hi.. i’m looking for some help formatting numbers to have a leading zero.

str_pad() ahiredplane

this would be for the hour of the day. this is what i have, and it’s not giving me leading zeros… ($x=0; $x24; $x++)

why not just use the correct format when using date() ?

I’m not sure… I’m taking code that was given to me, and I need to make edits.
I’m not sure how much I can change without breaking something.
May I paste the full 8 lines of code?

no, use a pastebin

Please forgive me, I don’t know what that is.

www.paste2.org

thanks
http://www.paste2.org/p/5453

then look into str_pad()

lol I almost feel ashamed I am doing a code repo system with all these other out there

like SVN, CSV, Git etc?

site I meant sorry, like paste2 etc

.weather
darn
no weather informant

oh a pastebin

Making one for myself that has versioning and stuff on scripts so can have multi versions stuff like that
mostly for personal code

Mornin’

why not just use a revision control program like svn?

confidential

I do
But not as display friendly
plus not as much fun :P
same reason I program my own forums

hi guys…is it possible to iterate in a foreach over two arguments?

yes,
no

foreach (blah as bleh, bluh as blih){} can I?

nope,

do you have any idea of how I can do something similar ?

2 foreaches?

=D serious?

thanks Alex

you’re welcome

!pastebin
http://hashphp.org/pastebin?pid=25534 this doesn’t seem to work right
I didn’t write the code, but I know enough php web hosting to think that that is the cause of my problem.
can anyone tell me if there is an obvious mistake there?

would be cool to have a bot that could connect to soemthing like pastebin and upon request would message you the highlighted code in IRC … I need to stop thinking before I go try it :x

the point of a pastebin is that it doesn’t flood the channel,

lol

yeah not the channel

by doing that you’ve just reversed it

the person requesting

I see, in a PM

yeah
cause some people may not be able to pop a browser as easily as they can hide a current irc session

hi im trying to get php mysql web hosting support enabled in php on an ubuntu linux system. are there some binary packages i can download with apt to do this or do i have to do a manual build

have you already tried looking? o__o

well apparently there is a package but it doesnt seem to do anything

it very much does do something

i’m sure it’s all command line

sudo apt-get install php5 php5-mysql apache2 libapache2-mod-php5 mysql is IIRC, all you need to do

while($filename = readdir($handle))
is that a proper if sentance?

that’s not an if statement,

er
a proper while*
lol

yes,

there doesn’t need to be == (two equals)? I’m not a php person so I’ll take your word for it.

oh, yes sorry
==

hmm

no
just = sorry lol

no?
wahgljrkgaerg LOL PICK ONE _

=

I’m trying to fix this horrible problem
why only one?

php.net/readdir
haha sorry
oh god I’m going mad, ignore me – read the docs, I need tea

*lol*

hmm
tea mm
the docs say that that is the “wrong way”
so I’ma try the “right way” and see if that really makes a difference

Hello, does anyone know of any solutions to deal with how IE timesout? I’ve got a process where a user uploads a file, the process runs in the background (this an take a long time, sometimes an hour or so), and then redirects the user to a results page…works fine in Firefox, but IE times
out

Did you properly light the insense?
in what order did you chant and throw the chicken bones?

.. ?
:P

lol

hi….

hey

hi

in creating web apps, just how the heck do you ‘debug’ a php app on apache!!

can session contain arrays?

yes, and objects
auto un/serialised

with a normal c app, i can set breakpoints, examine the stack/registers/etc…

by using other php functions such as echo, var_dump() is_file() file_exists() is_object/bool/null/string/int etc etc

any articles that i can look at??

ThinkMedical ok ty

want to check if it’s going in an if … place either echo ‘YAYAYA’; or die( ‘fooooooo’ );
if it displays the text, it went in the if

alexc – so there’s no way to examine registers/events/etc.. short of simply adding debug code and writing out the results..

or use an IDE to do breakpoints etc.

heya people. question: Is there a WWW

*
To prove that you're not a bot, enter this code
Anti-Spam Image

Comments are closed.