Re: [PHP] checboxex and sessions

2001-03-20 Thread Yasuo Ohgaki
For example, if you have from method="post" Please check hereinput type="checkbox" name="checkbox_test" value="User Checked Test Checkbox" /form 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

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 think

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

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

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

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] wrote

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, set

[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:

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,

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:57

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 =

[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

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 men

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]... a href="/scripts/GenericCard.php?uid=UniqueUserKey"Click here for John Doe's vCard/a GenericCard.php would have something like... // // build

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

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

[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

[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

[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,

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 name/ content

[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

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 and

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 before

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

[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,

[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 method

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 that

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? I have to

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

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='localhost'; If

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 //

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:

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,

[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

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

[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

[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,

[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

[PHP] Cookies

2001-03-20 Thread Francesc Lladó
? setcookie("nombre1",'nombre2',time()+86400); ? Utilizo este cdigo para depositar una cookie en el cliente, lo nico que me caduca al cabo de un tiempo, alguin sabe qu es lo que tengo que poner para que la cookie no caduque nunca? Gracias -- Francesc Llad i Dardet [EMAIL PROTECTED] Interkonet

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""

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

[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

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:

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

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

[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

[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:

[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

[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 ---

[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

[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

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

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

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

[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 ---

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

[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

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

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); 2)

[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,

[PHP-CVS] cvs: php4 /ext/pgsql pgsql.dsp

2001-03-20 Thread Daniel Beulshausen
dbeuTue Mar 20 09:45:11 2001 EDT Modified files: /php4/ext/pgsql pgsql.dsp Log: fix dsp Index: php4/ext/pgsql/pgsql.dsp diff -u php4/ext/pgsql/pgsql.dsp:1.16 php4/ext/pgsql/pgsql.dsp:1.17 --- php4/ext/pgsql/pgsql.dsp:1.16 Thu Sep 28 13:25:03 2000

[PHP] dbase functions still supported?

2001-03-20 Thread Don Pro
Hi, Using PHP 4.04pl1 I am getting an error executing the dbase_create function. Th elines of code are: if (!dbase_create($export_file, $dbf_def)) echo "Error creating DBF file"; my error message is: Fatal error: Call to undefined function: dbase_create() in my_prog. php on line 59 I

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

2001-03-20 Thread Christian Reiniger
On Tuesday 20 March 2001 14:59, you wrote: I compiled php --with-pgsql, but phpinfo() doesn't list that.is this a problem with php.ini? Are you sure you didn't have a typo in that? Configure silently ignores unknown opitons. -- Christian Reiniger LGDC Webmaster (http://sunsite.dk/lgdc/)

[PHP] Dynamically build a form from mySQL table

2001-03-20 Thread Martin E. Koss
Hi, I've been trying to figure this out by looking through the code in phpMyAdmin but I'm not getting very far. There's probably some help about it somewhere. What I want to do is dynamically generate a form where I get a table row containing the field name in one cell and the input field in the

RE: [PHP] files with html extension

2001-03-20 Thread Rick VanNorman
On 3/20/2001 at 12:29 PM Jack Dempsey wrote: 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

RE: [PHP] files with html extension

2001-03-20 Thread Mark Maggelet
for php4: AddType application/x-httpd-php .html for php3: AddType application/x-httpd-php3 .html On Tue, 20 Mar 2001 10:12:56 -0800, Rick VanNorman ([EMAIL PROTECTED]) wrote: On 3/20/2001 at 12:29 PM Jack Dempsey wrote: You can tell apache to have the php interpreter parse files with an html

Re: [PHP] files with html extension

2001-03-20 Thread Phillip Bow
Personally I recommend people don't do this unless their web server is going to serve only(or mostly) php pages, and very few straight html pages. It will save you time mucking around on the server, but the increase in overhead isn't really worth it. IMHO of course. -- phill -- PHP General

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

2001-03-20 Thread Jeff Armstrong
the logic goes: $start = some_start_date_a_keen_punter_entered(); $end = the_date_he_wants_to_leave(); select * from booking where ('$start'=startdate and '$start'=enddate) or ('$end'=startdate and '$end'=enddate) if (uh_ohh_I_got_a_row_back()) echo "Someone else is sleeping in

[PHP] where to learn to make a shopping cart

2001-03-20 Thread Jerry Lake
What are some good resources I can look at to learn how to make a shopping cart, that will function with php3/MySQL ? I know of the one at Devshed, but any other resources are certainly appreciated. Jerry Lake- [EMAIL PROTECTED] Web Designer Europa Communications -

[PHP-CVS] cvs: php4(PHP_4_0_5) /sapi/fastcgi CREDITS Makefile.in README.FastCGI config.m4 fastcgi.c php.sym php_fastcgi.h

2001-03-20 Thread Andi Gutmans
andiTue Mar 20 10:13:21 2001 EDT Added files: (Branch: PHP_4_0_5) /php4/sapi/fastcgi CREDITS Makefile.in README.FastCGI config.m4 fastcgi.c php.sym php_fastcgi.h Log: - MFH Index: php4/sapi/fastcgi/Makefile.in +++

RE: [PHP] where to learn to make a shopping cart

2001-03-20 Thread Jerry Lake
Now that I take a look, the one at devshed assumes PHP4... of course. and that would be great if I could get my sysadmin to upgrade. Jerry Lake- [EMAIL PROTECTED] Web Designer Europa Communications - http://www.europa.com Pacifier Online - http://www.pacifier.com -Original

[PHP] Q: NSAPI support

2001-03-20 Thread Joe Rice
Hi, I have a funny situation where i can't use apache due Macromedia's ARIA software and lack of it's support for apache. So, i'm stuck with using iPlanet. My question is how stable,fast,usable is the PHP4 NSAPI support? Thanks, joe rice Web Admin www.bigidea.com -- PHP General Mailing

RE: [PHP] files with html extension

2001-03-20 Thread Jeff Armstrong
I agree with Phill, don't make all your HTML into PHP unless you aint got much - but hey if you aint got much then you can fix the real problem! soapbox: { The issue here seems to derive from the fact that all the internal HREFs point to xxx.html This is exactly why http://www.w3.org

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

2001-03-20 Thread Rouvas Stathis
Check SquirelMail (I'm propably spelling it wrong) on freshmeat.net -Stathis. Steven Katz wrote: 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

[PHP] How to convert '2001032018' - '2001 03 20 18' ? (Fomating Date)

2001-03-20 Thread SED
Hi, I'm trying to convert the timestamp '2001032018' into '2001 03 20 18' or an Array which I can easily format. Do you remember any date or string function I can use? Regards, Sumarlidi Einar Dadason SED - Graphic Design -- Phone: (+354) 4615501

RE: [PHP] How to convert '2001032018' - '2001 03 20 18' ? (Fomating Date)

2001-03-20 Thread Altunergil, Oktay
function sql_to_unix_time($timeString) { return mktime(substr($timeString, 8,2), substr($timeString, 10,2), substr($timeString, 12,2), substr($timeString, 4,2), substr($timeString, 6,2), substr($timeString, 0,4)); } you can use the above

[PHP] escaping php syntax within perl

2001-03-20 Thread Clayton Dukes
Hey everyone, Doesn anyone knowhow to escape the following line in a perl print statement? if(!isset($mainfile)) { include("mainfile.php"); } ie: sub header{ print "?php echo if(!isset($mainfile)) { include(\"mainfile.php\"); } ?\n"; } What all needs to be escaped? Thanks! Clayton

RE: [PHP] files with html extension

2001-03-20 Thread Rick VanNorman
This is the best idea I've heard/read yet. Thanks Jeff! Rick VanNorman *** REPLY SEPARATOR *** On 3/20/2001 at 6:49 PM Jeff Armstrong wrote: This is exactly why http://www.w3.org recommend that you DONT SPECIFY A FILE TYPE TYPE in your HREFs. Cool URIs Dont change -

[PHP] enum and set possible values

2001-03-20 Thread Michael George
I'm looking here at the mysql functions for PHP4.0.4 and I'm not finding what I seek... I see that mysql_fetch_field() will get information about a field in the result set from a mysql_db_query(). What I'm wanting to find out is what the possible values are for an enum or a set. So if I have

RE: [PHP] How to convert '2001032018' - '2001 03 20 18' ? (Fomating Date)

2001-03-20 Thread Hoover, Josh
You could try this: function convertTimeStamp($yourTimeStamp) { $strTime[0] = substr($yourTimeStamp, 0,4); $strTime[1] = substr($yourTimeStamp, 4,2); $strTime[2] = substr($yourTimeStamp, 6,2); $strTime[3] = substr($yourTimeStamp, 8,2); return $strTime; }

Re: [PHP-CVS] cvs: php4(PHP_4_0_5) /sapi/fastcgi CREDITS Makefile.inREADME.FastCGI config.m4 fastcgi.c php.sym php_fastcgi.h

2001-03-20 Thread Jani Taskinen
On Tue, 20 Mar 2001, Andi Gutmans wrote: andi Tue Mar 20 10:13:21 2001 EDT Added files: (Branch: PHP_4_0_5) /php4/sapi/fastcgi CREDITS Makefile.in README.FastCGI config.m4 fastcgi.c php.sym php_fastcgi.h Log: - MFH Are you sure you

[PHP] PHP/Perl/CGI Question

2001-03-20 Thread Clayton Dukes
Howdy, I have a search cgi form that has the following function: sub header{ print "Content-type: text/html\n\n"; print "?php include(\"mainfile.php\")\;?\n"; print "?php include(\"header.php\")\;?\n"; print "titleSearch/title\n";} When I use the function though, the web page

[PHP] Attachment problem with web based mail

2001-03-20 Thread lists
We hired a developer about a year ago to develop a web based email system for us in php. The developer is no longer around, so I am having to pick up the development on the project...When clicking on the attachment link of an email in Internet Explorer 5.5 in Windows 98, I get the save as dialog

Re: [PHP] Couple Questions

2001-03-20 Thread CC Zona
In article 9984hb$c4e$[EMAIL PROTECTED], [EMAIL PROTECTED] (CC Zona) wrote: And while I haven't actually tried this, I assume that anyone could write their own HTTP_REFERER simply by using fsockopen(). Thanks to PHP's ease of use, using fsockopen does not require one to have the skills of

  1   2   >