Re: [PHP-WIN] DOM

2001-01-12 Thread Alain Samoun
To extract data from a file, look for fread() in the manual to write the complete file in a variable, then edit the text in the variable with some of the string commands found, for example, at php.net/manual/en/ref.strings.php Then choose one of the numerous databases supported by php and save wha

[PHP-WIN] DOM

2001-01-12 Thread James Duncan
Hi folks, I'm still new to HTML, Javascript and PHP but learning (fast hopefully). I've just started accessing DOM elements. I have worked out how to update the contents of table cells directly using this method, etc. In Javascript I would use code like: alert("Value is: " + tablejames.firstCh

[PHP-WIN] gd under win98

2001-01-12 Thread guy roggemans
Hello PHP-gents, "X-Powered-By: PHP/4.0.0 Content-type: text/html Bonjour Web !PHP Fatal error: Unable to load dynamic library 'php_gd.dll' Un périphérique attaché au système ne fonctionne pas correctement. in Unknown on line 0 " That's the message I get when running with extensions dll, on anot

RE: [PHP-WIN] Simple question that I can't find the answer to

2001-01-12 Thread Daniel Beulshausen
At 15:26 12.01.2001 -0500, Asendorf, John wrote: >I have a set of date selectors which then people can use to search between >two dates. Even though they say FROM and TO, people will undoubtedly put >the dates in the wrong order on occassion. If this happens (I've already >got the IF statement),

Re: [PHP-WIN] problem with checkdate ()

2001-01-12 Thread Cynic
what about this: $frmdatecheck = date ("j/n/Y", strtotime ( $FROMdate ) ); if( ! checkdate( list( $j , $n , $y ) = explode( '/' , $frmdatecheck ) ) ) or rather: if( ! call_user_func_array( 'checkdate' , explode( '/' , $frmdatecheck ) ) ) At 22:21 12.1. 2001, Asendorf, John wrote the following

RE: [PHP-WIN] problem with checkdate ()

2001-01-12 Thread Asendorf, John
sorry folks, fixed it already... thanks anyway - John Asendorf - [EMAIL PROTECTED] Web Applications Developer http://www.lcounty.com - NEW FEATURES ADDED DAILY! Licking County, Ohio, USA 740-349-3631 The benefit to the government of replacing all $1 Federal Reserve notes wit

[PHP-WIN] problem with checkdate ()

2001-01-12 Thread Asendorf, John
I'm trying to check a date... the date is saved as dd-Mon-YY the following code: $frmdatecheck = date ("j, n, Y", strtotime ( $FROMdate ) ); if ( !checkdate ( $frmdatecheck ) ) { } gives me the following error Warning: Wrong parameter count for checkdate() in D:\root\cc\resolutions\res_sear

php-windows Digest 12 Jan 2001 21:21:45 -0000 Issue 393

2001-01-12 Thread php-windows-digest-help
php-windows Digest 12 Jan 2001 21:21:45 - Issue 393 Topics (messages 4943 through 4958): Re: Inner Joins 4943 by: Tom 4948 by: Pablo Vera Resize function jpeg/gif 4944 by: 2FIT mverstegen problems with time diffrences 4945 by: Tomasz Abramowicz 4946

RE: [PHP-WIN] Simple question that I can't find the answer to

2001-01-12 Thread Asendorf, John
I have a set of date selectors which then people can use to search between two dates. Even though they say FROM and TO, people will undoubtedly put the dates in the wrong order on occassion. If this happens (I've already got the IF statement), I want to be able to switch the two dates before the

Re: [PHP-WIN] Simple question that I can't find the answer to

2001-01-12 Thread Daniel Beulshausen
At 14:19 12.01.2001 -0500, Asendorf, John wrote: >Is there a single line of code to do the following? > >I'm trying to interchange two variables' contents... I can do it with the >following, but I was just wondering... I can't find it if there is... > >$a = "abc"; >$b = "def"; > >$temp = $b; >$b

Re: [PHP-WIN] One-way Hash function

2001-01-12 Thread Gonzalo Vera
Check out md5 under string functions, in PHP manual. Regards, Gonzalo. > Does any one have a one-way (non-reversible) hash function? I need to > encode some values that can't be read by human, such as password > information. Thanks. > Julian. -- PHP Windows Mailing List (http://www.php.

[PHP-WIN] One-way Hash function

2001-01-12 Thread Julian Easterling
Does any one have a one-way (non-reversible) hash function? I need to encode some values that can't be read by human, such as password information. Thanks. Julian. -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMA

[PHP-WIN] Simple question that I can't find the answer to

2001-01-12 Thread Asendorf, John
Is there a single line of code to do the following? I'm trying to interchange two variables' contents... I can do it with the following, but I was just wondering... I can't find it if there is... $a = "abc"; $b = "def"; $temp = $b; $b = $a; $a = $temp; //now $a = "def" and $b = "abc" Thanks

FW: [PHP-WIN] DB Select Limits

2001-01-12 Thread Gregory_Griffiths
> -Original Message- > From: Griffiths, Gregory D. /here > Sent: 12 January 2001 16:08 > To: '[EMAIL PROTECTED]' > Subject: RE: [PHP-WIN] DB Select Limits > > > does your database support the LIMIT keyword ? > > > -Original Message- > > From: [EMAIL PROTECTED] [mailto:[EMAIL

Re: [PHP-WIN] DB Select Limits

2001-01-12 Thread Tom
By 'Doesn't seem to work' what do you mean? Does it return no results (and how do you know that this is the case and that its not some typo elsewhere) or does it give an error message - if so , what? Tom Ben Cairns wrote: > I have a web board script that I need to impose a limit on the database

[PHP-WIN] DB Select Limits

2001-01-12 Thread Ben Cairns
I have a web board script that I need to impose a limit on the database select. I tried using: SELECT * FROM posts where of_forum='$forum_num' AND POST_ID <= '$upper' AND POST_ID >= '$lower' and SELECT * FROM posts where of_forum='$forum_num' ORDER BY POST_ID desc LIMIT '$lower','$upper' $low

Re: [PHP-WIN] problems with time diffrences

2001-01-12 Thread Pablo Vera
Tomasz: You could do something like this: $my_time = time() - 7*3600; // substract 7 hours to hosting time $my_date = date($format, $my_time); $format is the string you are using to format the date/time. Saludos, Pablo Vera _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Friday, Janu

Re: [PHP-WIN] Inner Joins

2001-01-12 Thread Pablo Vera
Debra: I encountered something similar a while ago when I was using version 3.22, and I seem to recall from the MySQL manual that INNER JOINS are performed like this: SELECT t1.a, t1.b, t2.c FROM t1, t2 WHERE t1.a = t2.a When youn link tables to Access, the SQL statements used should follow A

Re: [PHP-WIN] problems with time diffrences

2001-01-12 Thread Nol Shala
Well I don't know how you can adjust it for CET, but I it helps you can use GMT time. For local settings of time and language please check this page http://www.php.net/manual/function.gmstrftime.php Greetings Nol - Original Message - From: "Tomasz Abramowicz" <[EMAIL PROTECTED]> To:

Re: [PHP-WIN] problems with time diffrences

2001-01-12 Thread Paul Meagher
I believe you need to set a "tz" variable before you call your date functions. If you do a search for "tz" in the mailing list archives you can probably find a snippet that will show you how to do it. Regards, Paul - Original Message - From: "Tomasz Abramowicz" <[EMAIL PROTECTED]> To: <

[PHP-WIN] problems with time diffrences

2001-01-12 Thread Tomasz Abramowicz
I have hosting in the states, but develop sites in europe, this gives me a +7 hour time diffrence. how can i modify date(); to give me CET? -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact t

[PHP-WIN] Resize function jpeg/gif

2001-01-12 Thread 2FIT mverstegen
Hi, I've seen that the GD extension provides functions to create and manipulate images. I didn't find a function to resize an image. Is a resize possible with PHP or do I have to call an external function? Regards, Martin Verstegen 2FIT -- PHP Windows Mailing List (http://www.php.net/) To uns

Re: [PHP-WIN] Inner Joins

2001-01-12 Thread Tom
Your question is already answered, but for future ref, I debug all my SQL by running it at the command prompt to ensure that the version of MySQL that I'm using actually recognises the commands (alternatively trawl through the command list in the MySQL manual to see what the developers have to say

php-windows Digest 12 Jan 2001 08:41:19 -0000 Issue 392

2001-01-12 Thread php-windows-digest-help
php-windows Digest 12 Jan 2001 08:41:19 - Issue 392 Topics (messages 4926 through 4942): Re: Probably there is better solution 4926 by: kill-9 4928 by: Gonzalo Vera Re: mail() - Failed to connect 4927 by: Asendorf, John Re: Problem with CURSOR under MS SQL 7

Re: [PHP-WIN] Inner Joins

2001-01-12 Thread Larry Forrister
The INNER JOIN condition is not allowed in mySQL prior to version 3.23.16. Just put the test "tbl_cip.FormID = tbl_formid.FormID" in the WHERE clause. ~~LF "samsom, debra" wrote: > I am writing some PHP code with calls to Mysql. I am trying to do a > Inner > join and I am not getting any resul