[PHP] directory listing

2003-01-09 Thread Ale Lonar
Hi! I have one question. How can I get sorted listing of a direcorty with readdir function? Is this possible or I have to write custom function using array function sort? TNX LP, AlesL -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] proc_open() problems

2003-01-09 Thread Jean-Christian Imbeault
I've written a script that uses proc_open() to call and external program and capture it's output. My script works fine as long as I call/use it in the directory where it resides. But if I try to include() it in a script that resides in another folder proc_open() return an exit value of 255. I

[PHP] string prints out as number (E+10...), why?

2003-01-09 Thread Jean-Christian Imbeault
I'm passing a var into a function which is a 16 digit number, but when I try to print it out I get 1.111E+15 instead of the expected 11. Why? How can I change this behaviour? Jc -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] Segmentation fault and var_dump()

2003-01-09 Thread Jason Wong
On Thursday 09 January 2003 05:59, Rob Brandt wrote: What is wrong? It only does this when the var_dump() is present; comment it out and there is no segmentation fault (but the script still doesn't work right). With it present, the seg faults every time. You can try using print_r() instead

Re: [PHP] directory listing

2003-01-09 Thread Jason Wong
On Thursday 09 January 2003 16:29, Ale Lonar wrote: Hi! I have one question. How can I get sorted listing of a direcorty with readdir function? Is this possible No, not with readdir() on its own. or I have to write custom function using array function sort? Yes, that is what you would

[PHP] output of calling grep lr

2003-01-09 Thread Martin Hudec
Hello all, i am executing grep command from php to get listing of files containing searched phrase i am getting output like this: a/x.txt a/y.txt b/z.txt I am unable to find any way to replace spaces for \n character using ereg_replace(), I tried to replace / instead and it replaced it in

[PHP] Re: output of calling grep lr

2003-01-09 Thread Jean-Christian Imbeault
If this is for output to a web browser you can use nl2br to changed all the line-breaks to BR's ... Jc -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: fast template over xsl

2003-01-09 Thread rush
Electroteque [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... hi i am considering the move from fast template to xslt , is there any benifits for this ? also is there a way to intergrate xsl like fast template ie parse rows in the php script In my (biased)

Re: [PHP] string prints out as number (E+10...), why?

2003-01-09 Thread - Edwin
Hello, Jean-Christian Imbeault [EMAIL PROTECTED] wrote: I'm passing a var into a function which is a 16 digit number, but when I try to print it out I get 1.111E+15 instead of the expected 11. Why? I guess it's because the number is converted automatically to an

Re: [PHP] string prints out as number (E+10...), why?

2003-01-09 Thread Jean-Christian Imbeault
- Edwin wrote: I guess it's because the number is converted automatically to an exponential notation if it goes over a certain number of digits--makes it easier to read... I figured as much. But why? I found a solution by changing the precision of floats in the php.ini file. But I still find

[PHP] gettext and translations

2003-01-09 Thread electroteque
hi i am just reading up on gettext , it says its for translating messages , how about translating entire site content ? and a question i have been asked is how authentic is the translations ? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] how to make server response to emails

2003-01-09 Thread See kok Boon
Hi experts, Seen this in many mailing list, but I do not know the logic behind it, hope someone can spare some time to enlighten me. Recall that many mailing list systems all users to send an email with the word unsubscribe (or help or subscribe for that matter.) in the subject line to

Re: [PHP] string prints out as number (E+10...), why?

2003-01-09 Thread - Edwin
Jean-Christian Imbeault [EMAIL PROTECTED] wrote: - Edwin wrote: I guess it's because the number is converted automatically to an exponential notation if it goes over a certain number of digits--makes it easier to read... I figured as much. But why? I found a solution by changing

Re: [PHP] string prints out as number (E+10...), why?

2003-01-09 Thread Jean-Christian Imbeault
- Edwin wrote: [...] As you can see, PHP didn't touch the string version... True. My var is being passed in as a POST var so maybe that has something to do with it ... Jc -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Configuring 4.3.0 on Solaris 2.8

2003-01-09 Thread Ewan McDowall
Hi, I already tried the php-install list, but nobody has been able to solve my wee problem, I was hoping someone could help me with this. I am trying to install php version 4.3.0 on a sun sparc running solaris 2.8, and I'm getting stuck at the configure step. When running the configure

Re: [PHP] how to make server response to emails

2003-01-09 Thread - Edwin
Hello, See kok Boon [EMAIL PROTECTED] wrote: Hi experts, Well, I'm no expert ;) so let me just tell you where you can find more info. I think you're looking for something like what PHP's mailing list is using. It's called ezmlm. Pls. check their site: http://www.ezmlm.org/ - E

[PHP] Re: how to make server response to emails

2003-01-09 Thread Jean-Christian Imbeault
I'm not sure how it's done exactly but I think the basic concept is to have a daemon running, or have your program run by cron, and have the program collect it's mail. On Linux I think you can get your mail simply by fetching and parsing the file /var/spool/mail/username, where username is the

[PHP] Re: How can I redirect to another php page

2003-01-09 Thread DreamRiver
Teo, You may want something like this: switch( $Color ) { case Yellow: header(Location: yellow.php); break; case Green: header(Location: green.php); break; default: echoNo switch value present for Color - contact the webmaster.; exit; } // end

Re: [PHP] gettext and translations

2003-01-09 Thread - Edwin
Hello, electroteque [EMAIL PROTECTED] wrote: hi i am just reading up on gettext , it says its for translating messages , how about translating entire site content ? Mmm, I don't think anything like that exists--at least, not yet. There are or no sites (or software) that can perfectly

Re: [PHP] how to make server response to emails

2003-01-09 Thread Jason Wong
On Thursday 09 January 2003 17:33, See kok Boon wrote: Seen this in many mailing list, but I do not know the logic behind it, hope someone can spare some time to enlighten me. Recall that many mailing list systems all users to send an email with the word unsubscribe (or help or subscribe

Re: [PHP] How to detect a PHP script time-out?

2003-01-09 Thread Tamas Arpad
Cool! I just tested it out and it works. At lest under PHP 4.3.0 and Apache 1.3.26. But according to the bug report this functionality may change in the future and a new function apache_register_shutdown() might replace the current one ... The current functionality is *not* what is

RE: [PHP] gettext and translations

2003-01-09 Thread Dan Rossi
how does it work then ? i assumed from the description , you give it a locale and it will translate content from the database into the given language ? damn wish there was something like that -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 09,

Re: [PHP] How to detect a PHP script time-out?

2003-01-09 Thread Jean-Christian Imbeault
Tamas Arpad wrote: There was a discussion about this topic on the dev list, and because of many reasons the current functionality of register_shutdown_function() will remain the same in future releases too. Joseph Tate is working on a new function (apache_register_shutdown_function) to make

[PHP] PHP 4.3.0, __CLASS__ and __FUNCTION__

2003-01-09 Thread Michael Virnstein
Hi there, can someone please explain what __CLASS__ and __FUNCTION__ are and what they do? They are listed in the PHP 4.3.0 changelog and can be found here: http://www.php.net/manual/en/reserved.php but i can't find any explanation. Michael -- PHP General Mailing List (http://www.php.net/)

[PHP] Re: PHP 4.3.0, __CLASS__ and __FUNCTION__

2003-01-09 Thread nicos
They return the current class name or the current function in which they are called. -- Regards. M.CHAILLAN Nicolas [EMAIL PROTECTED] www.WorldAKT.com Hébergement de sites internets. Michael Virnstein [EMAIL PROTECTED] a écrit dans le message de news: [EMAIL PROTECTED] Hi there, can someone

RE: [PHP] how to make server response to emails

2003-01-09 Thread See kok Boon
To: Jason Wong Hi, Sorry, I am abit dumb. Where is the archive that you refer to in your email? -Original Message- From: Jason Wong [mailto:[EMAIL PROTECTED]] Sent: 09 January 2003 06:10 To: [EMAIL PROTECTED] Subject: Re: [PHP] how to make server response to emails On Thursday 09

RE: [PHP] how to make server response to emails

2003-01-09 Thread See kok Boon
To: [EMAIL PROTECTED] Hi, Erm.. actually I am not looking for a mailing list program, instead I am looking for a program (preferably written in PHP) that would allow me to capture emails containing specific text in its content and return specific results according to the email content... Any

Re: [PHP] money

2003-01-09 Thread rblack
number_format() http://www.php.net/manual/en/function.number-format.php == Richard Black Senior Developer, DataVisibility Ltd - http://www.datavisibility.com Tel: 0141 951 3481 Email: [EMAIL PROTECTED]

Re: [PHP] money

2003-01-09 Thread Danny Shepherd
http://www.php.net/manual/en/function.number-format.php - Original Message - From: Wilbert Enserink [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, January 09, 2003 10:44 AM Subject: [PHP] money Hi all, I'm busy making a swebstore. I have troubles with the format of money. I

Re: [PHP] how to make server response to emails

2003-01-09 Thread Jason Wong
On Thursday 09 January 2003 18:46, See kok Boon wrote: To: Jason Wong Hi, Sorry, I am abit dumb. Where is the archive that you refer to in your email? google php archive Click on the link for MARC. -- Jason Wong - Gremlins Associates - www.gremlins.biz Open Source Software Systems

[PHP] Re: money

2003-01-09 Thread Jean-Christian Imbeault
Wilbert Enserink wrote: I wanrt to display amounts like 2 products a ? 6,25 = ? 12,50 Whatever I try I can't get the comma there (it's showing a point . and it doesn't display the second number behind the comma i.e. 12.5 Show us some code and maybe we can help. If you don't give any code we

Re: [PHP] how to make server response to emails

2003-01-09 Thread Jean-Christian Imbeault
See Kok Boon wrote: Sorry, I am abit dumb. Where is the archive that you refer to in your email? The PHP archives. Go to the PHP web site and follow the links to the mailing lists page. There you will find links to the archives. Jc -- PHP General Mailing List (http://www.php.net/) To

[PHP] Re: Submit Form

2003-01-09 Thread DreamRiver
Steven (cc list), The sticky part is: ---User comes back next day, clicks load For that functionality you will need to remember the user, the last project they were using and the form they were 'on'. How? You can have the user log in to their last saved state (which you will save when

[PHP] money

2003-01-09 Thread Wilbert Enserink
Hi all, I'm busy making a swebstore. I have troubles with the format of money. I wanrt to display amounts like 2 products a ? 6,25 = ? 12,50 Whatever I try I can't get the comma there (it's showing a point . and it doesn't display the second number behind the comma i.e. 12.5 Anybody knows

RE: [PHP] gettext and translations

2003-01-09 Thread Dan Rossi
have a look at this guys http://www.translator.cx/ i'm installing it now -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 09, 2003 9:11 PM To: electroteque Cc: [EMAIL PROTECTED] Subject: Re: [PHP] gettext and translations Hello,

Re: [PHP] money

2003-01-09 Thread Scott Houseman
Hi There. Try this //To get a comma rather that a period: $fTotalPrice = $iQuantity * $fUnitPrice; $fTotalPrice = str_replace( '.', ',', $fTotalPrice ); //To check wether to add a zero to the end of a float: // Get part of float after comma. $iDecimal = substr( $fTotalPrice, strpos(

[PHP] session not set, server configuration?

2003-01-09 Thread James Tan
Dear Sir/Madam, I've been trying out my script, it works fine so far on my pc with apache 1.3.26 with php 4.3.0 but when i uploaded to another server with http://www.mercstudio.com/test.php the session seems to be unstable. sometimes it works, sometimes not.

Re: [PHP] Adding HTTP URL Code

2003-01-09 Thread Sean Burlington
ELLIOTT,KATHERINE A (HP-FtCollins,ex1) wrote: OK, so I've gotten NO responses to my query below so I thought I'd ask for something slightly different and see what I get. if you want to get a reply 1) look in the manual/ archives first 2) use a helpful subject line eg making links clickable

[PHP] Can you insert into $_POST manually?

2003-01-09 Thread Noel Wade
Hi all, So I have a page that processes information and then echos out a redirect that looks like this: META HTTP-EQUIV=REFRESH CONTENT=4; URL=? echo $url ?; The thing is, there are some variables that I would love to pass in $_POST or $HTTP_POST_VARS to the page referred to in $url. Is there

[PHP] Re: session not set, server configuration?

2003-01-09 Thread Noel Wade
James - Don't know how you're working with Cookies and sessions for sure, but the default / easy way to check for an established session is to put session_start(); at the top of every page that's going to access the session variables. That will check for an established/open session and make the

[PHP] Unable to load dynamic library ... php_gd.dll

2003-01-09 Thread Even Thorbergsen
I have moved an old web to a new server (Windows-2000) with fresh versions of php (4.3.0) and GD. I get the error message Unable to load dynamic library .../php_gd.dll. The specified procedure could not be found. This looks like a false setting of the extension_dir path in php.ini but this is

Re: [PHP] Can you insert into $_POST manually?

2003-01-09 Thread Scott Houseman
Hi. If you add them to the $url variable as in a query string, they should be available in that page's $_GET array e.g. if $url = http://myhost.com/mypage.php?id=$idpage=$pageuser=$user; then you would have the values $_GET{'id'} $_GET{'page'} $_GET{'user'} created for you with the values as

Re: [PHP] Can you insert into $_POST manually?

2003-01-09 Thread Noel Wade
Thanks - I understand that method; but I'm really looking for a way to pass them without them being visible / mucking up the URL line with a buncha stuff... Take care, --Noel -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Re: how to make server response to emails

2003-01-09 Thread See kok Boon
To: Jean -Christian Imbeault Thanks for helping out... I actually do not want a mailing list right now, I already have one. What I need is to use the same concept for some other email driven tasks. After some searching using process email I realize I can use PHP to get the emails and parse its

Re: [PHP] PHP 4.3.0 with Oracle

2003-01-09 Thread Thies C. Arntzen
On Wed, Jan 08, 2003 at 04:38:25PM -0200, José Manuel Valente wrote: Hy Guys, I´m a newby here. I´am trying to compile PHP 4.3.0 with Oracle support. When it compiles oci8.c , it returns an error, like follows: /bin/sh libtool --silent --mode=compile gcc -Iext/oci8/

RE: [PHP] Adding HTTP URL Code

2003-01-09 Thread Robert Fisher
I found this in the archives of this list message title: php parsing problem with chat message number: 103717 by: Deadsam // // URL PARSER FOR MESSAGE $msg = ereg_replace ([[:alpha:]]+://[^[:space:]]+[[:alnum:]], font color=\#00\ua href=\\\0\target=\_blank\\\0/a/u/font, $msg); //$msg =

Re: [PHP] Re: Databases vs. File Access

2003-01-09 Thread David Eisenhart
to add another cent to Timothy's contribution I agree, check out Smarty (http://smarty.php.net/) for the templating. D Timothy Hitchens ) [EMAIL PROTECTED] wrote in message 000801c2b7ab$837eefa0$0500a8c0@bambino">news:000801c2b7ab$837eefa0$0500a8c0@bambino... My 2 cents would be use a

[PHP] grgrgrgr other problem with location??????

2003-01-09 Thread Ysrael Guzmán
I want to send two variables: this is correct??? location.href=page.php??php echo SID . var1=$variable1; var2=$variable2; ? other form a herf=page.php??php echo SID . var1=$variable1; var2=$variable2; ? Ysrael Guzmán Meza -- PHP General Mailing List (http://www.php.net/) To

[PHP] Re: [PHP-DEV] Terminal text objects (PHP CDK NCURSES)

2003-01-09 Thread Wez Furlong
This would be a nice thing to include in PECL (see http://pear.php.net). --Wez. On Wed, 8 Jan 2003, Nikolai Vladychevski wrote: Hello, I want to share the code (php-extension) I have included into php-4.2.2 to support CDK widgets

[PHP] session problem

2003-01-09 Thread Supra
Hi, I got serious problem I need to solve a.s.a.p. Well, I've developed a database application with PHP and MySql, I used sessions. While developing I used my own computer as a web server - Windows 2000 Pro, IIS 5, PHP 4.2.3 via ISAPI. And all my code was tested successfully while my computer is

Re: [PHP] Can you insert into $_POST manually?

2003-01-09 Thread Philippe Saladin
Noel Wade [EMAIL PROTECTED] a écrit dans le message news: [EMAIL PROTECTED] Thanks - I understand that method; but I'm really looking for a way to pass them without them being visible / mucking up the URL line with a buncha stuff... (Note that even with a post, the data aren't really hidden :

[PHP] how to passing two dimension array

2003-01-09 Thread Rizki Salamun
hi there.. I have a problem when I want to passing two dimension varible. I made this variable from html form. like this: FORM method=post action=page2.php ? print SELECT name=\vari[$i][$j]\; ? OPTION value=Aa OPTION value=Bb ... ... /SELECT /FORM but when again I want

[PHP] I have a problem while installing...

2003-01-09 Thread Terry Lau
Hello, I'm using Red Hat Linux 8.0. The Apache Server 2.0 and php 4.2.2 are installed when I install Linux. The server is installed in /var/. So, I don't know how to follow the installation instructions described in your web to set up php. Do I need to install apache and php again?

Re: [PHP] graph libs

2003-01-09 Thread Marek Kilimajer
I used older version (1.5.3, latest at that time), there were no special requirements and was also GPL Larry Brown wrote: My extreme apologies to jpgraphs. They are more in line with phplot. I might even end up using them instead. Vagarant is the more difficult package. Again, their graph

Re: [PHP] Re: Double entry into MySQL..

2003-01-09 Thread Marek Kilimajer
$_SERVER['REQUEST_METHOD'] contains the method used to retrieve the page (POST, GET etc, see rfc2616). HEAD method is used to retrieve info about a resource, but I'm not sure why, as Timothy stated, it does not always work. Altug Sahin wrote: Is this a php.ini or apache setting? Marek

Re: [PHP] how to passing two dimension array

2003-01-09 Thread Marek Kilimajer
if $i=1 and $j=2, you should be able to get $_POST['vari'][1][2] in page2.php Rizki Salamun wrote: hi there.. I have a problem when I want to passing two dimension varible. I made this variable from html form. like this: FORM method=post action=page2.php ? print SELECT name=\vari[$i][$j]\;

Re: [PHP] grgrgrgr other problem with location??????

2003-01-09 Thread Marek Kilimajer
should be . instead of ; location.href=page.php??php echo SID . var1=$variable1 . //here var2=$variable2; ? Ysrael Guzmán wrote: I want to send two variables: this is correct??? location.href=page.php??php echo SID . var1=$variable1; var2=$variable2; ? other form a herf=page.php??php

[PHP] Fw: PHP / GnuPG problem with Fopen

2003-01-09 Thread Clint Fern
Hi, Many apologies if this has been covered before - but I haven't tracked it down in the archive and it's been annoying me for weeks. I'm using a script to send an order number encrypted cc number by GnuPG. Unfortunately the temporary files don't seem to be created causing error messages.

Re: [PHP] Can you insert into $_POST manually?

2003-01-09 Thread Marek Kilimajer
You can also build a form with hidden variables and use body onload=document.formname.submit() to submit it. For javascript disabled browser put a Continue submit button Noel Wade wrote: Thanks - I understand that method; but I'm really looking for a way to pass them without them being visible

Re: [PHP] I have a problem while installing...

2003-01-09 Thread Marek Kilimajer
You likely not need to do anything, just start writing php, e.g. create file /var/www/html/phpinfo.php and write ?php phpinfo(); ? Now you should be able to access it from your browser using http://localhost/phpinfo.php If apache server is not running, run /etc/init.d/httpd start as root Terry

Re: [PHP] how to passing two dimension array

2003-01-09 Thread Rizki Salamun
On Thu, 9 Jan 2003, Marek Kilimajer wrote: if $i=1 and $j=2, you should be able to get $_POST['vari'][1][2] in page2.php I have tried with set the variable $vari[1][2]=TRY in page1.php and send it by hidden field. and in page2.php I put script: echo $_POST['vari'][1][2]; but still not

[PHP] i want to send 2 variables????

2003-01-09 Thread Ysrael Guzmán
i like send two variables using: href=mi page.php?? please one idea Ysrael Guzmán Meza -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] i want to send 2 variables????

2003-01-09 Thread Joshua Pierre
On Thu, Jan 09, 2003 at 09:14:21AM -0500, Ysrael Guzm?n wrote: i like send two variables using: href=mi page.php?? http://blah.com/page.php?var1=contentsvar2=contents That should do it for you. Cheers, Josh -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] calculate the traffic size with php(like the apache access_log)

2003-01-09 Thread Torsten Rosenberger
Hello Is it possible to get the transfer (traffic) size from a webpage as is stands in the apache access_log file 127.0.0.1 - - [07/Jan/2003:13:01:58 +0100] GET /~torsten/cups/pdf.php HTTP/1.1 200 48 (size) When i work with outbut buffer i only get the html source size with ob_get_length.If

Re: [PHP] how to passing two dimension array

2003-01-09 Thread Marek Kilimajer
try print_r($_POST); in page2.php Rizki Salamun wrote: On Thu, 9 Jan 2003, Marek Kilimajer wrote: if $i=1 and $j=2, you should be able to get $_POST['vari'][1][2] in page2.php I have tried with set the variable $vari[1][2]=TRY in page1.php and send it by hidden field. and in

Re: [PHP] calculate the traffic size with php(like the apache access_log)

2003-01-09 Thread Marek Kilimajer
Requests for images bypass php, so you need get it from apache log. Torsten Rosenberger wrote: Hello Is it possible to get the transfer (traffic) size from a webpage as is stands in the apache access_log file 127.0.0.1 - - [07/Jan/2003:13:01:58 +0100] GET /~torsten/cups/pdf.php HTTP/1.1 200

[PHP] Having / not posted to MySQL Database

2003-01-09 Thread Vernon
When posting to a MySQL database field database record slashes are being added to the data where there is an apostrophe. How do I either, not have the apostrophe posted without the slash or have it not displayed when it is being retrieved? Thanks V -- PHP General Mailing List

Re: [PHP] i want to send 2 variables????

2003-01-09 Thread rw
Quoting Ysrael Guzmán [EMAIL PROTECTED]: ### ### i like send two variables using: ### ### href=mi page.php?? ### ### please one idea ### ### Ysrael Guzmán Meza ### ### ### ### -- ### PHP General Mailing List (http://www.php.net/) ### To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Informing a User of an Illegal Character in a post

2003-01-09 Thread Vernon
I'm having trouble when a user post a message to a MySQL database where if a user create a user name like 'useruser' as the symbol is used in URLs. Does anyone have any idea how I can inform user that they have entered and illegal character and are there are illegal characters that I should let

[PHP] problem with forms and sessions

2003-01-09 Thread scott
hi I'm having problems submitting forms while using sessions :o( I'm using -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Having / not posted to MySQL Database

2003-01-09 Thread Adam Voigt
Turn off magic quotes in the php.ini to not have them go in, and you will most likely get a bunch of error's, or pass what you select from the database through the stripslashes function like: $query = mysql_query(SELECT field FROM table;); $array = mysql_fetch_array($query);

[PHP] forms and sessions ?

2003-01-09 Thread scott
hi I'm having some problems submitting forms while using sessions :o( I have a form, that will only display if the session vars exist and are not null or empty. I'm using this is the form handler -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] php and asp

2003-01-09 Thread Jerry M. Howell II
Hello all I seem to recall php being able to provide some suport for asp. How would I turn this feature on? is it a line in the php.ini or is it a compile time option? -- Jerry M. Howell II -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] php and asp

2003-01-09 Thread Clint Tredway
The only thing PHP can do that's related to asp, is use the % like asp does. This is not recommended though.. Clint - Original Message - From: Jerry M. Howell II [EMAIL PROTECTED] To: PHP Mailing List [EMAIL PROTECTED] Sent: Monday, January 06, 2003 7:34 PM Subject: [PHP] php and asp

Re: [PHP] how to make server response to emails

2003-01-09 Thread Michael Sims
On Thu, 9 Jan 2003 17:33:02 +0800, you wrote: I believe that there is a way to make the mail server, or which ever it is, to response specifically to text within the mail. [...] However, I have no idea how this is accomplished and what this system is called, so I need some precious help here.

[PHP] undefined variable notice - how to furn of

2003-01-09 Thread Borut Kovacec
Hi I just installed new php 4.2.3 on Win XP, Apache 1.3.24.. Everything works fine, just now I'm getting Notice messages for every undefined variable or undefined index in arrays.. So now I have to use issset() everytime to avoid this messages... ..is there any way to turn this messages off,

Re: [PHP] PHP 4.3.0 with Oracle

2003-01-09 Thread José Manuel Valente
In that server, i am running 8.1.5. Thanks for the help. i am going to try it right away. really thanks! :) Bye, Jose Manuel Valente - Original Message - From: Thies C. Arntzen [EMAIL PROTECTED] To: José Manuel Valente [EMAIL PROTECTED] Cc: PHP [EMAIL

[PHP] flash and php (using the varibles)

2003-01-09 Thread - \[ Paul Ferrie \] -
Hi guys i hope there is someone in here that use flsah along with php to help with this :) Anyway i will make it simple. mysql returns a number say 123 i want flash to take this number to animate a progress bar, but here the problem it does work but the progress bar dosn't animate it just sets

[PHP] Reading Registry

2003-01-09 Thread Christopher Ditty
Hello all. I don't think this is possible, but I wanted to ask to be sure. Is it possible to read and write to a web user's registry with php? I believe this can be done with CF and ASP, but I was not sure about PHP. A search turned up nothing usefull. Thanks CDitty -- PHP General Mailing

Re: [PHP] PHP 4.3.0 with Oracle

2003-01-09 Thread José Manuel Valente
Id didn´t work out. The same error message :( On Wed, Jan 08, 2003 at 04:38:25PM -0200, José Manuel Valente wrote: Hy Guys, I´m a newby here. I´am trying to compile PHP 4.3.0 with Oracle support. When it compiles oci8.c , it returns an error, like follows:

Re: [PHP] Reading Registry

2003-01-09 Thread Kansu Diner
Hi, CD Hello all. I don't think this is possible, but I wanted to ask to be CD sure. Is it possible to read and write to a web user's registry with CD php? I believe this can be done with CF and ASP, but I was not sure CD about PHP. A search turned up nothing usefull. I don't think so..

Re: [PHP] flash and php (using the varibles)

2003-01-09 Thread Philipp Hartmann
I didnt test this, but something along the line should work [ActionScript] onEnterFrame = function{ i = dataYougetFromMySQL; if (i max){ this._width = this._width * (i*factor) // factor can slow down or accelerate your animation } } [/ActionScript] hth, Philipp - [ Paul Ferrie ] - [EMAIL

RE: [PHP] undefined variable notice - how to furn of[Scanned]

2003-01-09 Thread Michael Egan
Borut, I had this problem myself just before Christmas. The following solution was proposed: All of the PHP scripts hosted on a Linux server I'm working with have suddenly begun producing an error message: undefined variable 'variablename' Looks like someone's tweaked the error

Re: [PHP] apache and php

2003-01-09 Thread Gareth Thomas
Tim, thanks but it still doesn't work. What puzzles me is that last night I reinstalled a 'vanilla' install of RedHat 8 from the distribution where I selected PHP and Apache. So now I am running PHP 4.2.2 and Apache 2.0.40, I make the change you recommened to httpd.conf, stop and restart the

[PHP] newbee

2003-01-09 Thread Hendrik van Niekerk
Hi I'm very new to PHP. (have just bought the book PHP and MySQL Web Deelopment) SAMS authors Luke Welling and Laura Thompson I working with the examples in the book. I have loaded MySQL, Apache and PHP onto a NT server. All the test passed as per the examples in the book. Working with the the

[PHP] mail submission... from flash

2003-01-09 Thread travis
any one see why this wouldnt work? ?php $to = test name [EMAIL PROTECTED]; $subject = *www.test.com*; $date = getdate(time()); $date = sprintf(%s %s %s %s:%s:%s, $date[mday],$date[month],$date[year],$date[hours],$date[minutes],$date[seconds]); $from = sprintf(s s,

[PHP] Re: forms and sessions ?

2003-01-09 Thread Munir
Scott wrote: hi I'm having some problems submitting forms while using sessions :o( I have a form, that will only display if the session vars exist and are not null or empty. I'm using this is the form handler Write some more information so that we know what u want ok :) -- PHP General

[PHP] Newbee observation

2003-01-09 Thread Hendrik van Niekerk
Why does the webmaster not reject messages that are dates today's date eq there are numerous messages that have dates with year 2010 and up. A moron who does not have the correct computer date on his machine should pack it up and send it back to the company that sold it to them. JMHO -- PHP

Re: [PHP] undefined variable notice - how to furn of

2003-01-09 Thread Joseph W. Goff
In the php.ini file set error reporting to E_ALL ~E_NOTICE - Original Message - From: Borut Kovacec [EMAIL PROTECTED] To: PHP Mailing List [EMAIL PROTECTED] Sent: Thursday, January 09, 2003 9:57 AM Subject: [PHP] undefined variable notice - how to furn of Hi I just installed new php

Re: [PHP] newbee

2003-01-09 Thread Joseph W. Goff
This is because of the default error reporting setting in the newer version of php. This was not the case when your book was written. In your php.ini file set error reporting = E_ALL ~E_NOTICE and you will quit getting the 'Undefined Variable' notices. - Original Message - From: Hendrik

Re: [PHP] Newbee observation

2003-01-09 Thread Tom Ray
Mail servers play a part in this too. Maybe the admins should pack up their servers and send them back too :) -Original Message- From: Hendrik van Niekerk [EMAIL PROTECTED] To: [EMAIL PROTECTED] Date: Thu, 9 Jan 2003 11:11:30 -0600 Subject: [PHP] Newbee observation Why does the

[PHP] Interesting timeout issue

2003-01-09 Thread Ben Vaughn
Hello, I just recently upgraded from 4.2.3 to 4.3.0 and a script of mine has begun behaving erratically. The code is included at the bottom of this message. I am essentially updating a large (1.94m row) table to include a new field...the queries needed to do this updating are somewhat

RE: [PHP] Newbee observation

2003-01-09 Thread Larry Brown
Better yet a script should be run to have all the e-mails listed by the time they were received at the server instead of what time the e-mail was submitted. That should take care of it I would think. Larry S. Brown Dimension Networks, Inc. (727) 723-8388 -Original Message- From: Tom Ray

Re: [PHP] newbee

2003-01-09 Thread Hendrik van Niekerk
Joseph I can get the errors to go away but then my example just shows a blank page! The variable are not being passed through to the .php doc hendrik Joseph W. Goff [EMAIL PROTECTED] wrote in message 003201c2b803$ada54f60$bdcaa8c0@jg42000">news:003201c2b803$ada54f60$bdcaa8c0@jg42000... This is

Re: [PHP] mail submission... from flash

2003-01-09 Thread Jason Wong
On Friday 10 January 2003 00:57, travis wrote: any one see why this wouldnt work? Why don't you tell us _how_ it doesn't work? [snip] -- Jason Wong - Gremlins Associates - www.gremlins.biz Open Source Software Systems Integrators * Web Design Hosting * Internet Intranet Applications

Re: [PHP] mail submission... from flash

2003-01-09 Thread travis
well... it returns nothing when using loadVars.sendAndLoad in flash and sends no mail... while this script on the same server called from the same flash file works ?php $MailTo = [EMAIL PROTECTED]; mail($MailTo,$HTTP_POST_VARS[Name], $HTTP_POST_VARS[MailFrom], $HTTP_POST_VARS[Message]);

[PHP] another 4.3.0 issue?

2003-01-09 Thread john
ive recently started experiencing a problem from broadcasts made over a mailing list i wrote some time ago. up until now its been functioning fine, however recently it started sending out raw html unformatted (tags etc appearing in email), instead of the usual interpreted results. this

[PHP] Dynamic menu from DB

2003-01-09 Thread Cesar Aracena
Hi all, I'm making a new site for a client and he needs to put several different menus under a static FLASH menu. The bad part is that every item in the flash menu leads to different categories and these need different number of sub menus. I use MySQL PHP 4. The categories and sub categories are

[PHP] checkboxes, radio buttons and $_POST['name']

2003-01-09 Thread John-Erik Omland
Hi HELP!!! I have read through the manual about using $_POST['name'] to retrieve data from forms, but what happens when a form element is not filled in or checked? If I have a checkbox on a form called chk1 I get an error from PHP when I try this: $chk1 = $_POST['chk1']; // error if user

Re: [PHP] checkboxes, radio buttons and $_POST['name']

2003-01-09 Thread Tim Ward
isset($_POST[chk1]) will only be true if the checkbox is checked. Tim Ward http://www.chessish.com mailto:[EMAIL PROTECTED] - Original Message - From: John-Erik Omland [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, January 09, 2003 6:25 PM Subject: [PHP] checkboxes, radio

  1   2   >