Re: [PHP] checboxex and sessions

2001-03-20 Thread Yasuo Ohgaki
For example, if you have Please check here If user does not check the checkbox, you'll get nothing since browser does not send data at all for the checkbox. However, since you've created the form by yourself, you know there is the checkbox named "checkbox_test". So you can check like if (!isse

[PHP] Conversion between dates and weeknumbers

2001-03-20 Thread Michel Groenenstijn
Hello everybody, I need to convert between dates and weeknumbers, with PHP. Converting a given date to a weeknumber can be done with MySQL, but I don't know how to go the other way around. I need a function like get_dates_in_week($weeknumber). A function to convert between a date and a weeknumbe

Re: [PHP] Help with array creation

2001-03-20 Thread Yasuo Ohgaki
Just use $HTTP_POST_VARS and $HTTP_GET_VARS. (Recent PHP4 is always compiled with "enable-track-vars", if you are using older PHP set track-vars to true in php.ini) Read http://www.php.net/manual/en/language.variables.php and http://www.php.net/manual/en/language.variables.external.php Regards,

Re: [PHP] get_meta_tags bug?

2001-03-20 Thread Yasuo Ohgaki
May be get_meta_tags() is XHTML compliant. (XHTML requires "" and lowercases for attributes) I suggest you to use double quotes. -- Yasuo Ohgaki "Paul Rees" <[EMAIL PROTECTED]> wrote in message r19NDKAFmot6Ew$[EMAIL PROTECTED]">news:r19NDKAFmot6Ew$[EMAIL PROTECTED]... > Hi, > > The php function '

Re: [PHP] PHP & MYSQL BOOKS

2001-03-20 Thread Luke Welling
It is $39.95 at barnesandnobel.com and at fatbrain.com. That GST is a killer. It will probably have an RRP around $110 here in Australia too. Cheers, Luke Welling. ""YoBro"" <[EMAIL PROTECTED]> wrote in message 995r3k$poh$[EMAIL PROTECTED]">news:995r3k$poh$[EMAIL PROTECTED]... > I actually thi

Re: [PHP] Using php4.02 on IIS5

2001-03-20 Thread Phil Driscoll
I guess you have installed the ISAPI module which, as stated in the instructions, is not very stable. Switch to the cgi version and all will come good. Change php4isapi.dll to php.exe in your script mappings, and remove phpp from the filters list. Cheers -- Phil Driscoll Dial Solutions +44 (0)113

Re: [PHP] dl()-function

2001-03-20 Thread Yasuo Ohgaki
Did you read http://www.php.net/manual/en/function.dl.php and related manual pages? If you are having problem with dl(), what is your PHP version? I forgot which version, but some PHP seems does not load extensions with dl(). Look for bug db, I think this bug is closed. As a short term resoluti

Re: [PHP] Conversion between dates and weeknumbers

2001-03-20 Thread Yasuo Ohgaki
How about use PEAR/Date/Calc.php? Regards, -- Yasuo Ohgaki "Michel Groenenstijn" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hello everybody, > > I need to convert between dates and weeknumbers, with PHP. Converting a > given date to a weeknumber can be d

RE: [PHP] Conversion between dates and weeknumbers

2001-03-20 Thread Jennifer Woodhead
I think you can do it using strftime %V - The ISO 8601:1988 week number of the current year as a decimal number, range 01 to 53, where week 1 is the first week that has at least 4 days in the current year, and with Monday as the first day of the week. %W - week number of the current year as a d

Re: [PHP] off the topic but relevant with us

2001-03-20 Thread Yasuo Ohgaki
Are you sure your domain is managed by NSI (network solutions)? My domains are not (bunch of .com .net .org), and your domain might be. If you are just looking for whois server, I suggest to use search engines. (i.e. yahoo, lycos, etc) Regards, -- Yasuo Ohgaki ""Jacky"" <[EMAIL PROTECTED]> wrot

Re: [PHP] "deleted" cookie

2001-03-20 Thread Yasuo Ohgaki
"Nikolai Vladychevski" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi, > > My site has been working with cookies just fine until i discovered > that some browsers (i think it is some browser under MacOS, I'm > investigating) instead of deleting a cookie

Re: [PHP] Editing Variables from another script.

2001-03-20 Thread techzeus
Okay, basically, I'm trying to create a script such that it will change the variables inside of my .inc page. Something like lets say I have this file called "database.inc" Inside it I have : $dbhost = 'blah' $dbuser= 'blah' $dbpass= 'blah' I would like to make a script such that I can modify

[PHP] presentation software used by Rasmus Lerdorf

2001-03-20 Thread Henkie
Hi, Recently, I saw a presentation by Rasmus Lerdorf about php. He used netscape and php scripts as presentation software and it looked really cool. Does someone know if this is somewhere available ? Thanks, Henk -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EM

RE: [PHP] Editing Variables from another script.

2001-03-20 Thread Stewart Taylor
include "database.inc" . . . . $dbhost='localhost'; -Stewart -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: 20 March 2001 09:26 To: Jason Stechschulte Cc: 'PHP General List. (E-mail)' Subject: Re: [PHP] Editing Variables from another script. Okay, basic

Re: [PHP] Editing Variables from another script.

2001-03-20 Thread techzeus
I think you didn't get what I meant, I need a script such that I can change the content of database.inc from an external script (form or whatever) - Original Message - From: "Stewart Taylor" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Tuesday, March 20, 2001 5

RE: [PHP] PHP w/ Oracle OCI8 - how stable?

2001-03-20 Thread Neil Kimber
Nothing unusual. Very robust and stable. -Original Message- From: Hardy Merrill [mailto:[EMAIL PROTECTED]] Sent: 19 March 2001 23:18 To: [EMAIL PROTECTED] Subject: [PHP] PHP w/ Oracle OCI8 - how stable? I'm thinking of using PHP to talk to an Oracle database with the OCI8 interface - is

Re: [PHP] Why not 'file_exists()' for URLs?

2001-03-20 Thread Mike
On 19 Mar 2001 06:53:00 -0800, [EMAIL PROTECTED] ("David G.") wrote: > Since fopen/fread/fclose all work with standard URLs, why not allow > file_exists() to work with URLs as well? > What is the procedure to make such a request? Try this: function url_exist($url) { $url_parts = parse_u

[PHP] imap functions

2001-03-20 Thread Calin Rotaru
I cofigured apache 1.3.14 with php4 on my computer(Mandrake 7.2) but I can not use imap functions. I read that I have to compile PHP with imap. I did it, but I get some errors when compile apache whit this php. Can anybody help me with some advices? Thanks. Calin -- PHP General Mailing List (

[PHP] Hash syntaxes? simple but helpful

2001-03-20 Thread Costas
I am used to perl syntax of: $var->{'abc'} for a hash (associative array) Can this syntax be done for PHP. What other syntax is there for PHP hashes? Any that look like this? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional command

Re: [PHP] Editing Variables from another script.

2001-03-20 Thread ben
On Tue, 20 Mar 2001 [EMAIL PROTECTED] wrote: > I think you didn't get what I meant, > > I need a script such that I can change the content of database.inc from an > external script (form or whatever) Have you tried with global variables (see array $GLOBALS) ? -- Ben Committee, n.: A group of m

Re: [PHP] Dynamic generation of text files?

2001-03-20 Thread Dan Costello
Michael- Thank you, it works perfectly! --Dan "Michael Kimsal" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Click here for John > Doe's vCard > > GenericCard.php would have something like... > > // > // build $text from $uid passed in > // > header("Conten

RE: [PHP] Editing Variables from another script.

2001-03-20 Thread Neil Kimber
Do you mean that you want to alter the physical contents of 'database.inc'? This would require you parsing the existing file yourself, writing a new version of the file, altering the relevant line of code, removing the original file and renaming your new file to the original filename. This isn't

Re: [PHP] Hash syntaxes? simple but helpful

2001-03-20 Thread Alexander Gräf
$xy=array("a"=>"orange","b"=>"banana","c"=>"fruit"); -- [EMAIL PROTECTED] +49 9721 188848 +49 171 370 97 15 ""Costas"" <[EMAIL PROTECTED]> schrieb im Newsbeitrag 997b0s$3cl$[EMAIL PROTECTED]">news:997b0s$3cl$[EMAIL PROTECTED]... > I am used to perl syntax of: > > $var->{'abc'} for a hash

Re: [PHP] Why not 'file_exists()' for URLs?

2001-03-20 Thread Yasuo Ohgaki
[Since original poster requests for procedure for feature/change request.] You can use bug reporting system to request new feature or changes. http://www.php.net/bugs.php Use "Feature/Change Request" as "Type of bug". It will be sent to php-dev mail list and stored as feature/change request in d

Re: [PHP] get_meta_tags bug?

2001-03-20 Thread Yasuo Ohgaki
FYI: Looks like it is fixed in CVS version and get_meta_tags() now accepts single quotes. (I still recommends to use double quotes for your application, but we cannot force others and single quotes should be accepted for older HTML versions) Regards, -- Yasuo Ohgaki ""Yasuo Ohgaki"" <[EMAIL PROT

Re: [PHP] Editing Variables from another script.

2001-03-20 Thread Thomas Schneider
I think there should not be a problem to do it just with a global variable or you can pass variables from external script to the (internal) script just by post or get-methods. but what, if the scripts are on different domains? i have the problem that netscape 4.6 and more can't allow access to

[PHP] General security Question (Databases)

2001-03-20 Thread ben . 2 . edwards
The examples of holding passwords in databases (i.e. mysql) tend to encrypt the password. Although this seems sensible (if not necessary) it douse mean that if a user forgets there password the normal solution is to generate a new random password and email it to them. Then I realised that this f

Re: [PHP] weeks revisited

2001-03-20 Thread Christian Reiniger
On Monday 19 March 2001 23:55, you wrote: > my next question would be. I'm working on a list of meetings. I > return a list for the current month, what I would like to do is make > the current week meetings show in red. However, I'm not sure of the > best approach to do this. Just get the curr

[PHP] Re: Remember my username & password

2001-03-20 Thread Batis
Hello, thanx to everyone who replied, I have found all the info I was looking for. Cheers. . .. Dimitris Batis ... [EMAIL PROTECTED] .. .. http://www.ravencrypt.com

[PHP] Booking by Date/Time in mySQL

2001-03-20 Thread Thomas Edison Jr.
I'm facing this problem. I have made a room booking application. There is a Start Date & Time and End Date & Time of Booking a room. Problem is that once booked, you can't book a room with a date or time that falls between an Already booked Date & Time. For example, if someone's booked a ro

Re: [PHP] Re: php editors

2001-03-20 Thread almir
homesite is very nice www.allaire.com almir ""Richard Lynch"" <[EMAIL PROTECTED]> schrieb im Newsbeitrag 01f901c0b0c8$291ba800$[EMAIL PROTECTED]">news:01f901c0b0c8$291ba800$[EMAIL PROTECTED]... > > I am looking for good php editors. Currently, i am using PHP coder. It > > highlights syntax and

[PHP] usage of constants

2001-03-20 Thread almir
are constants global, do i have to do something in my classes so that i can use them as object variables, i have tested in with functions seems to be global but how about classes and has anybody used it realy regards almir -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-ma

Re: SV: [PHP] Booking by Date/Time in mySQL

2001-03-20 Thread Thomas Edison Jr.
Peter, what do you mean by Newdate between date1 & date2?? the logic i'm using is that i'm checkin if the new Start Date & End date lies between the old Start Date & End Date or not. If it does, than entry is denied, else booking is succesfull. But things are not running, following is the code i

[PHP] is PHP sftp ready?

2001-03-20 Thread Nando2
Hello everybody, I already am familiar with PHP's ftp capabilities. My question though is if anyone has ever used or know wether PHP is compatible or not with sftp (OpenSSH secure FTP). If so, can I use the same libraries or is there any PHP extention that I must download in order to enable it

Re: [PHP] \"deleted\" cookie

2001-03-20 Thread almir
set its valu to nothing , or expiery date to yesterday the best is both -almir "Nikolai Vladychevski" <[EMAIL PROTECTED]> schrieb im Newsbeitrag [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > [EMAIL PROTECTED] wrote: > > > > How do you "delete" the cookie? > > I delete like this: > > > setcoo

Re: [PHP] \"deleted\" cookie

2001-03-20 Thread almir
and I dont think you should use haeder functions with cookie together do it with javascript , i had some problems if I used this two together (cookie, and header) -almir "Nikolai Vladychevski" <[EMAIL PROTECTED]> schrieb im Newsbeitrag [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > [EMAIL PROTECT

Re: [PHP-I18N] Encoding detection

2001-03-20 Thread Atanas Vassilev
You've been quite helpful for which I thank you very much! I found an article in phpbuilder.com introducing NCTLS - a class that checks the preferred languages and looks for a language file untill it finds a match - now I have it up and running ;-) There's one more issue that bothers me... : On m

Re: [PHP] PHP w/ Oracle OCI8 - how stable?

2001-03-20 Thread Hardy Merrill
I configured PHP --with-oci8=/path/to/oracle/home, and I'm seeing "flaky" behavior when I restart Oracle without restarting the web server - ORA-03113 and ORA-03114 errors all over. Then when I restart the webserver everything is fine again. Is this unusual? Did I do something wrong in the setu

Re: [PHP] PHP w/ Oracle OCI8 - how stable?

2001-03-20 Thread Thies C. Arntzen
On Tue, Mar 20, 2001 at 07:20:35AM -0500, Hardy Merrill wrote: > I configured PHP --with-oci8=/path/to/oracle/home, and I'm seeing > "flaky" behavior when I restart Oracle without restarting the > web server - ORA-03113 and ORA-03114 errors all over. Then when > I restart the webserver everything

[PHP] PHP4 Compile As Per Bug id #2933

2001-03-20 Thread Grant Walters
Hi, >From a search of the PHP Site. -- Status: Closed User Modify Dev Modify From: [EMAIL PROTECTED] Date: 1999-12-07 16:51:27 Type: Compile Failure OS: AIX 4.2.1 PHP Version: 4.0 Latest CVS (07/12/1999) Assigned To: Short Desc.: SQLCHAR undeclared --

Re: [PHP] Hash syntaxes? simple but helpful

2001-03-20 Thread almir
use $aArray["abc"]=7; echo $aArray["abc"]; ""Costas"" <[EMAIL PROTECTED]> schrieb im Newsbeitrag 997b0s$3cl$[EMAIL PROTECTED]">news:997b0s$3cl$[EMAIL PROTECTED]... > I am used to perl syntax of: > > $var->{'abc'} for a hash (associative array) > > Can this syntax be done for PHP. > > What other

[PHP] Easy Object Reading

2001-03-20 Thread Thorsten Viel
Hi, does somebody know a function where I can read all variables of an object independent of there name? I have to test with large classes, more than 30 vars per class, and dont want to implement a function just for testing. I want to echo all values of vars of a class without specifyieng explic

[PHP] get filename?

2001-03-20 Thread KPortsmout
Hi Whats the best method to get the filename of the file I am using. E.G if the file is called tom_woz_here.php and would I go about stickin that into $FileName= ??? Thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-

[PHP] RE: Script to convert # of seconds to HH:mm

2001-03-20 Thread Tim Ward
if your input is a number of seconds why not just treat it as a unix timestamp so ... echo date("H:i:s", $num_seconds) ... will work. Tim Ward Senior Systems Engineer Please refer to the following disclaimer in respect of this message: http://www.stivesdirect.com/e-mail-disclai

RE: [PHP] Easy Object Reading

2001-03-20 Thread Stewart Taylor
You could try echo serialize($object_var); to display the object in it's serialized form. -Stewart -Original Message- From: Thorsten Viel [mailto:[EMAIL PROTECTED]] Sent: 20 March 2001 12:59 To: [EMAIL PROTECTED] Subject: [PHP] Easy Object Reading Hi, does somebody know a function

Re: [PHP] get_meta_tags bug?

2001-03-20 Thread Paul rees
In article <997dil$t5u$[EMAIL PROTECTED]>, Yasuo Ohgaki <[EMAIL PROTECTED]> writes >> "Paul Rees" <[EMAIL PROTECTED]> wrote in message >> r19NDKAFmot6Ew$[EMAIL PROTECTED]">news:r19NDKAFmot6Ew$[EMAIL PROTECTED]... >> > Hi, >> > >> > The php function 'get_meta_tags' doesn't work when the meta tag n

[PHP] RE: Help with array creation

2001-03-20 Thread Tim Ward
they are already in one ... $HTTP_POST_VARS or $HTTP_GET_VARS Tim Ward Senior Systems Engineer Please refer to the following disclaimer in respect of this message: http://www.stivesdirect.com/e-mail-disclaimer.html > -Original Message- > From: Chris Carbaugh [mailto:[EM

Re: [PHP] usage of constants

2001-03-20 Thread Yasuo Ohgaki
""almir"" <[EMAIL PROTECTED]> wrote in message 997fat$jdk$[EMAIL PROTECTED]">news:997fat$jdk$[EMAIL PROTECTED]... > are constants global, do i have to do something in my classes so that i can > use them as object variables, i have tested in with functions seems to be > global but how about classes

FW: [PHP] PHP4 Compile As Per Bug id #2933 AMMENDED - FIXED!

2001-03-20 Thread Grant Walters
> Actually my error is > php_odbc.c: In function `odbc_column_lengths': > php_odbc.c:606: `SQLINTEGER' undeclared (first use in this function) > php_odbc.c:606: (Each undeclared identifier is reported only once > php_odbc.c:606: for each function it appears in.) > php_odbc.c:606: parse error befor

RE: [PHP] get filename?

2001-03-20 Thread Jon Haworth
$FileName = $PHP_SELF; HTH Jon -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: 20 March 2001 13:20 To: [EMAIL PROTECTED] Subject: [PHP] get filename? Hi Whats the best method to get the filename of the file I am using. E.G if the file is called tom_woz_he

[PHP] phpinfo() doesn't list compiled --with

2001-03-20 Thread Gary Huntress
I compiled php --with-pgsql, but phpinfo() doesn't list that.is this a problem with php.ini? Thanks, Gary -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-m

Re: [PHP] get filename?

2001-03-20 Thread Yasuo Ohgaki
$HTTP_SERVER_VARS['PHP_SELF'],$HTTP_SERVER_VARS['SCRIPT_NAME'], etc. There are many values, that you can use to get script name, in $HTTP_SERVER_VARS. Regards, -- Yasuo Ohgaki <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi > > Whats the best method to get

[PHP-CVS] cvs: php4 /ext/yp yp.c

2001-03-20 Thread Sascha Schumann
sas Tue Mar 20 04:50:26 2001 EDT Modified files: /php4/ext/ypyp.c Log: fix build Index: php4/ext/yp/yp.c diff -u php4/ext/yp/yp.c:1.17 php4/ext/yp/yp.c:1.18 --- php4/ext/yp/yp.c:1.17 Mon Mar 19 09:01:35 2001 +++ php4/ext/yp/yp.cTue Mar

[PHP] Problems connecting to remote mySQL server

2001-03-20 Thread Floyd Piedad
I am trying to connect to a remote mySQL server through PHP but I get a mySQL error of "Unknown Database". I can connect to the remote mySQL server using the mysql command but not with PHP. 1. How can I debug what the problem is? 2. Do I need to specify the Port parameter in PHP? 3. Which mySQL

Re: [PHP] get filename?

2001-03-20 Thread Data Driven Design
$PHP_SELF will be the filename including $QUERY_STRING and $PATH_INFO variables, $SCRIPT_NAME should be just the filename. - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, March 20, 2001 5:19 AM Subject: [PHP] get filename? > Hi > > Whats the best me

Re: [PHP] Editing Variables from another script.

2001-03-20 Thread techzeus
What other ways might there be ? - Original Message - From: "Neil Kimber" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; "Stewart Taylor" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Tuesday, March 20, 2001 6:10 PM Subject: RE: [PHP] Editing Variables from another script. > Do you mean

RE: [PHP] Easy Object Reading

2001-03-20 Thread Grant Walters
> -Original Message- > From: Thorsten Viel [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, 21 March 2001 00:59 > To: [EMAIL PROTECTED] > Subject: [PHP] Easy Object Reading > > > Hi, > > does somebody know a function where I can read all variables of an object > independent of there name? > >

Re: [PHP] get filename?

2001-03-20 Thread Joe Sheble (Wizaerd)
excuse my ignorance here, but is this a configurable options? Anytime I use $PHP_SELF, it strictly the directory and filename.. for example say I have a forum running at www.somedomain.com/forum/index?Message=12 my $PHP_SELF strictly gives me /forum/index.php. I know this for a fact because

RE: [PHP] Editing Variables from another script.

2001-03-20 Thread Neil Kimber
It depends upon what your overall aim actually is. If you want a different value depending upon where this file is being used in your site, then you should probably just set the value accordingly in that part of the site. i.e. > > include "database.inc" > > . > > . > > . > > . > > $dbhost='localh

RE: [PHP] Easy Object Reading

2001-03-20 Thread Neil Kimber
If you don't want to dump this to the screen but would prefer to have this in a string (to send to a log file etc..) then use the following function: function getStringFromObject($prmAryIn) { // Following code was ripped from http://www.php.net/manual/en/function.var-dump.php // i

Re: [PHP] Editing Variables from another script.

2001-03-20 Thread techzeus
Basically, thats not what I'm going to do. I'm making an administrative script such that admins can change the location and values of the $dbhost, $dbuser, $dbpass in the database.inc with just a form. Kinda tough eh ? - Original Message - From: "Neil Kimber" <[EMAIL PROTECTED]> To: <[E

RE: [PHP] off the topic but relevant with us

2001-03-20 Thread Angerer, Chad
Probably wherever you registered your domain name. Unless you have had it transferred somewhere. chad angerer html programmer .. :one man with a club is a hooligan. a thousand men with clubs are a regiment: .. -Original Message- From: Jacky [mailto:[EMAIL PROTECTED]] Sent: Tuesday, M

[PHP] Fwd: BEST Network Marketer Leads

2001-03-20 Thread jennivaughn_02
ATTENTION! I Found this company on the internet. They came very highly recommended by several of my friends and associates. They have the most qualified leads I have ever worked. Forget those generic phone leads... sign up 5 out of 15 or more every time!! They Are having a 33% off sale thi

Re: [PHP] Problems connecting to remote mySQL server

2001-03-20 Thread almir
when you connect to server issue "show databases" -query then look inside what you can see some servers are case sensitive i hope that will help, and are you sure that you are connected , it could be that you may not connect at all because of firewalls or something like that -almir "Floyd Pieda

[PHP] Working with files

2001-03-20 Thread Jon
It is a newbie question about working with local files. I just want to know if it posible to open and modify a local file (I mean that it is located in the local hard disk of the client machine) or because of security reasons it is only posible to open and modify it when the file resides in the se

[PHP] Status on ISAPI PHP

2001-03-20 Thread Carsten Gehling
What is the status on the ISAPI version of PHP? Last I looked (4.0.1) it was still rather unstable. - Carsten -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-m

[PHP-CVS] cvs: php4 /tests testdom

2001-03-20 Thread Uwe Steinmann
steinm Tue Mar 20 07:02:11 2001 EDT Modified files: /php4/tests testdom Log: - test script for rewritten domxml module Index: php4/tests/testdom diff -u php4/tests/testdom:1.18 php4/tests/testdom:1.19 --- php4/tests/testdom:1.18 Fri Nov 10 02:28:30 2000

[PHP] Cookies

2001-03-20 Thread Francesc Lladó
Utilizo este código para depositar una cookie en el cliente, lo único que me caduca al cabo de un tiempo, ¿alguién sabe qué es lo que tengo que poner para que la cookie no caduque nunca? Gracias -- Francesc Lladó i Dardet [EMAIL PROTECTED] Interkonet Publishers s.l. Atenes 22 08006 Barcelona

Re: [PHP] Working with files

2001-03-20 Thread Chris Lee
stanard newbie answer :) php is server side, not client side php is serverside there is no way of ever ever doing anything client side because of this. http://php.net/manual/en/function.fopen.php are the functions for opening files. -- Chris Lee [EMAIL PROTECTED] ""Jon"" <[EM

RE: SV: [PHP] Booking by Date/Time in mySQL

2001-03-20 Thread Jeff Armstrong
One problem is that you are only checking the first booking. select * from booking where room='room' gives ALL bookings, and you look like you are just testing the FIRST one. why not turn it round and do: select * from booking where ('$start'>=startdate and '$start'<=enddate) or ('$en

[PHP] RE: checboxex and sessions

2001-03-20 Thread Tim Ward
You need to submit the form, at which point any checkboxes ticked will be available in php (under their html name attribute) for assigning as session variables. Any not set will, unfortunately, not be sent. You can initialise the session variables, defaulting to false, on the form page to get arou

php-general Digest 20 Mar 2001 15:53:13 -0000 Issue 578

2001-03-20 Thread php-general-digest-help
php-general Digest 20 Mar 2001 15:53:13 - Issue 578 Topics (messages 44681 through 44762): off the topic but relevant with us 44681 by: Jacky 44703 by: Yasuo Ohgaki 44754 by: Angerer, Chad Re: wordwrap() in php4.03pl1 does not work(?) 44682 by: Tiki Re: PHP

RE: [PHP] how do i get a variable type? - not that simple

2001-03-20 Thread Dennis Gearon
I discovered the same thing, that all values from text fields ARE text, i.e. strings. Also, that an empty field IS set upon return, s... To check for empty field, check for empty STRING equivalence: if ( $input_var_from_form == "" ){ Do something because fi

Re: [PHP] Problems with Linux PHP

2001-03-20 Thread Dennis Gearon
try 'chmod 0700 session', as I believe it's octal in linux. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

RE: [PHP] Editing Variables from another script.

2001-03-20 Thread Neil Kimber
Gotya. The why not limit your include file to only contain those values that are important to you. So you get something like: varsdatabase.inc $dbhost="x"; $dbuser="y"; $dbpass="z"; Then, in your PHP code you just rewrite this simple file. That way you don't have to worry about pars

[PHP-CVS] cvs: php4 / NEWS

2001-03-20 Thread Uwe Steinmann
steinm Tue Mar 20 07:03:33 2001 EDT Modified files: /php4 NEWS Log: - news about domxml Index: php4/NEWS diff -u php4/NEWS:1.615 php4/NEWS:1.616 --- php4/NEWS:1.615 Mon Mar 19 18:09:17 2001 +++ php4/NEWS Tue Mar 20 07:03:33 2001 @@ -2,6 +2,7 @@

Re: [PHP] MS SQL databse connecting

2001-03-20 Thread Dennis Gearon
Michael Kimsa wrote: >What am I missing? What you are missing, Michael, is that ODBC is for access to a proprietary, commercial product from a monopolist megalith. To use ODBC, on is accessing (pun intended) a non open source database, i.e., you gots to pay M$. This means for someone to write a

[PHP-CVS] cvs: php4 /ext/domxml php_domxml.c php_domxml.h

2001-03-20 Thread Uwe Steinmann
steinm Tue Mar 20 07:01:14 2001 EDT Modified files: /php4/ext/domxmlphp_domxml.c php_domxml.h Log: - complete rewrite of domxml module. It is now mostly conform to DOM Level 2 though some classes and methods are still missing Index: php4/ext/d

[PHP] URGENT! Regarding file manipulation

2001-03-20 Thread Nemanja Djuric
Hi! What is the best way to delete line from a file? I want to delete line which is located somewhere in the middle of the .txt file. I dont want to leave blank line. 10x Nemanja -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional command

[PHP-CVS] cvs: php4 /win32 registry.c

2001-03-20 Thread Daniel Beulshausen
dbeuTue Mar 20 07:44:55 2001 EDT Modified files: /php4/win32 registry.c Log: fix registry per directory values # they never really worked for me before Index: php4/win32/registry.c diff -u php4/win32/registry.c:1.8 php4/win32/registry.c:1.9 --- php4/win32

[PHP] Couple Questions

2001-03-20 Thread acleave
I'm new to this list (and relatively new to PHP) so if I'm failing in some point of list ettiquette, please excuse me. I have two questions: 1) How do I return multiple data types at once from a function? For instance I might want to return 5, "apple", and true (an int, a string, and a boole

[PHP] Anyone interested to build with me a chat software (in php and MySQL)

2001-03-20 Thread Marian Vasile
I want to create a free php and MySQL chat. Anyone interested in this project ? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

RE: [PHP] how do i get a variable type? - not that simple

2001-03-20 Thread Rudolf Visagie
Under some conditions (I haven't determined which) if ($input_var_from_form == "") doesn't work, but if (strlen($input_var_from_form) == 0) does. Rudolf Visagie [EMAIL PROTECTED] -Original Message- From: Dennis Gearon [mailto:[EMAIL PROTECTED]] Sent: 20 March 2001 06:24 To: [EMAIL PRO

[PHP-CVS] cvs: php4 /ext/domxml php_domxml.c

2001-03-20 Thread Uwe Steinmann
steinm Tue Mar 20 08:20:43 2001 EDT Modified files: /php4/ext/domxmlphp_domxml.c Log: - fixed lot of compiler warnings Index: php4/ext/domxml/php_domxml.c diff -u php4/ext/domxml/php_domxml.c:1.29 php4/ext/domxml/php_domxml.c:1.30 --- php4/ext/domxml/ph

Re: [PHP] how do i get a variable type? - not that simple

2001-03-20 Thread Dennis Gearon
Very interesting! I'd think it would be a bug if it did work that way. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP] PHPLIB cart with back/forward buttons

2001-03-20 Thread Dan Troxell
Hi, I've built a shopping cart using PHPLIB. When using the BACK or FORWARD buttons in IE, argument values are passed to the new page, inappropriately updating the information. Ack! This does not appear to be an issue with most versions of netscape. When called with the BACK or FORWARD button is

RE: SV: [PHP] Booking by Date/Time in mySQL

2001-03-20 Thread Thomas Edison Jr.
I do get your message Jeff, but tell me, after having used the following code .. select * from booking where ('$start'>=startdate and '$start'<=enddate) or ('$end'>=startdate and '$end'<=enddate) what code should be written to actually insert booking data into the table? Because this is

Re: [PHP] Anyone interested to build with me a chat software (in php and MySQL)

2001-03-20 Thread Ashwin Kutty
PHPProjeckt at the following URL has not only a chat utility but a whole lot others built in, maybe you should look into it.. http://www.phprojekt.de/en/ On Tue, 20 Mar 2001, Marian Vasile wrote: > I want to create a free php and MySQL chat. > > Anyone interested in this project ? > > > >

[PHP] files with html extension

2001-03-20 Thread Rick VanNorman
Hi, Is is possible to use the php script tags in files with an html extension? I'm running 4.0.4pl1 and apache 1.3.12 on OpenBSD 2.8. Thanks, Rick VanNorman -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL P

Re: [PHP] General security Question (Databases)

2001-03-20 Thread Michael Kimsal
Hi Ben. I see your point, but it's harder to deal with in those cases. I'd reckon most people on this list are using some type of shared hosting system anyway, where they CAN'T do that. Creating extra users in most databases I've used is a bit of a pain, and trying to tie in your application's

Re: [PHP] Script to convert # of seconds to HH:mm

2001-03-20 Thread Phillip Bow
Always assume people will attempt the most inane things... -- phill ""Stephan Ahonen"" <[EMAIL PROTECTED]> wrote in message 9969kn$eho$[EMAIL PROTECTED]">news:9969kn$eho$[EMAIL PROTECTED]... > > Oh in addition this won't work accurately if $time is greater than about 2 > > billion(2147483648 I be

[PHP-CVS] cvs: php4 /ext/domxml php_domxml.c

2001-03-20 Thread Sebastian Bergmann
sbergmann Tue Mar 20 09:04:45 2001 EDT Modified files: /php4/ext/domxmlphp_domxml.c Log: Nuke another warning. Index: php4/ext/domxml/php_domxml.c diff -u php4/ext/domxml/php_domxml.c:1.30 php4/ext/domxml/php_domxml.c:1.31 --- php4/ext/domxml/php_domx

RE: [PHP] files with html extension

2001-03-20 Thread Jack Dempsey
You can tell apache to have the php interpreter parse files with an html extension, thereby letting you use the tags in html files...whether this is a good solution or not is another question.that would mean that each file would get parsedwhy are you trying to do this? jack -Orig

[PHP] is PHP sftp ready?

2001-03-20 Thread Nando2
Hello everybody, I already am familiar with PHP's ftp capabilities. My question though is if anyone has ever used or know wether PHP is compatible or not with sftp (OpenSSH secure FTP). If so, can I use the same libraries or is there any PHP extention that I must download in order to enable it.

Re: [PHP] URGENT! Regarding file manipulation

2001-03-20 Thread Chris Boot
Hi, > What is the best way to delete line from a file? > > I want to delete line which is located somewhere in the middle of the > .txt file. > I dont want to leave blank line. Well, pretty much the only way to do that is to copy the data line by line to another file, skipping the unwanted line

[PHP] Help Socket

2001-03-20 Thread 김원형
Hello I am tring to make socket program. I compile php with --enable-sockets option But when I write code, the error message appears which is "Fatal error: Call to undefined function: socket() in /www/htdocs/test.php on line 6" I can't understand what am I doing wrong here is the

[PHP] Objectclass

2001-03-20 Thread Thorsten Viel
Hi, first thanks for your help on my last thread. Another question. Is there a function what specifies the class of an object? for example: class test { blabla } $object = new test; any_function($object) results "test" thanks for your help -- PHP General Mailing List (http://www.php.

RE: [PHP] Objectclass

2001-03-20 Thread Neil Kimber
see http://www.php.net/manual/en/function.get-class.php -Original Message- From: Thorsten Viel [mailto:[EMAIL PROTECTED]] Sent: 20 March 2001 17:33 To: [EMAIL PROTECTED] Subject: [PHP] Objectclass Hi, first thanks for your help on my last thread. Another question. Is there a functio

Re: [PHP] Couple Questions

2001-03-20 Thread CC Zona
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] (acleave) wrote: > 1) How do I return multiple data types at once from a function? For > instance > I might want to return 5, "apple", and true (an int, a string, and a boolean) > all at once from a function. return array(5, "apple", TRUE);

[PHP] PHP Web-based server-side mail client

2001-03-20 Thread Steven Katz
I'm looking for a PHP web-based POP/IMAP mail client to install on my RH7 machine. Anyone know of any with really good looking interfaces? I found a few that I like, but they're CGI, and commercial or ad-sponsored. I'll be happy with a free CGI package if anyone knows of a great one. Thanks,

  1   2   3   >