| |
| |
| |
|
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 34 35
Comments:
<0> itrebal, are they better than SMF (in your oppinion (fud forums))? <1> bind/postfix/apache/cc billing/etc <2> AzMoo so it would look like get_file_content(FILENAMEHERE); <0> looks much more professional <3> Seadog: from what i've heard, its very very good <0> thanks <4> Myconid: same :D it was a fun experience... thought i had to integrate with cpanel in some area <3> Myconid: i havn't used it in a long time <5> I personally use phpBB right now <1> Artnez_: I dispise cpanel for some reason.. <6> DrewMew|Home, no. http://www.php.net/file_get_contents <1> surfdue: Im sorry <4> Myconid: cpanel is a piece of **** -- i'm saying this kindly (: <3> surfdue: do you have a copy of the latest hpanel? <1> Artnez_: i basically implemented all of cpanel.. more or less.. i think <5> No its changed.
<5> I changed it to panelone and I have done alot of work. <3> surfdue: i know, i'm looking into continuing what hpanel was going to be <5> Its now a opensource billing/support system itrebal, sorry? <5> really? <3> yea, but on my own time :) and then probably starting up a SF page for it <5> well i have a backup of the original after i switched names and such <1> When businesses say 'open source' .. they usually mean 'saves us money and liability' <7> Good day, in PHP, how do I "echo $HOSTNAME" <-- echoing the system's hostname <3> upload it <4> surfdue: it is usually best to hire some developers to write your own billing management system -- depending on the size and ambition of the company <1> xavierk: php does not know the hostname.. it is often p***ed via your httpd though. <5> how much do you think I could hire a dev for? <7> is it possible to GET a system variable? <4> i, for one, trust no ones code but my own, which is why i despise the word 'integration' <3> xavierk: run phpinfo() and look for hostname <1> xavierk: if your running apache check the SERVER_NAME it p***es. <5> Artnez_, well Im looking more for developing an opensource one, even IF I HAVE to pay for it, i want it done. <3> Myconid: thats not the hostmask <1> itrebal: afaik no one wants the hostmask <3> "02:53:41 PM) xavierk: Good day, in PHP, how do I "echo $HOSTNAME" <-- echoing the system's hostname" <1> yea? <1> like I said.. no ones asking for the hostmask <1> the SERVER_NAME apache p***es is the hostname that apache has been configured with <3> meh, i got confused in there, i didnt' mean what i said <1> echo $_SERVER['SERVER_NAME'] <1> I dont believe that will work under anything except apache though. <7> tring now <8> !+gv <9> Global Variables - this will show you everything that php sees: <pre><?php print_r($GLOBALS); ?><hr size=5 noshade><?php var_dump($GLOBALS); ?></pre> <7> looks like that might work..ty! <1> no problem. <1> i should have thought of the million dollar homepage before that jerk did <3> heh, whys he a jerk? <1> because he has $1m and I dont <10> That's like a basic axiom of the universe; anyone with significantly more money than you is a jerk. <1> No, anyone who has significantly more money by act of luck, is a jerk. <4> Myconid: dont get ahead of yourself, he's going to lose a large chunk of that million <4> he's being sued by the last company to b uy space <1> Artnez_: yep.. but he had $1m before he sold that last space. <1> taxes.. hosting.. blah blah. <4> the serve hosting his site was hacked into right when he sold the last spot <1> worst case he walked away with $200k in green. <3> 200k isnt bad :P <4> and the news was everywhere about him selling the last spot, so the traffic hit was huge -- but the server went down <1> I should have written a million dollar CMS app.. <4> once the server went down for days, the last purchaser filed a lawsuit saying that he lost a ton of the traffic he should have had <1> there are so many knockoffs.. i bet i could make a fortune selling an app that lets you easily make your own milliondollar homepage <3> $mda = new MillionDollarHomepage(); <1> or even a hosted solution.. with integrated billing.. scam 5% off every sale <3> echo $mda->generate(); <11> lol <3> Bam! two-liner :{ <3> :P * <1> its that easy! <1> Fatal error: Cl*** 'MillionDollarHomepage' not found <1> :( <7> Myconid, do you know how phpinfo get <7> err <7> Myconid, do you know how phpinfo() get's the system name??? as that is what I really need <1> xavierk: where do you see it/ <4> CSS centering is such a pain in the ***
<12> Artnez_: did you use it ? <1> Javascript/CSS is such a pain <3> Artnez_: margin-left: auto; margin-right: auto; width: auto; <4> kuku5: i tried it out. there's little point though -- if you want a standalone app, PHP is not the way to go <8> itrebal #web <4> itrebal: nice try <1> xavierk: echo php_uname('n'); ? <4> margin-*: auto does not work in IE <2> haha <7> trying it <13> hi guys. whats the lib required for pdf support in php? and the switch? <4> there are workarounds, like putting the div with margin-*:auto in a container and doing text-align: center; on the container -- but vertical centering is impossible to make it cross browser <7> that did it!!! thank you!! <8> rx-182 you pay for it <4> rx-182: http://us3.php.net/pdf <2> lol <3> 100,000 downloads can be wrong.... look at windows :) <14> lol <1> itrebal: lol <15> hmm. HydraIRC is pretty cool <15> though it REALLY needs some text padding <12> Artnez: the point is to sell your app without the code <16> anyone know resaons why i would get a call to undefined function when using mysql_escape_string ? yet mysql functionality is working fine ! (php4 and 5) <3> use this one: http://us2.php.net/manual/en/function.mysql-real-escape-string.php <3> (mysql_escape_string is depreciated) <16> itrebal, i get same error using _real_ <3> i... couldnt tell ya, i dont use mysql..) <16> ok. <15> kuku5: if you want to sell your application without providing to code, look into IonCube <16> anyone else got any suggestions? <15> the Roadsend Compiler is designed to release standalone applications of PHP -- in other words, converting PHP code to machine code. that is not what you're after <3> i need to get a weather-proof webcam... <3> or camera in general <15> p1tst0p,look into your installation <15> it's most likely a corrupted install <16> Artnez, hmm its ubuntu, everything else seems sweet.. i dont get it <3> apt-get remove php <16> i have a number of mysql/php stuff running <3> download/compile your own <3> its a rather easy compiliation <17> has anyone ever heard of mail() messing with the http headers somehow? it's happening to a friend of mine in the simplest of webpages, just a contact form with two fields and mail(), the code has worked on other servers that run php as a module to apache but this new server runs php as a cgi binary, i myself have used mail() on the same server but his script just wont work, apache error log seems to indicate that the content of the last argu <2> AzMoo <?php file_get_contents ('/buynow/orders/product_info.php/cPath/21/products_id/28'); ?> <17> he just tried without the last argument to mail(), the headers, and it worked <2> does that look right? <18> h, <15> nocturnal: tell your friend to get PhpMailer <15> its seriously a great cl***.. no reason to use anything else <15> personally, i've noticed mail() acting up on many occasions <3> PhpMailer *does* use mail() iirc <17> Artnez: there is no reason to get a whole cl*** for something as simple as this <3> cl*** foo { <17> i've never heard of anything like this, mail() is actually modifying http headers <3> function bar(){} <3> } <-- is a whole cl*** <3> damnit, sorry guys <15> nocturnal: it shouldnt' be doing that, this is for damn sure -- actually it doesnt even make sense <17> Artnez: yes and i've even tried using output buffering, nothing helps <3> nocturnal: are you sure its not modifying the *mail* headers and no thte *http* headesr? <3> OB doesnt stop header changes <17> itrebal: like i said, the apache error log says malformed headers and gives me a piece of the 4th argument to mail() as a http header that was malformed <15> nocturnal, it would also help to understand what is being changed <3> whats the *exact* error <15> n/m :) <19> hi there; I have sort of a general practices question more than a coding question; when you are collecting form data from folks; is it better to use post to send the data back and forth between pages or to use sessions? <17> "malformed header from script. Bad header=29... User unknown" 29 is one of the first things he's putting in his headers, i know it's not much but if i change 29 to 666 it still ends up in the error_log so i'm sure data i send to mail() as an argument gets put in the http headers somehow, thats why they are malformed <3> the 4th argument you say? <17> counting from 1 <3> correct, those are additional mail headers - why are you setting additional mail headers in the 1st place? <17> no real reason, he wanted to see who sends the contact form and after we discovered the form worked without that argument i told him to put that info in the message instead <17> but i would still like to know why this happens, just out of interest <15> itrebal: i think that's irrelivant.. i'm interested to understand why the hell that's showing up in apache logs <20> hi.. <3> Artnez: because its an Apache CGI, not module - so errors go into the apache log <15> ah, that's right, doh
Return to
#php or Go to some related
logs:
#gaim debian splashy grub i810 gaim 2.0 irc not working Japaneses symbols grub loading error 17 ubuntu module nvidia not found suse readlines remove \n perlcc unable to autoload why does ps2 mouse lag on gentoo #css
|
|