@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info
Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet
Page: 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



Comments:

<0> daum: number_format
<1> im getting weird behavior, im calling convert (imagemagick) using exec(or p***thru) to convert a PDF file to a PNG file, convert core dumps when i use php, but works fine when i run the same cmd in a terminal
<2> ok... will do some reading. Thanks for the pointers guys.
<3> good luck
<4> goods ppl
<4> look
<4> $usc = $arr["username"];
<4> for why that line is wrong?
<0> mybadluck: http://user:p***word@example.com
<3> coolest times
<3> thanks
<0> in the manual underfopen wrappers btw..
<0> malmen: looks fine, unless the key 'username' doesn't exist.
<4> but exist :S
<5> hwo can I make a .* lazy.. in a ereg?
<3> maybe an if(isset thing



<0> malmen: maybe you have a parse error in your script. are you missing a " anywhere above that line?
<4> n
<4> no
<4> its only that
<6> what error do u get malmen?
<4> the page not load
<4> but its ok now
<4> tks anyway
<4> i change the place of that and thats runns
<4> lol
<5> is nongreedy expressions possible in php's ereg method?
<7> sander_: No
<7> sander_: ereg is a DFA
<5> TML, is it possible to match everything without one characther?
<8> !dfa
<5> I want to devide the url of a page in two.. test.php?test=1.. where test.php goes in one..and test=1 in another..
<7> sander_: Use PCRE
<7> Or explode
<3> EXPLODE!
<3> PSHHOOOOFFF!
<3> (sorry)
<5> *goes up in smoke*
<5> ;-p
<9> you guys are as helpful as a used condom.
<3> i always make explosion noises when i write that
<5> any url to where PCRE is explained?
<7> sander_: You should be using PCRE. ereg is going to go away.
<7> sander_: php.net/pcre
<5> nice.
<3> i dunno, explode is probably easier
<3> $array = explode('?',$url); i think
<10> There is a way to create a simbolic link with php?
<5> mybadluck, even worse.. now the string is just splitted with ?
<3> what?
<11> Xwarrior: http://php.net/symlink
<5> I want everything in front of first ? in one variable..
<5> and the rest.. after the first ?.. in another variable.
<5> so.. test.php?s=s?sss gives: 'test.php' and 's=s?ss'
<3> oh
<12> sander_: u can also use foreach and $_GET to get whole vars in url
<13> hi, what do the userspace stream mean? in the documentation of fread is written, that reading stops when 8192 bytes for userspace streams. when is it then limited?
<5> BellSouth, hmm.. aint it easier to just split it?
<3> what?
<3> are you just trying to get your get vars?
<1> im getting weird behavior, im calling convert (imagemagick) using exec(or p***thru) to convert a PDF file to a PNG file, convert core dumps when i use php, but works fine when i run the same cmd in a terminal
<5> mybadluck, I managed it: ^([^?]*)\?(.*)$
<14> what does the mixed keyword mean ?
<3> fun
<12> sander_: it is easy, but i dont think it is gonna work fine in all cases
<5> BellSouth, in which cases?
<12> sander_: and mainly if u get more then one variable
<5> BellSouth, well.. i'm not going to parse the query string.
<5> only devide them.
<5> and put them into an sql database.. for stats
<5> anything which might go wrong with it?
<12> (i'm believing u want to get test value)
<5> no.. I dont.
<14> void insertObject (mixed $table). mixed here means ?
<15> guys
<15> why is it sometimes
<16> snow_: it can be a string/int/float



<15> like
<15> the margins of ur site change for no reason?
<3> $out = ''; foreach($_GET as $key=>$element) { $out.="?$key=$element&"; }
<15> wrong channel
<16> :)
<3> sander_, that was for you
<5> mybadluck, thx.. i'll check it out
<12> sniperyyd: string, array, boolean, any type
<12> ops
<14> lpmusic, so, what is the differerence when comparing to $variable ?
<12> snow_: string, array, boolean, any type
<14> and mixed $variable ?
<16> nothing?
<5> mybadluck, test.php?ss?s returned: ?ss?s=&
<17> mm i have a problem during print output from a shell command: $out = shell_exec("cat /var/log/messages"); print("\n $out");
<5> mybadluck, never mind.. the ereg method works nice.
<17> all output is not well formatted
<3> sure
<3> whatever works
<17> if i use <pre>tag width table are not respected
<16> DoM: first off, why aren't you just fopen()'ing and reading the file?
<17> cause i write cat but it's not cat it's grep
<17> lpmusic, just to do a simple example
<16> calling outside programs is slow and ugly, but if it's just an example, whatever then :)
<18> DoM, nl2br()
<18> It's returning \n's
<17> i read about explode
<17> nl2br i check
<18> Which do not create linebreaks in an HTML page. You need to echo a <br> instead.
<12> sander_: because he told its do it, in his example u can do whatever u want with ss?s
<19> wheres a good site to find people looking for work doing php?
<20> OldVolks: full time work or part time work?
<21> is there a way to view the keys from an array
<8> !+gv
<22> Global Variables - this will show you everything that php sees: <pre><?php print_r($GLOBALS); ?><hr size=5 noshade><?php var_dump($GLOBALS); ?></pre>
<18> array_keys()
<19> spenser just looking for some help on a small bit of code in a form
<17> it works thanks Julian|Work
<20> OldVolks: I know a guy here that does it full time but then picks up side work doing PHP and Java.
<20> but it's basically word of mouth
<18> DoM, cool
<19> who?
<20> OldVolks: just a friend of mine
<8> !+g7
<22> Guideline #7) No spam, bots, scripts, trolls, job postings (includes asking for work), advertisements or onjoin/away/back messages.
<19> ive been trying to figure this out for a few days now and no one seems to been able to help me or has even tried
<18> OldVolks, there are several websites.
<8> NO JOB INQURIEY IN ##PHP
<19> message me a few links
<21> array_keys() is just returning 0, 1; is there any way to get the lables of the keys?
<18> OldVolks, google! Never heard of monster.com or hotjobs?
<19> isnt a job inquriey asking for work?
<8> OldVolks I'm about to ban you
<18> A job inquriey isn't anything, but a job inquirey is asking about work, sure.
<19> i want to have someone do maybe 5 lines of code
<18> lol
<11> Darkstar: If array_keys returns 0, 1, then those are your keys. They don't have labels.
<3> that was fast
<18> inquiry, even.
<21> i can see another piece of code accessing the array with at least 4 named keys
<8> Darkstar...
<8> !+gv
<22> Global Variables - this will show you everything that php sees: <pre><?php print_r($GLOBALS); ?><hr size=5 noshade><?php var_dump($GLOBALS); ?></pre>
<23> I installed an apahce server on suse 9.2 with PHP and the PHP works fine alone but when I test php inside html it does not show up... any thoughts?
<3> example code?
<3> www.pastebin.com
<23> <html>
<23> <body>
<23> <?php
<23> echo( "Hello World!" ) ;
<23> ?>
<23> </body>
<21> sorry my mistake, its a 2 level array
<23> </html>


Name:

Comments:

Please enter the result of the sum 63 + 46 (to avoid spam):






Return to #php
or
Go to some related logs:

efm file manager source code
mysql allow empty values NULL
db_load + command not found + ubuntu
dvd-to-go ubuntu
bodmas kids tutorial
billionton bluetooth openzaurus
#web
kcontrol dissapear
error while loading shared libraries: libselinux.so.1: failed to map segment fro
refresh udev



Home  |  disclaimer  |  contact  |  submit quotes