Re: [PHP] Bison and Flex required to install PHP?

2004-03-30 Thread Terence
nope, just untarred and ran ./configure. not to worry, installed flex and bison and it's okay. the GD version reporting still puzzling me, and from what i've seen on a few messageboards, i'm not alone :) thanks - Original Message - From: "Evan Nemerson" <[EMAIL PROTECTED]> To: "Terence"

RE: [PHP] Having trouble formatting width using printf() and defa ult spaces

2004-03-30 Thread Martin Towell
spaces in HTML are collapsed to a single space, that why you only see the numbers seperated by a single space. doesn't look like you can use printf() directly to use   as the space character, however, you can use sprintf() and str_replace() together to do the same effect. Try this: echo str_

[PHP] Re: Having trouble formatting width using printf() and default spaces

2004-03-30 Thread David Robley
[EMAIL PROTECTED] (David Scott) wrote in news:[EMAIL PROTECTED]: > I tried your method and it's a nice variation, though it leaves me with > two issues: > > 1. I'd like the numbers to be right-aligned. > 2. I'd still like to understand why the default padding of spaces isn't > working for prin

[PHP] Re: Having trouble formatting width using printf() and default spaces

2004-03-30 Thread David Scott
I tried your method and it's a nice variation, though it leaves me with two issues: 1. I'd like the numbers to be right-aligned. 2. I'd still like to understand why the default padding of spaces isn't working for printf(). If I could get printf() to pad with spaces, it would be exactly what I'm

Re: [PHP] PHP Seg Faults, How to Trackdown?

2004-03-30 Thread Tim Schaab
Howdy, I tried the suggestion, though I had to load up some extra files to get it to work. I had to do a LD_PRELOAD="/lib/i686/libc.so.6 /lib/i686/libm.so.6 /lib/i686/libpthread.so.0" /lib/i686/libpthread.so.0 had to be in since /lib/tls/libpthread.so.0 would not load when /lib/i686/libc

Re: [PHP] SNMP PLEASE HELPP!!!!!!!!!!

2004-03-30 Thread Ray Hunter
On Tue, 2004-03-30 at 13:17, Victor wrote: > $a = snmpwalk("216.18.74.170", "public", ""); > > > for($i=0; $i<551; $i++) > { >print $a[$i]; >print ""; > } > ?> This is my code and i recieve a huge list. Some of it i understand but > i can't understand the OID part and all the ip

Re: [PHP] .doc file

2004-03-30 Thread David T-G
Tony, et al -- ...and then Anthony Ritter said... % % Greets, % I've been able to open a remote URL, read it and then lop off everything % except the last line and break it into an array with its' tabs - /t . Good enough. % % The data will then be inserted into a table. % % However, the foll

Re: [PHP] Bison and Flex required to install PHP?

2004-03-30 Thread Evan Nemerson
On Tuesday 30 March 2004 06:08 pm, Terence wrote: > checking lex output file root... ./configure: line 2425: lex: command not > found > configure: error: cannot find output from lex; giving up > > and from a search on Yahoo!: > > http://www.madpenguin.org/modules.php?op=modload&name=NS-Comments&fil

[PHP] SNMP PLEASE HELPP!!!!!!!!!!

2004-03-30 Thread Victor
"; } ?> This is my code and i recieve a huge list. Some of it i understand but i can't understand the OID part and all the ips there. Can you please help me Thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] running php in sequence

2004-03-30 Thread Robby Russell
Edward Peloke typed this on 03/31/2004 08:11 AM: I am using php in combination with ant to create a small automated build process. Will php run sequentially? What I mean is I have a series of modules or tasks: Example: //check out files include("modules/checkout.php") //zip up the files include (

[PHP] PEAR::SOAP

2004-03-30 Thread Robby Russell
I am trying to debug some xml issues with a SOAP/Client-based script. $sc = new SOAP_Client(...); is there a way to display the XML it attempts to send the server when I perform a $sc->call(...) *back to his google searches* -- Robby Russell, | Sr. Administrator / Lead Programmer Command

Re: [PHP] Interesting phpversion() thing.

2004-03-30 Thread Curt Zirzow
* Thus wrote Axel IS Main ([EMAIL PROTECTED]): > I just upgraded to 4.3.5. I double checked and made sure I put > everything in the right place. If I run php or php-cli from the command > line and the script has phpversion() in it, it returns the correct > string, i.e. 4.3.5. If, however, I pull

Re: [PHP] File Download link not working in PHP 4.3.4

2004-03-30 Thread Curt Zirzow
* Thus wrote Andrew Hauger ([EMAIL PROTECTED]): > the file name. When the "OK" button is clicked, an > error dialog pops up with the message "Internet > Explorer cannot download ... [snipped URL]. Internet > Explorer was not able to open this Internet site. The > requested site is either unavailabl

[PHP] Interesting phpversion() thing.

2004-03-30 Thread Axel IS Main
I just upgraded to 4.3.5. I double checked and made sure I put everything in the right place. If I run php or php-cli from the command line and the script has phpversion() in it, it returns the correct string, i.e. 4.3.5. If, however, I pull the same script up in a browser it gives me 4.3.4. I'

Re: [PHP] Re: Really Annoying Require/Include Error

2004-03-30 Thread Curt Zirzow
* Thus wrote Mike R ([EMAIL PROTECTED]): > > > > -Original Message- > > > > I am getting this error: > > > > > > > > > > > > Fatal error: Failed opening required > > > '/home/sites/site111/web/news/settings/newsletter.settings.inc.php' > > > (include_path='') in > > > /home/sites/site111

[PHP] Bison and Flex required to install PHP?

2004-03-30 Thread Terence
checking lex output file root... ./configure: line 2425: lex: command not found configure: error: cannot find output from lex; giving up and from a search on Yahoo!: http://www.madpenguin.org/modules.php?op=modload&name=NS-Comments&file=index&req=showreply&tid=1522&sid=751&pid=1520&mode=&order=&t

[PHP] Re: .doc file

2004-03-30 Thread Jason Barnett
Since those figures change _daily_ on their site, I was hoping for a way to open the file, read it, adjust the format by lopping off the last line into an array and writing those values into a table - _without manually copying and pasting the data each day into a .txt file_. Whoops, it's getting pa

[PHP] Re: .doc file

2004-03-30 Thread Anthony Ritter
Jason Barnett" <[EMAIL PROTECTED]> wrote in message: > Actually, why don't you just use plain text like this. Sheesh, > sometimes I forget the easy answer :) .. Jason, Thanks for the reply. Since those figures change _daily_ on their site, I was hoping for a way to open the file, re

Re: [PHP] mysql - can't use the copy/paste function

2004-03-30 Thread Richard Davey
Hello, Wednesday, March 31, 2004, 1:43:17 AM, you wrote: F> When using the dos window command line for mysql commands F> everything works fine except if I try to use the paste function to F> paste pre-typed commands, the window freezes. This is F> aaannnoooyyyiiinnnggg. Get yourself a copy of My

[PHP] mysql - can't use the copy/paste function

2004-03-30 Thread Five
Windows 98 se When using the dos window command line for mysql commands everything works fine except if I try to use the paste function to paste pre-typed commands, the window freezes. This is aaannnoooyyyiiinnnggg. advance thanks Dale -- PHP General Mailing List (http://www.php.net/) To unsub

[PHP] Re: .doc file

2004-03-30 Thread Jason Barnett
Actually, why don't you just use plain text like this. Sheesh, sometimes I forget the easy answer :) STORAGE – The actual combined contents for the New York City Reservoirs in the Delaware River Basin – for December 1, 2003-March 29, 2004. Date Pepacton Cannon. Never. Actual Drought

[PHP] Re: .doc file

2004-03-30 Thread Jason Barnett
Anthony Ritter wrote: Greets, I've been able to open a remote URL, read it and then lop off everything except the last line and break it into an array with its' tabs - /t . The data will then be inserted into a table. However, the following URL shows reservoir storage and is a .doc file. I am un

[PHP] Re: imagecreatefromjpeg

2004-03-30 Thread Jason Barnett
From http://www.php.net/manual/en/function.imagecreatefromjpeg.php To all those having trouble with a message to the effect of: CreateImageFromJpeg() not supported in this PHP build Start by adding --with-jpeg-dir to your ./configure options as I left this out (not knowing I needed it) and I spen

[PHP] .doc file

2004-03-30 Thread Anthony Ritter
Greets, I've been able to open a remote URL, read it and then lop off everything except the last line and break it into an array with its' tabs - /t . The data will then be inserted into a table. However, the following URL shows reservoir storage and is a .doc file. I am unable to run the same s

[PHP] Re: imagecreatefromjpeg

2004-03-30 Thread Jason Barnett
Bruno Santos wrote: Hello all. Im developing a page, and need to create a thumb of some images. i've compiled PHP 4.3.5 with the built-in support of GD, even having installed the GD library. the problem is that i call the imagecreatefromjpeg function, and PHP returns a fatal error when in run

[PHP] Re: Having trouble formatting width using printf() and default spaces

2004-03-30 Thread Jason Barnett
David Scott wrote: I'm using a for() loop to generate random die rolls. I'd like the numbers to be formatted in a grid. In a grid... like an HTML table? You could something like: $row = 20; $col = 5; echo ''; for ($i = 1; $i < $row; $i++) { echo ''; for ($j = 1; $j < $col; $j++) {

Re: [PHP] PHP Seg Faults, How to Trackdown?

2004-03-30 Thread Rasmus Lerdorf
3 of those are putenv() crashes. Whenever I see that I always think thread safety issues. In your case you are linking against the NTPL-aware libc on Redhat (/lib/tls/libc.so.6). Could you try doing this: LD_PRELOAD=/lib/i686/libc.so.6 in your Apache startup script and let me know if it s

RE: [PHP] Extracting Output from File...

2004-03-30 Thread Martin Towell
You should be able to use any of the file commands. eg. $contents = file("http://www.myserver.com/outputpage.php";); fopen(), etc should all work too. Martin > -Original Message- > From: Russell P Jones [mailto:[EMAIL PROTECTED] > Sent: Wednesday, 31 March 2004 9:25 AM > To: [EMAIL PROT

[PHP] Extracting Output from File...

2004-03-30 Thread Russell P Jones
Basically there is a php page... lets say http://www.myserver.com/outputpage.php that picks up some info from a database and echos it out as plain text to the browser. I want to use php in a different file to go pick up whatever is printed out to that file and save it to a variable.. basically

Re: [PHP] Re: TUX web server replacement

2004-03-30 Thread Manuel Lemos
Hello, On 03/30/2004 07:55 PM, William Lovaton wrote: Well, I'am aware of that but the application is already made and it is big and development continue, so change it will be a huge task and we have no resources available for it. Tux used to perform very well here, but unfortunatelly there is no

Re: [PHP] Re: TUX web server replacement

2004-03-30 Thread William Lovaton
Hi Manuel, El mar, 30-03-2004 a las 17:38, Manuel Lemos escribió: > Hello, > > On 03/30/2004 09:38 AM, William Lovaton wrote: > > Well, I'am aware of that but the application is already made and it is > > big and development continue, so change it will be a huge task and we > > have no resources

[PHP] Having trouble formatting width using printf() and default spaces

2004-03-30 Thread David Scott
I'm using a for() loop to generate random die rolls. I'd like the numbers to be formatted in a grid. for ($i = 0; $i < 100; $i++) { if (!($i % 5)) { print(""); } printf("%'.10u", rand(1,$sides)); } Currently, I'm padding with '.', but I'd like to pad with t

[PHP] imagecreatefromjpeg

2004-03-30 Thread Bruno Santos
Hello all. Im developing a page, and need to create a thumb of some images. i've compiled PHP 4.3.5 with the built-in support of GD, even having installed the GD library. the problem is that i call the imagecreatefromjpeg function, and PHP returns a fatal error when in run time i've even

Re: [PHP] Re: TUX web server replacement

2004-03-30 Thread Manuel Lemos
Hello, On 03/30/2004 09:38 AM, William Lovaton wrote: Well, I'am aware of that but the application is already made and it is big and development continue, so change it will be a huge task and we have no resources available for it. Tux used to perform very well here, but unfortunatelly there is no

Re[2]: [PHP] Really Annoying Require/Include Error

2004-03-30 Thread Richard Davey
Hello James, Tuesday, March 30, 2004, 7:37:33 PM, you wrote: JEHI> so PHP is looking for your require file in this directory. JEHI> /home/sites/site111/web/news/forms/home/sites/site111/web/news/forms/ Sorry, but I don't believe it is. The leading slash dictates from the system level root, regar

Re: [PHP] ocilogon

2004-03-30 Thread Adam Williams
Hi, I figured out what was wrong, I had php_oci8.dll uncommented in php.ini but not php_oracle.dll. Fixed that and now I get an ORA-12705 error, which looking on google has something to do with NLS. Going to do more reading, thanks :) -- PHP General Mailing List (http://www.php.net/) To unsu

[PHP] File Download link not working in PHP 4.3.4

2004-03-30 Thread Andrew Hauger
I have a script that dynamically generates a CSV file for downloading to MS Excel. The script works fine in PHP 4.3.3 on a Windows machine using Apache 2, and the exact same script does not work in PHP 4.3.4 on Solaris 9 using Apache 1.3.29. A script with essentially the same header commands works

Re: [PHP] ocilogon

2004-03-30 Thread Adam Williams
Hi, I have the client libraries on the computer I have PHP on. My connect line is $conn = ocilogon("user","pw","zed.aleph0"); and I can connect usning sqlplus. When I look at the listener log, it doesn't show my computer with PHP on it trying to connect using PHP, but when I tnsping zed.aleph

[PHP] Re: ocilogon

2004-03-30 Thread Justin Patrin
Adam Williams wrote: Hi, what is the syntax for using ocilogon() to connect to a remote server? The remote server's name is zed.mdah.state.ms.us (ip is 10.8.5.4) and the database is zed.aleph0. Locally on zed I can do ociogon("user","pw","zed.alpeh0") and connect fine, but on a remote server

Re: [PHP] TUX web server replacement

2004-03-30 Thread William Lovaton
Hi Alister, Thanx for the links and the example. This link is very useful too: [] http://ftp.ucr.ac.cr/solrhe/chap28sec231.html I have it working now with good results. Regards, -William El mar, 30-03-2004 a las 16:35, Alister escribió: > On 29 Mar 2004 15:28:38 -0500 > William Lovaton <[EM

Re: [PHP] ocilogon

2004-03-30 Thread William Lovaton
You need the Oracle cliente libraries installed where you have PHP for this to work. the third parameter in OCILogon() is the connection string configured in tnsnames.ora ($ORACLE_HOME/network/admin) Let's say that you make connection to Oracle using sqlplus: User: scott pass: tiger dbstring: tes

[PHP] Re: ocilogon

2004-03-30 Thread Jason Barnett
Adam Williams wrote: Hi, what is the syntax for using ocilogon() to connect to a remote server? The remote server's name is zed.mdah.state.ms.us (ip is 10.8.5.4) and the database is zed.aleph0. Locally on zed I can do ociogon("user","pw","zed.alpeh0") and connect fine, but on a remote server

[PHP] ocilogon

2004-03-30 Thread Adam Williams
Hi, what is the syntax for using ocilogon() to connect to a remote server? The remote server's name is zed.mdah.state.ms.us (ip is 10.8.5.4) and the database is zed.aleph0. Locally on zed I can do ociogon("user","pw","zed.alpeh0") and connect fine, but on a remote server I try ociogon("user",

Re: [PHP] PHP alternative to Browser Hawk?

2004-03-30 Thread Matt Matijevich
Does anyone know of a good solid PHP alternative to the very good (but very expensive!) BrowserHawk? (http://www.cyscape.com/) Dont know if this has all of the features you are looking for, but it has a bunch of them http://phpsniff.sourceforge.net/ -- PHP General Mailing List (http://www.php

[PHP] PHP Seg Faults, How to Trackdown?

2004-03-30 Thread Tim Schaab
Greetings, I need help tracking down a crash in PHP. I have not been able to work out a test case where it will crash reliably, so I have been hesitant to fill out a bug report. Here's the kit I have running: PHP4 - Latest Stable Snapshot as of 30/Mar/2004 12:18 Apache - 1.3.29 mod_ssl - 2.8.

RE: [PHP] Re: multi-dimentional array from db results

2004-03-30 Thread motorpsychkill
> -Original Message- > From: Jason Barnett [mailto:[EMAIL PROTECTED] > Sent: Tuesday, March 30, 2004 11:41 AM > To: [EMAIL PROTECTED] > Subject: [PHP] Re: multi-dimentional array from db results > > > Motorpsychkill wrote: > > > I'm trying to re-create the following multi-dimentional a

[PHP] Re: multi-dimentional array from db results

2004-03-30 Thread Jason Barnett
Motorpsychkill wrote: I'm trying to re-create the following multi-dimentional array from a database query, where the indices 5, 7 and 21 are "order_id" and my table is food_orders(order_id, food, cooked): array('steak','rare'), 7=>array('burger','medium'),

[PHP] Re: PHP alternative to Browser Hawk?

2004-03-30 Thread Kim Steinhaug
Well, youre probably looking for the full monty, all I got is this to help you out. Its only some detection schemes for the browser. There is another really cool browser detection available aswell from dynamicdrive.com developed by brothercake. This javascript is really good and is actively develop

[PHP] multi-dimentional array from db results

2004-03-30 Thread motorpsychkill
I'm trying to re-create the following multi-dimentional array from a database query, where the indices 5, 7 and 21 are "order_id" and my table is food_orders(order_id, food, cooked): array('steak','rare'), 7=>array('burger','medium'), 21=>array('la

RE: [PHP] blocking warning: Warning: fclose()

2004-03-30 Thread Rick Fletcher
> The problem is when the query does not succeed it outputs this: > > Warning: fclose(): supplied argument is not a valid stream > resource in c:\php\www\test-scripts\index.php on line 42 > > is there any way to "block" just this warning while keeping > all other error handling as is? Yes, the

[PHP] Re: web statistics

2004-03-30 Thread Kim Steinhaug
Hmm.. Several good sollutions out there, but if you are looking for some of the best you might look into Deepmetrix LiveStats. This has to be the best system Ive come across. http://www.deepmetrix.com/ Then again if money is a factor, you might look for other sollutions like aw-stats, which I wo

RE: [PHP] OT- Namespaces in PHP

2004-03-30 Thread Justin Palmer
Wow this post has really stirred up the pot. Regards, Justin Palmer -Original Message- From: Justin Patrin [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 30, 2004 10:29 AM To: [EMAIL PROTECTED] Subject: Re: [PHP] Namespaces in PHP Jason Barnett wrote: > Richard Davey wrote: > >> He

[PHP] Re: blocking warning: Warning: fclose()

2004-03-30 Thread Justin Patrin
Ryan A wrote: Hi, I am using fopen to query my site from the clients site and then display the output of the query. The problem is when the query does not succeed it outputs this: Warning: fclose(): supplied argument is not a valid stream resource in c:\php\www\test-scripts\index.php on line 42 is

Re: [PHP] Really Annoying Require/Include Error

2004-03-30 Thread James E Hicks III
On Tuesday 30 March 2004 12:33 pm, Mike R wrote: > I am getting this error: You came to the right place. > Fatal error: Failed opening required > '/home/sites/site111/web/news/settings/newsletter.settings.inc.php' > (include_path='') in include_path='' says that your php.ini does not have default

[PHP] blocking warning: Warning: fclose()

2004-03-30 Thread Ryan A
Hi, I am using fopen to query my site from the clients site and then display the output of the query. The problem is when the query does not succeed it outputs this: Warning: fclose(): supplied argument is not a valid stream resource in c:\php\www\test-scripts\index.php on line 42 is there any wa

Re: [PHP] Namespaces in PHP

2004-03-30 Thread Justin Patrin
Jason Barnett wrote: Richard Davey wrote: Hello Justin, Tuesday, March 30, 2004, 6:27:20 PM, you wrote: JP> I also have no idea what Agent 2 is It's a Windows based news-reader (the free version is called FreeAgent) - think tin with knobs on. Oh and to the OP: Agent 2 is OUT and available,

Re[2]: [PHP] Namespaces in PHP

2004-03-30 Thread Richard Davey
Hello Jason, Tuesday, March 30, 2004, 7:23:27 PM, you wrote: JB> I can understand personal preferences, but I can tell you that I'm using JB> Thunderbird right now on my windows laptop to post to this newsgroup :) And I'm using The Bat! (email client) :) Each to their own, aye? In all fairness,

Re: [PHP] Re: Really Annoying Require/Include Error

2004-03-30 Thread Jason Barnett
Fatal error: Failed opening required '/home/sites/site111/web/news/settings/newsletter.settings.inc.php' (include_path='') in /home/sites/site111/web/news/forms/sign_in_out_form.inc.php on line 7 From this piece of code: require ("/home/sites/site111/web/news/settings/newsletter.settings.inc.php")

Re: [PHP] Namespaces in PHP

2004-03-30 Thread Jason Barnett
Richard Davey wrote: Hello Justin, Tuesday, March 30, 2004, 6:27:20 PM, you wrote: JP> I also have no idea what Agent 2 is It's a Windows based news-reader (the free version is called FreeAgent) - think tin with knobs on. Oh and to the OP: Agent 2 is OUT and available, has been for a short

Re: [PHP] Re: Really Annoying Require/Include Error

2004-03-30 Thread Jason Barnett
Yes, Linux. I checked the permission - set the whole directory to 777, no change in the problem. Is there anything in the compiling of php or ini settings that would affect include or require statements? :) Thanks, -Mike OK, try setting the error_reporting = E_ALL, and just try to execute /ho

[PHP] PHP alternative to Browser Hawk?

2004-03-30 Thread Richard Davey
Hi all, Does anyone know of a good solid PHP alternative to the very good (but very expensive!) BrowserHawk? (http://www.cyscape.com/) It's basically a very well featured browser detection script that can pull out the full monty, from Flash/PDF support to supported SSL key sizes. -- Best regard

RE: [PHP] Re: Really Annoying Require/Include Error

2004-03-30 Thread Mike R
> -Original Message- > > I am getting this error: > > > > > > > > Fatal error: Failed opening required > > '/home/sites/site111/web/news/settings/newsletter.settings.inc.php' > > (include_path='') in > > /home/sites/site111/web/news/forms/sign_in_out_form.inc.php on line 7 > > > > > > Fr

RE: [PHP] web statistics

2004-03-30 Thread Jay Blanchard
[snip] Does any one knows of a good gnu php web statistics software? [/snip] [smart-ass alert] Yes and no depending on your definition of good. [/smart-ass alert] What kind of features are you looking for? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.ne

[PHP] web statistics

2004-03-30 Thread Elliot J. Balanza
Does any one knows of a good gnu php web statistics software? Thanks. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Really Annoying Require/Include Error

2004-03-30 Thread Jason Barnett
Mike R wrote: I am getting this error: Fatal error: Failed opening required '/home/sites/site111/web/news/settings/newsletter.settings.inc.php' (include_path='') in /home/sites/site111/web/news/forms/sign_in_out_form.inc.php on line 7 From this piece of code: require ("/home/sites/site111/web/

Re: [PHP] Really Annoying Require/Include Error

2004-03-30 Thread Chris Boget
> Nothing visibly wrong with your code or path, so time to look "out of > the box" and instead focus on the newsletter.settings.inc.php file - > could there be a syntax error (or similar) in there causing this? Swap > the file for one that does nothing but echo out "included" and see > what happens

Re: [PHP] Really Annoying Require/Include Error

2004-03-30 Thread Richard Davey
Hello Mike, Tuesday, March 30, 2004, 6:33:46 PM, you wrote: MR> require MR> ("/home/sites/site111/web/news/settings/newsletter.settings.inc.php"); MR> Before I totally lose my mind, can someone point out to me why I would be MR> getting the error? The file is there, and named correctly. I had

[PHP] Really Annoying Require/Include Error

2004-03-30 Thread Mike R
I am getting this error: Fatal error: Failed opening required '/home/sites/site111/web/news/settings/newsletter.settings.inc.php' (include_path='') in /home/sites/site111/web/news/forms/sign_in_out_form.inc.php on line 7 >From this piece of code: require ("/home/sites/site111/web/news/settin

Re[2]: [PHP] Namespaces in PHP

2004-03-30 Thread Richard Davey
Hello Justin, Tuesday, March 30, 2004, 6:27:20 PM, you wrote: JP> I also have no idea what Agent 2 is It's a Windows based news-reader (the free version is called FreeAgent) - think tin with knobs on. Oh and to the OP: Agent 2 is OUT and available, has been for a short while now -- Best r

Re: [PHP] Namespaces in PHP

2004-03-30 Thread Justin Patrin
-{ Rene Brehmer }- wrote: At 00:59 30-03-2004, Justin Patrin wrote: Richard Davey wrote: Hello Justin, Tuesday, March 30, 2004, 12:42:12 AM, you wrote: JP> P.S. Why do a lot of people email off list? I get doubles. They are too lazy to remove your email when doing a reply-to-all basically. Mor

[PHP] Re: [PHP-WIN] ASP.NET web control in PHP?

2004-03-30 Thread Ignatius Reilly
Check the PEAR library, especially: - Quickform - Quickform Controller - Datagrid and many other nice things _ - Original Message - From: "Bill" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Tuesday, March 30, 2004 7:04 PM Subject: [PHP-WIN]

[PHP] ASP.NET web control in PHP?

2004-03-30 Thread Bill
Dear All, I've a few months of experience in PHP programming. I'd like to know whether PHP has anything similar to the web control in ASP.NET? I found that ASP.NET is really handy when creating GUI for web applications. The web controls are quite easy to use and I like the DataGrid in ASP.NE

[PHP] Re: running php in sequence

2004-03-30 Thread Jason Barnett
I am using php in combination with ant to create a small automated build process. Will php run sequentially? What I mean is I have a series of modules or tasks: Example: //check out files include("modules/checkout.php") //zip up the files include ("modules/zip.php") etc Will php wait to execute

Re: [PHP] running php in sequence

2004-03-30 Thread Ben Joyce
I'd recommend that you build a set of functions (or a class) to do your bits and pieces, rather than include blocks of code. That way you can ZIP depending on the outcome of your CHECKOUT code. function checkoutStuff() { //if checkout code executes ok return true; } if(checkoutStuff()) {

[PHP] Re: Grabbing the STDOUT

2004-03-30 Thread Jason Barnett
Brent Clark wrote: Hi all Ive been try for sometime now, and too tried googling for an answer, to grab the STDOUT of a command. In this case the binary command is readbar The general output of readbar executed on its own is as so: Code 39->10005802 IATA 2 of 5->2 IATA 2 of 5->8 1

[PHP] Re: Simple one I think

2004-03-30 Thread Ben Ramsey
DC> Thanks for the help but adding curly dose not seem to work. DC> Any ideas why ? DC> DC>>> I get and output of [0][0][0][1][1][1][2][2][2] why ? DC> BR>> Try putting curly braces around your variables. Like this: BR>> BR>> {$val[name][$i]} Please reply to the list so that others can help you ou

[PHP] running php in sequence

2004-03-30 Thread Edward Peloke
I am using php in combination with ant to create a small automated build process. Will php run sequentially? What I mean is I have a series of modules or tasks: Example: //check out files include("modules/checkout.php") //zip up the files include ("modules/zip.php") etc Will php wait to execu

[PHP] Grabbing the STDOUT

2004-03-30 Thread Brent Clark
Hi all Ive been try for sometime now, and too tried googling for an answer, to grab the STDOUT of a command. In this case the binary command is readbar The general output of readbar executed on its own is as so: Code 39->10005802 IATA 2 of 5->2 IATA 2 of 5->8 1 barcodes found I b

[PHP] Re: parsing entities

2004-03-30 Thread Jason Barnett
First of all, if you have the option to upgrade you might want to check out PHP5. SimpleXML really makes it easy to parse xml files. If PHP4 is your platform of choice, check out PEAR's XML_Parser package. The entities can't be handle with xml_set_default_handler because some entities are ins

RE: [PHP] Passing values to PHP

2004-03-30 Thread Vishal Patel
Try this: extract($_POST); extract -- Import variables into the current symbol table from an array All of my forms have worked without $_POST or $_GET. Is there a reason for inavailability of variables??? Its a good practice to use $_POST for security reasons. Vishal. -Original Message--

Re: [PHP] Passing values to PHP

2004-03-30 Thread Burhan Khalid
Ciemny, Jessica wrote: Hey every, I'm new to the group and to PHP (3 days now) and I would like to ask a question. I purchased a book on PHP a day or so ago and as I'm going through the book it comes to a point where it talks about passing html form values to PHP. So I type up the examples from the

Re: [PHP] Checking if a website is up?

2004-03-30 Thread Curt Zirzow
* Thus wrote Henry Grech-Cini ([EMAIL PROTECTED]): > Hi All, > > I am trying to check if a website is up (reachable) and I have used the > standard code below: > >else >{ >fwrite ($socket, "HEAD ".$documentpath." HTTP/1.0\r\nHost: > $host\r\n\r\n"); >$http_

RE: [PHP] Passing values to PHP

2004-03-30 Thread Jay Blanchard
[snip] Anyone have any ideas as to what's up. I hope its just something silly that I'm missing being a newby to PHP and all. [/snip] There is a feature in the php.ini called register_globals. If you look in your php.ini you will see that it is off by default and some of the books may have missed t

[PHP] Passing values to PHP

2004-03-30 Thread Ciemny, Jessica
Hey every, I'm new to the group and to PHP (3 days now) and I would like to ask a question. I purchased a book on PHP a day or so ago and as I'm going through the book it comes to a point where it talks about passing html form values to PHP. So I type up the examples from the book, both the html fi

Re: [PHP] Re: passing a variable value of PHP into the alert of

2004-03-30 Thread Jason Barnett
Prabu Subroto wrote: Akh... thank you my friend It's solved. May I ask another question? Can I call a function of PHP code from HTML tag just the same as I call a function of JavaScript from HTML tag? I meant, Like this "CustID"; Well, what do you mean exactly? If your file is a php file y

[PHP] parsing entities

2004-03-30 Thread Decapode Azur
hello, I am parsing an xhtml template throught the php xml expat parser. But the problem is that it removes all entities from the xhtml template such as   or & (in href anchors attributes) The entities can't be handle with xml_set_default_handler because some entities are inside an attribute (ti

Re: [PHP] upload file

2004-03-30 Thread Raditha Dissanayake
Marek Kilimajer wrote: Ketvin wrote: Dear list, I'm using squirrelmail php as my webmail interface, my php.ini have the option of upload_max_filesize = 10M but i'm having problem for adding attachment more than 400k, where the page will hang. is there any recommended things for me to check?

Re: [PHP] How to send SMS

2004-03-30 Thread Raditha Dissanayake
How to send sms with PHP and Mysql and mobil phone Nokia 5110? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php kannel.org Been out of touch with the list for a while. SO please accept my appologies if someone has already pointed thi

Re[2]: [PHP] Re: passing a variable value of PHP into the alert of JavaScript.

2004-03-30 Thread Richard Davey
Hello Prabu, Tuesday, March 30, 2004, 3:18:09 PM, you wrote: PS> Can I call a function of PHP code from HTML tag just the same PS> as I call a function of JavaScript from HTML tag? PS> I meant, Like this "CustID"; No, but it'd be lovely if you could :) (Actually the .NET framework allows this v

Re: [PHP] Re: passing a variable value of PHP into the alert of JavaScript.

2004-03-30 Thread Prabu Subroto
Akh... thank you my friend It's solved. May I ask another question? Can I call a function of PHP code from HTML tag just the same as I call a function of JavaScript from HTML tag? I meant, Like this "CustID"; - Original Message - From: Jason Barnett <[EMAIL PROTECTED]> Date: Tue, 30

Re: [PHP] PHP charset encoding

2004-03-30 Thread Rob Ellis
On Tue, Mar 30, 2004 at 11:23:03AM +0300, nabil wrote: > Hi all, > > I have problem storing the submitted data in the database in the right > encoding. > I need to use UTF-8 > > I need to save the Arabic text in UTF-8 encoding. > > I have a problem with UTF-8 and windows-1256 conversion. > I wis

[PHP] Re: passing a variable value of PHP into the alert of JavaScript.

2004-03-30 Thread Jason Barnett
Prabu Subroto wrote: Dear my friends... I want to make an alert which can display a value from the database. I am meaning : how can I pass a value of a variable from PHP into JavaScript alert ( alert("$Firstname, $LastName and $Address"); Is it possible? Sure. Probably the easiest way I can thin

[PHP] passing a variable value of PHP into the alert of JavaScript.

2004-03-30 Thread Prabu Subroto
Dear my friends... I want to make an alert which can display a value from the database. I am meaning : how can I pass a value of a variable from PHP into JavaScript alert ( alert("$Firstname, $LastName and $Address"); Is it possible? -- __

Re: [PHP] Re: TUX web server replacement

2004-03-30 Thread William Lovaton
Hi Manuel, Well, I'am aware of that but the application is already made and it is big and development continue, so change it will be a huge task and we have no resources available for it. Tux used to perform very well here, but unfortunatelly there is no other user space competitor that offers th

Re: [PHP] upload file

2004-03-30 Thread Marek Kilimajer
Ketvin wrote: Dear list, I'm using squirrelmail php as my webmail interface, my php.ini have the option of upload_max_filesize = 10M but i'm having problem for adding attachment more than 400k, where the page will hang. is there any recommended things for me to check? post_max_size, max_inp

[PHP] Re: describe.php - PHP Extensions, Classes, Objects and Functions

2004-03-30 Thread Jason Barnett
Darnit... I forgot I changed the error handler in my own scripts. Use this instead, sorry for posting bad code the first time around: /** * This is a class that can be used to describe classes, objects, methods, * functions, parameters, properties, and even extensions. * Example usage: *

[PHP] describe.php - PHP Extensions, Classes, Objects and Functions

2004-03-30 Thread Jason Barnett
I just sent this to one person and realized that others might find this useful. This code will ONLY work for PHP 5, comments are in the code. /** * This is a class that can be used to describe classes, objects, methods, * functions, parameters, properties, and even extensions. * Example usa

RE: [PHP] Namespaces in PHP

2004-03-30 Thread Robert Cummings
On Mon, 2004-03-29 at 23:10, Justin Palmer wrote: > Hey listen Rob, > > I was not trying to give you a hard time (or split hairs). In fact I am > grateful for your answer and your want to explain even more in depth > than some of the one line answers on the list. The reason that I was > splittin

Re: [PHP] Crash in PHP5RC1 but can't find where

2004-03-30 Thread Red Wingate
Maybe give it a try, haven't much time to do so at the moment, took me about 4 hours to find the problem that caused the crashing of my code and build those reproduction code :-) http://download.erisx.de/crash.txt Maybe try adding other test-cases and see wether it crashes or not if it does then

Re: [PHP] Crash in PHP5RC1 but can't find where

2004-03-30 Thread Jason Barnett
Red Wingate wrote: Hi David, same thing i reported to the PHP-DEV List some time ago ( before RC1 was released ). The problem is the Win32/Apache2 Combination you are using. I am using the same setup as well, if any of you find a solution to this I would appreciate hearing about it. I've notice

  1   2   >