Re: [PHP] HTTP_RAW_POST_DATA

2004-05-11 Thread John W. Holmes
From: Curt Zirzow [EMAIL PROTECTED] * Thus wrote John W. Holmes ([EMAIL PROTECTED]): Check the value of always_populate_raw_post_data in php.ini on both servers. Thats such a funny name. So is Zirzow ---John Holmes... -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

Re: [PHP] HTTP_RAW_POST_DATA

2004-05-11 Thread Chris Shiflett
--- Curt Zirzow [EMAIL PROTECTED] wrote: Check the value of always_populate_raw_post_data in php.ini on both servers. Thats such a funny name. Not to mention misleading, since it doesn't always populate $HTTP_RAW_POST_DATA when enabled. Always should mean always. Chris = Chris

Re: [PHP] HTTP_RAW_POST_DATA

2004-05-11 Thread Travis Low
Chris Shiflett wrote: --- Curt Zirzow [EMAIL PROTECTED] wrote: Check the value of always_populate_raw_post_data in php.ini on both servers. Thats such a funny name. Not to mention misleading, since it doesn't always populate $HTTP_RAW_POST_DATA when enabled. Always should mean always. No, no,

[PHP] Automatically send auth info

2004-05-11 Thread motorpsychkill
Hi all, Some of my webpages are no longer working with the IE browser after MS implemented some security patches which disable sending authentication info through the URL: http://user:[EMAIL PROTECTED] This no longer works with IE, but is fine with most other browsers. Does anybody know of a

Re: [PHP] loading 250kb include files, performance degration?

2004-05-11 Thread Justin French
Merlin, All I can suggest is that you attempt to restructure the include files on the next version of the app, so that the functions and includes are broken in the most logical manner possible (by task or topic for example), so that you're only including the bare minimum of files for each

[PHP] PHP Sessions on Windows

2004-05-11 Thread David Mitchell
Hello, How does one get sessions working on Windows? I have modified my php.ini file so that session.save_path = C:\Temp, restarted and Apache. Still I get this error message: Warning: session_start(): open(/tmp\sess_26310affee160329c9e50f27663f8971, O_RDWR) failed: No such file or directory (2)

[PHP] User/Group rights system?

2004-05-11 Thread david david
Hello, Does anyone know of an open source user/group based permission system built with php/MySQL? That is, the effective rights for any user on a specific secured object are computed from various permit/deny permissions assigned to the user or any of the groups he/she belongs to. PEAR::Auth

Re: [PHP] PHP Sessions on Windows

2004-05-11 Thread Daniel Clark
Sounds right. Do you have a C:\temp directory? How does one get sessions working on Windows? I have modified my php.ini file so that session.save_path = C:\Temp, restarted and Apache. Still I get this error message: Warning: session_start(): open(/tmp\sess_26310affee160329c9e50f27663f8971,

Re: [PHP] What is the GD library and what can I do with it ?

2004-05-11 Thread Pete
Hello Rob, What is your local environment? (OS, PHP version, etc.) If you're running windows, most likely all you will have to do is change your php.ini. The OS used is Windows XP. Thank you very much. Webmaster For all usenet/forum/mailinglist users:

[PHP] working with forms - loosing data on back button

2004-05-11 Thread Merlin
Hi there, I am trying to make a php powered text publishing process more user friendly. The problem I have, is that the publishing is split into 3 screens (steps). If the user reaches form 2, types something in and clicks on back and then on forward again he looses the values of the data

Re: [PHP] working with forms - loosing data on back button

2004-05-11 Thread Justin French
Merlin, I have a similar problem right now. After a little research, I can offer the following solutions: 1. Save the data to a temporary table with a timestamp -- then run a process via cron (or manually) to clear out old, unfinished forms, without worrying about your real data. 2. Save

[PHP] Dropdown menu

2004-05-11 Thread William Stokes
Hello, A question about forms and PHP. I have a dropdown list which gets the lines in the list from DB. Like this(col1 is used only for sorting the data): echo tdchoose one:/tdtdSELECT NAME=\name1\; $sql=SELECT col1, col2 FROM table_04 ORDER BY col1; $result=mysql_query($sql); $num =

[PHP] [Newbie Guide] For the benefit of new members

2004-05-11 Thread Ma Siva Kumar
=== This message is for the benefit of new subscribers and those new to PHP.  Please feel free to add more points and send to the list. === 1. If you have any queries/problems about PHP try http://www.php.net/manual/en

[PHP] What is the GD library and what can I do with it ?

2004-05-11 Thread Pete
Hi, What is the GD library ? How can I install it. I have PHP integrated as a module. Judging by the discussion that people have here the GD library sounds interesting. How do I know if my shared host has it ? Thank you. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] What is the GD library and what can I do with it ?

2004-05-11 Thread Steven Macintyre
Pete wrote: Hi, What is the GD library ? How can I install it. I have PHP integrated as a module. Judging by the discussion that people have here the GD library sounds interesting. How do I know if my shared host has it ? Thank you. ? phpinfo(); ? Then see ... -- Regards, Steven Mac

[PHP] GD2 - doesn't show all of source image.

2004-05-11 Thread Joe Hill
Hi All There are two machines, one is running PHP 4.3.0 and the other PHP 4.1.2, both also have GD2. Both are running on Linux systems. On the 4.3.0 machine, running a simple PHP script (at bottom of email, for reference) works fine - the whole image shows, and the text is also shown. This is

[PHP] Re: What is the GD library and what can I do with it ?

2004-05-11 Thread Joe Hill
Pete [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi, What is the GD library ? How can I install it. I have PHP integrated as a module. Judging by the discussion that people have here the GD library sounds interesting. How do I know if my shared host has it ? It will be seen

RE: [PHP] Remove cahracters in string

2004-05-11 Thread Angelo Zanetti
I second that, it makes logical sense but how would you do that programmatically? .. but.. what if you dont know what you have to compare to that long string(PhiladelphiaFirstadate05Oct2004)? there has to be some sort of criteria to which the string to be found can be seperated

[PHP] Uploaden files to the server

2004-05-11 Thread Lieve Vissenaeken
Please, Can anybody help me with my problem !! I'm getting crazy. I am trying the upload a file to the server where my website is. I get always the same fault when I want the try this code: Warning: Unable to create 'test.jpg': Permission denied in /lvdata/www/tennis/Contact.php on line

Re: [PHP] Uploaden files to the server

2004-05-11 Thread Richard Davey
Hello Lieve, Tuesday, May 11, 2004, 11:24:09 AM, you wrote: LV I am trying the upload a file to the server where my website is. LV I get always the same fault when I want the try this code: LV Warning: Unable to create 'test.jpg': Permission denied in LV copy($_FILES['file']['tmp_name'],imgs/

Re: [PHP] Dropdown menu

2004-05-11 Thread Daniel Clark
Hi Bill. Put something like: FORM ACTION=read_form.php METHOD=post ##your form selections here## /FORM Then on your read_form.php page: $what_they_selected = $_POST['name1'] A question about forms and PHP. I have a dropdown list which gets the lines in the list from DB. Like this(col1 is

Re: [PHP] What is the GD library and what can I do with it ?

2004-05-11 Thread Serhan D. Kiymaz
GD library is a image manupulation library. you can create buttons, charts and etc... you can see with ? phpinfo(); ? search fr GD in the coming page Pete wrote: Hi, What is the GD library ? How can I install it. I have PHP integrated as a module. Judging by the discussion that people have

Re: [PHP] Uploaden files to the server

2004-05-11 Thread Daniel Clark
Does the img directory have writes permission? Please, Can anybody help me with my problem !! I'm getting crazy. I am trying the upload a file to the server where my website is. I get always the same fault when I want the try this code: Warning: Unable to create 'test.jpg': Permission

[PHP] good practices

2004-05-11 Thread Angelo Zanetti
Hi all, Just a quick question about a way to approach a situation I'm stuck in with the intention of keeping best practices in mind. Alright, I have a page in which a user can search for a list of people, they can either search by name, industry, city, country or job title (eg: programmer,

[PHP] Re: thumbnails of images

2004-05-11 Thread Raj Shekhar
Edward Peloke epeloke at echoman.com writes: won't the gd library do this? http://www.php.net/manual/en/function.exif-thumbnail.php I have used Imagemagick to convert images to highres to thumbsize and watermark images. I had used GD library to do this earlier but Apache gave me some

Re: [PHP] Dropdown menu

2004-05-11 Thread William Stokes
Thanks! I found the answer from: http://codewalkers.com/tutorials.php?show=12 Daniel Clark [EMAIL PROTECTED] kirjoitti viestissä news:[EMAIL PROTECTED] Hi Bill. Put something like: FORM ACTION=read_form.php METHOD=post ##your form selections here## /FORM Then on your read_form.php page:

RE: [PHP] What is the GD library and what can I do with it ?

2004-05-11 Thread Tom Chubb
Pete, I thought I should send you another reply as I felt that depending on your experience, you may not fully understand the resonses from other members. Firstly, create a new .php file and using the following source code: * html head titleUntitled Document/title meta

[PHP] PHP-XML Parse Problem

2004-05-11 Thread Mendle
I wrote a script to parse an XML doc in straightforward PHP, but then decide to write it as objects but now I have a problem, that I hope someone with a little bit more experience can look at: Im at my wits end and would appreciate any help, im getting no errors as such, but it is not parsing

Re: [PHP] working with forms - loosing data on back button

2004-05-11 Thread John W. Holmes
From: Merlin [EMAIL PROTECTED] The problem I have, is that the publishing is split into 3 screens (steps). If the user reaches form 2, types something in and clicks on back and then on forward again he looses the values of the data entered in form 2. The back button is done with:

[PHP] optimizing arrays

2004-05-11 Thread Anna
Hi There, What techniques are there to optimise the use of very large arrays? I have an array of over 380K keys and values that is being processed incrementally, however the longer it runs the more time is seems to be taking - an array of 100k items is taking 1 hour to process, and array of 400k

Re: [PHP] PHP-XML Parse Problem

2004-05-11 Thread Chris Hayes
At 13:44 11-5-04, you wrote: I wrote a script to parse an XML doc in straightforward PHP, but then decide to write it as objects but now I have a problem, that I hope someone with a little bit more experience can look at: Im at my wits end and would appreciate any help, im getting no errors as

Re: [PHP] optimizing arrays

2004-05-11 Thread Richard Davey
Hello Anna, Tuesday, May 11, 2004, 1:18:48 PM, you wrote: A What techniques are there to optimise the use of very large arrays? I have A an array of over 380K keys and values that is being processed incrementally, A however the longer it runs the more time is seems to be taking - an array of A

Re: [PHP] system command?

2004-05-11 Thread Jason Wong
On Monday 10 May 2004 23:00, Jas wrote: I didn't sent off list, always to php.general in reply to whatever message thread I am in. In any event, I have tried safe mode = On and safe mode = Off with the 4 commands I listed in my last thread and my actual code is using an echo =

[PHP] Re: Binary to ASCII

2004-05-11 Thread Aidan Lister
Handy function for this sort of stuff: http://ircphp.com/users/imho/?file=function.hexview.php René fournier [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] When reading from a Socket Server, my Socket Client retrieves data that includes ASCII and binary data: while(($buf =

[PHP] session names

2004-05-11 Thread Edward Peloke
It is necessary to always name your sessions?or is session_start() sufficient? Thanks, Eddie WARNING: The information contained in this message and any attachments is intended only for the use of the individual or entity to which it is addressed. This message may contain information

[PHP] Hokki =)

2004-05-11 Thread rasmus
Looking forward for a response :P pass: 22605 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] free graphs

2004-05-11 Thread shawn_milochik
There are some nice free Java graphs that I use, from http://graphscharts.com/. They are easy to use, and free (if you don't mind their little watermark). Registration is extremely cheap, also. I use them at work with ASP pages. Shawn

Re: [PHP] Re: Installing GD library

2004-05-11 Thread Jason Wong
On Saturday 08 May 2004 03:02, Petr U. wrote: On Fri, 7 May 2004 14:55:40 -0400 Aaron Wolski [EMAIL PROTECTED] wrote: Now... what about installing for Linux? ./configure make install ? ;-P GD is bundled in PHP, nothing special isn't needed to make it working. If you're using some

Re: [PHP] What is the GD library and what can I do with it ?

2004-05-11 Thread Pete
Thank you Tom for the info. I just checked. GD Supportenabled GD Version1.6.2 or higher FreeType Supportenabled FreeType Linkagewith freetype GIF read Support enabled GIF Create Support enabled JPG Support enabled PNG Support enabled WBMP Support enabled Unfortunately I don't have it on my local

[PHP] NewsML Parser

2004-05-11 Thread Mehdi Achour
Hi there ! Anyone aware of a PHP NewsML Parser ? Google doesn't help :( Thanks in advance. Mehdi Achour -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] session names

2004-05-11 Thread Daniel Clark
You need to name your session variables, but no name for session_start(). It is necessary to always name your sessions?or is session_start() sufficient? Thanks, Eddie -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re:

2004-05-11 Thread Kuldeep Singh Tomar
Hi All, I am working on one Document Management System which I am running on linux. I have added this system to win2000 Active Directory server. Now, I want to authenticate my all users for DMS through this Win2k server and search on directory server. So, I am trying to connect to Active

Re: [PHP] Re:

2004-05-11 Thread John Nichel
Kuldeep Singh Tomar wrote: Hi All, I am working on one Document Management System which I am running on linux. I have added this system to win2000 Active Directory server. Now, I want to authenticate my all users for DMS through this Win2k server and search on directory server. So, I am trying

[PHP] php|works

2004-05-11 Thread John Nichel
Who's going (thinking about) to this? http://www.phparch.com/phpworks/ -- John C. Nichel KegWorks.com 716.856.9675 [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] php|works

2004-05-11 Thread Jay Blanchard
[snip] Who's going (thinking about) to this? http://www.phparch.com/phpworks/ [/snip] Thinking about it, depends on corporate 'tude towards it. I'd like all of out devs to go. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] optimizing arrays

2004-05-11 Thread Brent Baisley
That's a lot of items to be putting into an array and probably a lot of memory being used. If you are accessing it incrementally, why not write everything to a flat file and access it a few lines at a time? I may be misunderstanding what you mean by incrementally, since you mention you are

Re: [PHP] php|works

2004-05-11 Thread John Nichel
Jay Blanchard wrote: [snip] Who's going (thinking about) to this? http://www.phparch.com/phpworks/ [/snip] Thinking about it, depends on corporate 'tude towards it. I'd like all of out devs to go. Now that I'm living in Buffalo instead of New Orleans, I'm only about 1.5 hours away. And my new

[PHP] Web based training

2004-05-11 Thread Spencer Yost
I have a client that is in the need of web based training software for their web site. Their needs are very simple and spartan and really don't justify the expense of commercial packages, subscription based training services or my time to develop something from scratch. Does anyone know of

Re: [PHP] Web based training

2004-05-11 Thread Chris Hayes
There are free suites such as www.moodle.org. Unfortunately Moodle does not allow automatic adding of courses when using safe mode, as it adds directories for new courses. At 16:23 11-5-04, you wrote: I have a client that is in the need of web based training software for their web site. Their

Re: [PHP] session names

2004-05-11 Thread John W. Holmes
From: Edward Peloke [EMAIL PROTECTED] It is necessary to always name your sessions?or is session_start() sufficient? No. Yes. ---John Holmes... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] What is the GD library and what can I do with it ?

2004-05-11 Thread Rob Adams
Pete [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Unfortunately I don't have it on my local php installation. How can I get it ? What is your local environment? (OS, PHP version, etc.) If you're running windows, most likely all you will have to do is change your php.ini. -- Rob

Re: [PHP] php|works

2004-05-11 Thread John W. Holmes
From: John Nichel [EMAIL PROTECTED] Who's going (thinking about) to this? http://www.phparch.com/phpworks/ Where is this Canada they speak of?? ;) I know Marco will put on a good show for this; definitely go if you can. I'll be in school, so I don't plan on going unless I come up with some

[PHP] ADS authentication

2004-05-11 Thread Kuldeep Singh Tomar
Hi, Sorry for it. Can I get some help on this? Regards, Kuldeep John Nichel wrote: Kuldeep Singh Tomar wrote: Hi All, I am working on one Document Management System which I am running on linux. I have added this system to win2000 Active Directory server. Now, I want to authenticate my all

Re: [PHP] What is the GD library and what can I do with it ?

2004-05-11 Thread Curt Zirzow
* Thus wrote Pete ([EMAIL PROTECTED]): Unfortunately I don't have it on my local php installation. How can I get it ? I just looked at www.php.net but wasn't able to find anything useful. http://php.net/gd Curt -- I used to think I was indecisive, but now I'm not so sure. -- PHP

Re: [PHP] ADS authentication

2004-05-11 Thread Ray Hunter
On Tue, 2004-05-11 at 09:16, Kuldeep Singh Tomar wrote: Hi, Sorry for it. Can I get some help on this? Here is what i used to query Exchange...now i am no windowz guru, but from what i understand about exchange and ads exchange will send user information to ads to be authenticated. So my work

[PHP] loading 250kb include files, performance degration?

2004-05-11 Thread Merlin
Hi there, I am working on a complex webapp written in php. Recently I was reading about performance issues and after analysing the code I found that most of the files load 5 external php include files to run. All together those include files make about 250KB (there are 5 files). Now I am

Re: [PHP] loading 250kb include files, performance degration?

2004-05-11 Thread Matt Matijevich
[snip] I am working on a complex webapp written in php. Recently I was reading about performance issues and after analysing the code I found that most of the files load 5 external php include files to run. All together those include files make about 250KB (there are 5 files). [/snip] The more

[PHP] search query analyzer

2004-05-11 Thread Paul Godard
Hi I am looking for some good ideas to combine some fields with query operators (multiple words, or/and, /„/¾, range of numerical values...). Let's say I have 2 fields (numerical text) to combine where the serach criteria can be as complicated as this : - year : 1950, 1960-1965, not1980-2000,

Re: [PHP] ADS authentication

2004-05-11 Thread Kuldeep Singh Tomar
Hi Ray, Thanks for your response. I was trying this script also but no success. I was using following values: $ldap[user] = tomar; $ldap[pass] = passwd; $ldap[host] = dc02-del3.vc-del.vcustomer.com; $ldap[port] = 389; $ldap[dn] = cn.$ldap[user].,ou=Department,o=Company Name; $ldap[base] = ;

[PHP] *.pdf into postgres using php

2004-05-11 Thread Dennis Gearon
Please CC me, I am on digest. Any one done that and can give me some pointers? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] ADS authentication

2004-05-11 Thread Ray Hunter
On Tue, 2004-05-11 at 10:14, Kuldeep Singh Tomar wrote: Hi Ray, Thanks for your response. I was trying this script also but no success. I was using following values: $ldap[user] = tomar; $ldap[pass] = passwd; $ldap[host] = dc02-del3.vc-del.vcustomer.com; $ldap[port] = 389; $ldap[dn]

Re: [PHP] php|works

2004-05-11 Thread Chris Shiflett
--- John Nichel [EMAIL PROTECTED] wrote: Who's going (thinking about) to this? http://www.phparch.com/phpworks/ I'm strongly considering it. Proposal deadline is May 21, which is my birthday, so that's easy to remember. :-) Chris = Chris Shiflett - http://shiflett.org/ PHP Security -

[PHP] HTTP_RAW_POST_DATA

2004-05-11 Thread Chris Boget
I was looking through the documentation and I could not figure out why the following is occuring: On our development server, I have a script that accesses the value of $HTTP_RAW_POST_DATA (upon form submission) and there is data there. However, on our production server, the same code shows no

Re: [PHP] HTTP_RAW_POST_DATA

2004-05-11 Thread John W. Holmes
From: Chris Boget [EMAIL PROTECTED] On our development server, I have a script that accesses the value of $HTTP_RAW_POST_DATA (upon form submission) and there is data there. However, on our production server, the same code shows no value held in $HTTP_RAW_POST_DATA. Both servers are running

Re: [PHP] HTTP_RAW_POST_DATA

2004-05-11 Thread Curt Zirzow
* Thus wrote John W. Holmes ([EMAIL PROTECTED]): Check the value of always_populate_raw_post_data in php.ini on both servers. Thats such a funny name. Curt -- I used to think I was indecisive, but now I'm not so sure. -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

[PHP] php calender

2004-05-11 Thread Edward Peloke
I am currently working on a site for a vacation rental company. They want the ability to show users the availability of certain properties. The availability will be held in a mysql db so I assume I will have to dynamically build a small javascript menu or somethingI am just looking for some

Re: [PHP] php calender

2004-05-11 Thread Daniel Clark
It could be a HTML table with links on the properties to view more details. I am currently working on a site for a vacation rental company. They want the ability to show users the availability of certain properties. The availability will be held in a mysql db so I assume I will have to

[PHP] Re: php calender

2004-05-11 Thread Torsten Roehr
Edward Peloke [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I am currently working on a site for a vacation rental company. They want the ability to show users the availability of certain properties. The availability will be held in a mysql db so I assume I will have to

[PHP] include (or require) doesn't seem to work

2004-05-11 Thread Daniel Barbar
Hi, I'm almost ashamed to ask this question as surely enough the problem is something very basic but, nonetheless, I can't put my finger on it. I'm trying to implement the concept of a library (library.php) on PHP where I define (once) all auxiliary functions and then use them in a

[PHP] Re: include (or require) doesn't seem to work

2004-05-11 Thread Torsten Roehr
Daniel Barbar [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi, I'm almost ashamed to ask this question as surely enough the problem is something very basic but, nonetheless, I can't put my finger on it. I'm trying to implement the concept of a library (library.php)

[PHP] Re: include (or require) doesn't seem to work

2004-05-11 Thread Torsten Roehr
Try including it as a local file: require_once library.php'; // if it is in the same directory as the file you Forgot a quote here, sorry: require_once 'library.php'; Torsten -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] include (or require) doesn't seem to work

2004-05-11 Thread Daniel Clark
Think you want something like this. require(/tristan/library.php); Hi, I'm almost ashamed to ask this question as surely enough the problem is something very basic but, nonetheless, I can't put my finger on it. I'm trying to implement the concept of a library (library.php) on

Re: [PHP] HTTP_RAW_POST_DATA

2004-05-11 Thread Chris Boget
same configuration. Where would I look to discover why one server would have data held in $HTTP_RAW_POST_DATA whereas the other server would not? Check the value of always_populate_raw_post_data in php.ini on both servers. That was it. Thank you so very much!! Chris -- PHP General