Re: [PHP] unable to fine /htdocs on my linux machine :(

2001-03-19 Thread Paul O'Neil
I had problems getting Apache, PHP and MySQL to work using the RPM's on Redhat 7.0. I ended up deleting all of them and installed manually using the tar's. - Original Message - From: "David Robley" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, March 18, 2001 11:32 PM Subject: Re:

[PHP] oracle insert won't work

2001-03-19 Thread Rudolf Frint
I'm getting $FF from another PHP-Page and then I want to insert the Values into my Database like this $handle = ora_logon("iusr@test","kiwi1"); $cursor1 = ora_open($handle); $query = "insert into internet_tmp select rv_ret($FF),$FF,$sesid,(sysdate+0.0021) from dual"; ora_parse($cursor1,$query)

[PHP] FYI: PHP HOWTO

2001-03-19 Thread Yasuo Ohgaki
I just found this link and thought it might be useful for many PHP users. (Especially, new PHP users, tutorials, etc, but it is also useful for long time PHP users. Many of useful links in it.) http://www.linuxdoc.org/HOWTO/PHP-HOWTO.html This HOWTO is updated 17 Feb 2001. Covers PHP4 and

RE: [PHP] Can you recommend an ISP with the following?

2001-03-19 Thread Matt Williams
*PHP4 *MySQL *Telnet access *Decent Support *Preferably a Cobalt server (or one with a VERY good Web-based administrator, most other types of Web administrators I've seen have been clunky and a PITA) *Pretty Cheap www.blueboxwebhosting.com especially good for support M@ -- PHP

[PHP] PHP - include / require

2001-03-19 Thread Surfer!
I was wanting a set of pages generated by individual PHP scripts to each use one PHP script to generate the navigation links. However I'm not winning - a suitable example would be much appreciated. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED]

[PHP] PHPLIB and Auth

2001-03-19 Thread Steve Haemelinck
Hi Guys, I really have a stupid problem but I don't see it :). I wanted to implement authentification with PHPLIB but it seems I am not able to get it working. What happens: If I want to access a page which needs authentification I first get the loginform, so far so good, but when I enter a

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

2001-03-19 Thread Emiliano Heyns
emile Mon Mar 19 01:49:59 2001 EDT Modified files: /php4/ext/midgard midgard.c Log: return userid from mgd_auth_midgard Index: php4/ext/midgard/midgard.c diff -u php4/ext/midgard/midgard.c:1.23 php4/ext/midgard/midgard.c:1.24 ---

[PHP] MS SQL databse connecting

2001-03-19 Thread Costas
What PHP funstions should i use to connect to a MS SQL database. can i use the mysql or the odbc commands ? -- 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] PHP Apache

2001-03-19 Thread Patrick
Ok I had this working once and again it is eluding me on win98 I have added ScriptAlias /php/ "d:/php/" AddType application/x-httpd-php .php .phtml Action application/x-httpd-php "/php/php.exe" but PHP still will not work I have got Perl working and had PHP working but I neglected to save

RE: [PHP] PHPLIB and Auth

2001-03-19 Thread Steve Haemelinck
Can it be that my Apache server is not well configured? I think you have to allow methods like GET and POST ? -Original Message- From: Steve Haemelinck [mailto:[EMAIL PROTECTED]] Sent: maandag 19 maart 2001 10:26 To: PHP Mailing Listl (E-mail) Subject:[PHP] PHPLIB and

[PHP] use strict alternative

2001-03-19 Thread Costas
Is there a PHP alternative to Perls use strict command. For anyone who doesnt know Perl, use strict forces local declaration of variables thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To

[PHP] php under Oracle Web server pleaaaaaaaaaase!

2001-03-19 Thread kaab kaoutar
Hello Is it possible to work with php under an oracle server ? If yes can u point me to some manuals and articles Thanks _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. -- PHP General Mailing

Re: [PHP] cf to php

2001-03-19 Thread Yoshi Melrose
Chris, all you need to check that is: ?php if (!$page) { ... do your stuff ... } ? that should do it, as long as the url var exists it'll work. =) Yoshi - Original Message - is there a php equivalent for this little tidbit from a friend's cf script? here it is: cfif NOT

Re: [PHP] PHP Apache

2001-03-19 Thread Yoshi Melrose
Patrick, Here's how i have my httpd.conf in 2000. make sure you put in the reference to the isapi dll: LoadModule php4_module c:/php/sapi/php4apache.dll Load the module and it should work fine. - Original Message - From: "Patrick" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday,

Re: [PHP] MS SQL databse connecting

2001-03-19 Thread Yoshi Melrose
Costas, Depends on whether or not you're using a windows server or linux server. I've found that it's much easier to use MSSQL from a windows server since you can use the mssql_connect commands. for some reason or another (probably lack of configuration knowledge in linux) i've had problems

Re: [PHP] php under Oracle Web server pleaaaaaaaaaase!

2001-03-19 Thread Frank Joerdens
On Mon, Mar 19, 2001 at 10:27:19AM -, kaab kaoutar wrote: Hello Is it possible to work with php under an oracle server ? If yes can u point me to some manuals and articles AFAIK, the Oracle Web server is not Open Source; hence it would be difficult to support it directly. You can always

Re: [PHP] Radio Button Returns (Pleasre Read)

2001-03-19 Thread Carsten Gehling
From: "Fred" [EMAIL PROTECTED] Sent: Saturday, March 17, 2001 12:22 AM this is the html source generated: input type ="radio" name="pageid" value"index" The error is in: value"index" This should be: value="index" - Carsten -- PHP General Mailing List (http://www.php.net/) To

FW: [PHP] PHPLIB and Auth

2001-03-19 Thread Steve Haemelinck
-Original Message- From: Steve Haemelinck [mailto:[EMAIL PROTECTED]] Sent: maandag 19 maart 2001 11:52 To: 'Steve Haemelinck' Subject:RE: [PHP] PHPLIB and Auth It has certainly got something to do with my config. I just tried a simple form with POST And it gave the

Re: [PHP] php under Oracle Web server pleaaaaaaaaaase!

2001-03-19 Thread kaab kaoutar
HI! DO U MEAN I SHOULD GIVE UP USING PHP under oracle web server ? i used to work on php under PWS and apache! However i've made a project with ASP under IIS but the client changed his mind and wanted to put it in his oracle web server ! i thought of using php translation from asp ! or at last

Re: [PHP] php under Oracle Web server pleaaaaaaaaaase!

2001-03-19 Thread techzeus
You can still use PHP with Oracle Webserver, www.php.net is the best resource I found so far :) - Original Message - From: "kaab kaoutar" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Monday, March 19, 2001 6:56 PM Subject: Re: [PHP] php under Oracle Web server

[PHP-CVS] cvs: php4 /ext/midgard config.m4 config.m4.session

2001-03-19 Thread Alexander Bokovoy
ab Mon Mar 19 01:56:06 2001 EDT Modified files: /php4/ext/midgard config.m4 config.m4.session Log: Keep compability with 4.0.4pl1 Index: php4/ext/midgard/config.m4 diff -u php4/ext/midgard/config.m4:1.15 php4/ext/midgard/config.m4:1.16 ---

[PHP] RE: dynamically change a variable name

2001-03-19 Thread Tim Ward
What do you mean? Do you want to change the variable to $dwg1 then $dwg2 then $dwg3 or what? A variable is a place for holding information. If you want the same data under a different name then create a new variable equal to the old variable then unset the original. $dwg[0] = $dwg; unset($dwg);

[PHP] Re: Privilege system of Mysql...

2001-03-19 Thread David Bouw
Hi Sven, Yes, I just started playing with the GRANT syntax.. Only problem is that they first define a user with everything on 'N' And then they define a table in the DB with everything on Y... Problem is that you have to do this for all DB's which you want to allow. This means that newly

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

2001-03-19 Thread Ben Mansell
joostersMon Mar 19 03:03:29 2001 EDT Added files: /php4/sapi/fastcgi CREDITS Makefile.in README.FastCGI config.m4 fastcgi.c php.sym php_fastcgi.h Modified files: /php4 Makefile.in configure.in Log:

[PHP] Re: Privilege system of Mysql...

2001-03-19 Thread Sven Huster
David, i think, you can do GRANT SELECT,INSERT ON table TO [EMAIL PROTECTED] identified by "password" to allow only SELECTS/INSERTS on the table or just SELECTS with GRANT SELECT ON ... or did i get you wrong? Am 12:27 19.03.2001 schrieb David Bouw: *This message was transferred with a trial

RE: [PHP] Re: Privilege system of Mysql...

2001-03-19 Thread Jeff Armstrong
The easiest way to do this is to use phpMyAdmin. Go to the mysql database on your server Insert a record into the table called 'user' * enter appropriate value for host (localhost or %) * fill in user name * when entering password, select the PASSWORD function from the pulldown and enter the

RE: [PHP] use strict alternative

2001-03-19 Thread Stewart Taylor
php variables are local by default. -Original Message- From: Costas [mailto:[EMAIL PROTECTED]] Sent: 19 March 2001 10:27 To: [EMAIL PROTECTED] Subject: [PHP] use strict alternative Is there a PHP alternative to Perls use strict command. For anyone who doesnt know Perl, use strict

[PHP] Automatic documentation: call for help with C++

2001-03-19 Thread Geoff Caplan
Hi folks A possible new approach to generating automatic documentation from source code - but it will require someone with good C++ skills to evaluate it... One of the weaknesses of PHP is that it lacks a built-in Javadoc style system for generating automatic documentation in HTML and other

[PHP] php4 with imap support

2001-03-19 Thread Torsten Curdt
After enabling imap support for php4 it --with-imap=/root/install/php/lib_imap/imap-2000c php4 still compiles fine. But Apache does not start anymore. Cannot load /usr/lib/apache/libphp4.so into server: undefined symbol: pam_end So I checked the the libs: worf:~/install/php # ldconfig

Re: [PHP] use strict alternative

2001-03-19 Thread Christian Reiniger
On Monday 19 March 2001 12:53, you wrote: php variables are local by default. point missed :) "use strict" forces you to declare variables before you use them. AFAIK there's no such thing in PHP (unfortunately). -- Christian Reiniger LGDC Webmaster (http://sunsite.dk/lgdc/) CPU not found.

[PHP] PHP - MySQL special character - mysql problem?

2001-03-19 Thread Alain
Hello, I am wrining a script that insert students in a database: name, email, the data retrive (from text-file) and storing (into database) works fine, but when I want to check if a student is already in the database, I look for the email address, and when I use: $check_email =

[PHP-CVS] cvs: php4 / README.Zeus /sapi/isapi config.m4

2001-03-19 Thread Ben Mansell
joostersMon Mar 19 03:23:57 2001 EDT Modified files: /php4 README.Zeus /php4/sapi/isapiconfig.m4 Log: Altered README.Zeus to give instructions on building FastCGI. Changed --with-zeus configure option into --with-isapi, since its more

[PHP-CVS] cvs: php4 /ext/midgard php_midgard.h.in

2001-03-19 Thread Alexander Bokovoy
ab Mon Mar 19 03:50:18 2001 EDT Modified files: /php4/ext/midgard php_midgard.h.in Log: Incompabilities in SCE build fixed for 4.0.5 and 4.0.4pl1 Index: php4/ext/midgard/php_midgard.h.in diff -u php4/ext/midgard/php_midgard.h.in:1.1

[PHP] site root variable (for Generic Unix and Windows)

2001-03-19 Thread ben . 2 . edwards
I am developing a PHP site under windows which is going to be deployed eventually on Unix (indeed when life gets less hectic will also be developed under Unix but that's another story). Anyway the header.html (included at top of every page) has links in it. However depending where the page is

RE: [PHP] site root variable (for Generic Unix and Windows)

2001-03-19 Thread Matt Williams
you could make your links absolute ie.. /cat.html so if you're in http://green/admin/admin.html you would link to http://green/cats.html HTH M@ I am developing a PHP site under windows which is going to be deployed eventually on Unix (indeed when life gets less hectic will also be

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

2001-03-19 Thread Ide, Jim
These are the functions I use to determine if a string value is a valid integer, real, date, etc. Hope this helps. ps - please let me know if you find any errors. thanx. ?php function IsValidBoolean($p) { if ( isset($p) ) { if ((strtolower($p) == "true") or

RE: [PHP] site root variable (for Generic Unix and Windows)

2001-03-19 Thread Jeff
Agreed - use absolute paths - but DONT include the protocol://server Best is: A HREF=/admin/mypage Not so good is: A HREF=/admin/mypage.php A HREF=/admin/mypage.html Don't do this A HREF=http://www.mine.com/admin/mypage ^^^ You don't want your dev site linking to

[PHP-CVS] cvs: php4 /ext/midgard php_midgard.h.in

2001-03-19 Thread David Guerizec
davidg Mon Mar 19 03:54:31 2001 EDT Modified files: /php4/ext/midgard php_midgard.h.in Log: fixed bad #endif syntax Index: php4/ext/midgard/php_midgard.h.in diff -u php4/ext/midgard/php_midgard.h.in:1.2 php4/ext/midgard/php_midgard.h.in:1.3 ---

Re: [PHP] PHP MYSQL BOOKS

2001-03-19 Thread Luke Welling
""YoBro"" [EMAIL PROTECTED] wrote: Does anybody know any good books websites to recommend for PHP MySql together. I am looking to advance my knowledge and would really appreciate a helpful tip. Really looking for a book that explains all the advanced features of PHP4 and MySql as a

Re: [PHP-I18N] Encoding detection

2001-03-19 Thread Atanas Vassilev
Thanks for your timely cooperation. In fact following the direction you gave me I found out that $HTTP_ACCEPT_LANGUAGE was what would work even better Something strange happened though: I formed my include like this: include "lang_".$HTTP_ACCEPT_LANGUAGE.".INC"; So, I have 2 files -

Re: [PHP] PHP Apache

2001-03-19 Thread Patrick
OK it worked Thanks for the pointers Yoshi - Original Message - From: "Yoshi Melrose" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, March 19, 2001 4:34 AM Subject: Re: [PHP] PHP Apache Patrick, Here's how i have my httpd.conf in 2000. make sure you put in the reference to

Re: [PHP-I18N] Encoding detection

2001-03-19 Thread Gustav Foseid
Atanas Vassilev: I formed my include like this: include "lang_".$HTTP_ACCEPT_LANGUAGE.".INC"; This will not work properly. Firts of all, youmight get a request from someone having another language set in their preferences. You can also have more than one language set, in my requests

RE: [PHP] site root variable (for Generic Unix and Windows)

2001-03-19 Thread Matt Williams
Agreed - use absolute paths - but DONT include the protocol://server Sorry, I didn't mean it to sound like I meant include the above M@ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact

RE: [PHP] cf to php

2001-03-19 Thread Joe Sheble (Wizaerd)
the PHP equivalent is isset() if( !isset( $url_Page )) At 03:09 AM 3/19/01 -0500, Jack Dempsey wrote: What exactly does that do chris? If you're trying to check and see if there's a file on the server, then you could do something with readdir, is_file, etc...if you want to post what that

Re: [PHP] dynamically change a variable name

2001-03-19 Thread Gary
Thanks! "Mark Maggelet" [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... On Sun, 18 Mar 2001 20:36:15 -0500, Gary ([EMAIL PROTECTED]) wrote: Is there a way to dynamically change a variable name? For example: I want to change the variable name $DWG to $DWG1 $DWG2

RE: [PHP] Can you recommend an ISP with the following?

2001-03-19 Thread Joe Sheble (Wizaerd)
I've found http://www.jtlnet.com to be very good and especially responsive... At 09:09 AM 3/19/01 +, Matt Williams wrote: *PHP4 *MySQL *Telnet access *Decent Support *Preferably a Cobalt server (or one with a VERY good Web-based administrator, most other types of Web

[PHP-CVS] cvs: php4 /ext/midgard config.m4

2001-03-19 Thread David Guerizec
davidg Mon Mar 19 04:38:35 2001 EDT Modified files: /php4/ext/midgard config.m4 Log: fixed a compatibility problem with 4.0.4 Index: php4/ext/midgard/config.m4 diff -u php4/ext/midgard/config.m4:1.16 php4/ext/midgard/config.m4:1.17 ---

[PHP] Dynamic generation of text files?

2001-03-19 Thread Dan Costello
Hi, I'm trying to get my site to generate text files with a certain extension and MIME-type from a database, "on the fly". Specifically, I would like to build something that can create vCards, that is, text files of a particular format with the extension *.vcf, mime-type text/x-vcard, _at the

[PHP-CVS] cvs: php4 /ext/midgard config.m4 config.m4.session

2001-03-19 Thread Alexander Bokovoy
ab Mon Mar 19 04:52:01 2001 EDT Modified files: /php4/ext/midgard config.m4 config.m4.session Log: 4.0.4pl1 compability finally fixed Index: php4/ext/midgard/config.m4 diff -u php4/ext/midgard/config.m4:1.17 php4/ext/midgard/config.m4:1.18 ---

[PHP] Checking if a web, a url really exists ?

2001-03-19 Thread Steve Haemelinck
Anybody got an idea on how to check if a url really exists ? -- 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] how to use php and xsl to transform xml to html?

2001-03-19 Thread Sandeep Hundal
ihi all, i was reading somewhere on how ASP uses microsoft's xml engine to transform xml documents which have accompanying xsl stylesheets. basically what i would like to do is write an xml document, write an accompanying xsl sheet, and then run a php script on the web so that an html file is

Re: [PHP-CVS] cvs: php4 /ext/midgard config.m4 config.m4.session

2001-03-19 Thread Sascha Schumann
On Mon, 19 Mar 2001, Alexander Bokovoy wrote: abSun Mar 18 23:37:01 2001 EDT Modified files: /php4/ext/midgard config.m4 config.m4.session Log: Oops. Substitution code fixed AC_OUTPUT is not intended to be called twice. Did not PHP_OUTPUT work for you? -

RE: [PHP] MS SQL databse connecting

2001-03-19 Thread Mark Roedel
-Original Message- From: Yoshi Melrose [mailto:[EMAIL PROTECTED]] Sent: Monday, March 19, 2001 4:38 AM To: [EMAIL PROTECTED] Subject: Re: [PHP] MS SQL databse connecting Depends on whether or not you're using a windows server or linux server. I've found that it's much easier

[PHP] Problems with Linux PHP

2001-03-19 Thread Liam Gibbs
I'm having a couple of problems while porting some software from Lynx OS to Linux. Here they are: 1. The encryption method seems to be different. Does anyone know the salt to use in the crypt() function in Linux? 2. Also, I seem to not be able to popen() in Linux. I get a file pointer which

Re: [PHP] TraceRoute

2001-03-19 Thread David G.
The reason is to keep you email address from being collected by Usenet trolling robots. In that case, however, you should mention (via signature or otherwise) in the body of the message what word to remove to get a valid address. Since this newsfeed is fairly inconspicuous it is likely not a

SV: [PHP] Checking if a web, a url really exists ?

2001-03-19 Thread Daniel Svensson, Coretrek
This should work: $url = http://www.php.net; if ($fp = fopen ($url, "r")) { /* DO THE STUFF */ } Of course the entire web page can be retrieved through the created file pointer. /Daniel -Opprinnelig melding- Fra: Steve Haemelinck [mailto:[EMAIL PROTECTED]] Sendt: 19. mars

Re: [PHP] Automatic documentation: call for help with C++

2001-03-19 Thread Harshdeep S Jawanda
Hi, To quickly get to the gist of it... Geoff Caplan wrote: Any takers? I am definitely interested. The problem is: I am unlikely to be able to find sufficient time. Therefore, (unfortunately,) I can only be counted upon as a second or third rung helper, if at all :-(. I'll try and have a

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

2001-03-19 Thread David G.
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? And yes, I know how to work around it for now; quite simple even for a newbie such as myself...not to mention that a similar question was

Re: [PHP] Dynamic generation of text files?

2001-03-19 Thread Michael Kimsal
a href="/scripts/GenericCard.php?uid=UniqueUserKey"Click here for John Doe's vCard/a GenericCard.php would have something like... // // build $text from $uid passed in // header("Content-type: x/y"); header("Content-Disposition: attachment; filename=$filename" ); print $text; exit(); "x/y"

Re: [PHP] Running script on remote server

2001-03-19 Thread Jason Stechschulte
On Sat, Mar 17, 2001 at 05:27:55PM +1300, Patrick Dunford wrote: The example in the Help shows opening a file at http://www.php.net/ with fopen(). Are they accessing the source code of the script, or the HTML code that is output by the PHP server when it runs the PHP script that it loads from

Re: [PHP] MS SQL databse connecting

2001-03-19 Thread Michael Kimsal
Am I the only one who can not find any free ODBC drivers for Linux? I see countless references to ODBC driver managers, but no ODBC drivers themselves - not free ones anyway. I'll have to second the other poster's comments re: FreeTDS. It works fine, and we're looking at using SQLRelay in

Re: [PHP] Invalid or Valid because the same.

2001-03-19 Thread Jason Stechschulte
On Sat, Mar 17, 2001 at 02:35:25PM +0800, [EMAIL PROTECTED] wrote: I have attached a php file together with this email. I believe your attachment was stripped somewhere along the line. We will definitely have to see code to help you figure out what is going wrong. Could you at least include

Re: [PHP] Repost URGENT: Can't see picture!!!!!!!!

2001-03-19 Thread Jason Stechschulte
On Sat, Mar 17, 2001 at 01:16:16AM -0700, Mike Yuen wrote: Hi, this is a repost and nothing i've tried is working. Basically, I allow people to upload pictures and they all go to the proper directories but I can't see the picture. I can see the pictures great on my windows server but no

Re: [PHP] Editing Variables from another script.

2001-03-19 Thread Jason Stechschulte
On Sun, Mar 18, 2001 at 01:06:34PM +0800, [EMAIL PROTECTED] wrote: I'm trying to create a form whereby I can edit the variables with just the form. It will be something like a form for me to change the database details(username,server,password) in a .inc I'm using. Is there anyway for me

Re: [PHP] pulldown population not getting the last value

2001-03-19 Thread Jason Stechschulte
On Sun, Mar 18, 2001 at 05:38:36PM -0800, Tom Beidler wrote: I'm trying to create a pulldown menu with distinct names from the found set. For some reason I never get the last name. Here's my code; $contact_query = "SELECT DISTINCT name FROM request" . " WHERE id = '5' OR

RE: [PHP] FAQ

2001-03-19 Thread Robert V. Zwink
There is a well maintained site whose purpose is to answer/archive frequently asked questions: http://php.faqts.com Robert Zwink -Original Message- From: Rick St Jean [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 15, 2001 12:05 PM To: [EMAIL PROTECTED] Subject: [PHP] FAQ It is

[PHP] ODD phpAds question

2001-03-19 Thread Matt \TrollBoy\ Wiseman
I have never got the groups thing to work on phpAds, actually I have never even seen anything for it in the options of the admin screen. So what I have done is created a customer with mutliple banners. I host free banners for other websites in my genre and host thier banners under that

php-general Digest 19 Mar 2001 15:25:03 -0000 Issue 576

2001-03-19 Thread php-general-digest-help
php-general Digest 19 Mar 2001 15:25:03 - Issue 576 Topics (messages 44479 through 44566): Re: just wondering 44479 by: Peter Houchin Re: Tables with scroll in HTML? 44480 by: Adi Wibowo Re: TraceRoute 44481 by: David Smith 44552 by: David G.

[PHP] Searching multiple tables

2001-03-19 Thread Clayton Dukes
I'm having a hard time chasing down a bug. I have themes installed on my website, the color choices are stored in the database. I need to search all tables within the database for the word "red" how can I do this? Thanks :-) Clayton Dukes -- PHP General Mailing List

Re: [PHP] Problems with Linux PHP

2001-03-19 Thread Liam Gibbs
I'm having a couple of problems while porting some software from Lynx OS to Linux. Here they are: 1. The encryption method seems to be different. Does anyone know the salt to use in the crypt() function in Linux? 2. Also, I seem to not be able to popen() in Linux. I get a file pointer which is

[PHP] PHP vs Servlet

2001-03-19 Thread Jesper Blomström
Hi! I am sure you have a solution to this... How shall I communicate with a servlet from PHP? I have a servlet which makes a DB-query and returns the result. Thanks! / Jeppe -- Jesper Blomstrm [EMAIL PROTECTED] Arbete: 08-566 280 08 Hem:08-669 23 10 Mobil: 070-30 24 911 -- PHP

RE: [PHP] use strict alternative

2001-03-19 Thread Johnson, Kirk
I think there is an error_level you can set that will warn about using *undefined* variables before they have been assigned a value. Don't recall the details offhand. Kirk -Original Message- From: Christian Reiniger [mailto:[EMAIL PROTECTED]] Sent: Monday, March 19, 2001 5:37 AM To:

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

2001-03-19 Thread Johnson, Kirk
Jim, Thanks for sharing all your hard work. Have you seen checkdate()? http://www.php.net/manual/en/function.checkdate.php Kirk -Original Message- From: Ide, Jim [mailto:[EMAIL PROTECTED]] Sent: Monday, March 19, 2001 6:38 AM To: 'phpman'; [EMAIL PROTECTED] Subject: RE: [PHP] how

Re: [PHP] submission of 1..N variables

2001-03-19 Thread Chris Lee
I'll show you how you want, but will recommend using arrays. ?php $A0 = '0'; $A1 = '1'; $A2 = '2'; $A3 = '3'; if (isset($A1)) { $i = 0; $var_name = "A$i"; while(isset($$var_name)) { // do something $i++; $var_name = "A$i"; } } ? heres what you should be doing.

Re: [PHP] Source Protection

2001-03-19 Thread Chris Lee
In defence of zend technologies and open source. Is your php code being used for profit? then purchase the encoder. Is your code being used for non-profit? then release it as open source for the community to use. -- Chris Lee [EMAIL PROTECTED] ""Chris Anderson"" [EMAIL PROTECTED]

Re: [PHP] Variables problem

2001-03-19 Thread Chris Lee
I dont know how good of an idea it is to have 180 variable variable names. oi, headache. but the question you asked was this. " $q = 'tar1-1' how do I access the variable $tar1-1 " no problem echo $$q; -- Chris Lee [EMAIL PROTECTED] ""Per Kallin"" [EMAIL PROTECTED] wrote in message

Re: [PHP] Change POST for GET

2001-03-19 Thread Chris Lee
sessions do not allow pages to be cached, when sessions are being used th no-cache header is set. GET and POST are very differnt in some areas and very alike in others. obviously the two biggest changes is that all the variables and their values are in the url bar. I beleive most browsers

Re: [PHP] FileUpload problematic

2001-03-19 Thread Chris Lee
everything is working as it should. php handels its own garbage collection, when the script is over the file is deleted. you will have to copy or move the file somewhere. or just do something with it and allow php todo its ob and delete it when your done the script. ecec("cp $file

RE: [PHP] Change POST for GET

2001-03-19 Thread Altunergil, Oktay
You can use urlencode() to preserve the spaces. You don't have to any manual conversions from space to + or something else. -Original Message- From: Chris Lee [mailto:[EMAIL PROTECTED]] Sent: Monday, March 19, 2001 9:35 AM To: [EMAIL PROTECTED] Subject: Re: [PHP] Change POST for GET

Re: [PHP] With all this talk about editors ...

2001-03-19 Thread Chris Lee
what if you have three headers depending on what colors a user likes. this favorite color is stored in a session variable $fav_color = 'blue_header'; ?php function blue_header() { } function red_header() { } function green_header() { } include_once('session.egn');

[PHP] removing element from array

2001-03-19 Thread Alexander Gräf
shame of me for asking that a stupid question, but i don't know how to remove an element off an associative array. can anybody please tell me, i didn't find anything about that in faqs or manuals. thank you -- [EMAIL PROTECTED] +49 9721 188848 +49 171 370 97 15 -- PHP General Mailing List

Re: [PHP] removing element from array

2001-03-19 Thread Chris Lee
unset() ?php $test[0] = 0; $test[1] = 1; $test[2] = 2; $test[3] = 3; foreach($test as $pos = $val) echo "$valbr"; unset($test[2]); foreach($test as $pos = $val) echo "$valbr"; ? -- Chris Lee [EMAIL PROTECTED] ""Alexander Grf"" [EMAIL

Re: [PHP] MS SQL databse connecting

2001-03-19 Thread Michael Kimsal
55 projects found for query 'odbc' Most of these are simply projects that have the word ODBC in their description someplace. There seem to be only a handful of libraries, and some (openlink/easysoft) are commercial offerings. I still have not come across any ODBC driver that I can get a binary

Re: [PHP] Source Protection

2001-03-19 Thread rui
I Agree with that, Take the same atitude as mysql. AFAIK, zend encoder is not only for hidding code, but (they say) it optimizes php processing, if that is true, it is a good and enough reason to release it for free for users that do open source projects.

RE: [PHP] FileUpload problematic

2001-03-19 Thread ben . 2 . edwards
Would copy( $file, "somewhare/$file" ) be more platform independent? -- [EMAIL PROTECTED] (ben@work untill end March) [EMAIL PROTECTED] (ben@home) -Original Message- From: Chris Lee [SMTP:[EMAIL PROTECTED]] Sent: Monday, March 19, 2001 2:38 PM To: [EMAIL PROTECTED] Subject:

RE: [PHP] removing element from array

2001-03-19 Thread Jack Dempsey
alex if you're looking for a pop function, try array_pop.if you just want to remove an item and then compact the array, i believe you'll have to hack together something yourselfcheck the mailing list archives.. http://marc.theaimsgroup.com/?l=php-generalr=1w=2 jack -Original

[PHP] mime mail class (Sascha Tobias) - msWORD doc attachment not working

2001-03-19 Thread Jen Hall
Hi there I am trying to get the scriplet code from http://www.phpwizard.net/resources/phpMisc/scripts/pretty/mail.php3 to work for a website I'm building. I am trying to allow a user to select a file from their hard drive, and then have that file sent as an email attachment. Most of the time

Re: [PHP] Problems with multiple query

2001-03-19 Thread Nuno Silva
Hi, please note: You can *not* fetch results that require earlier results using the pg_* functions. Explaination: when you submit a query the php script doesn't know about the content of all rows returned, instead the interface API makes use of pointers to fetch only the requested rows from

Re: [PHP] MS SQL databse connecting

2001-03-19 Thread Yoshi Melrose
I know i had one. I used one for a project I had in php I'll look for it and see if I can get it to you. Hmmm. - Original Message - From: "Michael Kimsal" [EMAIL PROTECTED] To: "Yoshi Melrose" [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Monday, March 19, 2001 10:54 AM Subject: Re:

[PHP] HELP insert still dosn't work

2001-03-19 Thread Rudolf Frint
I want to insert the Values into my Database like this $handle = ora_logon("iusr@test","kiwi1"); $cursor1 = ora_open($handle); $query = "insert into internet_tmp select rv_ret($FF),$FF,$sesid,(sysdate+0.0021) from dual"; ora_parse($cursor1,$query) or die; ora_exec($cursor1);

[PHP] SETUP PHP , MYSQL, APACHE

2001-03-19 Thread Luis
Hello all, hope that everyone had a nice weekend. I'm new to this form. I am about to install mysql, apache, and php on my linux box (redhat 7) I went to the php site, but I'm a little bit lost. I found this link on there but I dont know if thats the way I have to set it up . I'm setting all

Re: [PHP] MS SQL databse connecting

2001-03-19 Thread Andrew Hill
Yoshi, Regardless if you use a commercial or free driver, the only thing you need to compile with is iODBC, as a Driver Manager. You can then drop in any ODBC-compliant driver fairly seamlessly. A Howto is available at www.iodbc.org, but it's mostly a matter of getting the iODBC SDK and

Re: [PHP] MS SQL databse connecting

2001-03-19 Thread Andrew Hill
Whups, sorry - looks like that should have been addressed to Michael. Best regards, Andrew On 3/19/01 12:13 PM, "Andrew Hill" [EMAIL PROTECTED] wrote: Yoshi, Regardless if you use a commercial or free driver, the only thing you need to compile with is iODBC, as a Driver Manager. You can

[PHP] deleted cookie

2001-03-19 Thread Nikolai Vladychevski
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 it to value "deleted", so in my code this variable has a value and believes there is a user called

[PHP] managing scripts on different domains

2001-03-19 Thread Thomas Schneider
hello list, i have the problem that netscape 4.6 and more can't allow access to scripts/documents at another domain (javascript error). anyway i have a checking_status-script on domain first.xxx.xx which calls a script on domain second.yyy.yy, ie and netscape 4.0 work quit well with this... but

Re: [PHP] site root variable (for Generic Unix and Windows)

2001-03-19 Thread Harshdeep S Jawanda
Hi, Matt Williams wrote: you could make your links absolute ie.. /cat.html Properly speaking, even this link is relative :-) (it is relative to the document root of the web server). I like to call such links "impure relative" links :-). I call links of the type "../cat.html" "pure

Re: [PHP] MS SQL databse connecting

2001-03-19 Thread Yoshi Melrose
That's it, Thank you Andrew, I knew I had it somewhere. Michael, this is where you want to go, Andrew hit the nail right on the head! - Original Message - From: "Andrew Hill" [EMAIL PROTECTED] To: "Yoshi Melrose" [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Monday, March 19, 2001

Re: [PHP] MS SQL databse connecting

2001-03-19 Thread Yoshi Melrose
We knew what you mean. ;) - Original Message - From: "Andrew Hill" [EMAIL PROTECTED] To: "Yoshi Melrose" [EMAIL PROTECTED]; "Work" [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Monday, March 19, 2001 11:14 AM Subject: Re: [PHP] MS SQL databse connecting Whups, sorry - looks like that

[PHP] Add commas to 1188889 so-- 1,188,889

2001-03-19 Thread Karl J. Stubsjoen
Hello, Has anyone written a nifty little function to add commas to big numbers like: 119 so-- 1,188,889 If so, please share! Karl -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact

[PHP] unlink failed message in page but files are removed!

2001-03-19 Thread Tom Beidler
I have a script that cleans up old files with the unlink () command. On the page that runs the script I get; Warning: Unlink failed (Permission denied) in /public/tbldr/public/demo/request/step2.php4 on line 152 However when I check to see if the files are removed, there gone! It appears

  1   2   3   >