[PHP] detection and resolving of blocking functions ...

2001-11-27 Thread Christophe VG
Hi, I originally posted this message to the php-db list, but I think that although this seems originally an oracle related problem ... there must be a "PHP solution" to it. What I'm looking for is a way to "detect" and "destroy" or "interrupt" a blocking function. Below, in the example in the

[PHP] Re: php and tables

2001-11-27 Thread Fred
You have already pulled the data into an associative array with the column name as the array key. Use array_keys() to spit out the column names at the top of your table. Fred B <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > i have created a program that allo

[PHP] Help me!

2001-11-27 Thread Charindra P
Could Anybody help me ? I have the problem with installation of my PHP and Apache Web Server running on OS AIX Version 4.3! and use RDBMS Oracle8i Enterprise Edition Release 8.1.7.0.0. When I installed them, founded any error. I use the downloaded sources are apache_1.3.22-000964804C00-ibm-aix4

[PHP] Hierarchies

2001-11-27 Thread MindHunter
Hi, I need to display hierarchies (hierarchical structures). I have a MYSQL table with data like this: Node,Parent A, B,A C,A D,B E,B F,D G,A It can go down to 10 levels. I do not want display one level and then click to display the next, I want to see the entire tree at once, say like this:

[PHP] ¡îÑ°ÕÒJSPÐéÄâÖ÷»ú£¿¿´¿´ÎÒÃÇΪÄúÌṩʲôÑùµÄ·þÎñ°É

2001-11-27 Thread Today's NetWork
Ñ°ÇóÒ»¸öºÃµÄÓòÃû¡¢¸ßËÙÎȶ¨µÄ¿Õ¼ä? ÄǾÍÇëÄúÀ´ÕâÀï¿´¿´°É£º http://www.now.net.cn ʱ´´ÍøÂ磡 ¡î ÂÊÏÈÖ§³ÖJSP ¼°×îбê×¼JDBC Êý¾Ý¿â£¬ÍêÈ«½â×¼ÖÐÎļ°Êý¾Ý¿âÖÐÎÄÎÊÌâ ¡î ¶àÖÖ¶¯Ì¬½Å±¾°üÀ¨ ASP£¬PHP,CGI £¬PERL5.6 ,JSP,Servlet , »¹ÓпìËÙCGI £¬¿ìËÙPERL£¨fcgi)Ö§³Ö£¬ PHPÒ²´ø×îмÓËÙÒýÖ¿£¡ (Ïê¼û:http://www

[PHP] php and tables

2001-11-27 Thread b
i have created a program that allows users to make custom sql queries to a mysql db and display the output to the browser. the program works as desired but what i would like to do is display the data in a table. as there can be up to 4 columns with up to 13 different titles, i cannot hard code thi

Re: [PHP] Apache 2.0.28 and PHP 4.0.6

2001-11-27 Thread Michael Hall
I haven't read the original message, so this is only a guess. --with-apxs2 Mick On Wed, 28 Nov 2001, Larz wrote: > Is it possible to compile and make it work under linux > without any changes? > I mean is there a --with-apache2 or something? > > > -- > - > Lars > When mailing me, remember

Re: [PHP] how to transfer a local DB to a DB on Server ?

2001-11-27 Thread Steve Werby
"trongduc" <[EMAIL PROTECTED]> wrote: > does anyone know ? > pls help me, thanks... Very open-ended, do you have some details? What type of database? Is this really PHP related? The short answer is to use a program to generate SQL statements for all of the source db's tables and pipe the SQL s

Re: [PHP] Directory Contents Listing

2001-11-27 Thread Steve Werby
"Deependra B. Tandukar" <[EMAIL PROTECTED]> wrote: > How do I display the directory contents using PHP? See readdir() in the online manual. I'm pretty sure it even has example code you could paste in. -- Steve Werby President, Befriend Internet Services LLC http://www.befriend.com/ -- PHP Ge

[PHP] LDAP sorting

2001-11-27 Thread Adam . Whitehead
Hi All- Can anyone tell me if PHP's LDAP functions support "server side sorting of search results" as defined in this RFC: http://www.ietf.org/rfc/rfc2891.txt Sorting results from LDAP searches in PHP is a pain because of the structure of the result array. Alternatively if anyone has a nice fu

[PHP] how to transfer a local DB to a DB on Server ?

2001-11-27 Thread trongduc
does anyone know ? pls help me, thanks... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

RE: [PHP] Newbie Image uplaod question

2001-11-27 Thread Martin Towell
rf: http://www.php.net/manual/en/features.file-upload.php $userfile - The temporary filename in which the uploaded file was stored on the server machine. $userfile_name - The original name or path of the file on the sender's system. $userfile_size - The size of the uploaded file in bytes. $user

[PHP] Directory Contents Listing

2001-11-27 Thread Deependra B. Tandukar
Greetings ! How do I display the directory contents using PHP? Regards, DT -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

Re: [PHP] Newbie Image uplaod question

2001-11-27 Thread Ryan Stephens
Sorry... i changed to but still no luck. it returns "Array" as the file name and doesnt upload the file. Whats up?? Ryan "Ryan Stephens" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > ok... ive tried this but no go: > > <-

RE: [PHP] Newbie Image uplaod question

2001-11-27 Thread Martin Towell
try changing to -Original Message- From: Ryan Stephens [mailto:[EMAIL PROTECTED]] Sent: Wednesday, November 28, 2001 4:13 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] Newbie Image uplaod question ok... ive tried this but no go: <-> function

Re: [PHP] Newbie Image uplaod question

2001-11-27 Thread Ryan Stephens
ok... ive tried this but no go: <-> function UploadImage(){ global $HTTP_POST_FILES; global $image; reset($HTTP_POST_FILES); $pic_file = $HTTP_POST_FILES['image']; copy ($pic_file['tmp_name'], "../images"); } <---

RE: [PHP] Re: Updating rows in a MySQL database with PHP

2001-11-27 Thread Martin Towell
Also, I've found that if an SQL statement isn't doing what you're expecting it to do, then echo it out and copy/paste it into the database querier (mysql, sqlplus, isql, etc). I've found these quieriers give better error messages than what you get back through PHP -Original Message- From

Re: [PHP] Newbie Image uplaod question

2001-11-27 Thread Urb LeJeune
> Im new to PHP and am trying to upload images to the server and store the >file name into mySQL database.. but i dont have a clue how to do this... >all i know is i need to use other than that im lost. # Function MakeUploadForm() ### funct

[PHP] Re: Updating rows in a MySQL database with PHP

2001-11-27 Thread Fred
Nothing is being updated because $id is empty and in fact is not even set. You need to pass the id via a hidden form variable in order to get the results you expect. In the future I suggest always debugging your scripts by echoing your variables so that you can determine if they contain what you

Re: [PHP] Newbie Image uplaod question

2001-11-27 Thread Hank Marquardt
http://www.php.net/manual/en/features.file-upload.php On Tue, Nov 27, 2001 at 08:14:48PM -0800, Ryan Stephens wrote: > Hey guys... > > Im new to PHP and am trying to upload images to the server and store the > file name into mySQL database.. but i dont have a clue how to do this... > all

Re: [PHP] Updating rows in a MySQL database with PHP

2001-11-27 Thread David Robley
On Wed, 28 Nov 2001 14:32, Chris Janes wrote: > Ok, this may well turn out to be a total newbie question. But it's got > me stumped. > > I'm trying to create a small, simple news system for a personal > website. I've gotten sections to insert the news into the database. but > I can't seem to get i

[PHP] Newbie Image uplaod question

2001-11-27 Thread Ryan Stephens
Hey guys... Im new to PHP and am trying to upload images to the server and store the file name into mySQL database.. but i dont have a clue how to do this... all i know is i need to use other than that im lost. Any help would be great. Thanks Ryan Stephens -- PHP General Ma

[PHP] Updating rows in a MySQL database with PHP

2001-11-27 Thread Chris Janes
Ok, this may well turn out to be a total newbie question. But it's got me stumped. I'm trying to create a small, simple news system for a personal website. I've gotten sections to insert the news into the database. but I can't seem to get it to update itself. So far I have The $newsubject and

[PHP] Re: Apache 2.0.28 and PHP 4.0.6

2001-11-27 Thread Tyler Longren
Hi Lars, I can't get the 2 to compile together. I think there's been too many changes in Apache 2.x.x for php 4.0.6 to work with it. A CVS version of PHP might work though. Anyway, if you want to give it a try, configure PHP like this: ./configure --with-apxs2=/path/to/apxs --with-whatever-els

[PHP] Re: Using a file to make an array

2001-11-27 Thread Fred
There is no need to reinvent the wheel here. MySQL has a built in function to do exactlywhat you want to do. Check out LOAD DATA INFILE here: http://www.mysql.com/doc/L/O/LOAD_DATA.html Fred Yoed Anis <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hey Guys,

[PHP] Re:

2001-11-27 Thread Kosona Chriv
Warning Unable to process data: multipart/related; type="multipart/alternative"; boundary="_ABC1234567890DEF_"

[PHP] Apache 2.0.28 and PHP 4.0.6

2001-11-27 Thread Larz
Is it possible to compile and make it work under linux without any changes? I mean is there a --with-apache2 or something? -- - Lars When mailing me, remember there is no truth in my mail! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additio

RE: [PHP] how to acess php array var in Js?

2001-11-27 Thread Martin Towell
try : form_name["cb[]"] -Original Message- From: Christian Dechery [mailto:[EMAIL PROTECTED]] Sent: Wednesday, November 28, 2001 11:53 AM To: [EMAIL PROTECTED] Subject: [PHP] how to acess php array var in Js? If I have a series of checkboxes like this: This is 1 This is 2 This is 3

[PHP] how to acess php array var in Js?

2001-11-27 Thread Christian Dechery
If I have a series of checkboxes like this: This is 1 This is 2 This is 3 This is 4 how can I acess "cb[]" in Javascript other than using the "elements" array?? I can't do cb[][0].checked for example... it gives me parse error... using the elements array is not that nice codewise... any hi

[PHP] php apache module and file writing vs security ?

2001-11-27 Thread Michael Blower
I need to be able to have high security for the default web user such that php can not write files. The level of security is such that I can't open up directories in the web root for writing by the default www user (php runs as this user). Question #1: Is there a way to securly write files to th

Re: [PHP] Using a file to make an array

2001-11-27 Thread Hank Marquardt
You're making this real hard on yourself ... and you didn't really look at the file ... it's *tab* delimited, not spaces ... so this works just ducky on the file you attached: #!/usr/bin/php4 -q $field\n"; } } } ?> file() sucks the whole file int

[PHP] Using a file to make an array

2001-11-27 Thread Yoed Anis
Hey Guys, I'm having a trouble I can't seem to solve and hoped maybe one of you might take a look and see if you can help me. (If you don't want to learn my approach just skip to the bottom to help me with the final bit.. skip to "hear") What I want to do is open the text file testtext.txt (atta

RE: [PHP] Printing Reports

2001-11-27 Thread John Monfort
Grimes, > I do this a lot. If you want to use just the browser and server abilities > without introducing the complexities of PDF/XML/XSLT and such, it is not too > hard. I have done PDF, Standard Text and HTML to the browser and I have > printed directly to a printer from the server using PHP.

Re: [PHP] Re: Printing Reports

2001-11-27 Thread John Monfort
If all you want to do is print, then a simple JavaScript code should do the trick. example: //use php to send the report to a new browser //in this case, report.php has the code to generate the reports. XY Report //in the new window (or at the end of report.php) generate this link

Re: [PHP] Session script hangs page on Windows

2001-11-27 Thread Urb LeJeune
Don't run PWS. Go to nusphere.com and get the complete package of Apache, PHP, Perl, and MySQL works like a champ. At 05:17 PM 11/27/01 -0500, MM wrote >I am a newbie running 4.06 on PWS in Win 98. Any sample script about >sessions I can find just hangs in Personal Web Server. Session id gets >c

[PHP] Session script hangs page on Windows

2001-11-27 Thread MM
I am a newbie running 4.06 on PWS in Win 98. Any sample script about sessions I can find just hangs in Personal Web Server. Session id gets created in data file but nothing happens on the page. Has anyone come across this? Have searched on Google and can't find any reference. Thanks in advance f

RE: [PHP] Array Help

2001-11-27 Thread Jack Dempsey
you can just kept adding []'s $var["category"]["subcategory"]["Item"] = "url"; -Original Message- From: Brian V Bonini [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 27, 2001 4:56 PM To: PHP Lists Subject: [PHP] Array Help How can I access the inner most info in this array? Ie, Ite

[PHP] How to install gdlibrary?

2001-11-27 Thread Andy
Hi there, does anybody know a link where the installation of gdlibrary is explained. I was trying to install zlib which is mandatory for gd but there is nowhere a install documentation! Thanx for any help cheers Andy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail:

[PHP] Array Help

2001-11-27 Thread Brian V Bonini
How can I access the inner most info in this array? Ie, Item and url $var = array( "category" => array( "subcategory" => array( "Item" => "url" ), ) ); -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL

Re: [PHP] What kind of looping ?

2001-11-27 Thread Dan McCullough
try using $count=0; before the loop (while loop is fine) then before the end of the loop $count++; inside the loop if ($count % 4) { that is where you want it to break and start running the other code } so you would have $table = ""; $counter = 0; while ($tableset = mysql_fetch_array($result) )

Re: [PHP] What kind of looping ?

2001-11-27 Thread Steve Werby
"Steve Maroney" <[EMAIL PROTECTED]> wrote: > Now $file_list[] has some number a file names. I want print 4 file names > into a row. Each file name has to be in its on cell. > > >FILE 0 FILE 1 FILE 2 FILE 3 >FILE 4 FILE 5 FILE 6 FILE 7 > > > I would image I would use a for loop, but

Re: [PHP] What kind of looping ?

2001-11-27 Thread Hank Marquardt
echo ""; while(list(,$fname) = each($file_list)) { if(!($cnt % 4) && $cnt++!=0) { echo ""; } echo "$fname"; } echo ""; Didn't actually test that, but it should be close ... the important piece is ($cnt % 4) ... modulo arithmetic is your fri

[PHP] What kind of looping ?

2001-11-27 Thread Steve Maroney
Hey guys, I cant figure out what functions and/or looping I need to use for what I need to do. Im reading a directory and pushing all the file names in the directory into an arrary. I want to be able print out each element(file name) in the array into an HTML table while limiting a certain numb

Re: [PHP] cookies

2001-11-27 Thread Urb LeJeune
Thanks Shane, >Can you not just set the cookie again [using the updated expiry date]. Problem is that session_register() automatically sets a cookie which is set to expire when the browser is closed. Now that I think about it, the default cookie expiration is set in the php.in

[PHP] Re: PDF print page creation...

2001-11-27 Thread Henrik Hansen
[EMAIL PROTECTED] (Lauri Vain) wrote: > So my questions: > 1. How hard would it be to create such a script? > 2. How much time would it take? (any common pitfalls that could make coding time > longer?) > 3. What are the best classes/wrappers out there to handle the job? > 4. Or would it be

[PHP] Re: Need advide on partnership agreement for a php application...

2001-11-27 Thread Fred
I agree with George. I was in a somewhat similar situation recently in which a client, for whom I was writing an intranet application that I would not be hosting, asked if I could give my application the ability to export data for some archain application just in case they decided they wanted to

[PHP] PDF print page creation...

2001-11-27 Thread Lauri Vain
Hello, A client requested a script to create a page to print out the list of clients that are subscribed to a chosen service. This list will be printed and then faxed to an outer source because that's how the second company that oursources the service requests it. The present script creates a HT

Re: [PHP] setcookie BUG w/ IE 5.5, 6.0 & Netscape!

2001-11-27 Thread Casey Allen Shobe
On 29 December 2001 13:35, Kris Wilkinson spaketh unto ye recipient: > setcookie ("myCookie","Blah","time()+7201"); For some reason, you must specify the domain, and make sure you use *exact* formatting on the time, including the GMT suffix. I gave up on setcookie and started using this: $date

Re: [PHP] cookies

2001-11-27 Thread Casey Allen Shobe
On 27 November 2001 12:45, Urb LeJeune wrote: > Speaking of cookies, is there a way using session control > to modify the expiration date of a cookie? I would like to add > a check box in a login dialog that says "remember me" The checkbox is a form field, and thusly passes it's value to the page

[PHP] Re: Need advide on partnership agreement for a php application...

2001-11-27 Thread George Whiffen
Py wrote: > > Hello, > > I have an application wich I maintained on my servers (PHP, Apache, MySQL). > I have a client that is already using the application trought a secure link > directly from his web site. > But he would like to have my application update a database directly on his > server (

Re: [PHP] Question about Linux Rpm

2001-11-27 Thread Joelmon2001
"? RPM is good if everything is installed by RPM. Otherwise, RPM won't know that you have dependencies installed, and will fail." Thanks. But how do I know if an rpm can run on a raq 3 when I read it's supported for redhat? Sometimes I read "For redhat 6.1" and then some say "yes, you can ins

php-general Digest 27 Nov 2001 18:23:42 -0000 Issue 1019

2001-11-27 Thread php-general-digest-help
php-general Digest 27 Nov 2001 18:23:42 - Issue 1019 Topics (messages 75748 through 75802): Re: Selecting databases 75748 by: Martin Towell 75749 by: Craig Vincent Why doesn't this work? HTTP_USER_AGENT 75750 by: chip 75751 by: Craig Vincent 75752 by

[PHP] anybody can tell me how to use PEAR under windows?

2001-11-27 Thread Dino Leung
I am using Foxserv v2.0 beta 3.. anybody can tell me how to install PEAR?

Re: [PHP] cookies

2001-11-27 Thread Shane Wright
Hi Urb Can you not just set the cookie again [using the updated expiry date]. If I remember correctly, this should work.. -- Shane On Tuesday 27 Nov 2001 5:45 pm, Urb LeJeune wrote: > Speaking of cookies, is there a way using session control > to modify the expiration date of a cookie? I would

[PHP] cookies

2001-11-27 Thread Urb LeJeune
Speaking of cookies, is there a way using session control to modify the expiration date of a cookie? I would like to add a check box in a login dialog that says "remember me" Thanks Urb -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED]

Re: [PHP] setcookie BUG w/ IE 5.5, 6.0 & Netscape!

2001-11-27 Thread Shane Wright
Oh yeah, about the lifetime of the cookie - with no valid expiry time it is created as a session cookie - which is supposed to only live as long as the browser does. [opening a new independent browser window does not share the session, but window.open() calls do, as do other 'browser created

Re: [PHP] setcookie BUG w/ IE 5.5, 6.0 & Netscape!

2001-11-27 Thread Shane Wright
Hi Kris Thats because you've wrapped the time() call and the addition inside a pair of doublequotes. Remove those and it'll work fine... Regards -- Shane On Saturday 29 Dec 2001 6:35 pm, Kris Wilkinson wrote: > Just recently I've noticed an issue with setcookie. My scripts which > normall r

[PHP] setcookie BUG w/ IE 5.5, 6.0 & Netscape!

2001-11-27 Thread Kris Wilkinson
Just recently I've noticed an issue with setcookie. My scripts which normall ran : setcookie ("myCookie","Blah","time()+7201"); Are killing the cookie immediately after you close the browser window, or access another https:// site. It appears as though the life of the cookie is actually not bein

[PHP] Need advide on partnership agreement for a php application...

2001-11-27 Thread py
Hello, I have an application wich I maintained on my servers (PHP, Apache, MySQL). I have a client that is already using the application trought a secure link directly from his web site. But he would like to have my application update a database directly on his server (Oracle) in order to protect

[PHP] Re: Printing Reports

2001-11-27 Thread Dan Koken
Well I guess it's like most applications. Every print job has it's own special requirements. For example the lab analysis report. When the manufacturing process starts on a liquid process, they request certain samples. Samples consist of lab analysis they should take and how often they should

[PHP] writing text on images

2001-11-27 Thread e c h o p l u s A T w o r k
Hi all, I've stored on a db using blob fields, the content of some image file. Ayones know how to write on these image on fly w/o using the filesystem? I mean: many thanks in advance max -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additio

Re: [PHP] Printing Reports

2001-11-27 Thread Dan Koken
Thanks Dean; I like your idea a lot. They happen to be internet. If you have example code on your solution it would save me some time. Thanks again... I'm gonna try it. Dan... > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: [PHP] Re: Printing Reports

2001-11-27 Thread Miles Thompson
So, is this a system that's being moved from workstations, a desktop interface, to a web-based interface? Do you want a web interface to select printers? Do you want tight formatting control over the report? There are big differences between a 20 pg mfg report, a bill of lading with bar code,

RE: [PHP] Coding methods (was RE: [PHP-DB] gzip image files)

2001-11-27 Thread Jon Haworth
I use the latter style, because otherwise my syntax highlighting doesn't kick in. $filename = "this $varname that"; # $filename is in blue, the rest is in green $filename = "this". $varname. "that"; # $filename and $varname are in blue, the rest is in green I've done it so much

[PHP] Coding methods (was RE: [PHP-DB] gzip image files)

2001-11-27 Thread Boget, Chris
> $filename = 'kunden/'.$name.'.png'; I see this all the time and I'm curious: what takes more computing power (granted, either would be incredibly little I'm sure, just curious which requires more work by PHP)? this: $filename = "this " . $varname . " that"; or this: $filename = "this $varn

RE: [PHP] Printing Reports

2001-11-27 Thread Grimes, Dean
I do this a lot. If you want to use just the browser and server abilities without introducing the complexities of PDF/XML/XSLT and such, it is not too hard. I have done PDF, Standard Text and HTML to the browser and I have printed directly to a printer from the server using PHP. First, is the sit

Re: [PHP] Why doesn't this work? HTTP_USER_AGENT

2001-11-27 Thread Andrey Hristov
$sql = "INSERT INTO table_name(ip,browser,received) VALUES('".mysql_escape_string($ip)."','".mysql_escape_string($browser)."',now())" ; - Original Message - From: "chip" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Tuesday, November 27, 2001 4:39 PM Subject: Re:

Re: [PHP] call php with javascript

2001-11-27 Thread Richard S. Crawford
I don't get what you are trying to do. Does test.php contain JavaScript that you are trying to execute? If so, then test.php should be called test.js, and should look something like this: function (blah) { var foo = blah; document.write(foo); } If test.php is a PHP document

Re: [PHP] error handling and __LINE__

2001-11-27 Thread SafeV
Thanks, assert() is cool, but it still reports the filename and line number of the included file with the function in which the error occurred, not the script that called the functon with illegal arguments. Or...??? Eg.: index.php: This will produce a message saying an error occurred in funct

Re: [PHP] Why doesn't this work? HTTP_USER_AGENT

2001-11-27 Thread chip
This is interesting. I did my testing in Opera 5.05 and it fails to display the page correctly. I then opened Netscape 6.2 and it works fine. Must be a problem with Opera. I also set Opera to identify itself as Netscape and it still failed to load the page. Thanks for the assistance. Chip On M

[PHP] Re: ereg

2001-11-27 Thread lallous
I'm not sure if the ereg supports the inline greedy modifier like: .+? or .*? so: ereg("<\?php.*?\?\>", $html, $phpIncludes); if not use preg_match() instead... "Christoph Starkmann" <[EMAIL PROTECTED]> wrote in message B120D7EC8868D411A63D0050040EDA771118F3@XCHANGE">news:B120D7EC8868D411A63D

[PHP] LDAP server side sorting

2001-11-27 Thread Christos Sintoris
Does anybody know how to call ldap_set_option in order to use server side sorting? using: $sortval="{'cn', 0,1}"; $ctrl1 = array("oid" => "1.2.840.113556.1.4.473", "value" =>$sortval); ldap_set_option($ds, LDAP_OPT_SERVER_CONTROLS, array($ctrl1)); reports success, but ldap_get_option() returns n

[PHP] Re: Printing Reports

2001-11-27 Thread Dan Koken
There are so many reports. The system I have is a manufacturing system, and currently contains some 400 programs. Some examples of reports are: Bill of Lading with bar codes Production reports Management and analysis Labels for lab analysis with bar codes Planning reports Quality assu

RE: [PHP] changing a variable according to the input in a checkbox

2001-11-27 Thread Yoan Bosch [VDB TECH SUPPORT & DEVEL]
Hi I think if you want the user to type in a number, rather use a textbox, not a checkbox ;-)) Then call the textbox "phone" in the form you want the user to fill in, and when submitted, the variable $phone will contain the number he typed in. Then use: $prefix = substr($phone, 0, 3); if (($

Re: [PHP] Printing Reports

2001-11-27 Thread Miles Thompson
What kind of reports? Your question is so general it can't be answered except by saying ... Send the report, to a new browser window if you wish, and then use the browser's controls to print the sucker.Why re-invent what already exists? Miles Thompson At 03:00 AM 11/27/2001 -0800, Dan Koken

Re: [PHP] Question about Linux Rpm

2001-11-27 Thread Michael A. Peters
On Tue, 27 Nov 2001 03:11:42 EST [EMAIL PROTECTED] mentioned: > Hello, I see all the ways to compile the tarball on a raq 3 > for php after one installs freetype/gd and has mysql > > well, what about the rpm? > Since I have mysql installed, after I get gd/freetype up > will the rpm know what to

[PHP] Re:

2001-11-27 Thread bradley j joyner
Warning Unable to process data: multipart/related; type="multipart/alternative"; boundary="_ABC1234567890DEF_"

Re: [PHP] How can i start using templates

2001-11-27 Thread Alexander Deruwe
On Tue, 27 Nov 2001, narko wrote: > How can i start using templates? PHPLib or Smarty come to mind. Search Google. -- Alexander Deruwe ([EMAIL PROTECTED]) AQS-CarControl -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-ma

Re: [PHP] Printing Reports

2001-11-27 Thread Alexander Deruwe
On Tue, 27 Nov 2001, Dan Koken wrote: > As a Newbe to PHP, I need to print reports. One way to do it, I think is use XML/XSL. I have never done it before though (I use PDF's myself, but would like to get away from it).. Could anyone with some real-world experience with this elaborate, please? -

Re: [PHP] How can i start using templates

2001-11-27 Thread Andrey Hristov
First choose one from the amount of the avaible packages for templates: 1)PHPLIB templates 2)Class FastTemplate 3)Smarty Templates(written by two, one of the from Zend) 4)Write your own Regards, Andrey Hristov IcyGEN Corporation http://www.icygen.com BALANCED SOLUTIONS - Original Message --

Re: [PHP] Printing Reports

2001-11-27 Thread B. van Ouwerkerk
>As a Newbe to PHP, I need to print reports. I'd like to stay away from PDF >but will use it if necessary. This really is becoming a faq. A search will come up with more information. Short anwer: You could write the report to the browser, use a new window if you have to. PHP=serverside and can

[PHP] How can i start using templates

2001-11-27 Thread narko
Hi all, How can i start using templates? Thanks, Narko -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

Re: [PHP] Printing Reports

2001-11-27 Thread Valter Santos
what type of reports ??? if you really want to print it using a common printer i suggest that you go for PDF... if your type of reports are server log reports you can use GD or ImageMagick and display it using HTML cheers, Valter Santos - Original Message - From: "Dan Koken" <[EMAIL

[PHP] Re: call php with javascript

2001-11-27 Thread Roko Roic
> i have test.php: > echo "test"; > ?> > > to call this in the html, i use > > > this works fine for IE, but is there an alternative for Netscape to do this? PHP is a server side programming language and it does not execute in the browser. What you are doing here is including php code fragment

[PHP] more complex exec()-problem

2001-11-27 Thread Christian Reiner
Hi everybody, I sent this to the php.windows-group but got no answer, so I'll try again here :-) Since I'm not used to working under Windows-OSes (never really knew why, now I do..) it took me a while to get moving. I put together a small project but now I'm really stuck. Not even reading the

[PHP] call php with javascript

2001-11-27 Thread Bas Jobsen
Hi, i have test.php: to call this in the html, i use this works fine for IE, but is there an alternative for Netscape to do this? Tnx, Bas -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To cont

Re: [PHP] client ip address

2001-11-27 Thread mcsaba
$REMOTE_ADDR PHP Manual, Predefined variables On Tue, 27 Nov 2001, narko wrote: > Hi all > > How can i get client IP address > > thanks, > Narko -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [PHP] Redirect

2001-11-27 Thread mcsaba
Hi. This is HTML: Content=x in seconds bye On Tue, 27 Nov 2001, MindHunter wrote: > Hi, > > As far as I understand "header("Location: next-page.php");" only works on > Apache. What can you do to redirect if you do not have Apache? > > Tx > MH > > > > -- > PHP General Mailing List (http://

[PHP] Printing Reports

2001-11-27 Thread Dan Koken
As a Newbe to PHP, I need to print reports. I'd like to stay away from PDF but will use it if necessary. In general, what seems to be the best way to print reports?? It would be nice when they ask for a report it would brint in the report window that allows them to select the printer, numb

Re: [PHP] Objects and sessions

2001-11-27 Thread Tamas Arpad
On Monday 26 November 2001 23:37, Christopher William Wesley wrote: > On Mon, 26 Nov 2001, Greg Sidelinger wrote: > > Can someone tell me how to store a class in a session var. I > > want to > > There are several things you need to do. > > 1) include the class definition before you do anything >

[PHP] XML Segmentation Fault??

2001-11-27 Thread Chris Hemmings
Hello! This is my first post, so bare with me. I'm trying to use PHP together with some XML files to create an array of elements and values. This, looking at the examples seemed fairly reasonable. After recompiling Apache/PHP using --with-xml everything seems fine. I am using Solaris 2.6, Apa

[PHP] client ip address

2001-11-27 Thread narko
Hi all How can i get client IP address thanks, Narko -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP] set_error_handler in a class

2001-11-27 Thread Holger Schopohl
Hi, how can i set an error handling function in a class? i have tried set_error_handler('myclass->myErrorHandler'); but it doesnt work. Any help? Regards, Holger -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EM

[PHP] Redirect

2001-11-27 Thread MindHunter
Hi, As far as I understand "header("Location: next-page.php");" only works on Apache. What can you do to redirect if you do not have Apache? Tx MH -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] T

Re: [PHP] Extracting data

2001-11-27 Thread Andrey Hristov
Produces : array(2) { [0]=> array(3) { [0]=> string(7) "#@data1" [1]=> string(7) "#@data2" [2]=> string(7) "#@data3" } [1]=> array(3) { [0]=> string(5) "data1" [1]=> string(5) "data2" [2]=> string(5) "data3" } } Best regards, Andrey

[PHP] Extracting data

2001-11-27 Thread Joeri Vankelst
Hi, I'm looking for a way to extract data from a single variable. I'll explain: The variable contains somthing that look like: #@data1#@data2#@data3 What I would like to do is check the data between the #@'s so I can compare data1, 2 and 3 with a another variable. The next this I would like to b

[PHP] Question about Linux Rpm

2001-11-27 Thread Joelmon2001
Hello, I see all the ways to compile the tarball on a raq 3 for php after one installs freetype/gd and has mysql well, what about the rpm? Since I have mysql installed, after I get gd/freetype up will the rpm know what to do to incorporate them? Or would I still have to modify certain files? For

[PHP] New on-line exchange: Yachts & boats for sale or charter, holidays afloat .... 27/11/2001 07:08:52

2001-11-27 Thread The team @ yacht-search.net
If you have any interest in yachting, boats, sailing or holidays afloat... Visit >> www.yacht-search.net << the new international boat & yacht charter & sales system - FREE OF CHARGE FOR ALL USERS... Free advertising or enquires using $1.5 Million USD (£1M) of technology! > CREATING NEW M