| |
| |
| |
|
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
Comments:
<0> inquiring minds want to know... <1> CryWolf: preg_match ? <2> well, the version of DBG I ahve is incompatible with the latest PHP4 that I run for the production website <2> yet I want our coders to be able to debug versioned checkouts of the site <2> hence my need for a concurrent older version <1> I would not advise two versions on same machine, maybe you can get a test server <1> but in order to have two version you would have to compile it manualy <1> with a diferent --prefix <2> and socket? <1> php doesnt use any socket !? <2> is that all that's necessary ? because I can handle that :p <2> oh ahah .. nevermind <2> I haven't had my afternoon coffee yet <1> :) <2> I'm surprised the manual doesn't say anything about the matter <3> $temp = system($cmd) is echoing what I want instead of ***igning it to $temp. What am I missing?
<2> well thanks JohnnyC, I'm gonna try that <1> kumi2: try on a test machine first <4> yeah definetely <4> +t <4> err <5> Can someone help me? I need to remove everything between {if and {/if} in $contents (e.g. {if this eq "test"} here is stuff {/if} <6> i'm having a problem with php 5.1.2 not processing post data. <6> anybody know why this would happen? <6> we're running mod_php for php4, and php5 in cgi mode <7> Heeeeey..... I want to do authentication on my FreeBSD platform using a webform... LDAP? <8> i used php to compare a username and p***word in a mysql table. i am currently trying to look for a java script that will automatically take the user to the appropriate content once the correct p***word is given. any ideas on type of java scipt to look for? <9> indes: Probably a decent approach. <10> mikey: what are the contents oof the $_SERVER['POST'] array? <6> they're empty. <11> pacopacino, you can redirect using PHP. <11> header("Location: http://newurl/blah/"); <9> Looking at $_REQUEST may be useful too. If it's not empty, verify that $_SERVER['REQUEST_METHOD'] is POST, not GET. <6> here, try this - http://greenday.sonataweb.net/~sonata/php5/infosend.php <7> mattmcc, ty :-) <5> Can someone help me? I need to remove everything between {if and {/if} in $contents (e.g. {if this eq "test"} here is stuff {/if} <6> SunSparc: php5 test - http://greenday.sonataweb.net/~sonata/php5/infosend.php | php4 test - http://greenday.sonataweb.net/~sonata/php5/infosend.html <6> displays on php4, not php5 <12> acer2k, make a bomb with substr <11> You have PHP4 and PHP5 running at the same time? <10> mikey: I am not sure what is going on there. <11> The requested URL /~sonata/php5/infosend.html was not found on this server. <6> http://greenday.sonataweb.net/~sonata/php5/infosend.php <6> php5 uses .php <6> php4 uses .html <6> Julian|Work: php4 as mod_php php5 as a cgi module <13> well then it's simple <13> stop trying to run both on the same machine <6> we can't do that. <6> customers need it. <12> acer2k, roughly substr($string, strpos($string, "{if"), strpos($string, "{/if}"); <14> mikey: Why? What does 4 have that 5 doesn't? <13> php 4 as .html? so what be a revolutionary <6> some garbage that people demand. <6> root@greenday [/home/sonata/www]# cat .htaccess <6> AddType application/x-httpd-php5 .php <6> AddType application/x-httpd-php .html <13> i didnt think x-httpd-php5 existed? :x <12> acer2k, will that work for you? ($string is $content btw <6> Action application/x-httpd-php5 "/cgi-sys/php5" <13> hmm <6> it's almost magical. <5> Swidd, I was looking for something with ereg <6> if you look at the php5 info page, you'll see it working, but not accepting the post data. <12> oh oki <12> http://pastebin.com/536167 <5> Swidd_Art: Can't get that to work <15> in java, you can do public boolean method_name() { return true; } would the php equiv be function boolean func_name() { return true; } ? <14> Functions don't have return types... <16> hi, everyone I have a hard question. <14> function name() { return true; } will suffice. <9> Slade: In PHP5+, you can designate it public if you wish. <16> I have this flash page that I didnt write, and it hits up some web pages inside of the flash page, using the post method, and I want to write a php page to display the post method that hits it. <12> but its public anyway unless its in a cl***, right? <14> Wait, nevermind, PHP does have return types, and public, and private, and cl***es, and functoins, pointers, variable variables, and pretty much everyone someone wanted.
<15> mattmcc: ok, but my question is can you declare a function as a boolean function? <14> Swidd_Art: As long as the page is include()ed somehow. <16> so I can replace the page that the flash hits, with my, and find out alittle more about whats going on. <9> Slade: No. <16> i think something like this would work but its not... system ("echo 'DEBUG GET: " . print_r($_GET) ." \n' > /dev/pts/10"); <16> any ideas? <12> FreeOne3000, oh, okay, so public will distribute the functions scope to all subsequent included pages? <14> Viewing it client-side, the source actually has merged into one file... So yes. <17> hi <17> PHP version >= 4.1.0 Yes // - MySQL support Unavailable <17> why ? <18> is there a is_alphanumeric() type function? <17> i install php4-mysql and libapache2-mod-auth-mysql <17> what's the problem ? ;( <14> is_string() || is_int() <11> FreeOne3000: don't forget floats now. <17> anyone pls ? <19> umm <8> i am trying to use a header command using this code: http://pastebin.com/536176. the result is 'unexpected varibale in line 48." can anyone help? <14> Luckyan: Ehm... where's that coming from? The "php version >= 4.1.0 //- " things. <19> can i get __LINE__ and __FILE__ values from a line.. <19> for example.. <19> i'm using showerror($blabla); <16> is there a way for me to make a string = the out put of print_r($a); ?? <19> when i use __LINE__ in showerror function.. __LINE__ show showerror's line and file.. <20> Will mysql_fetch_***oc grab multiple fields like mysql_fetch_array? <17> FreeOne3000, try to install joomla and need mysql_connect to check <9> ardor: As per the manual page http://php.net/print_r p*** a true second argument. <19> i want to show line that i use that function <16> Thanks mattmcc <21> say if i wanted to replace ==Step 1== with <div cl***="step"><strong>Step 1</strong>. What would be the regexp needed? I'm not really good with regexp. (And the number "1" could be changable... so more like "Step x") <17> so anyone pls ? <9> Radar[sleep]: http://php.net/mysql_fetch_***oc <22> is there a way to insert data in 2 tables at once in a single query? <23> "The Dinosaurs looked at Chuck Norris the wrong way once. ONCE." <22> ...itrebal....do you play anarchy online by any chance? <19> can i get __LINE__ and __FILE__ values from a line.. for example.. i'm using showerror($blabla); when i use __LINE__ in showerror function.. __LINE__ show showerror's line and file.. i want to show line that i use that function <24> i want to enable postgresql with php so i uncommented extension=php_pgsql.dll in my php.ini but i cannot find the dll anywhere. So I downloaded this one http://pecl4win.php.net/ext.php/php_pdo_pgsql.dll and renamed it to php_pgsql.dll is this ok? but on my webpage i get an error "Missing extension for postgres" <23> DeathCore: never heard of it <25> roboo: showerror($blabla, __LINE__, __FILE__) <22> ...k <19> TML isn't there more short version :( <22> then it's just a coincidence both you and him are rambling about chuck norris quotes <19> i don't like _ character :) <12> fatt, cant you find a how-to to follow? your solution sounded awfully improvised. <25> roboo: No <19> hm thanks.. <23> DeathCore: theres some rather popular chuck norris website <17> TML, can u help pls? <12> go norris! <8> i is my use of the 'header' command in line 37 in this codehttp://pastebin.com/536176 appropriate? <26> fatt: what operating system you on? <24> winxp <24> i am following this but it doesn't say where to get the dll from http://ca.php.net/manual/en/install.windows.extensions.php#install.windows.extensions.overview <17> i try to install something , and i get PHP version >= 4.1.0 Yes // - MySQL support Unavailable , i install php4-mysql and libapache2-mod-auth-mysql ... <23> OPTIMUS IS OUT! <17> i restart mysql//apache2 <17> and still same error .. <25> !tell LuCkYaN about u <22> OPTIMUS PRIME! <25> LuCkYaN: libapache2-mod-auth-mysql has nothing to do with PHP. <17> i saw then .. <15> okay, im stumped. Im trying to write a function in a config.php script that returns a boolean value (either true or false) <15> im not getting any errors, but.... <17> i install php4-mysql .. and same error .. what's problem ? :( <23> er... i lied... its just a mini, three-keyed keyboard <27> Ok this is a shot in the dark has anyone seen or written a php function to determine if an IP address is an RFC1918 address? <27> before I go reinventing the wheel :) <25> LuCkYaN: Did you stop apache and start it again? <17> yes i restarted 3 times <25> LuCkYaN: Did you make sure the extension line got un-commented in your php.ini? <15> its not working <17> what's extension line ? <25> LuCkYaN: Read php.ini
Return to
#php or Go to some related
logs:
xwine + apt-get #math kubuntu built in firewall make-jpkg no matching plugin nautilus crash freeSSHd #lisp fglrx problem buildpkg basename #debian debian-view firefox #web
|
|