Re: [PHP] ADSI & PHP

2003-10-25 Thread Pc Technics, Inc.
Hello Evan, I imagined that the PHP LDAP functions would work, however, this would only work on LDAP compliant directory servers, such as Microsoft and Novell. This would not work however for a local NT machine which is not joined to a domain. ADSI has a 'WinNT://" provider for this, where as

Re: [PHP] limits on variable/classname length

2003-10-25 Thread Evan Nemerson
Hmmm I _think_ it depends on size_t, which (IIRC) is typically typdef'd as an unsigned long int. I say that because there are macros (like ZEND_SET_SYMBOL) that do strlen(name) all over the place. Here's an except from limits.h: /* Maximum value an `unsigned long int' can hold. (Minimum is 0.)

Re: [PHP] Re: reading/parsing file names

2003-10-25 Thread Evan Nemerson
A little something I whipped up to avoid my zoology homework (I /really/ don't care that the damn sperm of nematodes are unusual because they lack a flagellum and acrosome). Conclusion: substr is faster than preg_match [tadpole tadpole]$ php -q ./bench.php substr: 3.6424000263214 PCRE: 5.12138

Re: [PHP] ADSI & PHP

2003-10-25 Thread Evan Nemerson
Okay I'm no expert for windows- I had to look up ADSI and found http://www.microsoft.com/windows2000/techinfo/howitworks/activedirectory/adsilinks.asp which mentions LDAP. Take a look at php.net/ldap and see if it does what you need. On Saturday 25 October 2003 09:24 am, Pc Technics, Inc. wro

[PHP] limits on variable/classname length

2003-10-25 Thread Greg Beaver
Hi, Are there any limits on the length a variable or classname may be in PHP? I was unable to find anything in the manual, and my tests found that a variable over 2000 characters long still caused no error or problems. This is important because phpDocumentor 2.0 will be using a database to ca

Re: [PHP] scrolling tables within a page

2003-10-25 Thread Mike Migurski
>My query output is about 20 to 30 records only. Instead of making the >visitors scroll the whole page, can I make a scrolling table with the >page such that the visitor scroll the results output table only? This isn't strictly a PHP question, but you may want to look into the HTML iframe element,

Re: [PHP] Page encoding

2003-10-25 Thread Marek Kilimajer
$ telnet localhost 80 Cheba wrote: That's what I've try to tell You... And figure ot for myself. BTW, How did You get the headers? Marek Kilimajer wrote: No, I copypasted as it is, only chaged the charset. But if I comment it out I get garbage. Now that I checked the headers apache sends I see

Re: [PHP] Re: reading/parsing file names

2003-10-25 Thread Eugene Lee
On Sat, Oct 25, 2003 at 04:16:49PM -0700, koly wrote: : : [EMAIL PROTECTED] (Koly) wrote: : > : > I've got a list of files in a directory, and I'd like to get a only of : > filenames that end in ".jpg", however, exlude the files that end in : > ".thumb.jpg" : > : > ex: : > file.php : > index.h

Re: [PHP] Page encoding

2003-10-25 Thread Cheba
That's what I've try to tell You... And figure ot for myself. BTW, How did You get the headers? Marek Kilimajer wrote: No, I copypasted as it is, only chaged the charset. But if I comment it out I get garbage. Now that I checked the headers apache sends I see why it it's so: HTTP/1.1 200 OK Date

Re: [PHP] Re: reading/parsing file names

2003-10-25 Thread John Nichel
koly wrote: In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] (Koly) wrote: my problem: I've got a list of files in a directory, and I'd like to get a only of filenames that end in ".jpg", however, exlude the files that end in ".thumb.jpg" ex: file.php index.htm photo.jpg photo.thumb.jpg etc

Re: [PHP] Page encoding

2003-10-25 Thread Marek Kilimajer
No, I copypasted as it is, only chaged the charset. But if I comment it out I get garbage. Now that I checked the headers apache sends I see why it it's so: HTTP/1.1 200 OK Date: Sat, 25 Oct 2003 23:21:58 GMT Server: Apache-AdvancedExtranetServer/1.3.28 (Mandrake Linux/3mdk) PHP/4.3.3 X-Powered-B

Re: [PHP] reading/parsing file names

2003-10-25 Thread Evan Nemerson
php.net/substr php.net/ereg php.net/preg_match foreach ( $files as $filename ) if ( substr($filename, -4) == '.jpg' ) array_push($jpegs, $filename); Keep in mind, though, that not all JPEG files end with jpg. There is also jpe and jpeg, and you have to consider case sensi

[PHP] Re: reading/parsing file names

2003-10-25 Thread koly
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] (Koly) wrote: > my problem: > I've got a list of files in a directory, and I'd like to get a only of > filenames that end in ".jpg", however, exlude the files that end in > ".thumb.jpg" > > ex: > file.php > index.htm > photo.jpg > photo.thumb.

[PHP] Re: New line characters and carriage returns

2003-10-25 Thread James Moe
Jonathan Villa wrote: $msg .= "From: [EMAIL PROTECTED] Content-Type: text/plain\r\n" PHP is retaining the implicit linefeed in the text so there is a blank line between From and Content-Type, the end-of-header indicator. (You must have a dos-ish system.) Change it to: $msg .= "From: [

Re: [PHP] Page encoding

2003-10-25 Thread Cheba
Have You commented out Header() function? Marek Kilimajer wrote: Please reply to the list, your chance of getting answer will increase. Use reply all button if Netscape/7.02 has it. I tried you example, except that my editor saved the page in unicode, so I had to change windows-1251 to utf-8.

Re: [PHP] manual key generation

2003-10-25 Thread Marek Kilimajer
Your question has been answered, I just want to add that you should lock your table before this query and release the lock after the new row is inserted. Joao Andrade wrote: Aloha! I have a script that inserts a new row in a table called "quotations", which has a primary key called "quo

[PHP] Re: .htaccess question protect my php test environment

2003-10-25 Thread James Moe
Frank Tudor wrote: I restart the server and then go to another computer and put in the URL and no password box comes up. Add this to the [virtual]host's section: AllowOverride AuthConfig Options and restart httpd. -- jimoe at sohnen-moe dot com -- PHP General Mailing List (http://www.php.n

Re: [PHP] Page encoding

2003-10-25 Thread Marek Kilimajer
Please reply to the list, your chance of getting answer will increase. Use reply all button if Netscape/7.02 has it. I tried you example, except that my editor saved the page in unicode, so I had to change windows-1251 to utf-8. Then it displayed correctly. Cheba wrote: Ok. Try Yourself. Hea

Re: [PHP] Re: how to use pclzip class

2003-10-25 Thread David T-G
DvDmanDT -- ...and then DvDmanDT said... % ... % Example: % $zipfile="uploaded.zip"; % $zip=new PclZip($zipfile); % $file_list= $zip->listContent(); [snip] Aha! Now I see! Thanks *so* much! I'll try it out and let you know how it goes :-) HAND :-D -- David T-G * There

Re: [PHP] manual key generation

2003-10-25 Thread David Otton
On Sat, 25 Oct 2003 20:31:37 -0200, you wrote: >When I enter: > >SELECT MAX(quotation_id)+1 from quotations > >I get simply the number 7 (which is ok) > >But when I do: > >$new_key = mysql_query("SELECT MAX(quotation_id)+1 from quotations") > >I get $new_key = Resource id #3 L

[PHP] reading/parsing file names

2003-10-25 Thread koly
my problem: I've got a list of files in a directory, and I'd like to get a only of filenames that end in ".jpg", however, exlude the files that end in ".thumb.jpg" ex: file.php index.htm photo.jpg photo.thumb.jpg etc how can I count only those files that end with ".jpg" ? Any help appreciate

Re: [PHP] manual key generation

2003-10-25 Thread R'twick Niceorgaw
Joao Andrade wrote: Aloha! I have a script that inserts a new row in a table called "quotations", which has a primary key called "quotation_id". "quotation_id" is an int(11) type. When I enter: SELECT MAX(quotation_id)+1 from quotations I get simply the number 7 (which is ok) But

Re: [PHP] manual key generation

2003-10-25 Thread Ewout de Boer
- Original Message - From: "Joao Andrade" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, October 26, 2003 12:31 AM Subject: [PHP] manual key generation > > Aloha! > > I have a script that inserts a new row in a table called "quotations", > which has a primary key call

Re: [PHP] Page encoding

2003-10-25 Thread Marek Kilimajer
That was the first mistake I noticed, now I see it was completely wrong, it should be: Cheba wrote: It does'nt work. Marek Kilimajer wrote: Try ;) Cheba wrote: Hi! I have to use windows-1251 encoding for my pages. But just inserting is not enough. What shold I do? -- PHP General Mail

[PHP] manual key generation

2003-10-25 Thread Joao Andrade
Aloha! I have a script that inserts a new row in a table called "quotations", which has a primary key called "quotation_id". "quotation_id" is an int(11) type. When I enter: SELECT MAX(quotation_id)+1 from quotations I get simply the number 7 (which is ok) But when I do:

Re: [PHP] Page encoding

2003-10-25 Thread Marek Kilimajer
Try ;) Cheba wrote: Hi! I have to use windows-1251 encoding for my pages. But just inserting is not enough. What shold I do? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Page encoding

2003-10-25 Thread David Otton
On Sat, 25 Oct 2003 23:19:33 +0300, you wrote: >I have to use windows-1251 encoding for my pages. But just inserting > is >not enough. What shold I do? Meta tags are generally substitutes for headers. Declare the content-type with a header() statement. Oh, and you have a typo in "enncoding". (

[PHP] Page encoding

2003-10-25 Thread Cheba
Hi! I have to use windows-1251 encoding for my pages. But just inserting is not enough. What shold I do? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] where to get info for medium size sites?

2003-10-25 Thread Merlin
Hi there, I have a internet community running which is getting pretty popular. The problem is, that my knowledge ends at certain points and I cant find any info on the net on that. For example what to do with all the apache logdata (200MB each day). The stats tool I am using (sawmill 6.4.x) ta

[PHP] Recommendation for Unique URL

2003-10-25 Thread James Kaufman
I have an application that does not require a user to log in. But, they do enter their email address and their dept. manager's email address. I want to send an email to the dept. manager that contains a personalized URL so they can click on that and see a page relevant to what the employee entered.

Re: [PHP] Trying to start a session

2003-10-25 Thread Jough Jeaux
Okay for those interested the reason session_start() wasn't working was b/c in OpendBSD Apache runs in a chroot by default. So you have to change put a 'tmp/ directory in the ServerRoot of the web server. You also have to change your include paths and stuff to something inside the ServerRoot. -

Re: [PHP] Trying to organise an array

2003-10-25 Thread Jim Lucas
and I suppose you think pine or mutt is a manly mans mail program? Well I happen to use those clients also, but not for this list Jim - Original Message - From: "Curt Zirzow" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, October 25, 2003 9:09 AM Subject: Re: [PHP] Trying to

[PHP] Re: Got myself confused

2003-10-25 Thread Joachim Krebs
Jesus. How drunk were you when you concocted this mess? Joachim Tom Wollaston wrote: I have been trying to write some code for a simple menu system. The idea was that every item on a menu should be tied to anouther to give a menu structure. To do this I have tried to use the following code. Some

Re: [PHP] w3c-compliant form-action parameters

2003-10-25 Thread Chris Shiflett
--- Timo Boettcher <[EMAIL PROTECTED]> wrote: > > http://shiflett.org/dev/php-general/ampersand.php > > can you put the source of that online, too? You can view the source in your browser to see the HTML, which is the relevant part. If you see the HTML entity for an ampersand in your browser's loc

Re: [PHP] w3c-compliant form-action parameters

2003-10-25 Thread Timo Boettcher
Hi Chris, Nachricht vom Samstag, 25. Oktober 2003, 18:28:27: > --- Timo Boettcher <[EMAIL PROTECTED]> wrote: >> > I find that *very* hard to believe. I'm not aware of any browser >> > that mishandles HTML entities. Basically, when you say this: >> > >> > action="/mypage.php?para1=val1¶2=val2"

[PHP] PHP Sessions

2003-10-25 Thread Phil King
Hi All, I have a login page that which verifies he username & password against a MySql database and then passes the username to another page as a session. I created this on my PC, which is running PHP version 4.3.2, and it works with no problem. My host has the following set on the server which

Re: [PHP] w3c-compliant form-action parameters

2003-10-25 Thread John Nichel
Timo Boettcher wrote: It will not work. One of the requirements of my app is that I can place a bookmark on any page and return to it. That wouldn't work with hidden fields, would it? BTW, I am using http-post. It will work. Change your form method from post to get, and drop your variables from

Re: [PHP] w3c-compliant form-action parameters

2003-10-25 Thread Chris Shiflett
--- Timo Boettcher <[EMAIL PROTECTED]> wrote: > It will not work. One of the requirements of my app is that I can > place a bookmark on any page and return to it. That wouldn't work > with hidden fields, would it? It would if you use the GET method as someone had suggested. Basically, this is how

Re: [PHP] w3c-compliant form-action parameters

2003-10-25 Thread Marek Kilimajer
Timo Boettcher wrote: Marek's right, and this is the case for every browser I know of. In this case, you can specify para1 and para2 as hidden form variables, and it will work. It will not work. One of the requirements of my app is that I can place a bookmark on any page and return to it. That w

Re: [PHP] w3c-compliant form-action parameters

2003-10-25 Thread Timo Boettcher
Hi Chris, Nachricht vom Samstag, 25. Oktober 2003, 18:13:10: > --- Marek Kilimajer <[EMAIL PROTECTED]> wrote: >> > >> >> Get variables in action URL don't work with get method, at least in >> Mozilla. > Marek's right, and this is the case for every browser I know of. > In this case, you can s

Re: [PHP] w3c-compliant form-action parameters

2003-10-25 Thread Chris Shiflett
--- Timo Boettcher <[EMAIL PROTECTED]> wrote: > > I find that *very* hard to believe. I'm not aware of any browser > > that mishandles HTML entities. Basically, when you say this: > > > > action="/mypage.php?para1=val1¶2=val2" > > > > Your browser's HTTP request line will appear as: > > > > /my

[PHP] ADSI & PHP

2003-10-25 Thread Pc Technics, Inc.
Anyone know if its possible to use ADSI with PHP? I can not seem to find any good articles which explain how to convert ASP to PHP using the COM properties of PHP. I would really like to write this in PHP, rather than ASP. Thanks in advance - Jeremy Pc Technics, Inc. www.pc-technics.com 1

Re: [PHP] Trying to organise an array

2003-10-25 Thread David Otton
On Sat, 25 Oct 2003 08:55:15 -0700, you wrote: >my god man, do you know what indenting is? Uhm... it's that thing I did with 4-space tabs, all the way down. Allman-style, not K&R, for what it's worth. >that confused the heck out of me. Mailer problem? Thisparagraph

Re: [PHP] w3c-compliant form-action parameters

2003-10-25 Thread Chris Shiflett
--- Marek Kilimajer <[EMAIL PROTECTED]> wrote: > > > > Get variables in action URL don't work with get method, at least in > Mozilla. Marek's right, and this is the case for every browser I know of. In this case, you can specify para1 and para2 as hidden form variables, and it will work. Hope

Re: [PHP] output

2003-10-25 Thread David Otton
On Sat, 25 Oct 2003 11:52:53 +0300, you wrote: >I'm getting output from program I run (exec) to the web page. >How can I avoid this ? Did you even look at the manual? http://uk.php.net/manual/en/ref.exec.php escapeshellarg -- escape a string to be used as a shell argument escapeshellcmd -- esca

Re: [PHP] Trying to organise an array

2003-10-25 Thread Curt Zirzow
* Thus wrote Jim Lucas ([EMAIL PROTECTED]): > my god man, do you know what indenting is? > > that confused the heck out of me. X-Mailer: Microsoft Outlook Express 6.00.2800.1158 Use a real email client and you wont be so confused. His indentation was perfectly fine. Now, top posting over 114 li

Re: [PHP] Trying to organise an array

2003-10-25 Thread Jim Lucas
my god man, do you know what indenting is? that confused the heck out of me. Jim Lucas - Original Message - From: "David Otton" <[EMAIL PROTECTED]> To: "Tom Wollaston" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Saturday, October 25, 2003 8:53 AM Subject: Re: [PHP] Trying to organ

Re: [PHP] Trying to organise an array

2003-10-25 Thread David Otton
On Sat, 25 Oct 2003 09:17:46 +0100, you wrote: >I have made this function which should be quite simple but doesn't seem to >do what it is meant to. >What I want it to do is create an array where there is a numbered key (the >rows of the table) and the colume headings as the second key. First, you

Re: [PHP] w3c-compliant form-action parameters

2003-10-25 Thread Timo Boettcher
Hi Marek, Nachricht vom Samstag, 25. Oktober 2003, 16:42:49: > Hi, I'm not sure if this was asked, but what browser are you using? Opera 7.21 IE 6.0.2800.1106 > I get everything correctly and I don't remember any browser with > this kind of bug. Also, can you post the relevant part of page source

php-general Digest 25 Oct 2003 15:32:34 -0000 Issue 2376

2003-10-25 Thread php-general-digest-help
php-general Digest 25 Oct 2003 15:32:34 - Issue 2376 Topics (messages 167518 through 167559): Re: Post form variables to a frame 167518 by: Luis Lebron 167519 by: Evan Nemerson 167520 by: Pablo Gosse 167546 by: Luis Lebron Re: Code optimization: single vs. do

Re: [PHP] session_destroy causes backspace on IE

2003-10-25 Thread bill
Aha, I'm using PHP 4.1.2 with trans-sid enabled for browsers that don't use cookies. Now that I know where to look, I found that putting ob_start() at the beginning seems to help. kind regards, bill David Otton wrote: On Fri, 24 Oct 2003 15:42:45 -0400, you wrote: Tried breaking up the e

Re: [PHP] Redirect

2003-10-25 Thread Jon Kriek
header() refresh/redirect with delay. --- http://www.example.com'); exit(); } ob_end_flush(); ?> --- header() refresh/re-direct without delay --- http://www.example.com'); exit(); } ob_end_flu

[PHP] CURL remote server get data back

2003-10-25 Thread Dan McCullough
I have an install script that verifies someones registration key and information against my client database and installs or patches, or whatever else. I'm new with CURL but is there away to get back a response from the server that your are querying back through CURL? -- PHP General Mailing List

Re: [PHP] Redirect

2003-10-25 Thread James Hicks
On Saturday 25 October 2003 10:54 am, Joao Andrade wrote: > Hi there people, > > I'm looking for a function that will redirect a browser to another page > after a PHP scrip has run. I tried serching for it in the doc but found > nothing. It shall be similar to Tcl's "ns_returnredirect". >

Re: [PHP] Redirect

2003-10-25 Thread John Nichel
http://us2.php.net/manual/en/function.header.php Joao Andrade wrote: Hi there people, I'm looking for a function that will redirect a browser to another page after a PHP scrip has run. I tried serching for it in the doc but found nothing. It shall be similar to Tcl's "ns_returnredirect"

[PHP] Redirect

2003-10-25 Thread Joao Andrade
Hi there people, I'm looking for a function that will redirect a browser to another page after a PHP scrip has run. I tried serching for it in the doc but found nothing. It shall be similar to Tcl's "ns_returnredirect". Thanx. Joao Penna Andrade Undergraduate, Mechanical Engineering

Re: [PHP] sockets - fine tunning

2003-10-25 Thread Cosmin
On Sat, 2003-10-25 at 17:42, Curt Zirzow wrote: > * Thus wrote Cosmin ([EMAIL PROTECTED]): > > I'm trying to make an application using XML-RPC, and I have the > > following problem: I use fsockopen() to simulate a POST to my local > > web-server. All goes very well except it's very very slow. Here

Re: [PHP] w3c-compliant form-action parameters

2003-10-25 Thread Marek Kilimajer
Hi, I'm not sure if this was asked, but what browser are you using? I get everything correctly and I don't remember any browser with this kind of bug. Also, can you post the relevant part of page source? Timo Boettcher wrote: Yes. When I use everything works ok, the form is submitted to th

Re: [PHP] sockets - fine tunning

2003-10-25 Thread Curt Zirzow
* Thus wrote Cosmin ([EMAIL PROTECTED]): > I'm trying to make an application using XML-RPC, and I have the > following problem: I use fsockopen() to simulate a POST to my local > web-server. All goes very well except it's very very slow. Here is my > code maybe someone could tell me what I'm doing

[PHP] sockets - fine tunning

2003-10-25 Thread Cosmin
I'm trying to make an application using XML-RPC, and I have the following problem: I use fsockopen() to simulate a POST to my local web-server. All goes very well except it's very very slow. Here is my code maybe someone could tell me what I'm doing wrong: = $url

Re: [PHP] Trying to start a session

2003-10-25 Thread Curt Zirzow
* Thus wrote Jough Jeaux ([EMAIL PROTECTED]): > > There is room left on /tmp. Now that means the 'tmp' > directory under the root directory on the filesystem > right? I don't have to make a directory called 'tmp' > in the DirectoryRoot or someplace else do I? df -h /tmp will ensure you are loo

Re: [PHP] w3c-compliant form-action parameters

2003-10-25 Thread Timo Boettcher
Hi Chris, Nachricht vom Freitag, 24. Oktober 2003, 21:12:06: > --- Timo Boettcher <[EMAIL PROTECTED]> wrote: >> I am trying to get my pages through the w3c-validator for html. >> It doesn't like my >> >> Changing & to & got my page through the validator, but broke my >> app, which seems not to b

Re: [PHP] w3c-compliant form-action parameters

2003-10-25 Thread Timo Boettcher
Hi Marek, Nachricht vom Freitag, 24. Oktober 2003, 19:17:36: > Whoops. The first sentense should be a question. > Marek Kilimajer wrote: >> It breaks your server side scripts. & should be translated to & by >> the browser and never get to php. >> >> Timo Boettcher wrote: >> >>> Hi, >>> >>>

RE: [PHP] Post form variables to a frame

2003-10-25 Thread Luis Lebron
Here is the frameset: and here is the form: 1 2 3 4 and here is the relevant lines of browse.php $category=$_POST["category"]; $query="Select username, age, height, eyeColor, haircolor, build, id from users where category='$category'"; thanks, Luis ---

Re: [PHP] Re: Trying to start a session

2003-10-25 Thread Jough Jeaux
I'm not using Windows, I'm using OpenBSD. --- Ed van der Mark <[EMAIL PROTECTED]> wrote: > If you are using Windows try C:\windows\temp as /tmp > directory. > Ed > > "Jough Jeaux" <[EMAIL PROTECTED]> schreef in > bericht > news:[EMAIL PROTECTED] > > The very simple following script: > > > sessio

Re: [PHP] Trying to start a session

2003-10-25 Thread Jough Jeaux
There is room left on /tmp. Now that means the 'tmp' directory under the root directory on the filesystem right? I don't have to make a directory called 'tmp' in the DirectoryRoot or someplace else do I? I also went ahead and chmod 777 /tmp to see if that would help. It didn't. I had never use

[PHP] Compiling PHP on Mandrake 9.1 with Interbase

2003-10-25 Thread Luiz Gustavo Sarubi Macchi
Please, i d like to compile the php because i need to use Interbase I really dont know how to do it ! Has anyone a tutorial to compile it correctly ? thanks a lot any help Gugao -- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: output

2003-10-25 Thread J. Cox
"Shmuel" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I'm getting output from program I run (exec) to the web page. > How can I avoid this ? > > These I've tried: > > error_reporting = E_ERROR > > and even this: > error_reporting = ~E_ALL > > display_errors = Off > > Any ideas

Re: [PHP] w3c-compliant form-action parameters

2003-10-25 Thread John Nichel
Marek Kilimajer wrote: John Nichel wrote: Sure it is. Change the method of the form from a 'post' to a 'get' Get variables in action URL don't work with get method, at least in Mozilla. Right, my bad. He'd have to move them into hidden fields to be in the URL query string ...

Re: [PHP] w3c-compliant form-action parameters

2003-10-25 Thread Marek Kilimajer
Can you upload the problematic page somewhere. I don't believe & entity is the real problem. Timo Boettcher wrote: Hi Marek, Nachricht vom Samstag, 25. Oktober 2003, 13:02:06: Timo Boettcher wrote: Its not easy to get the value of a hidden field in a bookmark. Don't use & in bookmarks, use ju

Re: [PHP] w3c-compliant form-action parameters

2003-10-25 Thread Marek Kilimajer
John Nichel wrote: Sure it is. Change the method of the form from a 'post' to a 'get' Get variables in action URL don't work with get method, at least in Mozilla. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] w3c-compliant form-action parameters

2003-10-25 Thread John Nichel
Timo Boettcher wrote: Hi John, Nachricht vom Freitag, 24. Oktober 2003, 19:06:33: Timo Boettcher wrote: Hi, I am trying to get my pages through the w3c-validator for html. It doesn't like my Changing & to & got my page through the validator, but broke my app, which seems not to be getting

Re: [PHP] w3c-compliant form-action parameters

2003-10-25 Thread Timo Boettcher
Hi Marek, Nachricht vom Samstag, 25. Oktober 2003, 13:02:06: > Timo Boettcher wrote: >> Its not easy to get the value of a hidden field in a bookmark. > Don't use & in bookmarks, use just &. But when I say "Bookmark this Page" (in any browser) that gets me a bookmark on the url, and not on hidde

Re: [PHP] w3c-compliant form-action parameters

2003-10-25 Thread Marek Kilimajer
Timo Boettcher wrote: Its not easy to get the value of a hidden field in a bookmark. Timo Don't use & in bookmarks, use just &. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Trying to start a session

2003-10-25 Thread Ed van der Mark
If you are using Windows try C:\windows\temp as /tmp directory. Ed "Jough Jeaux" <[EMAIL PROTECTED]> schreef in bericht news:[EMAIL PROTECTED] > The very simple following script: > session_start(); > ?> > > Produces an error that says it can't write the file > for the session. > > The permissions

[PHP] Re: how to use pclzip class

2003-10-25 Thread DvDmanDT
// - --- // Function : PclZip() // Description : // Creates a PclZip object and set the name of the associated Zip archive // filename. // Note that no real action is taken, if the archive does not exist i

[PHP] output

2003-10-25 Thread Shmuel
I'm getting output from program I run (exec) to the web page. How can I avoid this ? These I've tried: error_reporting = E_ERROR and even this: error_reporting = ~E_ALL display_errors = Off Any ideas ? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] w3c-compliant form-action parameters

2003-10-25 Thread Timo Boettcher
Hi Pablo, Nachricht vom Freitag, 24. Oktober 2003, 19:14:31: > Hi, Timo. Why can't use use hidden fields instead of appending the > values to the url? It would be the same to access them via > $_GET['para1'] $_GET['para2] (unless you were using post as your method, > in which case it would simp

Re: [PHP] w3c-compliant form-action parameters

2003-10-25 Thread Timo Boettcher
Hi John, Nachricht vom Freitag, 24. Oktober 2003, 19:06:33: > Timo Boettcher wrote: >> Hi, >> >> I am trying to get my pages through the w3c-validator for html. >> It doesn't like my >> >> Changing & to & got my page through the validator, but broke my >> app, which seems not to be ge

[PHP] Trying to organise an array

2003-10-25 Thread Tom Wollaston
I have made this function which should be quite simple but doesn't seem to do what it is meant to. What I want it to do is create an array where there is a numbered key (the rows of the table) and the colume headings as the second key. It doesn't seem to work. If I set $pid=0 then I get no results

Re: [PHP] Printing in Linux

2003-10-25 Thread Marek Kilimajer
It is not clear if you want to print on the server or client side. If on the server side use lpr command. Client side use javascript to prompt user to print. What do you mean window.print() is inconsistent? Manilal K M wrote: Hello everybody, Can anyone give information regarding how to print

Re: [PHP] scrolling tables within a page

2003-10-25 Thread Burhan Khalid
Denis L. Menezes wrote: My query output is about 20 to 30 records only. Instead of making the visitors scroll the whole page, can I make a scrolling table with the page such that the visitor scroll the results output table only? This has nothing to do with PHP. This is a HTML question. This list

[PHP] Printing in Linux

2003-10-25 Thread Manilal K M
Hello everybody, Can anyone give information regarding how to print a file in plain text format using PHP. I am using RedHat Linux9.0, httpd-2.0.40-21 and php-4.2.2-17. I think that print support is not given to linux. I want to know that whether there is any developments in this reg

Re: [PHP] Trying to start a session

2003-10-25 Thread Marek Kilimajer
Is there any space left on /tmp partition? Jough Jeaux wrote: The very simple following script: Produces an error that says it can't write the file for the session. The permissions for /tmp are rwxrwxrwt Any ideas on how I can fix this? Thanks! These are the exact errors: Warning: open(/tmp/