>I do not see an entry stating "Loaded Configuration File" in the output
this only available since php 5.2 (iirc)
--
View this message in context:
http://www.nabble.com/-etc-php.init-changes-not-honored-tp14746039p14759509.html
Sent from the PHP - General mailing list archive at Nabble.com.
--
tedd-2 wrote:
>
> At 3:28 PM -0600 1/3/08, Richard Lynch wrote:
>>On Wed, January 2, 2008 5:26 pm, tedd wrote:
>>> At 2:34 PM -0800 1/2/08, Jim Lucas wrote:
This I think shows what tedd is looking for.
so, from this I deduce that this should work.
$submit = trim($submit, "
nice!
but to avoid confusion it should read (assuming that $checked is a boolean
variable):
/>
IMHO
Larry Garfield wrote:
>
> First of all, using "y" and "n" for boolean values (such as a checkbox) is
> very sloppy. "n" is boolean True. A boolean value should evaluate
> correctly
> in a b
tedd-2 wrote:
>
> I used small case because this is a php list and
> I didn't want to confuse anyone with trying to
> get Date() to work in php.
>
no need to worry, in *php* functions are not case sensitive.
cheers
Jürgen
--
View this message in context:
http://www.nabble.com/Newbie-questi
my point was: "date()" doesn't work - it's "Date()" (at least in Firefox)
tedd-2 wrote:
>
> At 2:13 PM -0500 11/15/07, Jeremy Mcentire wrote:
>>On Nov 14, 2007, at 4:21 PM, Jürgen Wind wrote:
>>>better use Date() in js ...
>>>tedd-
better use Date() in js ...
tedd-2 wrote:
>
> Current date/time for whom?
>
> For your server, use php's date().
>
> For the user, use javascript's date().
>
> It's so cool to be multilingual. :-)
>
> Cheers,
>
> tedd
>
> --
> ---
> http://sperling.com http://ancientstones.com http
tedd wrote:
>
> At 7:30 PM -0700 10/11/07, Instruct ICC wrote:
>>
>>
>>Now I see why BCMath was mentioned.
>
> Yes, but precision is not the issue.
>
> It doesn't make any difference if you are rounding.
>
> (a) 1.489123451985765
>
> or
>
> (b) 148912345198576.5
>
> You still have to make
well,
seems to be OS dependent:
PHP_OS:Linux (Suse 9.x 32bit) | PHP_VERSION:5.0.3
$t=1.255;
round($t,2):1.26
$t += .0001;
round($t,2):1.26
PHP_OS:WINNT (2000) | PHP_VERSION:5.2.4
$t=1.255;
round($t,2):1.25
$t += .0001;
round($t,2):1.26
--
View this message in context:
http://www
I get correct results:
5.2.4 PHP_VERSION
round(5.555,2):5.56
toFixed(5.555,2):5.56
admin-214 wrote:
>
>> While we're entertaining algorithms, has anyone else noticed that
>
>> php's round() isn't the most accurate algorithm to round?
>
>
>
> If you will refer to chafy's reply on 28-Feb-
somewhere I read that php on win doesn't like spaces in the path ... (IIRC)
Francisco Frost wrote:
>
> No, it's not, but I found out by enabling the show errors in php.ini that
> for about 80 items it's saying "PHP Startup: Unable to load dynamic
> library
> 'C:\Program Files\PHP\ext\" then th
You may be looking for this :
http://martinjansen.com/2007/04/upload-progress/
David Blanco-3 wrote:
>
> Hi!
>
> I think that is not possible to read post data as a buffer with php like
> it´s in perl. If this is true, how do you deal with large file uploads
> to know the status of the operat
just don't use php 5.1.6
Chris Curvey-2 wrote:
>
> Hey all,
>
> I'm kinda new at PHP (but not entirely new). I'm having a heck of a
> time with PHP causing my apache processes to segfault. I've found a few
> cases where it's something simple, like referring to an object property
> that doe
Shekar Iyer wrote:
>
> In other words, How do I find if the system on which
> PHP is running is 32-bit or 64-bit programmatically?
>
echo 'This is a ', is_int(2147483647 + 1) ? 64 : 32 , ' bit box';
HTH
--
View this message in context:
http://www.nabble.com/Bit-size-of-machine-tf3989360.ht
Richard Kurth-2 wrote:
>
> I know this is not a PHP problem it is a Browser problem but I need a
> workaround to make this work. So I can finishing my php script
> Using this to select the file and path
>
>
>
>
>
>
>
> My problem I Internet explore this will produce
> C:\
Jim Lucas-2 wrote:
>
> Richard Lynch wrote:
>> On Fri, April 13, 2007 12:20 am, Jim Lucas wrote:
Is there some way I can set a shorter limit?
>>> http://us.php.net/manual/en/function.stream-set-timeout.php
>>
>> Bzzzt.
>>
>> That's for an already-opened stream.
>>
>> :-)
>>
> I figured
Larry Garfield wrote:
>
> ...segfaults under PHP 5.1.6 ...
>
php 5.1.5/6 was the source for many segfaults (f.e. using phpmyadmin)
better don't use it any more. See also: http://bugs.php.net/bug.php?id=39036
--
View this message in context:
http://www.nabble.com/PDO-and-buffered-queries-tf34
Richard Lynch wrote:
>
> On Fri, March 30, 2007 12:13 pm, Juergen Wind wrote:
>> Tijnema ! wrote:
>>>
>>> You can use session within javascript too i believe.
>>>
>> no, sessions are completely serverside, but you can use js to pass
>> variables
>> using the query string when sending a xmlHttpR
Dotan Cohen wrote:
>
> On 24/02/07, Otto Wyss <[EMAIL PROTECTED]> wrote:
>> With method="post" just $kind works fine (register_global) yet I've also
>> tried any combination of $_GET['kind'] and $_POST['kind']. With
>> method="get" it doesn't work.
>>
>> O. Wyss
>
> Try $_GET["kind"]
>
> Dota
Dotan Cohen wrote:
>
> On 24/02/07, Pintér Tibor <[EMAIL PROTECTED]> wrote:
>> echo "";
>> print_r($_REQUEST);
>> echo ";
>>
>> and think...
>>
>> t
>>
>
> Maybe you meant:
>
> echo "";
> print_r($_REQUEST);
> echo ";
> ?>
>
> Dotan Cohen
>
> http://lyricslist.com/lyrics/lyrics/137/12/aali
edwardspl wrote:
>
> cajbecu wrote:
>
>>[EMAIL PROTECTED] wrote:
>>
>>
>>>Dear All,
>>>
>>>Which version of phpmyadmin is suitable for php 5.1.6 ?
>>>
>>>Edward.
>>>
>>>
>>>
>>
>>the latest :)
>>
>>cajb.
>>
>>
> So, Which version no. ?
>
>
next version will come in the next days(hour
Andrei Verovski (aka MacGuru) wrote:
>
> On Wednesday 21 February 2007 16:52:40 Brian Dunning wrote:
>> I have a few scripts that I want to protect from the prying eyes of
>> even people with root access to my server. The best suggestion I've
>> heard is to store only the compiled version on th
Jürgen Wind wrote:
>
>
>
> Ross Hulford wrote:
>>
>> Thought it would be in the phpinfo() but cannot find it.
>>
>>
>> R.
>>
>>
>>
>>
> echo 'mcrypt is ';
> if(!function_exists('mcrypt_encrypt
Ross Hulford wrote:
>
> Thought it would be in the phpinfo() but cannot find it.
>
>
> R.
>
>
>
>
J.
--
View this message in context:
http://www.nabble.com/how-can-I-find-out-if-I-have-mcrypt-and-mhash-installed--tf3266193.html#a9088770
Sent from the PHP - General mailing list archiv
Scott Gunn-2 wrote:
>
>
> http://www.thebigspider.co.uk/test/menu.html
>
>
works/looks nice on FF3 ("Minefield" ;)
Juergen
--
View this message in context:
http://www.nabble.com/New-Menu-Bar---Can-people-test-it-for-me--tf3266443.html#a9083270
Sent from the PHP - General mailing list a
Ramon-15 wrote:
>
> Hi all,
>
> I've written a php script, called test.php, consisting of the following
> statements:
>
> error_reporting(E_ALL);
> $query = $_GET['sql'];
> echo $query;
> ?>
> Using the script with 'small' values for the parameter sql works fine.
> Although, using the scri
>> How can I know if a web browser is cookies enables?
>Send them ONE cookie and see if you get it back on the next page.
yep
>Actually, just use session_start() and see if it works or not is even
easier.
having sessions working is not dependent on cookies.
--
View this message in context:
http
Stut wrote:
>
>
>
> I'm not totally clear what the question was in there. Personally I keep
> this simple...
>
> $_POST['number'] =
> (isset($_POST['number']) ? trim($_POST['number']) : '');
> $_POST['email'] =
> (isset($_POST['email']) ? trim($_POST['email']) : '');
>
>
Gert Cuykens wrote:
>
> On 1/15/07, Jürgen Wind <[EMAIL PROTECTED]> wrote:
>> Gert Cuykens wrote:
>> >
>> > Added db5c29 it includes a new server memory login module some small
>> > layout and code modifications.
>> >
>> hmm,
>>
Roman Neuhauser wrote:
>
> # [EMAIL PROTECTED] / 2007-01-13 18:59:10 -0800:
>> }, //<-- offending colon
>
> # [EMAIL PROTECTED] / 2007-01-14 04:49:10 +0100:
>> ah ok i am sorry, you can just remove the , (the offending colon)
>
> Guyes, what were you doing during your biology classes? ;)
>
Gert Cuykens wrote:
>
> Added db5c29 it includes a new server memory login module some small
> layout and code modifications.
>
hmm,
syntax error: dg.delete()\n dg.js (line 241)
do you know the "Firebug" extension for Firefox?
at least you should test your code before upload ;)
--
View this
Gert Cuykens wrote:
>
> On 1/14/07, Jürgen Wind <[EMAIL PROTECTED]> wrote:
>> Gert Cuykens wrote:
>> >
>> > It's a web based sql console that you can use instead of phpmyadmin.
>> >
>> nice idea,
>> but i got lots of js errors (i
Gert Cuykens wrote:
>
> It's a web based sql console that you can use instead of phpmyadmin.
>
nice idea,
but i got lots of js errors (i.e. resulting from an orphaned colon in almost
every .js file)
i tried db5c28.tar.bz2 from sf.net
--
View this message in context:
http://www.nabble.com/An
Ruben Rubio Rey wrote:
>
> A good way to detect if javascript exists is (cross-browser,
> cross-platform):
>
> You try to load javascript_exists.htm.
>
> -
> javascript_exists.htm:
>
>
>
>
> ...
> Javascript is actived!!
>
>
>
Ruben Rubio Rey wrote:
>
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> A good way to detect if javascript exists is (cross-browser,
> cross-platform):
>
> You try to load javascript_exists.htm.
>
> -
> javascript_exists.htm
tedd wrote:
>index.php, jstest110.php) , make it one.
ok
---8<---
>It would be cool if I could send js value via a
>POST instead of GET-- can that be done?
have a look http://149.222.235.16/jstest/70112/index.php ( POST version )
>tedd
>PS: I read somewhere that using is not recommended.
any i
>index.php, jstest110.php) , make it one.
no, it was just a proof of concept
>It would be cool if I could send js value via a
>POST instead of GET-- can that be done?
should be possible with some onload/xhtmlrequest
>tedd
>PS: I read somewhere that using is not recommended.
hmm, any links or
Curt Zirzow-2 wrote:
>
> On 1/1/07, Jürgen Wind <[EMAIL PROTECTED]> wrote:
>>
>> well,
>> no cute css, but (hopefully) working - here is my quick & dirty version :
>>
>> http://149.222.235.16/public/
>
> I dont understand the point.
>
&g
From: "Robert Cummings"
<[EMAIL PROTECTED]>
>>To: "Jürgen Wind" <[EMAIL PROTECTED]>
>>Cc:
>>Sent: Tuesday, January 02, 2007 8:57 PM
>>Subject: Re: [PHP] Javascript detection , working version
>>
>>>On Tue, 2007-01-02 at 11:32 -0
that's why i prefer discussing here in the forum, we benefit from the
experiences of each other :)
updated version: http://149.222.235.16/jstest/
--
View this message in context:
http://www.nabble.com/Javascript-detection-tf2905451.html#a8132203
Sent from the PHP - General mailing list archive a
Robert Cummings wrote:
>
> Out of curiosity, can you guarantee the Javascript redirect will always
> occur before the meta redirect when Javascript is enabled? Otherwise you
> have a race condition.
>
> Cheers,
> Rob.
>
yes, you where right (i noticed some problems with opera)
updated version
Satyam wrote:
>
>
> What I usually do is to make the entry page the one that would be used
> without JavaScript and branch only if JavaScript is present.
>
> Satyam
>
yes, that's the best solution, updated version:
http://149.222.235.16/jstest/
--
View this message in context:
http://www
Robert Cummings wrote:
>
> Out of curiosity, can you guarantee the Javascript redirect will always
> occur before the meta redirect when Javascript is enabled? Otherwise you
> have a race condition.
>
> Cheers,
> Rob.
>
i have no idea, it is just a quick&dirty hack, i'm no js expert ;)
the j
tedd, plz no personal mail, i like better to discuss things in the forum and
thus hear other meanings and experiences.
>Your solution was very simple and worked very well.
tx, i always try to keep things logical and as simple as possible ;)
this is just a quick example to show how to bring info g
well,
no cute css, but (hopefully) working - here is my quick & dirty version :
http://149.222.235.16/public/
--
View this message in context:
http://www.nabble.com/Javascript-detection-tf2905451.html#a8118787
Sent from the PHP - General mailing list archive at Nabble.com.
--
PHP General Mai
does not work on SeaMonkey and Opera (IE not tested).
--
View this message in context:
http://www.nabble.com/Javascript-detection-tf2905451.html#a8117266
Sent from the PHP - General mailing list archive at Nabble.com.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: htt
what if you prepend your path with "./" :
include_once("./classes/first.class.php");
include_once("./second.class.php");
is the include path configured correctly?
--
View this message in context:
http://www.nabble.com/Chocked-tf2892714.html#a8082223
Sent from the PHP - General mailing list a
Casey Chu wrote:
>
> Yeah, try testing. Maybe something like this:
> $form = " name='code'> type='submit'>Execute";
> if ($_POST['code']) {
> echo "";
>$time_start = microtime_float();
>eval($_POST['code']);
>$time_end = microtime_float();
> echo "Loading took: ". $time_end -
edink wrote:
>
> Hello all,
>
> Since we will soon be switching to the new Microsoft compiler for making
> official PHP builds I have created a couple test builds to see how it
> goes. There were some initial problems and we do have to adjust things
> in the build to accommodate for changes of
Colin Guthrie-6 wrote:
>
> Hi,
>
> I've noticed a bug with PHP 5.2.0 when dealing with sessions and posting
> quite large forms.
>
> I've attached a file that highlights the bug.
>
> Can people test this please and if it is confirmed i'll post upsteam.
> Just want to rule out my distro's pac
sorry, clicked on send too fast ;)
i'd extract the minues and seconds , generate an array of timestamps and
sort that array "desc"
--
View this message in context:
http://www.nabble.com/Checking-file-existence-tf2636778.html#a7359891
Sent from the PHP - General mailing list archive at Nabble.co
Ashley M. Kirchner wrote:
>
>
> I have files that are named in the following manner:
>
> file..jpg (where is an hhmm timestamp [hour and minutes])
>
> What's the best way to take the current hhmm timestamp and run
> backwards finding the previous 5 files, and checking w
PHP is not supposed to look for php.ini in PATH.
(from http://bugs.php.net/bug.php?id=39432)
zerof wrote:
>
> Alain Roger escreveu:
>> Hi,
>>
>> everytime i install PHP, my "php.ini" must be installed in "C:\windows\"
>> folder.
>>
>> How can i do to force system to read "php.ini" file from "
maybe this is related:
from http://de3.php.net/manual/en/function.gethostbyname.php (user comments)
>>>
christian at SPAM at IS at DEAD at MEAT at karg dot org
01-Apr-2003 02:12
I had difficulty getting gethostbyname to work under OpenBSD 3.2 and Apache,
until I discovered that the default Apache
Henrik Hudson wrote:
>
> Hey List-
>
> running: apache 2.2, freebsd 6.2 and php 4.4.4
>
> I've got a wierd issue. I've got a script that does this:
>
> $domain = "www.google.com";
> $ip = gethostbyname($domain);
> echo $ip;
>
> $hostname = gethostbyaddr("72.14.205.99");
> echo $hostname;
>
Raphael Martins-2 wrote:
>
> Hi,
>
> How do I implement that
> "http://myhost/blog/date/of/post/name-of-the-post"; thing, instead of
> "http://myhost/blog/view.php?id=id-of-the-post"; ?
> I´ve seen this in many blogs, but it´s easy to implement?
> See it in action at wikipedia, blogger blogs,
Jürgen Wind wrote:
>
> if you want sombody using nabble.com having a look into the attached .php
> files,
> you should zip them before upload(i got them without any linefeeds).
>
but it may be a nabble.com bug, i filed a bugreport anyhow.
--
View this message in
if you want sombody using nabble.com having a look into the attached .php
files,
you should zip them before upload(i got them without any linefeeds).
--
View this message in context:
http://www.nabble.com/problems-with-SOAP-PHP5-and-heritage-tf2588326.html#a7223514
Sent from the PHP - General ma
Mariusz Topczewski wrote:
>
> On some PC when i load the page, the is no content, and on other PC the
> page
> is loaded properly. On computer where the page is blank i have to press F5
> (refresh), and the page appear ?.
>
this problem can also be observed on some win boxes when running php
Frank Arensmeier wrote:
>
> My suggestion: stripp out the JS from Google. Test you page again.
> Should the page load as slowly as before, it might have to do with
> PHP. Then, give us more details about your script)
>
> /frank
>
> 1 nov 2006 kl. 10.53 skrev Robert Cummings:
>
>> On Wed,
Dave Goodchild wrote:
>
> Hi all, I am having issues with users not being able to post their details
> to my site. The system uses sessions, so when they hit the index page a
> test
> cookie is set thus:
>
> setcookie('djst', 'test');
>
> and then I test whether that cookie is set on the next
Marc Roberts wrote:
>
> Thanks for the response,
>
> I think I have solved the problem using the code in the attached text
> document.
>
> Thanks for the help,
> Marc
>
> Roman Neuhauser wrote:
>> # [EMAIL PROTECTED] / 2006-10-18 17:23:53 +0200:
>>> Is it possible to receive information on
http://php.net/');?>
takes only 2 seconds here.
w2k php5.14 FF1.5.0.7
--
View this message in context:
http://www.nabble.com/connectivity-weirdness-tf2481786.html#a6920671
Sent from the PHP - General mailing list archive at Nabble.com.
--
PHP General Mailing List (http://www.php.net/)
To unsub
Robert Cummings wrote:
>
> On Thu, 2006-10-19 at 23:58 -0500, Larry Garfield wrote:
>> That depends on what your data structure is, exactly, and what sort of
>> tree
>> structure you want on the other side. Please be more specific.
>>
>> On Thursday 19 October 2006 09:08, Angelo Zanetti wrot
brilliant!
--
View this message in context:
http://www.nabble.com/Seperate-HTML-from-PHP-tf2415209.html#a6753706
Sent from the PHP - General mailing list archive at Nabble.com.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Christopher Weldon wrote:
>
> tedd wrote:
>> Hi gang:
>>
>> I embedded php code inside css and changed my .htaccess to read --
>>
>>
>> SetHandler application/x-httpd-php
>>
>>
>> -- so that the css file would be processed and executed by php. The end
>> result was that everything worked
Jon Anderson wrote:
>
> Jay Blanchard wrote:
>> So let me send a rant to other users, in fact a general list of users,
>> because I cannot read. If I could I would know that I subscribed to a
>> list where questions are asked to other users rather than me trying to
>> send an e-mail to the pres
did you try mysql 5.0.24a? there where some problems with 5.0.24
(segfaults...)
--
View this message in context:
http://www.nabble.com/PHP-Access-Violations-tf023.html#a6227018
Sent from the PHP - General forum at Nabble.com.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe
67 matches
Mail list logo