@# 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 31 32 33



Comments:

<0> Meltir: bah
<1> S4nD3r: your on a good way to start a flamewar.
<1> in fact - im amazed it hasnt started yet :)
<2> I just would like to know which is the best IDE to use with php
<1> S4nD3r: google.
<3> hi
<0> S4nD3r: use notepad
<2> I dont know php
<0> we all know that using IDE is totally pointless, i mean who needs it. everyone here writes in pure text
<1> Artnez: or write in hex. like real programmers do.
<0> because we are all professionals. anyone who uses an IDE is a like a handicapped person trying to walk like the rest of the big boys
<2> Im beggining yet, I need to develop an interface using forms to insert, edit, delete datas
<4> Hi, I'm really new to php and mysql both- I have a very basic understanding of mysql and php-I'm looking for a way to create my own inventory/warehouse management database that i can add/checkout/remove inventory and document where it was sent,to whom and when- I'd like to have a php frontend to let the endusers pull,ship,receive etc. without them calling me every five minutes for help-does any one know of a clear howto or perhaps offe
<1> w32: you want to check out the projects on sf.net, freshmeat, and anything google spits out.
<0> w32: if it's for your company and you truly care about security, contract someone out



<4> ahh I forgot about freshmeat- nothing on sourceforge
<5> Artnez: if I use safe_mode = On, how is that posix functions work?
<5> the POSIX function perform any kind of access checking when safe mode is enabled.
<5> in that uri
<4> Artnez: we're on a really,really tight budget... But yeah my thoughts initially
<5> None of the POSIX function perform any kind of access checking when safe mode is enabled.
<1> ruben: cage all the users.
<1> no mess, no fuss.
<0> w32: i've seen countless companies shell out up to 4 times their projected costs because they wanted to save money on what matters
<0> w32: if you want an application that handles the operation of your business in any regard, you need a professional doing it. if not, lawsuits and headaches await :)
<2> I need to find a good PDF book, or article showing how to create a front-end to add/delete/edit data from database.... snif
<6> you and me both s4nD3r
<4> Artnez: good point
<1> i cant wait to see the sript flush its first results :P
<7> w32: CRM or CRS programs... many are out there and some can be modified to fit your limited needs fairly cheaply
<8> S4nD3r: a good generic script to look at for db queries is "mysqlquery" ...google for it
<9> there's thousands of tutorials all over the net about this type of stuff, S4nD3r
<2> I will look for it
<2> thanks anyway
<8> S4nD3r: here's one i've used as a model: http://k2wrpg.org/~leader/sqlquery.php.zip
<0> S4nD3r: http://www.htmlite.com/PHPintro.php does good at explaining the basics
<2> klync is offline
<2> theres no ~leader
<8> S4nD3r: i have a local copy: https://secure.26a.net/svn/projects-kevin/php-scripts/oobmdb/lib/mysqlquery/
<10> Is there some flag I need to set in php.ini or somewhere to get all my GET and POST vars into regular $variables?
<11> !+gv
<12> Global Variables - this will show you everything that php sees: <pre><?php print_r($GLOBALS); ?><hr size=5 noshade><?php var_dump($GLOBALS); ?></pre>
<8> Woosta: that's not very secure, but there's a function that will do it
<13> yes, but don't do that.
<13> d'oh
<0> Woosta: Don't do that. Period.
<1> crap. if my calculations are correct - the script will keep on running for over 5 hours.
<14> Woosta: register_globals = on. But, not to be an ***, don't do it.
<10> I know that .. it's legacy code that I'm trying to get going on a temp machine while I rewrite it .. I need to see how it funcitons
<1> i give up. gnite guys.
<10> I think it's amazing that it is even an option personally :)
<7> what the squiggly smooch am i doing wrong in trying to get php to install with mysql functionality
<0> Meltir: night
<8> weasel00: what the flibbering flop does the error message say, and what platform are you on? and, are you trying to compile it from source?
<14> Woosta: It's going to be removed.
<15> weasel00: what distro?
<7> FC4 apache2.2 mysql4.1.1 php5
<15> weasel00: are there php5 packages for fc4?
<8> weasel00: i'm guessing you just need to enable it in your php.ini
<7> http://php.pastebin.com/574260
<7> those are the only notices i get in the configure script... seems ok to me but nothing is registering.. ie. phpmyadmin
<16> does everyone usually use preg_match, cause it's the fastest for regex's?
<8> weasel00: oh, looks like it wants the mysql server to be running, probably for the test phase
<15> weasel00: I'll ***ume there's no php5 packages for FC4, then. Install the mysql-dev packages and just use --with-mysql
<8> people install from source on FC?
<7> klync: mysql is running
<7> i installed php5 mysql apache from source
<7> s/ source / respective websites
<15> weasel00: have you tried just putting --with-mysql in the configure line?
<0> rj000: PCRE (preg functions) are much more powerful and usually work faster
<8> weasel00: oh, then did you install mysql in /usr or /usr/local?
<7> Crywolf: i have.. i do it again paste the outcome
<14> rj000: People use preg_*() because it's Perl compatible, and fast.
<15> weasel00: have you done './configure --help' to see what it's expecting?
<7> kuja your back =)
<14> In between eating, but kind of.



<16> kuja, Artnez: k tnx
<7> kuja take a look at this if you could .. http://php.pastebin.com/574260
<7> php 5 docs say to use mysqli but it doesnt seem to be working
<14> weasel00: MySQLi is the improved extension, meant to be used for >= MySQL 4.1.x
<14> weasel00: Are you sure you've installed all the right libraries?
<7> -lxml2 -lz -lm -lxml2 -lz -lm -lcrypt -lxml2 -lz -lm -lxml2 -lz -lm -lxml2 -lz -lm -lcrypt -o sapi/cli/php
<7> Build complete.
<7> (It is safe to ignore warnings about tempnam and tmpnam).
<7> [root@livetheatrical php-5.1.2]# make install
<7> Installing PHP SAPI module: cgi
<7> gdi sorry
<7> forgot what i copied last and got punted
<7> on line 6 it says Checking for MySQL support..... yes
<7> not sure what other libs i need. i have server up and running and seems to be happy.. do i need the dev pkg?
<14> weasel00: Well, to build the extension, yes you need the development libraries.
<17> re
<7> i dont see the dev libs on mysql.com =/
<14> weasel00: What distro are you on?
<7> fedora core 4
<14> weasel00: So just install the package?
<7> php-mysql.i586?
<18> what's the practical result of leaving out ?> at the end of a php file?
<19> If i want an argument to a function to be optional i'd do: function mehFunction($arg1 = "somevalue") {}, right?
<20> hi all. is there a function from one of php "default" libs to output a XML document from an object?
<21> yeah dexterr
<7> Mysql mysql-python mysql-devel mysql-server perl-DBD-mysql <-- are all installed
<22> whats the easiest and most painless way to get captchas working on my site
<23> numerically equal in php is just $a == $b isin't it?
<24> Zyclops yes
<7> checking for MySQLi support... yes checking whether to enable embedded MySQLi support... no << is this bad?
<24> Octane realistically, print it out in HTML, use a document.write in javascript if you want
<24> Most bot programmers aren't going to bother braking you "What is 3 + 4?" html code :)
<23> i dont' get it, i'm comparing 127.02 with 127.02 and php is saying they are different... i'm trying to work out whether one of them is a string
<25> Greetings... I've got a wierd problem, I hope someone can help me out on.
<25> I'm printing <div id=\"poster\"> ... then calling a function to print a few lines... only problem is, the function output prints before the <div> even though it comes after the div.
<24> Zyclops it doesn't matter if one of them is a string if you're doing ==, === does a type check not ==
<23> i'm actually using !+
<23> != even
<25> e.g. :: print "<div id=\"poster\">" . MyFunction() . AnotherFunction . "<span>Something</span></div>";
<23> one of them is a double, the other a string
<23> maybe it's comparing double to in
<23> to int
<24> you could try casting them both to a double
<25> my source comes out "What gets printed in MyFunction and AnotherFunction <span>Something</span></div><div id="poster">
<24> it wouldnt be dropping either down to an int
<23> ahh ok, i need to explicitly cast the string to a double
<23> ugh
<23> ok now they are both doubles
<23> $row['balance'] = (double)($row['balance']);
<23> if($row['balance'] != $balance) { and it's saying that all these ones are different
<23> any ideas on why to doubles would be != true on identical doubles?
<25> can anyone take a look at http://pastebin.com/574353 and tell me why it's coming out wrong (http://pastebin.com/574357)
<14> Zyclops: var_dump($row['balance'], (double)$row['balance']);
<26> sendmail [via php's mail()] keeps sending mail as apache@domain.com... any idea how to fix this?
<14> SkramX: php.ini, sendmail_from
<23> kuja: float(744.82) float(744.82)
<23> float(786) float(786) etc etc
<14> Zyclops: Beats me, sounds like some other error.
<26> kuja: ill look for that field
<23> whats strange is that some of the numbers are showing up fine
<26> kuja:
<26> ; For Win32 only.
<26> ;sendmail_from = me@example.com
<26> I am on LINUX :)
<14> SkramX: Look below.
<26> ;mail.force_extra_parameters =
<26> that?
<14> Nevermind.
<23> float(400) string(6) "400.00", float(870.63) float(870.63), float(400) float(400) << works
<25> kuja, got a moment to help out me out?
<26> kuja: serious, how?
<23> float(744.82) float(744.82), float(928.82) float(928.82) << doesen't work


Name:

Comments:

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






Return to #php
or
Go to some related logs:

#lisp
suse broadcom 4311
#gentoo
glx_ext texture pixmap
hash and dehash hex
postfix network_table cidr notation
juliangallego86
#linux
#linux
easyubuntu riva



Home  |  disclaimer  |  contact  |  submit quotes