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

2001-03-30 Thread Emiliano Heyns
emile Fri Mar 30 00:15:05 2001 EDT Modified files: /php4/ext/midgard preparser.c Log: Don't restat the connection, trust mod_midgard Index: php4/ext/midgard/preparser.c diff -u php4/ext/midgard/preparser.c:1.7 php4/ext/midgard/preparser.c:1.8 ---

[PHP] Problem in retreving values from more than one multi select in form

2001-03-30 Thread Vishak Tomy
Hello all, I have a problem with the multi select, any body please solve this. In a form there are more than one multi select box, arranged one by one. Following are the way i created it. form trtd input type=text name="user[]" value="user1" select name="mselect[]" option

Re: [PHP] Array in Session-Vars?

2001-03-30 Thread elias
I never tried to use arrays in session variables, but i believe if you try to serialize the array first and then register the serialized value as session value it should work. and ofcourse to retrieve it do reverse work by unserializing the variable back to the array and use it. - $a =

RE: [PHP] [ANSWER] problem uploading big (50MB) file

2001-03-30 Thread Matt Williams
Try replacing "100M" with it's byte equivalent. Or maybe it's kilobytes. One on of my systems they had "2M" and it wouldn't upload anything cause it didn't parse it right. In other words, set that value to what you had with say php4.0.1 good luck! replaced 100M by 104857600,

Re: [PHP] Problem in retreving values from more than one multi select in form

2001-03-30 Thread elias
Hi. as you defined the select tag of yours i see that you didn't specify the extra parameter: 'multiple', as: select name="mselect[]" multiple as for reading it's values, as you showed should work. -elias "Vishak Tomy" [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL

Re: [PHP] Image Resizing in PHP

2001-03-30 Thread Patrick Dunford
On 29 Mar 2001 16:33:48 -0800 AD in php.general, YoBro said: Hello, Is it possible to have PHP resize an image on the server? Example. If I upload a JPG file at about 40KB at 600x480 Resolution, but I only want to display it as a small thumbnail. But if clicking the thumbnail it then opens in

Re: [PHP] Compile .php file is possible ?

2001-03-30 Thread elias
Hmm, I believe if were he host there is no PHP support, you can't work it out. unless: http://www.zend.com/zend/products.php#encoder use the encoder, then try to run throught the Zend Optimizer... ""Marian Vasile"" [EMAIL PROTECTED] wrote in message 9a1cr4$5fr$[EMAIL

Re: [PHP] [ANSWER] problem uploading big (50MB) file

2001-03-30 Thread Jack Dempsey
basic algebra: 1k = 1024 bytes 1mb = 1024 kbytes = 1048576 bytes 100mb= 104857600 bytes Xmb = (1048576 * X) bytes -jack Matt Williams wrote: Try replacing "100M" with it's byte equivalent. Or maybe it's kilobytes. One on of my systems they had "2M" and it wouldn't upload anything

[PHP] Need help with file include

2001-03-30 Thread Peter Stevens
hi, I am a newbie to php, so bear with me. I have a directory list script which i admit i didnt make myself, but i did have a lot of help on. What i want to do is, when the page makes the list (into a table, with filename and file size) i want to include a file description and two pieces of

Re: [PHP] Compile .php file is possible ?

2001-03-30 Thread Marian Vasile
They have PHP support but I don't think they will want to install any other software... There is no other solution... ? There is no other free encoder on the market ? "Marian Vasile" [EMAIL PROTECTED] wrote in message 9a1cr4$5fr$[EMAIL PROTECTED]">news:9a1cr4$5fr$[EMAIL PROTECTED]... I need a

Re: [PHP] Array in Session-Vars?

2001-03-30 Thread Renze Munnik
elias wrote: I never tried to use arrays in session variables, but i believe if you try to serialize the array first and then register the serialized value as session value it should work. and ofcourse to retrieve it do reverse work by unserializing the variable back to the array and use

Re: [PHP] Compile .php file is possible ?

2001-03-30 Thread Jack Dempsey
as a follow up: there was an e-mail recently from someone discussing this topic...i believe he wanted to write his own compiler/encoder for php...anyone heard anything about this? i agree about the price...i can't spend that much money for a piece of software; yet, i don't want to distribute

Re: [PHP] Need help with file include

2001-03-30 Thread Jack Dempsey
"is there a way" i'm sure there is, but you haven't given enough information to get much more of a response... show us some code, explain clearly and concisely what you're trying to do, and we might be able to help more... -jack p.s. and the quick answer is yes, you can read information from

[PHP] Regular expression benchmark?

2001-03-30 Thread Yasuo Ohgaki
Has anyone here benched standard regular expression functions (ereg(), etc) against Perl regular expression functions? (preg_match(), etc.) and POSIX extended regular expression functions? (ereg(), etc) If anyone benched regular expression functions already, I would like to know the benchmark

Re: [PHP] Compile .php file is possible ?

2001-03-30 Thread Marian Vasile
I heard about something called php-gtk... Is that a php compiler ? Also I heard that is free because is open source project... Jack Dempsey [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... as a follow up: there was an e-mail recently from someone discussing this

Re: [PHP] Compile .php file is possible ?

2001-03-30 Thread Jack Dempsey
no...gtk=gimp tool kit...(think graphics =P) http://gtk.php-coder.net/ check out that page...Joe Stump threw it together nicely; it has tons of useful info and links if you're so inclined, but no, nothing to do with compiling php... -jack Marian Vasile wrote: I heard about something called

Re: [PHP] Compile .php file is possible ?

2001-03-30 Thread Marian Vasile
I can't believe that no one thought on something to compile all those scripts out there... I really can't give a solution based on plain text scripts and in this way php can't be for any use really... Anyone have Zend Encoder Unlimited ? Is there any buyer for this Encoder ? "Marian Vasile"

Re: [PHP] Compile .php file is possible ?

2001-03-30 Thread Remco B. Brink
"Marian Vasile" [EMAIL PROTECTED] writes: I heard about something called php-gtk... Is that a php compiler ? From the Freshmeat project page: PHP-GTK is a PHP extension that implements language bindings for GTK+. It provides an object-oriented interface to GTK+ classes and functions and

Re: [PHP] Compile .php file is possible ?

2001-03-30 Thread Jack Dempsey
ok, what exactly do you mean by "php can't be for any use really" better watch that kind of comment on this list ;-) can you not give a solution that's in plain text files because you're worried about people looking at the code, or something like running time, etc... if it's a code issue,

Re: [PHP] Compile .php file is possible ?

2001-03-30 Thread rui
i found a way, it's not the best secure thing, and best code obfuscator at all, but it will keep mosta part of the curious nose out of your code, use APC cache, it creates cache files encoded you can then use the encoded files, but you as always need to use they're static object loaded to read

Re: [PHP] initialize session module

2001-03-30 Thread Yasuo Ohgaki
How about http://www.zend.com/zend/tut/ There are several PHP4 tutorials including PHP4 session. The error is most likely that you are specifying invalid session handler. -- Yasuo Ohgaki ""Rol"" [EMAIL PROTECTED] wrote in message 022a01c0b8e4$f1271ae0$[EMAIL

Re: [PHP] Compile .php file is possible ?

2001-03-30 Thread Marian Vasile
Search what ? I need to know if there is any way to encode the code... that's it... otherwise you have to agree with me that PHP can't be used for comercial solutions. (probably just when it's total trust between partners which is not a very common thing) Right ? Jack Dempsey [EMAIL PROTECTED]

RE: [PHP] Array in Session-Vars?

2001-03-30 Thread Rudolf Visagie
I can't really see a problem with registering arrays as session variables (in PHP4). I use the following in a script and it works fine: while (OCIFetch($rs)) { $n = $n + 1; $ix[$n] = OCIResult($rs,1); } session_register("n"); session_register("ix"); Rudolf Visagie [EMAIL

Re: [PHP] Compile .php file is possible ?

2001-03-30 Thread Remco B. Brink
"Marian Vasile" [EMAIL PROTECTED] writes: I can't believe that no one thought on something to compile all those scripts out there... I really can't give a solution based on plain text scripts and in this way php can't be for any use really... Maybe I am totally missing something here, but

RE: [PHP] Compile .php file is possible ?

2001-03-30 Thread Dominick Vansevenant
How are these kinds of things solved with .ASP and .JSP anyway? Or aren't they? Are they not suitable for commercial use then D. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Remco B. Brink Sent: vrijdag 30 maart 2001 10:05 To: Marian Vasile Cc:

Re: [PHP] Passing by reference deprecated?

2001-03-30 Thread Yasuo Ohgaki
FYI Unless you need to modify and return modified contents of variables, pass by reference makes script execution a little slower under PHP4. -- Yasuo Ohgaki ""Neil Kimber"" [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Pass by reference itself is not

Re: [PHP] Compile .php file is possible ?

2001-03-30 Thread Jack Dempsey
yes there is. the encoder. that's it. and no, i don't have to agree with you, there are plenty of people on this list alone who have used php for "commercial" applications...and if you're doing something that big and commercial the you should be able to pay the $2400 for the encoder... -jack

Re: [PHP] Compile .php file is possible ?

2001-03-30 Thread Remco B. Brink
"Marian Vasile" [EMAIL PROTECTED] writes: Search what ? I need to know if there is any way to encode the code... that's it... Run it on a webserver, don't give out access to the code. If you don't want people to see your code, then don't give it away. Start programming in C++ or build Apache

Re: [PHP] Compile .php file is possible ?

2001-03-30 Thread Marian Vasile
I've seen many people talking about Zend compiler... Where is that Zend compiler ? "Marian Vasile" [EMAIL PROTECTED] wrote in message 9a1cr4$5fr$[EMAIL PROTECTED]">news:9a1cr4$5fr$[EMAIL PROTECTED]... I need a method to compile my php files to give them to a customer. The main problem is that

Re: [PHP] Compile .php file is possible ?

2001-03-30 Thread Pavel Kalian
Zend Compiler got renamed to Zend Encoder. Pavel - Original Message - From: "Marian Vasile" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, March 30, 2001 11:19 AM Subject: Re: [PHP] Compile .php file is possible ? I've seen many people talking about Zend compiler... Where is

Re: [PHP] Compile .php file is possible ?

2001-03-30 Thread Marian Vasile
For all who asked why I need this kind of protection: I have a client who wants an web site with registration and everything included, poll, message board, forum etc. The registration system I builded myself. Now the client want's a preview, but he want this preview on his server. The entire

Re: [PHP] Setcookie not working

2001-03-30 Thread Yasuo Ohgaki
Someone on this list mentioned, Internet Explorer does not accept cookie that has timeout less than 7200 sec from current time. (PC's clock) How about try longer timeout? PS: Is this information is correct? Anyone? Correct me if it is wrong info. -- Yasuo Ohgaki ""Sean Weissensee"" [EMAIL

Re: [PHP] Need help with file include

2001-03-30 Thread Peter Stevens
Hi, ok, here is the code: ? //starting directory $startDir = "/homepages/24/d11622983/htdocs/Berent/"; //open directory $openDir = opendir($startDir); print "center"; print "table border=0 cellspacing=1 cellpadding=4\ntr\ntd\n"; //starting of table print

Re: [PHP] Array in Session-Vars?

2001-03-30 Thread Yasuo Ohgaki
Array and Object are serialized by session module. Therefore, PHP4 session can handle both Array and Object seamlessly. (i.e. You don't have to do anything) Make sure you define Class (include class def) before starting session. Don't forget re-initialize resources such as database link also.

[PHP] phpinfo unneeded

2001-03-30 Thread juang
HI all, how to compile php without function phpinfo enalbe. so if user call phpinfo() it would be false/error. i would like to build a free web server with php but i don't like if the user know what are the tools in my server 'couse it's a free server. is it possible or it's just a stupid

Re: [PHP] Compile .php file is possible ?

2001-03-30 Thread Jack Dempsey
enter into a legal contract. if he breaks it, sue him. marian, i do understand your issues. I have the same type of problem (or soon will), but until a free encoder is released, we have to make do with what we can...and why does it have to be on his server?if you feel that the person would try

Re: [PHP] phpinfo unneeded

2001-03-30 Thread Jack Dempsey
checkout your php.ini file...you can disable functions in it... -jack juang wrote: HI all, how to compile php without function phpinfo enalbe. so if user call phpinfo() it would be false/error. i would like to build a free web server with php but i don't like if the user know what are

Re: [PHP] Pattern Replacing

2001-03-30 Thread Christian Reiniger
On Thursday 29 March 2001 22:38, you wrote: H- Thanks to those that emailed. $query = "tree, bird, nest, "; $new = substr($query,0,2); Doesn't seem to work. It returns "tr". $new = substr ($query, 0, strlen ($query) - 2); or $new = preg_replace ('/,.*?$/', '', $query); -- Christian

Re: [PHP] phpinfo unneeded

2001-03-30 Thread Felix Kronlage
On Fri, Mar 30, 2001 at 04:32:40PM +0700, juang wrote: how to compile php without function phpinfo enalbe. so if user call phpinfo() it would be false/error. take a look at the safe_mode-stuff in php.ini. -fkr -- gpg-fingerprint: 076E 1E87 3E05 1C7F B1A0 8A48 0D31 9BD3 D9AC 74D0

RE: [PHP] Passing by reference deprecated?

2001-03-30 Thread Neil Kimber
I'm surprised. I would have thought that it would have been the other way around. Passing by reference should have similar implications to reference counting as used the Zend engine. It means that physical memory does not have to be allocated to passed variables (thereby saving resources in

Re: [PHP] Image Resizing in PHP

2001-03-30 Thread Christian Reiniger
On Friday 30 March 2001 02:46, you wrote: Perhaps i'm not following what you're trying to do, but why not manipulate the height/width img tag attributes to make it look like a thumbnail, but then when displaying it for real, take them out? there Well, people sometimes get upset when it takes

Re: [PHP] apache_lookup_uri problem

2001-03-30 Thread Yasuo Ohgaki
I haven't use apache_lookup_uri() yet, but I believe it is for getting local server's uri info. I think your PHP script is located web document root, right? Therefore, you get "/" before the string. If you want to get remote URI info, use HEAD request. (Refer to RFC for details) -- Yasuo Ohgaki

Re: [PHP] regex help...again

2001-03-30 Thread Christian Reiniger
On Friday 30 March 2001 06:47, you wrote: Ok, i have a text file with lines that looks like this: 14```value```value2`value3 This would be fine, except...there are sometimes more than in other columns, so id like it to be 14``value``value2``value3 $new = preg_replace ('/`+/',

[PHP] Arrays : Key in Array, True/False

2001-03-30 Thread Knut H. Hassel Nielsen
Hi there I have a script with a function that builds a more comprehensive kind of array for parsing arguments given a script in PHP (this is a backup-script I'm currently working on). My problem is in "THE PARSING OF ARGS PART" when I'm asking the array if the key exists in the array it

Re: [PHP] Compile .php file is possible ?

2001-03-30 Thread Christian Reiniger
On Friday 30 March 2001 11:10, you wrote: Search what ? I need to know if there is any way to encode the code... that's it... otherwise you have to agree with me that PHP can't be used for comercial solutions. I do use it for commercial solutions. No problem. And I consider it part of my

Re: [PHP] Compile .php file is possible ?

2001-03-30 Thread Christian Reiniger
On Friday 30 March 2001 11:24, you wrote: Now the client want's a preview, but he want this preview on his server. The entire solution costs 450 dollars. This price probably is too lower for some of you but I dont' live in US, I live in Romania. (PS: That's why Jack, I can't afford to buy

Re: [PHP] Image Resizing in PHP

2001-03-30 Thread Felix Kronlage
On Fri, Mar 30, 2001 at 11:49:45AM +0200, Christian Reiniger wrote: Well, people sometimes get upset when it takes five minutes to load a page with, say, only 30 tiny thumbnails... Image-Resizing withing php is explained pretty well at the php.net-Site. Yust take a look at the manual for

Re: [PHP] Compile .php file is possible ?

2001-03-30 Thread Christian Reiniger
On Friday 30 March 2001 10:42, you wrote: can't spend that much money for a piece of software; yet, i don't want to distribute source that could be copied and distributed (well, sometimes that's good ;-), but not if this is a system i've been contracted to design ) Little question: If you've

Re: [PHP] Running a script without flowing

2001-03-30 Thread Mukul Sabharwal
hey, exec("foo /some/file 21 "); or register_shut_down("whatever"); incase it's a C program that does the math, you could make it a daemon like thing: and do that math in the main :-) #include sys/types.h #include sys/time.h #include stdlib.h #include stdio.h #include string.h #include

Re: [PHP] phpinfo unneeded

2001-03-30 Thread juang
hello jack and felix, i have been search the string of "phpinfo" in php.ini there was no phpinfo string found and "safe_mode-stuff" didn't found too. do i must "write safe_mode-stuff" if yes any sample on the net thx -JUANG- - Original Message - From: "Jack Dempsey" [EMAIL

Re: [PHP] Better way (if...elseif...else)

2001-03-30 Thread Robert Vetter
"Ashley M. Kirchner" wrote: Is there a better way to write the following snippet: if ($priority == "000") { $fcol="high"; $pstr .= "option value=\"000\" selectedHigh\n"; $pstr .= "option value=\"050\"Medium\n"; $pstr .= "option value=\"100\"Low\n";

[PHP] urgent configure-problem, 2'nd

2001-03-30 Thread MMATTES
Hi, now the problem is that the configure-tool searches the apache-file "httpd.h". We use the IBM HTTPServer and its installation-base is not /../apache.x.x.x what the configure-tool searches for when using the with-apache-flag but /.../HTTPServer. Therefore we created a link with the name

[PHP] HTML link to php

2001-03-30 Thread moud mohamed
Hello world. Using QuickPHP. I have PHP4.03pl1 and Mysql 3.22.34 under WIndows 98 SE. The web server is Apache 1.3. I have a link (in an HTML page) to a php page. In this php page I make a dynamique list( select option like combo list) that pick information from a column table in a Mysql

RE: [PHP] Arrays : Key in Array, True/False

2001-03-30 Thread Neil Kimber
You need a 2 step approach. 1. extract the keys from your array into another array using array_keys() 2. check the result using in_array() to see if you key exists. -Original Message- From: Knut H. Hassel Nielsen [mailto:[EMAIL PROTECTED]] Sent: 30 March 2001 10:56 To:

Re: [PHP] phpinfo unneeded

2001-03-30 Thread elias
I fetched my PHP.INI file: disable_functions=; This directive allows you to disable certain ; functions for security reasons. It receives ; a comma separated list of function names. ; This directive is *NOT* affected by whether ; Safe Mode is turned on or off. so search for 'disable_functions'

Re: [PHP] phpinfo unneeded

2001-03-30 Thread Felix Kronlage
On Fri, Mar 30, 2001 at 05:19:48PM +0700, juang wrote: i have been search the string of "phpinfo" in php.ini there was no phpinfo string found and "safe_mode-stuff" didn't found too. I'll paste the part from my php.ini (it *should* be in the default php.ini coming with php) --- ; Safe Mode

Re: [PHP-CVS] cvs: php4 /pear ITX.xml IT[X].xml

2001-03-30 Thread Thies C. Arntzen
On Fri, Mar 30, 2001 at 09:16:55AM -, Ulf Wendel wrote: uwFri Mar 30 01:16:55 2001 EDT Added files: /php4/pearITX.xml Removed files: /php4/pearIT[X].xml Log: - Renamed the file following Thies suggestion

Re: [PHP] Maintaining state

2001-03-30 Thread elias
Why don't you use session variables? ""David Hynes"" [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... What is the best method for tracking a user through a website ? I want to assign a username to a user which I can call up at anytime. Should I use htaccess

Re: [PHP] regex help...again

2001-03-30 Thread elias
So as you seem to be good with regexps, can you tell me how i can write a code that will search for next occurence in a string? where pattern is a regexp and a string is long and ofcourse there will be lots of pattern matchs in it...? thanks "Christian Reiniger" [EMAIL PROTECTED] wrote in

Re: [PHP] HTML link to php

2001-03-30 Thread elias
Hmm, because the .php file that is referenced from the .html file is like: file://c:\myfile.php ? i mean maybe it's beeing accessed as if a normal file beeing browsed and not a php file that is beeing referenced via the web server.. "moud mohamed" [EMAIL PROTECTED] wrote in message

Re: [PHP] Case?

2001-03-30 Thread elias
You must be moving from Pascal alike coding to PHP ;) "acleave" [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... I have tried the online documentation and it either errors out on me or cannot find anything when I search on case. Can someone tell me if PHP

[PHP-CVS] cvs: php4 /pear/Experimental/XML sql2xml.php

2001-03-30 Thread Christian Stocker
chregu Fri Mar 30 02:36:42 2001 EDT Modified files: /php4/pear/Experimental/XML sql2xml.php Log: - new user_tableInfo option for user-contributed xml-structure - Error checking in doSql2Xml - xml_encode function for correctly parsing of s. Index:

[PHP-CVS] cvs: php4 /pear/Experimental/XML sql2xml_ext.php

2001-03-30 Thread Christian Stocker
chregu Fri Mar 30 02:37:35 2001 EDT Modified files: /php4/pear/Experimental/XML sql2xml_ext.php Log: a lot of new customizable options too much to be listed here, documentation will follow. Index: php4/pear/Experimental/XML/sql2xml_ext.php diff -u

Re: [PHP] Case?

2001-03-30 Thread Andy Woolley
The 'Switch' Statement is what you are looking for. Andy Woolley www.databasewatch.com "elias" [EMAIL PROTECTED] wrote in message 9a1pfp$v4n$[EMAIL PROTECTED]">news:9a1pfp$v4n$[EMAIL PROTECTED]... You must be moving from Pascal alike coding to PHP ;) "acleave" [EMAIL PROTECTED] wrote in

[PHP] Delete Problem

2001-03-30 Thread KPortsmout
Hi, Can anyone see a problem with this? ? $dbase="Failed_Signups"; // Connect to MySQL $Connect=mysql_connect("", "", ""); $www_domain="select Failed_Signups.EmailAddress.Email from Failed_Signups.EmailAddress left join www_domain_net.Members on

[PHP] Catagory list

2001-03-30 Thread Mark Bayfield
I am trying to make a catagory list that displays a distinct catagory, and then listing titles under that catagory. Unfortunatly all the data is in one table, and the catagory field is not set catagories, so there is duplicates in that field. The code so far is (but I am probably going about it

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

2001-03-30 Thread Alexander Bokovoy
Hello James, Thursday, March 29, 2001, 2:09:17 PM, you wrote: On Thu, Mar 29, 2001 at 11:50:29AM +0100, James Moore wrote: abThu Mar 29 02:35:33 2001 EDT Modified files: /php4/ext/midgard config.m4 config.m4.session Log: - Typo fixed -

RE: [PHP] Better way (if...elseif...else)

2001-03-30 Thread Grimes, Dean
$fcol = ($priority == "000") ? "high" : (($prioridy == "050") ? "med" : "low"); $pstr .= sprintf( "option value=\"000\" %sHigh\n". "option value=\"050\" %sMedium\n". "option value=\"100\" %sLow\n", ($priority == "000")

Re: [PHP] Problems getting php to restart samba

2001-03-30 Thread Tim Churchward
So is nobody game to help me on this one, nobody understands the problem or has nobody read this??? hmmm ... I don't quite know how to explain it any better. Simply, using php to restart samba makes php stop responding when the browser tries to call another php page from that server. If anyone

RE: [PHP] Better way (if...elseif...else)

2001-03-30 Thread André Næss
$selected = array(); $selected[$priority] = 'selected'; $pstr .= 'option value="000" '.$selected['000'].'High'."\n"; $pstr .= 'option value="050" '.$selected['050'].'Medium'."\n"; $pstr .= 'option value="100" '.$selected['100'].'Low'."\n"; Is one way of doing that sort of thing, the example

[PHP-CVS] cvs: php4 /pear/Experimental/XML fo2pdf.php

2001-03-30 Thread Christian Stocker
chregu Fri Mar 30 04:55:07 2001 EDT Modified files: /php4/pear/Experimental/XML fo2pdf.php Log: printPDF() din't print out the correct header, if no pdf was specified Index: php4/pear/Experimental/XML/fo2pdf.php diff -u

[PHP-CVS] cvs: php4 /pear/Experimental/XML sql2xml.php

2001-03-30 Thread Christian Stocker
chregu Fri Mar 30 04:55:30 2001 EDT Modified files: /php4/pear/Experimental/XML sql2xml.php Log: too much whitespaces after ? Index: php4/pear/Experimental/XML/sql2xml.php diff -u php4/pear/Experimental/XML/sql2xml.php:1.4

[PHP] GZip: NS or HTTP/1.0

2001-03-30 Thread Renze Munnik
Okay guys I've got a new idea I just found out that NS5 uses HTTP/1.0 and not HTTP/1.1. Well, okay, but that's not _to_ exciting is it?! But... (there's always a 'but') IE=5 uses HTTP/1.1. Now, looking back at the subject being discussed in this thread, I'm wondering if that might be the

Re: [PHP] php error code.

2001-03-30 Thread Scott Fletcher
Whoa Whoa! Wait a minute! There is a couple of webservers here that use PHP. Some of them when it display the error message or warning message, it never display the "include_path='.:/usr/local/lib/php.ini'". Some of the other, it did display the "include_path'.:/usr/local/lib/php.ini'". So,

Re: [PHP] version????

2001-03-30 Thread Scott Fletcher
One more question! Why does some PHP 4.0 up does not have the php.ini file? I noticed for the UNIX, there isn't one. For Caldera, there is one. For Windows, there is one. So, what's up with that Scott ""Scott Fletcher"" [EMAIL PROTECTED] wrote in message 9a04gk$116$[EMAIL

Re: [PHP] Problems getting php to restart samba

2001-03-30 Thread Miles Thompson
Don't have the foggiest idea how to help, but I can ask questions 1. What code are you using? 2. Have you tried all of the system calls? and, out of curiosity, 3. Why? Samba strikes me as the sort of thing you would want to manage with a SSH login if you have to do it remotely. Miles

Re: [PHP] Catagory list

2001-03-30 Thread elias
please try this: - I didn't really get what you mean, but i can see that you have a table such: Table fields: category, fieldx, fieldy, fieldz, title and you want to display it's data as: category 1 title1 (belonging to cat1) title2 (...) title3 () title4 (...) cat2 titlex

RE: [PHP] RE: [PHP-DB] Best way to check if a query succeeded

2001-03-30 Thread Boget, Chris
Wouldn't doing it like this however be ok: if ($result = mysql_query($query)) { I could be wrong, but I do not believe so. The above would evaluate as _true_ 100% of the time because irregardless of success of the query, $result is getting a value. It's just like doing: $i = "joe"; if(

Re: [PHP] version????

2001-03-30 Thread elias
as for the pl{x} notation, i ask what is the rc{x} notation ? ""Scott Fletcher"" [EMAIL PROTECTED] wrote in message 9a04gk$116$[EMAIL PROTECTED]">news:9a04gk$116$[EMAIL PROTECTED]... Hi! Can anyone tell me what the difference with those PHP version? I see the version, "PHP 4.0.4pl1"

Re: [PHP] Delete Problem

2001-03-30 Thread Christian Reiniger
On Friday 30 March 2001 14:14, you wrote: echo"$inlist"; $query="DELETE FROM EmailAddress WHERE Email NOT IN $inlist"; $query="DELETE FROM EmailAddress WHERE Email NOT IN ($inlist)"; -- Christian Reiniger LGDC Webmaster (http://sunsite.dk/lgdc/) Even idiots can handle computers, and many

Re: [PHP] How do I disable show_source and highlight file?

2001-03-30 Thread elias
Hi, are you using PHP for windows? well, i know that there is a key in the php.ini: disable_functions=; This directive allows you to disable certain ; functions for security reasons. It receives ; a comma separated list of function names. ; This directive is *NOT* affected by whether ; Safe

[PHP-CVS] cvs: php4 /build genif.sh print_include.awk

2001-03-30 Thread Sascha Schumann
sas Fri Mar 30 06:02:20 2001 EDT Modified files: /php4/build genif.sh print_include.awk Log: Replace the incomprehensible newline escaping with @NEWLINE@ Fixes the build on Darwin 1.2 Index: php4/build/genif.sh diff -u php4/build/genif.sh:1.1

[PHP] perl: use strict

2001-03-30 Thread Morgan Curley
does php have an equivalent to perl's 'use strict' to help catch variable misspellings?? Thanks, Morgan -- 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:

Re: [PHP] GZip: NS or HTTP/1.0

2001-03-30 Thread Renze Munnik
On Fri, Mar 30, 2001 at 08:06:21AM -0600, Brad S. Jackson wrote: I've tested the ob_gzhandler with PHP 4.0.4pl1 and Netscape 4.76 and it works fine for me. I don't know why some people have problems. I doubt it has anything to do with HTTP 1.1 and this can be tested by disabling 1.1

Re: [PHP] php error code.

2001-03-30 Thread Christian Reiniger
On Friday 30 March 2001 15:54, you wrote: Warning: Failed opening '../dp_banner_menu_final1_support.php' for inclusion (include_path='.:/usr/local/lib/php.ini') in /home/website/test_knowledge_base/support/tech_support.php on line 10 The comment with

Re: [PHP] Good Free PHP Editor - And it's not Edit Plus!

2001-03-30 Thread elias
btw, since when EditPlus was for free? ""James Crowley"" [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Dear All, Given the recent discussion regarding a PHP editor, I thought you would like to know that VB Web Development have finally released Developers Pad

Re: [PHP] RE: [PHP-DB] Best way to check if a query succeeded

2001-03-30 Thread Christian Reiniger
On Friday 30 March 2001 16:25, you wrote: Wouldn't doing it like this however be ok: if ($result = mysql_query($query)) { I could be wrong, but I do not believe so. The You are wrong :) ($result = mysql_query(...)) assigns a value to result, and the entire expression evaluates to

[PHP] HELP WITH SHIPPING MODULE

2001-03-30 Thread Craig Cameron
Hi, I’m wondering if anyone knows of a shipping module I can use to integrate with my shopping cart solution. Thanks, Craig

Re: [PHP] GZip: NS or HTTP/1.0

2001-03-30 Thread Michael Kimsal
I don't think it's anything to do with HTTP 1.0 or 1.1. It's simply the fact that NS gets a copy of the website for everything, all the time. Resized the window? OOPS! Guess I need a new copy of the file I just got 5 seconds ago! Stupid stupid stupid. I think it's simply down to the fact

Re: [PHP] regex help...again

2001-03-30 Thread Christian Reiniger
On Saturday 31 March 2001 00:07, you wrote: So as you seem to be good with regexps, can you tell me how i can write a code that will search for next occurence in a string? where pattern is a regexp and a string is long and ofcourse there will be lots of pattern matchs in it...? What about

[PHP] MS SQL error handling...

2001-03-30 Thread Christian Dechery
isn't there a better way to handle MS SQL error messages? I can't even fetch them... look at these warnings... they only show in development side, I don't want warnings on the production site, so I turn them off with error_reporting()... Warning: MS SQL message: There is already an object

Re: [PHP] version????

2001-03-30 Thread Christian Reiniger
On Saturday 31 March 2001 03:34, you wrote: as for the pl{x} notation, i ask what is the rc{x} notation ? Release Candidate -- Christian Reiniger LGDC Webmaster (http://sunsite.dk/lgdc/) Even idiots can handle computers, and many do. -- PHP General Mailing List (http://www.php.net/) To

[PHP] PHP Editor for Linux

2001-03-30 Thread Martin Cabrera Diaubalick
Hi there! I use bluefish for HTML and PHP coding, but I'm not too happy with it. Do you know a good PHP Editor for Linux, besides Emacs and xjed...? TIA -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

[PHP-CVS] cvs: php4(PHP_4_0_5) /ext/pgsql pgsql.c

2001-03-30 Thread Zeev Suraski
zeevFri Mar 30 06:57:02 2001 EDT Modified files: (Branch: PHP_4_0_5) /php4/ext/pgsql pgsql.c Log: Revert all PostgreSQL patches that were in the branch... Index: php4/ext/pgsql/pgsql.c diff -u php4/ext/pgsql/pgsql.c:1.93.2.2

Re: [PHP] GZip: NS or HTTP/1.0

2001-03-30 Thread Renze Munnik
On Fri, Mar 30, 2001 at 09:53:53AM -0500, Michael Kimsal wrote: You REALLY don't want to specifically ignore Netscape users, do you? :) Any browser that can accept gzipped stuff sends a content-accept header. Netscape tells the server it can handle gzipped stuff, so the server can send

Re: [PHP] Array in Session-Vars?

2001-03-30 Thread Michael Champagne
Simply registering the array works for me. I don't have to monkey with any serializing or anything. Mike elias wrote: I never tried to use arrays in session variables, but i believe if you try to serialize the array first and then register the serialized value as session value it

Re: [PHP] PHP Editor for Linux

2001-03-30 Thread Michael Champagne
What about the greatness of VIM? Hi there! I use bluefish for HTML and PHP coding, but I'm not too happy with it. Do you know a good PHP Editor for Linux, besides Emacs and xjed...? TIA -- Michael Champagne, Software Engineer Capital Institutional Services, Inc. wk: [EMAIL

RE: [PHP] PHP Editor for Linux

2001-03-30 Thread Martin Cabrera Diaubalick
VIM? No thanks :-) :wq - Original Message - From: Michael Champagne [EMAIL PROTECTED] To: Martin Cabrera Diaubalick [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Friday, March 30, 2001 5:13 PM Subject: Re: [PHP] PHP Editor for Linux What about the greatness of VIM? Hi there!

[PHP] urgent configure-problem, 2'nd

2001-03-30 Thread MMATTES
Hi, now the problem is that the configure-tool searches the apache-file "httpd.h". We use the IBM HTTPServer and its installation-base is not /../apache.x.x.x what the configure-tool searches for when using the with-apache-flag but /.../HTTPServer. Therefore we created a link with the name

Re: [PHP] PHP Editor for Linux

2001-03-30 Thread Phillip Bow
Read back a couple of days and you'll probably see multiple answers to this question. -- phill ""Martin Cabrera Diaubalick"" [EMAIL PROTECTED] wrote in message 005b01c0b92c$8bd3ff80$[EMAIL PROTECTED]">news:005b01c0b92c$8bd3ff80$[EMAIL PROTECTED]... VIM? No thanks :-) :wq - Original

  1   2   >