Re: [PHP] Problems connecting to remote mySQL server

2001-03-21 Thread almir
the only problem could be that yourUser@webhost do not have same permisions for this db as yourUser@yourHost, check them if you can -almir "Floyd Piedad" [EMAIL PROTECTED] schrieb im Newsbeitrag [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hi Almir, Yes I checked the names and they are

RE: [PHP] PDF reading via IE5.5

2001-03-21 Thread Stewart Taylor
Try, header("Content-type: application/pdf"); header("Location:$filename"); -Stewart -Original Message- From: Dennis Moore [mailto:[EMAIL PROTECTED]] Sent: 21 March 2001 04:14 To: [EMAIL PROTECTED] Subject: [PHP] PDF reading via IE5.5 I have searched long and hard to resolve this

[PHP] Date solved! And now TIME problems : Booking by Date/Time

2001-03-21 Thread Thomas Edison Jr.
i was able to succesfully check for start dates end dates before feeding new booking in the database using the following code : ?php $db = mysql_connect("localhost","root"); mysql_select_db("nidc_intranet",$db); $realsdate="$syear"."-"."$smonth"."-"."$stdate";

[PHP] Optional Parameter ?

2001-03-21 Thread Jack Sasportas
Is it possible to have a function that looks something like function print_this( $value1, $value2, $maybe3) { do whatever; } that would expect $value1, $value2 BUT would not care if $maybe3 came in or not ? and not give an error message that there is a missing paramter ? I know I can do

RE: [PHP] Optional Parameter ?

2001-03-21 Thread Stewart Taylor
You can give $maybe3 a default value which will be used if it is not passed in the function call. You can only do this for the last parameter in the function. function print_this ($value1, $value2, $maybe3=false) { do whatever if ($maybe != false) do whatever with $maybe } -Stewart

Re: [PHP] PHP post

2001-03-21 Thread Dezider Góra
You could use curl functions to do this. Search the manual for curl functions, and enable curl extension in php. hth Dezider David Robley wrote: On Wed, 21 Mar 2001 17:45, Paul Juliano wrote: Hello, How would I simulate an http post in PHP. Something like the equivalent of this:

Re: [PHP] Problems connecting to remote mySQL server

2001-03-21 Thread Floyd Piedad
Hi Almir, Here is more info: Server1: where my database resides Server2: where my script resides On Server1: I can access the database using mysql command and PHP. On Server2: I can access the database using mysql -hserver1 I can show all the tables, select data, etc. BUT, when running

Re: [PHP] banner exchange, how to?

2001-03-21 Thread Mark Maggelet
On Tue, 20 Mar 2001 21:27:14 -0800, Ed Lazor ([EMAIL PROTECTED]) wrote: Hi =) I'd like to setup a banner exchange with some friends. Some of them don't have PHP access, so I'm trying to come up with something that will work for everyone. I checked one site that's running a banner exchange and

[PHP] Finding every even 100

2001-03-21 Thread Nicklas af Ekenstam
Hi Propably a really simple question, but my math skills are not up to speed anymore: How do I find out if an int is an even 100? I.e. 100, 200, 1200, 9900 etc. I could always divide by 100 and have a look at the result and se if it has any decimals but I'm guessing this could be done

[PHP] Post -vs- Get

2001-03-21 Thread Jack Sasportas
I have written a system with authentication to gain access to individual data. Since I am using the post method the command line has something like abc.com?client_no=5 Now even though if that person emails you that url, you won't gain access to it bascause of authentication that is needed, what

[PHP] can you have two sql statements on the same page.

2001-03-21 Thread Matt Davis
I want to extract 2 sets of data each from different tables in the same db but display the results on the same page at the same time. Can I just have two sql statements like this or do I need to do something else. //sql statement 1 $sql1 = "select club_full_name from clubs where

RE: [PHP] Post -vs- Get

2001-03-21 Thread Stewart Taylor
It would be better to use randomly generated strings for your client ids e.g. md5(uniqid(rand())); This would be must harder for another use to guess. Even better would be to store your users details in a session variable so that the id will never appear in the url at all. e.g. a very basic

Re: [PHP] can you have two sql statements on the same page.

2001-03-21 Thread Jack Sasportas
The simple answer would be 2 while statements, but are you trying to mix the results or are you keeping them seperate? By mix there are 2 options value_db1 Value_db2 Value_db1 or value_db1 value_db1 value_db2 value_db1 by the simple answer above it would result in something like Category #1

RE: [PHP] Optional Parameter ?

2001-03-21 Thread Rudolf Visagie
Or you can use an array: function print_this( $ArrayValues ) { do whatever using count($ArrayValues) to determine the bounds of the array; } -Original Message- From: Neil Kimber [mailto:[EMAIL PROTECTED]] Sent: 21 March 2001 11:44 To: Stewart Taylor; 'Jack Sasportas'; [EMAIL

[PHP] function mail()

2001-03-21 Thread Eric Tonicello
Hi ! I'm trying to use the function mail(). ?php mail("[EMAIL PROTECTED]", "subject", "message"); ? I get : Warning: Failed to Connect in D:\IBOIS\web\test.php on line 1 I'm using the lastest version of PHP on IIS 4.0 What's wrong ? Should I change the php.ini ? If I try to use the snmp

[PHP] apache problem on startup w/ libmhash

2001-03-21 Thread Dean Hall
(Sorry for the cross-post; I'd like to get this solved, as I haven't been able to find a solution for several months.) I have installed mhash and libmcrypt (and mcrypt, for that matter), configured php with both of the extensions, and compiled PHP (as a DSO), and apache gives the following error

RE: [PHP] Attachment problem with web based mail

2001-03-21 Thread Grant Walters
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

[PHP] Response.Write [OK]

2001-03-21 Thread AJDIN BRANDIC
Hi, I have built a shopping cart and have made connection to an Internet payment company. Now once transaction is processed they want from my confirmation page to receive an "[OK]". How can I do this with php3/4? Response.Write"[OK]" is what ASP uses, I think??? Thanks Ajdin -- PHP

Re: [PHP] Post -vs- Get

2001-03-21 Thread Michael Hall
abc.com?client_no=5 Now even though if that person emails you that url, you won't gain access to it bascause of authentication that is needed, what can happen is an authorized user could change the 5 in the url to 8, and then see the information that is there which belongs to client 8.

RE: [PHP] Response.Write [OK]

2001-03-21 Thread Jon Haworth
You could investigate www.php.net/echo, I think it's what you're after. Cheers Jon -Original Message- From: AJDIN BRANDIC [mailto:[EMAIL PROTECTED]] Sent: 21 March 2001 12:05 To: [EMAIL PROTECTED] Subject: [PHP] Response.Write [OK] Hi, I have built a shopping cart and have made

RE: [PHP] Response.Write [OK]

2001-03-21 Thread AJDIN BRANDIC
You think I need to do something like echo'Response.Write[OK]'; This will print Response.Write [OK] on he screen or Ajdin On Wed, 21 Mar 2001, Jon Haworth wrote: You could investigate www.php.net/echo, I think it's what you're after. Cheers Jon -Original Message-

[PHP] Lostpassword script Error

2001-03-21 Thread techzeus
Hi there, I need some help here. I have uploaded all the files necessary into my server. grab it at www.frozened.com/zeus/lostpassword.zip This is a lostpassword script whereby when the user inputs his email address, the script will check if his email is a valid email ( [EMAIL PROTECTED] )

Re: [PHP] Response.Write [OK]

2001-03-21 Thread techzeus
no. Imagine Response.write as echo. so it will be echo "OK"; PHP doesn't parse ASP tags - Original Message - From: "AJDIN BRANDIC" [EMAIL PROTECTED] To: "Jon Haworth" [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Wednesday, March 21, 2001 8:24 PM Subject: RE: [PHP] Response.Write

Re: [PHP] function mail()

2001-03-21 Thread Tobias Talltorp
See the SMTP value in your PHP.ini and set it to a valid outgoing mail server Another thing I have noticed, perhaps this is only me, is that if the TO-address isn´t valid it will fail. Try to send an email to your own email address... // Tobias ""Eric Tonicello"" [EMAIL PROTECTED] wrote in

RE: [PHP] Response.Write [OK]

2001-03-21 Thread Matt Williams
I have built a shopping cart and have made connection to an Internet payment company. Now once transaction is processed they want from my confirmation page to receive an "[OK]". How can I do this with php3/4? Response.Write"[OK]" is what ASP uses, I think??? try echo

Re: [PHP] apache problem on startup w/ libmhash

2001-03-21 Thread Yasuo Ohgaki
At first find where is libmhash.so.2. Then edit your ld.so.conf. Then run ldconfig. Filename and command name may vary, I can't tell since you didn't mention your OS. Alternatively, you can build into PHP if you have static lib. I prefer this way for non standard libs to make sure web server

Re: [PHP] Perl and PHP

2001-03-21 Thread Yasuo Ohgaki
I'm not sure what you really want to do, but you can use system() (or others) to execute something on your web server. (You may not be able to do that. It depends on server config) Regards, -- Yasuo Ohgaki "Calin Rotaru" [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL

[PHP] Sessions help please

2001-03-21 Thread KPortsmout
Hi, I am going to use sessions to authenticate and protect my pages, this is what I have so far... User logs in via form, this is checked via a SQL call, if the correct username and password are entered I run the following: session_start(); session_register("UserName","Password");

Re: [PHP] session.gc_maxlifetime

2001-03-21 Thread Yasuo Ohgaki
It depends on your requirement. For me 1440 sec is too short. I'll set it to little over 1 hour because login timeout is 1 hour. If you have login/logout system using session, the value better to be larger than login timeout. Regards, PS: You might want to set gc probability around 10%.

Re: [PHP] Response.Write [OK]

2001-03-21 Thread AJDIN BRANDIC
OK I have done this. Thanks guys Ajdin On Wed, 21 Mar 2001 [EMAIL PROTECTED] wrote: no. Imagine Response.write as echo. so it will be echo "OK"; PHP doesn't parse ASP tags - Original Message - From: "AJDIN BRANDIC" [EMAIL PROTECTED] To: "Jon Haworth" [EMAIL

Re: [PHP] Header Problem

2001-03-21 Thread Pierre-Yves Lemaire
Hello, Yes this should work, but if like me, you still have no redirection and you are working with IE 4.0, put exit; after header. $URL="domain.com"; header ("Location: Http://www.$URL/members/index.php"); exit; I have not seen this anywhere, but putting exit; after a redirection was the only

Re: [PHP] apache problem on startup w/ libmhash

2001-03-21 Thread Dean Hall
""Yasuo Ohgaki"" [EMAIL PROTECTED] wrote in message 99a7rf$rer$[EMAIL PROTECTED]">news:99a7rf$rer$[EMAIL PROTECTED]... At first find where is libmhash.so.2. Then edit your ld.so.conf. Then run ldconfig. I'm trying this, and I'll get back to you on whether it works. Filename and command name

[PHP-CVS] cvs: php4 /tests/lang 018.phpt 019.phpt 020.phpt 021.phpt 022.phpt 023.phpt 024.phpt 025.phpt 028.phpt

2001-03-21 Thread André Langhorst
andre Wed Mar 21 04:47:34 2001 EDT Modified files: /php4/tests/lang018.phpt 019.phpt 020.phpt 021.phpt 022.phpt 023.phpt 024.phpt 025.phpt 028.phpt Log: more win32 fixes Index: php4/tests/lang/018.phpt diff -u

Re: [PHP] apache problem on startup w/ libmhash

2001-03-21 Thread Dean Hall
""Dean Hall"" [EMAIL PROTECTED] wrote in message 99a9kk$hnp$[EMAIL PROTECTED]">news:99a9kk$hnp$[EMAIL PROTECTED]... ""Yasuo Ohgaki"" [EMAIL PROTECTED] wrote in message 99a7rf$rer$[EMAIL PROTECTED]">news:99a7rf$rer$[EMAIL PROTECTED]... At first find where is libmhash.so.2. Then edit your

Re: [PHP] Sessions help please

2001-03-21 Thread Hardy Merrill
[EMAIL PROTECTED] [[EMAIL PROTECTED]] wrote: Hi, I am going to use sessions to authenticate and protect my pages, this is what I have so far... User logs in via form, this is checked via a SQL call, if the correct username and password are entered I run the following:

[PHP-CVS] cvs: php4 / run-tests.php

2001-03-21 Thread André Langhorst
andre Wed Mar 21 04:52:33 2001 EDT Modified files: /php4 run-tests.php Log: win32 fixes again Index: php4/run-tests.php diff -u php4/run-tests.php:1.18 php4/run-tests.php:1.19 --- php4/run-tests.php:1.18 Tue Mar 20 22:33:00 2001 +++

[PHP-CVS] cvs: php4 / run-tests.php

2001-03-21 Thread André Langhorst
andre Wed Mar 21 05:00:34 2001 EDT Modified files: /php4 run-tests.php Log: fighting against the cvs client, it does not want to let the win32 binary safe change go in... Index: php4/run-tests.php diff -u php4/run-tests.php:1.19

Re: [PHP] header redirection

2001-03-21 Thread Jason Stechschulte
On Tue, Mar 20, 2001 at 10:05:06PM -0800, [EMAIL PROTECTED] wrote: Why wouldn't this redirect? The query works, but the page won't redirect. I have used the same two lines successfully on other pages. I'm very tired, it's probably obvious. ?php // assuming $uid, $itemid, $week, $cur_wk

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

2001-03-21 Thread Sean Bright
elixer Wed Mar 21 05:53:39 2001 EDT Modified files: /php4/ext/standard basic_functions.c Log: Fix for bug #9698. # Anyone that can think of a way to fix long2ip(), feel free. Index: php4/ext/standard/basic_functions.c diff -u

RE: [PHP] Sessions help please

2001-03-21 Thread Jeff Armstrong
Apologies for the long post. I use this approach: (simplified) at the top of every page, before any HTML. Pop it into an include right at the top. I have not included all the util function e.g. LogQuietAlert() regards Jeff ?php

Re: [PHP] header redirection

2001-03-21 Thread Yasuo Ohgaki
"Jason Stechschulte" [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... On Tue, Mar 20, 2001 at 10:05:06PM -0800, [EMAIL PROTECTED] wrote: SNIP $redirurl = "bid.php?uid=" . $uid . "itemid=" . $itemid; header ($redirurl); ? It appears your code is missing

[PHP] OCI8 server errors - client

2001-03-21 Thread Hardy Merrill
I have an Oracle client on a webserver talking to an Oracle server through Oracle networking and the PHP OCI8 interface. When an error occurs on the server, the 'message' that OCIError receives on the client is Error while trying to retrieve text for error ORA-03113 This seems to happen with

[PHP] Session Help for newbie plz

2001-03-21 Thread insight
I am looking for help with session handling. I have modified Joe Jarosciak`s password script slightly, so that instead of logging in to d/l files, you login to one or two secure area`s. (depending on the access level of password used) How and where can i modify this more, so that a session will

Re: [PHP-CVS] cvs: php4 / run-tests.php

2001-03-21 Thread Thies C. Arntzen
On Wed, Mar 21, 2001 at 12:52:33PM -, Andr Langhorst wrote: andre Wed Mar 21 04:52:33 2001 EDT Modified files: /php4 run-tests.php Log: win32 fixes again Index: php4/run-tests.php diff -u php4/run-tests.php:1.18 php4/run-tests.php:1.19 ---

Re: [PHP-CVS] cvs: php4 /ext/standard basic_functions.c

2001-03-21 Thread Stanislav Malyshev
SB Fix for bug #9698. SB # Anyone that can think of a way to fix long2ip(), feel free. I don't think there's any good way to fix this - PHP "long" value is signed long, and it cannot hold unsigned long. -- Stanislav Malyshev, Zend Products Engineer [EMAIL PROTECTED] http://www.zend.com/

Re: [PHP-CVS] cvs: php4 /ext/standard basic_functions.c

2001-03-21 Thread Bright, Sean
How do I merge these changes into the RC2 branch? ""Sean Bright"" [EMAIL PROTECTED] wrote in message news:cvselixer985182819@cvsserver... elixerWed Mar 21 05:53:39 2001 EDT Modified files: /php4/ext/standardbasic_functions.c Log: Fix for

Re: [PHP-CVS] cvs: php4 /ext/standard basic_functions.c

2001-03-21 Thread Sascha Schumann
On Wed, 21 Mar 2001, Bright, Sean wrote: How do I merge these changes into the RC2 branch? Please DON'T. Only well-tested fixes for _critical_ bugs should be merged automatically. - Sascha Experience IRCG http://schumann.cx/

[PHP] New Site for PHP Beginners

2001-03-21 Thread Jeff Oien
PHP start here Internet resources and book reviews for those just starting out with PHP and MySQL http://www.webdesigns1.com/php/ Jeff Oien -- 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] Create a Bulletin Board

2001-03-21 Thread John Huggins
You mean something like this: http://www.astronomy.net/forums/ -Original Message- From: Jimmy Bckstrm [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 20, 2001 4:54 PM To: PHP General List Subject: [PHP] Create a Bulletin Board Yo! I'm thinking of writing a bulletin board and

[PHP] RE: [Q] Parser behavior in a string

2001-03-21 Thread Tim Ward
I just spotted this, so apologies if it's already been answered. PHP will try to treat first in $arr[first] as a constant. if it doesn't find a constant with this name it will treat it as a string. There may be an error reporting level which throws this up as an error. $arr['first'] is therefore

[PHP] RE: [Q] Parser behavior in a string

2001-03-21 Thread Tim Ward
I just spotted this, so apologies if it's already been answered. PHP will try to treat first in $arr[first] as a constant. if it doesn't find a constant with this name it will treat it as a string. There may be an error reporting level which throws this up as an error. $arr['first'] is therefore

Re: [PHP] Finding every even 100

2001-03-21 Thread Rick St Jean
$i % 100 = 0 At 10:37 AM 3/21/01 +0100, Nicklas af Ekenstam wrote: Hi Propably a really simple question, but my math skills are not up to speed anymore: How do I find out if an int is an even 100? I.e. 100, 200, 1200, 9900 etc. I could always divide by 100 and have a look at the result and

Re: [PHP-CVS] cvs: CVSROOT / cvsusers gen_acl_file.m4

2001-03-21 Thread Andrei Zmievski
On Wed, 21 Mar 2001, Stig Bakken wrote: Index: CVSROOT/cvsusers diff -u CVSROOT/cvsusers:1.240 CVSROOT/cvsusers:1.241 --- CVSROOT/cvsusers:1.240Sat Mar 17 16:37:01 2001 +++ CVSROOT/cvsusers Tue Mar 20 22:48:06 2001 @@ -283,3 +283,4 @@ sfox Steph Fox [EMAIL

[PHP] PHP Verbindung zu mysql

2001-03-21 Thread denis mettler
Hi, Habe folgendes Problem: Suse 7.1 Standardmssig ist Apache mit PHP installiert. Das luft auch alles solange ich nicht versuche eine DB anzubinden bzw. abzufragen. Ich bekomme dann immer folgende Meldung: Warning: Can't connect to local MySQL server through socket

Re: [PHP] PHP Verbindung zu mysql

2001-03-21 Thread denis mettler
Hi Remco, That's not the Problem. But I don't have the mysql.sock in this directory. Regards Denis On Wednesday 21 March 2001 16:36, you wrote: denis mettler [EMAIL PROTECTED] writes: Hi, Habe folgendes Problem: snip Warning: Can't connect to local MySQL server through socket

RE: [PHP] email an ms-word attachment (please)

2001-03-21 Thread Grant Walters
[EMAIL PROTECTED] wrote: Addressed to: Jen Hall [EMAIL PROTECTED] [EMAIL PROTECTED] ** Reply to note from Jen Hall [EMAIL PROTECTED] Tue, 20 Mar 2001 19:59:26 -0500 Hi there I am trying to build an application where a user can use an HTML form, fill out some

Re: [PHP] PHP Verbindung zu mysql

2001-03-21 Thread Julie Meloni
denis mettler wrote: But I don't have the mysql.sock in this directory. Is mysqld running at all? ++ | Julie Meloni ([EMAIL PROTECTED]) | || | "PHP Essentials" and "PHP Fast Easy" | |

RE: [PHP] include virtual, file or exec cgi?

2001-03-21 Thread Brian V Bonini
Is there a reason you not using PHP's include method to do this? Rename your shtml file to have a PHP extension, replace the SSI instructions with PHP functions. You should be good to go. ? include "something.php"; ? -Brian *** -Original Message- From: Christian Dechery

[PHP-CVS] cvs: php4 / run-tests.php

2001-03-21 Thread André Langhorst
andre Wed Mar 21 08:01:53 2001 EDT Modified files: /php4 run-tests.php Log: I don't like to commit this over and over either, but this client definitely seems to dislike branches Index: php4/run-tests.php diff -u php4/run-tests.php:1.20

[PHP] FW: Returned mail: User unknown

2001-03-21 Thread Brian V Bonini
Why do I always get his when posting to the list? The original message was sent to [EMAIL PROTECTED] -Original Message- From: Mail Delivery Subsystem [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 21, 2001 3:38 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Returned mail: User

[PHP-CVS] cvs: CVSROOT / avail gen_acl_file.m4

2001-03-21 Thread Stig Bakken
ssb Wed Mar 21 08:10:38 2001 EDT Modified files: /CVSROOTavail gen_acl_file.m4 Log: * give mboeren access to phpdoc too Index: CVSROOT/avail diff -u CVSROOT/avail:1.123 CVSROOT/avail:1.124 --- CVSROOT/avail:1.123 Tue Mar 20 22:58:25 2001 +++

[PHP] Central Inbox

2001-03-21 Thread Tim Haynes
Collect your email anytime and anywhere with http://www.centralinbox.co.uk, if you register you can check upto 5 email accounts, allowing you to read your emails and attachments as well as sending email with attachments. Their is also a calendar that you can enter important dates so you don't

[PHP] Simple question about mail() limitations (if any :)

2001-03-21 Thread SED
Hi, Before I try it myself and kill my server :), is it safe to send via mail() function multiply e-mails like: while (expr) { mail ($to, $subject, $message); } Are there any limitation in this? (e.g. 100 mails? 100.000? 1.000.000?) If so, is it possible

[PHP-CVS] cvs: php4 / NEWS

2001-03-21 Thread Andrei Zmievski
andrei Wed Mar 21 08:19:55 2001 EDT Modified files: /php4 NEWS Log: Fixing news. Index: php4/NEWS diff -u php4/NEWS:1.617 php4/NEWS:1.618 --- php4/NEWS:1.617 Tue Mar 20 18:09:20 2001 +++ php4/NEWS Wed Mar 21 08:19:54 2001 @@ -8,11 +8,11 @@

Re: [PHP] A NETWORK MARKETER?

2001-03-21 Thread Phillip Bow
Geez, where can I buy stock? This is gonna be HUGE! ;-) -- phill [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... ATTENTION: ANY SERIOUS NETWORK MARKETER TAKE A LOOK AT THE FOLLOWING OPPORTUNITY I CAME ACROSS!! IF YOU PLUG INTO THEIR PROVEN SYSTEM, THEY

RE: [PHP] include virtual, file or exec cgi?

2001-03-21 Thread Christian Dechery
Is there a reason you not using PHP's include method to do this? Rename your shtml file to have a PHP extension, replace the SSI instructions with PHP functions. You should be good to go. I don't wanna rename all my shtml files (which are a LOT) and change all my links to .php in files like this

[PHP] MySQL DISTINCT query

2001-03-21 Thread Jared Howard
I need to retrive all column information from a DISTINCT query. But so far, I only can get one column to show by using this: SELECT DISTINCT my_column FROM my_table; which then gives me a list of my_column information and is correct, but I need all information from all columns. Querying this:

[PHP] PHP an WinNT-Filesystem

2001-03-21 Thread Dirk Ritters
Hi, i have to install a php-tool on an IIS4.0 NT-server owned by our customer. I would like to write into a directory with a script but i always receive an error: Warning: fopen("d:\InetPub\blabla\pages\news\admin\data\210301192417.dat","a") - Permission denied in

[PHP] Custom Session Handlers with Oracle?

2001-03-21 Thread Michael Champagne
Has anyone out there implemented custom session handlers using Oracle? If so, is there any code out there that might point me on how to do this. I've found the article on phpbuilder.net that details doing this for with DBM but I can't find anything for doing this with Oracle. Thanks! --

RE: [PHP] MySQL DISTINCT query

2001-03-21 Thread Jack Dempsey
I'm not sure what you're trying to do, but have you tried SELECT DISTINCT * FROM tablename; ? jack -Original Message- From: Jared Howard [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 21, 2001 1:05 PM To: [EMAIL PROTECTED] Subject: [PHP] MySQL "DISTINCT" query I need to retrive all

Re: [PHP-CVS] cvs: php4 / run-tests.php

2001-03-21 Thread André Langhorst
run-tests.php will still need more than 30 seconds (default) on some systems. If not now, then when more tests are added, etc. IMHO it should be in there. ok. maybe a good idea to put it there, but set_time_limit(900) will be sufficient andr -- Andr Langhorstt: +49 331

[PHP] session destroy???

2001-03-21 Thread Miguel Loureiro
Hello all, when using sessions, if use command session_destroy shouldn't all variables related with used session destroyed??? It seams that is a crazy question, but, after make a logout(session_destroy()), I use the browser buttons to go back to inicial page and forward until logout page, it

[PHP] URIs as variables

2001-03-21 Thread Issac Goldstand
Newbie question here. I am trying to pass a varaible containing a URI across a few scripts. Basically, the first script get's a query string including the URI (eg http://foo.bar/script1.php?url=script2.php?var1=avar2=b). Now, script1 contains a form pointing to script3 so basically, I have the

Re: [PHP] include virtual, file or exec cgi?

2001-03-21 Thread Christian Dechery
you won't be able to use $PHP_SELF, and you will encounter problems with passing values via the querystring, but other than that you can use SSI to call a PHP page. I don't really need any of this, the script is a simple 15-lines-of-code image randomizer that shows a random image from a list. It

Re: [PHP] Custom Session Handlers with Oracle?

2001-03-21 Thread Hardy Merrill
There's a pretty good tutorial on this here: http://www.zend.com/zend/tut/session.php and Ying Zhang's "Customer Session Handlers in PHP4" can be adapted to MySQL - see http://www.phpbuilder.com/columns/ying2602.php3 And www.php.net's session page is OK for reference at

[PHP] register_globals PHP_SELF

2001-03-21 Thread Steve Haemelinck
Does the PHP_SELF variable only work if you have your register_globals on? Is their an another for still using it ? Thx -- 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

[PHP] Apache +Php -----help

2001-03-21 Thread OBB
I have problem making apache1.3.17win32 and php4.0.4 to work on win98se I am able to load both apache and php on startup,did a few php and apache cofiguration i read from the manual and i wrote a script in php and when I execute the php script in apache i got the same php script that i

[PHP] Daemon with a PHP file

2001-03-21 Thread Renzi, Sebastian
Hello my name is Sebastian ,i'm from Argentina ,this is my first question in this list.I would like to know how to run a php file every day at 8 AM , my intention was to create a cron with the crontab command.Something like this ... 0 8 * * * /home/users/sebas/citas.php3 but this doesnt

Re: [PHP] register_globals PHP_SELF

2001-03-21 Thread Alexander Wagner
Steve Haemelinck wrote: Does the PHP_SELF variable only work if you have your register_globals on? Probably. Is their an another for still using it ? $putitinhere = getenv("PHP_SELF"); might work. Or, if track_vars is ON (default since PHP 4.03 I think), you might find it in

Re: [PHP] include virtual, file or exec cgi?

2001-03-21 Thread Christian Dechery
When I first started playing with PHP I had been using SSI's. I tried to find a way that I could get a file that contained SSI's and php to be parsed, but I haven't seen it done. In Apache it seems like it would be as easy as adding a handler that parses shtml files as php files, but that

[PHP-I18N] Apache _PHP----Help

2001-03-21 Thread OBB
I have problem making apache1.3.17win32 and php4.0.4 to work on win98se I am able to load both apache and php on startup,did a few php and apache cofiguration i read from the manual and i wrote a script in php and when I execute the php script in apache i got the same php script that i

Re: [PHP] include virtual, file or exec cgi?

2001-03-21 Thread Joe Sheble (Wizaerd)
virtual (PHP 3, PHP 4 ) Perform an Apache sub-request int virtual (string filename) Virtual() is an Apache-specific function which is equivalent to !–#include virtual...– in mod_include. It performs an Apache sub-request. It is useful for including CGI scripts or .shtml files, or anything else

Re: [PHP] MySQL DISTINCT query

2001-03-21 Thread Mark Maggelet
On Wed, 21 Mar 2001 11:04:48 -0700, Jared Howard ([EMAIL PROTECTED]) wrote: I need to retrive all column information from a DISTINCT query. But so far, I only can get one column to show by using this: SELECT DISTINCT my_column FROM my_table; which then gives me a list of my_column information

php-i18n Digest 21 Mar 2001 19:13:06 -0000 Issue 59

2001-03-21 Thread php-i18n-digest-help
php-i18n Digest 21 Mar 2001 19:13:06 - Issue 59 Topics (messages 140 through 145): Re: Encoding detection 140 by: Gustav Foseid 141 by: Atanas Vassilev 142 by: Gustav Foseid 143 by: Atanas Vassilev A NETWORK MARKETER? 144 by:

[PHP-CVS] cvs: php4 / EXTENSIONS

2001-03-21 Thread Sterling Hughes
sterlingWed Mar 21 11:46:13 2001 EDT Modified files: /php4 EXTENSIONS Log: Remove experimental status from bz2 Index: php4/EXTENSIONS diff -u php4/EXTENSIONS:1.15 php4/EXTENSIONS:1.16 --- php4/EXTENSIONS:1.15Fri Jan 19 08:12:36 2001

Re: [PHP] Simple PHP 4 and MySQL question about query

2001-03-21 Thread Chris Worth
To follow on, one thing this newbie learned is that it is usually best to build the query string and then pass it to the mysql_query funcion. i had some odd results when I had several ( ) in there for my where clause I made it a separate string and presto it works every time. chris On

[PHP] Form variables

2001-03-21 Thread Michael George
According to the docs, when creating form variables which will be passed as globals to the next PHP script invocation, one can make single dimensional arrays, but not multi-dimensional arrays. I read this after I'd created a script which generates a form with a 2D array on it. But as I test it,

[PHP-CVS] cvs: php4 /ext/bz2 EXPERIMENTAL

2001-03-21 Thread Sterling Hughes
sterlingWed Mar 21 11:47:05 2001 EDT Removed files: /php4/ext/bz2 EXPERIMENTAL Log: Remove experimental status from bz2 (as of 4.0.6) -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For

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

2001-03-21 Thread Frank M. Kromann
fmk Wed Mar 21 11:56:34 2001 EDT Modified files: /php4/ext/fbsql php_fbsql.c Log: changed arg types from pval* to zval** Index: php4/ext/fbsql/php_fbsql.c diff -u php4/ext/fbsql/php_fbsql.c:1.3 php4/ext/fbsql/php_fbsql.c:1.4 ---

Re: [PHP] Form variables

2001-03-21 Thread Alexander Wagner
Michael George wrote: I read this after I'd created a script which generates a form with a 2D array on it. But as I test it, it seems to work. In short, it the 1D array a limitation of HTML or PHP? I think it is a limitation of PHP 3. It should work with PHP 4. HTML is not responsible

[PHP-CVS] cvs: php4 /ext/pfpro pfpro.c php_pfpro.h

2001-03-21 Thread Andi Gutmans
andiWed Mar 21 12:07:18 2001 EDT Modified files: /php4/ext/pfpro pfpro.c php_pfpro.h Log: - Fix spelling error Index: php4/ext/pfpro/pfpro.c diff -u php4/ext/pfpro/pfpro.c:1.9 php4/ext/pfpro/pfpro.c:1.10 --- php4/ext/pfpro/pfpro.c:1.9 Sun Feb 25

[PHP-CVS] cvs: php4 /ext/pdf pdf.c php_pdf.h

2001-03-21 Thread Rainer Schaaf
rjs Wed Mar 21 12:55:35 2001 EDT Modified files: /php4/ext/pdf pdf.c php_pdf.h Log: Beta2 of PDFlib V4.0 will introduce on new function (PDF_place_pdi_page) and PDF_close_pdi_page will lose one parameter. These changes are done for the phpwrapper

Re: [PHP] URIs as variables

2001-03-21 Thread almir
try with uri=? echo implode("", $HTTP_GET_VARS);? ""Issac Goldstand"" [EMAIL PROTECTED] schrieb im Newsbeitrag 99at42$5be$[EMAIL PROTECTED]">news:99at42$5be$[EMAIL PROTECTED]... Newbie question here. I am trying to pass a varaible containing a URI across a few scripts. Basically, the first

[PHP] Q: Informix + PHP + Apache + Solaris 8

2001-03-21 Thread Joe Rice
Hi, I'm trying to get this combo to work "Informix + PHP + Apache + Solaris 8". But, i'm having some trouble compiling php4.0.4p1. ./configure fails when trying to run esql to test for version and lib dir. I have the latest version of IDS 2000 which supports solaris 8. From the IDS 2000

[PHP] Form variables

2001-03-21 Thread Sascha Andres
Hi, i want to build up a form dynamicly which posts always to one php script. how can i get all the variavbles - best with name ? sascha -- 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] PHP an WinNT-Filesystem

2001-03-21 Thread almir
try giving all rights to all users for short time just to check if it is going to work at least in this case, i never had problems localy (only in network) it works fine with me wich php are you using ""Dirk Ritters"" [EMAIL PROTECTED] schrieb im Newsbeitrag 99arbh$ior$[EMAIL

Re: [PHP] MySQL DISTINCT query

2001-03-21 Thread almir
select distinct * from mytable is functioning just as it should what the answer is not group by try pleas to explain better what do you want almir "Jared Howard" [EMAIL PROTECTED] schrieb im Newsbeitrag [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... I need to retrive all column information from a

Re: [PHP] Simple question about mail() limitations (if any :)

2001-03-21 Thread almir
on IIS it is much better solution for more than few mails is to put them simply in pickup directory of smtp server, I am also sure that there is a similar possibility on linux -almir ""SED"" [EMAIL PROTECTED] schrieb im Newsbeitrag [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hi, Before I try

Re: [PHP] include virtual, file or exec cgi?

2001-03-21 Thread almir
you can include through http ,I did it even remotly and it works fine but slow, see in manual how to read files through http -almir ""Christian Dechery"" [EMAIL PROTECTED] schrieb im Newsbeitrag [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Can't I !--#include file="something.php"-- or

Re: [PHP] file height and width

2001-03-21 Thread almir
1) why put it into db , i dont think it is good idea to do it, put it in file sytem , check it with image funrtions and than do what you want to or even easier use stiles to format it with html so that it doesn´t metter how big file actualy is -almir ""george"" [EMAIL PROTECTED] schrieb im

  1   2   >