[PHP] calling stored procedures ORACLE 9i

2004-03-08 Thread jon
Hi, I would like to know if it possible to run a stored procedure (Oracle 9i) and the way to get the OUT parameter of this procedure in PHP. Thanks, -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] undefined index -------- please help !!!!!!!!

2004-03-08 Thread Dominique ANOKRE
OK, but when i use isset my request is not executed normally. I wonder if the fact i use the frames is the problem because with no changement and without using isset my request run correctly. Thanks ! - Original Message - From: John Nichel [EMAIL PROTECTED] To: Dominique ANOKRE [EMAIL

[PHP] PHP not browser independent?

2004-03-08 Thread Merlin
Hi there, There is a strange thing with Browsers and forms. In Netscape 7.x $_POST workes quite fine, while in IE it does not. I am using a form with a graphical button: input type=Image name=submit value=submit src=button.gif width=80 height=19 alt=button alt tag Inside a file I am

Re: [PHP] PHP not browser independent?

2004-03-08 Thread Richard Davey
Hello Merlin, Monday, March 8, 2004, 10:53:59 AM, you wrote: M In Netscape 7.x $_POST workes quite fine, while in IE it does not. M Does anybody know why? Thanx for any hint on that, Yes it's a bug in IE created by the latest Hotfix Microsoft released to combat their stupid phishing error.

Re: [PHP] MYSQL Image functions

2004-03-08 Thread Jason Wong
On Monday 08 March 2004 15:53, res0b8b6 wrote: I am trying to use any of the image functions with image data from a mysql database. I can get these functions to work from files on the server but for some reason, not out of the database. imagecreatefromstring() ? -- Jason Wong - Gremlins

Re: [PHP] PHP not browser independent?

2004-03-08 Thread Mirek Novak
... and the solution is here (AFAIK) http://support.microsoft.com/default.aspx?kbid=831167 Richard Davey wrote: Hello Merlin, Monday, March 8, 2004, 10:53:59 AM, you wrote: M In Netscape 7.x $_POST workes quite fine, while in IE it does not. M Does anybody know why? Thanx for any hint on

Re[2]: [PHP] PHP not browser independent?

2004-03-08 Thread Richard Davey
Hello Mirek, Monday, March 8, 2004, 11:34:26 AM, you wrote: MN ... and the solution is here (AFAIK) MN http://support.microsoft.com/default.aspx?kbid=831167 Yes true, sorry I didn't make myself clear - there is no solution from a PHP point of view, i.e. if your visitor has the problem - there

[PHP] fsockopen() errors.

2004-03-08 Thread Phil Ewington - 43 Plc
Hi All, Can anyone tell me the best way to avoid errors using fsockopen(). I have tried wrapping the function call in a conditional statement, and have also tried calling the function and then testing the return. Example 1: $sckHandle = fsockopen($server, 25, $errNo, $errString); if ($sckHandle)

[PHP] PHP5: __autoload() and Exceptions

2004-03-08 Thread David Danier
Hi All, I did some tests with the exception's under PHP5. I wanted to use the __autoload()-function to use for class loading. The function should throw an exception if it was not possible to load the class. Code should be like that: - try { $x = new

Re: [PHP] fsockopen() errors.

2004-03-08 Thread Miguel J. Jiménez
Is it an error or a warning? If it is a warning you can try use @ before fsockopen() to avoid echoing warning messages [EMAIL PROTECTED](...)]. -- Miguel J. Jiménez ISOTROL, S.A. (Área de Internet) Avda. Innovación nº1, 3ª - 41020 Sevilla (ESPAÑA) [EMAIL PROTECTED] TLFNO. 955036800 ext. 111 --

Re: [PHP] Mail Headers

2004-03-08 Thread Miguel J. Jimnez
You can view the source from an email message with Outlook or Thunderbird, and it will show headers and all that stuff... --- Miguel J. Jiménez ISOTROL, S.A. (Área de Internet) Avda. Innovación nº1, 3ª - 41020 Sevilla (ESPAÑA) [EMAIL PROTECTED] TLFNO. 955036800 ext. 111 -- PHP General Mailing

RE: [PHP] fsockopen() errors.

2004-03-08 Thread Phil Ewington - 43 Plc
Hi Miguel, I am giving it a test at the moment, thanks. -- Phil. -Original Message- From: Miguel J. Jiménez [mailto:[EMAIL PROTECTED] Sent: 08 March 2004 12:29 To: Phil Ewington - 43 Plc Cc: PHP Subject: Re: [PHP] fsockopen() errors. Is it an error or a warning? If it is a

[PHP] RSA or other private/public key signature functions?

2004-03-08 Thread Richard epas
Hello, Is there a PHP implementation of RSA or DSS or something else allowing to create and verify digital signatures using 2 keys? By PHP implementation I mean something that can be run without additional requirements on average PHP installation, i.e. bcmath requirement maybe acceptable (as

RE: [PHP] {OT}UK Bank Holidays 2

2004-03-08 Thread Jay Blanchard
[snip] What come all the way from Sri Lanka to Sweden just to bite you? Good thing the authors of PHP didn't try to add support for Sri Lankan holidays they would have given up on the language. We have 30+ and there's no guarantee that if March 6 2004 is a holiday (which in fact it is) march 06

RE: [PHP] Let's start a php-advanced list!

2004-03-08 Thread Jay Blanchard
[snip] My goal was to provide an area that fosters stretching PHP. Big projects, unusual projects, weird hacks... all kinds of advanced stuff. I have thought that providing an advanced area might make people more likely to post stuff like Look at this... and provide some intriguing discussion

RE: [PHP] OTP: Programming

2004-03-08 Thread Jay Blanchard
[snip] I have been working with PHP for a few years now, and I feel very comfortable with it. I am considering branching out into windows application development, and I was wondering what language people would recommend for someone comfortable with PHP. I have heard that PHP can be used in

[PHP] Compiling PHP classes/libraries to objects

2004-03-08 Thread Tariq Murtaza
Hi All Is there any way to use compiled form of libraries/classes in PHP. Comments please... Regards, Tariq -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] absolute path

2004-03-08 Thread Mike Mapsnac
I'm looking for PHP function that takes $filename as parameter and returns absolute path. I looked on php.net but cannot find such function. Any ideas if such function exist? Thanks _ Frustrated with dial-up? Lightning-fast

[PHP] Re: Mail Function

2004-03-08 Thread Will
Please help me with this. Can someone give me an example of their php.ini on the settings of the mail function. ~WILL~ Will wrote: Hello All, I have a question. I installed PHP on a windows XP machine. When I try to send a form it says: Warning: mail(): sendmail_from not set in php.ini or

Re: [PHP] writing meta information into png

2004-03-08 Thread Marek Kilimajer
http://www.phpclasses.org/browse/package/1042.html, but I don't know if the class supports pngs. p80 wrote: is there a class or a function that makes it possible to write meta information into a png or jpeg image? any suggestion? thanx in advance -- PHP General Mailing List

Re: [PHP] absolute path

2004-03-08 Thread Richard Davey
Hello Mike, Monday, March 8, 2004, 1:59:43 PM, you wrote: MM I'm looking for PHP function that takes $filename as parameter and returns MM absolute path. Assuming $filename contains the full directory (path) as it will need to, you can use the following functions for a variety of results:

RE: [PHP] absolute path

2004-03-08 Thread Ford, Mike [LSS]
On 08 March 2004 14:00, Mike Mapsnac wrote: I'm looking for PHP function that takes $filename as parameter and returns absolute path. I looked on php.net but cannot find such function. Any ideas if such function exist? How about http://www.php.net/realpath ? Cheers! Mike

[PHP] PHP support C++?

2004-03-08 Thread Kenneth
Hi all, Does PHP support C++ language? If yes, how can it be converted? The case is, I've use C++ to make a function (to get data from file and convert it from char type to int type), how can i import the function/variables and use it in PHP? Thanks, Kenneth -- PHP General Mailing List

php-general Digest 8 Mar 2004 15:03:41 -0000 Issue 2634

2004-03-08 Thread php-general-digest-help
php-general Digest 8 Mar 2004 15:03:41 - Issue 2634 Topics (messages 179718 through 179749): Re: Do not want Undefined variable message 179718 by: Michal Migurski Re: Job listings 179719 by: Anders Hellström Re: Programming 179720 by: Phil Dowson 179722 by:

Re: [PHP] Re: Mail Function

2004-03-08 Thread Tom Rogers
Hi, Tuesday, March 9, 2004, 12:05:22 AM, you wrote: W Please help me with this. Can someone give me an example of their W php.ini on the settings of the mail function. W ~WILL~ A wild guess but try it with \r\n as line endings, I don't run the server under windows so can't help with the ini

RE: [PHP] fsockopen() errors.

2004-03-08 Thread Phil Ewington - 43 Plc
Hmm, added @ to fsockopen() function, still happens, can anyone shed any light on this? TIA Phil. -Original Message- From: Phil Ewington - 43 Plc [mailto:[EMAIL PROTECTED] Sent: 08 March 2004 12:57 To: Miguel J. Jiménez Cc: PHP Subject: RE: [PHP] fsockopen() errors. Hi

Re: [PHP] OTP: Programming

2004-03-08 Thread Gareth Williams
The easiest language to learn for Windows is Visual Basic. You can get a simple gui app up and running in minutes. On 8 Mar 2004, at 14:40, Jay Blanchard wrote: [snip] I have been working with PHP for a few years now, and I feel very comfortable with it. I am considering branching out into

[PHP] test1

2004-03-08 Thread bruce
test2 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] test2

2004-03-08 Thread bruce
test2 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] php debug

2004-03-08 Thread Doug Dalton
I am getting an error in php that is causing a core dump : (gdb) core php.core Core was generated by `php'. Program terminated with signal 11, Segmentation fault. #0 0x00686264 in ?? () The program is a script and is working fine until, my assumption is that it exhausts resources and crashes,

[PHP] Problems with upload

2004-03-08 Thread Martin Hjort Eriksen
I am running a fullt upgraded Debain testing system, and I have a smaller problem with uploading files. I use my installation to develop PHP applications, and a part of this making file upload scripts. A have a basic form, in which i can upload a file, the header information gets passed fine

[PHP] (Some?) IE6 browsers submitting empty forms??

2004-03-08 Thread Joshua Wehner
I'm having a problem with some server-side validation scripts, in a shopping cart context. I have been unable to replicate this problem reliably on my own, so most of what I know about it is really just deduction. I've googled a bit, and found one seemingly relevant tidbit on PHP.net, but I've

Re: [PHP] (Some?) IE6 browsers submitting empty forms??

2004-03-08 Thread Richard Davey
Hello Joshua, Monday, March 8, 2004, 3:33:24 PM, you wrote: JW Some technical details: Server is running Apache 1.3.27, PHP is 4.3.3, JW particular page is running on https (which complicates testing a bit, JW no telnetting to port 80). I can send code or whatever else, if that JW helps.

[PHP] Re: fsockopen() errors.

2004-03-08 Thread trlists
On 8 Mar 2004 Phil Ewington - 43 Plc wrote: Can anyone tell me the best way to avoid errors using fsockopen(). I have tried wrapping the function call in a conditional statement, and have also tried calling the function and then testing the return. Here's an approach I have used to avoid any

Re: [PHP] Framework in PHP?

2004-03-08 Thread Thiago Silva
Hello. I'm also trying out frameworks. I'm not sure which would be best, since I didn't tried most of then, just read the specifications and functionalities. And, since I'm not very happy, I'm developing my own right now. But I know the existence of those

Re: [PHP] Problems with upload

2004-03-08 Thread Jason Wong
On Monday 08 March 2004 23:35, Martin Hjort Eriksen wrote: I am running a fullt upgraded Debain testing system, and I have a smaller problem with uploading files. Does the example in the manual work for you? If it does, what does the php error log say when you run *your* code? Post some

Re: [PHP] getting message from file

2004-03-08 Thread Jason Wong
On Monday 08 March 2004 09:04, Kenneth wrote: I have a problem on getting content from a data file (data.txt). I have many numbers in the file...all of them are about 2.XXX, and I need them to plot a graph. What does your data file look like? Show a few sample lines. But I just can't read

Re: [PHP] Problems with upload

2004-03-08 Thread Martin Hjort Eriksen
Jason Wong wrote: On Monday 08 March 2004 23:35, Martin Hjort Eriksen wrote: I am running a fullt upgraded Debain testing system, and I have a smaller problem with uploading files. Does the example in the manual work for you? If it does, what does the php error log say when you run

Re: [PHP] Problems with upload

2004-03-08 Thread Raditha Dissanayake
Do you have any wierd setting for upload temp dir? (can't remember the directive) in your php.ini file? Martin Hjort Eriksen wrote: Jason Wong wrote: On Monday 08 March 2004 23:35, Martin Hjort Eriksen wrote: I am running a fullt upgraded Debain testing system, and I have a smaller problem

[PHP] Re: php/mssql character limit?

2004-03-08 Thread Ben Ramsey
I posted this message the other day, and no one has responded. I'm replying to it to refresh it in the list. I guess if no one responds or helps me out this time, then I'll just forget about it and let my client go unhappy. ;-) Seriously, if anyone can help me out, I would be much

Re: [PHP] Problems with upload

2004-03-08 Thread Martin Hjort Eriksen
The standard settings for upload: ; File Uploads ; ; Whether to allow HTTP file uploads. file_uploads = On ; Temporary directory for HTTP uploaded files (will use system default if not ; specified). upload_tmp_dir = /tmp ; Maximum allowed size for uploaded

RE: [PHP] Re: php/mssql character limit?

2004-03-08 Thread Vincent DUPONT
are you using a 'Text' or a 'varchar' column type? I guess the max size for varchars is 4000; text should be larger vincent -Original Message- From: Ben Ramsey [mailto:[EMAIL PROTECTED] Sent: lundi 8 mars 2004 17:30 To: [EMAIL PROTECTED] Subject: [PHP] Re: php/mssql character limit? I

Re: [PHP] Re: php/mssql character limit?

2004-03-08 Thread Ben Ramsey
I am using a text column type. I had always though that the max size for varchars was 255. Vincent DUPONT wrote: are you using a 'Text' or a 'varchar' column type? I guess the max size for varchars is 4000; text should be larger -- Regards, Ben Ramsey http://benramsey.com

Re: [PHP] Problems with upload

2004-03-08 Thread Jason Wong
On Tuesday 09 March 2004 00:11, Martin Hjort Eriksen wrote: Here is some of the code I am using, to acces the uploaded file: if(!file_exists($_FILES['binFile']['tmp_name'])) { return Filen .$_FILES['binFile']['name']. kan ikke findes paring; serveren.br / Er fejlen

RE: [PHP] Re: php/mssql character limit?

2004-03-08 Thread Jason Davidson
VARCHAR limit is 255 :) mysql.com has great documentation. Jason Vincent DUPONT [EMAIL PROTECTED] wrote: are you using a 'Text' or a 'varchar' column type? I guess the max size for varchars is 4000; text should be larger vincent -Original Message- From: Ben Ramsey

RE: [PHP] Re: php/mssql character limit?

2004-03-08 Thread Vincent DUPONT
Is it mY SQL or MS SQL we are talking about? -Original Message- From: Jason Davidson [mailto:[EMAIL PROTECTED] Sent: lundi 8 mars 2004 17:42 To: [EMAIL PROTECTED] Subject: RE: [PHP] Re: php/mssql character limit? VARCHAR limit is 255 :) mysql.com has great documentation. Jason

RE: [PHP] Re: php/mssql character limit?

2004-03-08 Thread Jason Davidson
Coarse, i see after i post that you are talking about MSSql.. and not mysql.. i may have posted a little to quickly.. sorry. Jason Jason Davidson [EMAIL PROTECTED] wrote: VARCHAR limit is 255 :) mysql.com has great documentation. Jason Vincent DUPONT [EMAIL PROTECTED] wrote: are

[PHP] Linux tools for PHP

2004-03-08 Thread Thiago Silva
Hello All. For all of you working with PHP on a GNU/Linux machine: What development tools (editors, debuggers, modeling tools, SGBDs) do you or your team use? Thanks, Thiago Silva -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Linux tools for PHP

2004-03-08 Thread Jason Davidson
Hey, tools i like using are. nedit - main editor i use vi - for quick or network edits apache - webserver ive tried some of the ide's and other editors like kate, quantra and such, and i constantly fall back to Nedit, for its simplicity. My only feature request for nedit, would be tabbed

Re: [PHP] Linux tools for PHP

2004-03-08 Thread Thiago Silva
Interesting, this management tool. And debuggers? Do you use any? Jason Davidson wrote: Hey, tools i like using are. nedit - main editor i use vi - for quick or network edits apache - webserver ive tried some of the ide's and other editors like kate, quantra and such, and i constantly fall back

RE: [PHP] Linux tools for PHP

2004-03-08 Thread Shahed, Raja
Try Emacs. Takes time to learn but real stuff Or vi Cheers Reverand Raja -Original Message- From: Thiago Silva [mailto:[EMAIL PROTECTED] Sent: lunedì 8 marzo 2004 17.54 To: [EMAIL PROTECTED] Subject: Re: [PHP] Linux tools for PHP Interesting, this management tool. And

[PHP] Amount of memory per user

2004-03-08 Thread Cesar Cordovez
Hi List! I was just wondering... How can I know how much memory my scrips are using per connection, thread, or user? TIA Cesar -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] varchar size mssql

2004-03-08 Thread Jason Davidson
I read that the varchar size for ms sql is 8000 limit. i also read that someone having a problem with it getting truncated fixed his problem by using convert(text, $value) in the sql statement.. Jason -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] SESSION vs ENV variables?

2004-03-08 Thread Vincent DUPONT
Hi, My script needs to load a config file with DB connection properties, etc. At the beginning of the session, the ini file is loaded and all values are stored in $_SESSION After the loading, a flag is also set in $_SESSION so that the ini loading is no more executed. However, all ini

Re: [PHP] Linux tools for PHP

2004-03-08 Thread Marco Schuler
Am Mo, 2004-03-08 um 17.46 schrieb Thiago Silva: Hello All. For all of you working with PHP on a GNU/Linux machine: What development tools (editors, debuggers, modeling tools, SGBDs) do you or your team use? Editor/debugger/profiler: http://www.zend.com/store/products/zend-studio.php

[PHP] Re: varchar size mssql

2004-03-08 Thread Ben Ramsey
The problem is that I want to stick with standard SQL. I would assume that convert() is a MS SQL Server function, and, thus, not standard (will not work in other database formats). Did what you read mention why the data was being truncated? Perhaps if I knew why, then I could fix it. Jason

RE: [PHP] Re: varchar size mssql

2004-03-08 Thread Jay Blanchard
[snip] The problem is that I want to stick with standard SQL. I would assume that convert() is a MS SQL Server function, and, thus, not standard (will not work in other database formats). Did what you read mention why the data was being truncated? Perhaps if I knew why, then I could fix it.

[PHP] What is CLI? Something about PHP 5 that have it...

2004-03-08 Thread Scott Fletcher
Hi! What is CLI? It is something that PHP 5 that have it. Thanks, FletchSOD -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Php does not recognize librerias DLL.

2004-03-08 Thread German Arango
Hello, it wanted that please somebody helped me with this problem: Aable to load dynamic library ' C:PHP/php_mssql.dll' - The specified modulates could not be found. in Unknown on line 0 php this installed php under a IIS of Windows 2000 advanced server. The variable of php.ini this written

[PHP] What is CLI?

2004-03-08 Thread Scott Fletcher
What is CLI that PHP 5 mentioned about? Thanks, FletchSOD -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] What is CLI? Something about PHP 5 that have it...

2004-03-08 Thread Jay Blanchard
[snip] What is CLI? It is something that PHP 5 that have it. [/snip] It is the PHP Command Line Interface http://www.php.net/manual/en/features.commandline.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] What is CLI?

2004-03-08 Thread Jay Blanchard
[snip] What is CLI that PHP 5 mentioned about? [/snip] Wait just a second there ace, someone will answer your FIRST post. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: varchar size mssql

2004-03-08 Thread Ben Ramsey
That's fine. What I was specifically looking for was whether there was some sort of setting I was missing in php.ini, since I know that the database is accepting large text just fine. Thanks for the help, though. I guess I'll scrounge around elsewhere. Jay Blanchard wrote: [snip] The

[PHP] Php does not want recognizes librerias DLL.

2004-03-08 Thread German
Hello, it wanted that please somebody helped me with this problem: Aable to load dynamic library ' C:/PHP/php_mssql.dll' - The specified modulates could not be found. in Unknown on line 0 php this installed php under a IIS of Windows 2000 advanced server. The variable of php.ini this written

RE: [PHP] Php does not recognize librerias DLL.

2004-03-08 Thread Shahed, Raja
Copy this Php mssql.dll from extension catalogue to your Windows-system32 catalogue (if(you are on XP || in systems if you are on NT) If you are on Linux box and trying to get connected with a MSSQL server running on a WinBoX. Cheers Reverand Raja -Original Message- From: German

Re: [PHP] Php does not recognize librerias DLL.

2004-03-08 Thread Raditha Dissanayake
You need to have the mssql client library also installed on the same computer. German Arango wrote: Hello, it wanted that please somebody helped me with this problem: Aable to load dynamic library ' C:PHP/php_mssql.dll' - The specified modulates could not be found. in Unknown on line 0 php

RE: [PHP] Re: php/mssql character limit?

2004-03-08 Thread Alex Hogan
Hi Ben, The setting in the php.ini is; mssql.textlimit = 4096 Reset that value to what you want. I have mine set to 400. Valid range 0 - 2147483647 alex hogan -Original Message- From: Ben Ramsey [mailto:[EMAIL PROTECTED] Sent: Monday, March 08, 2004 10:30 AM To: [EMAIL

Re: [PHP] Linux tools for PHP

2004-03-08 Thread Thiago Silva
What about Quanta? Anyone use it? And debuggers? APD? XDebug? DBG? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] socket extension documentation ???

2004-03-08 Thread Hemp Cluster
Hy... @ all I'm trying to find a better documentation about socket extension in php as on php.net self. does anyone know an another source for me ??? thx regards Jointy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Linux tools for PHP

2004-03-08 Thread Brian V Bonini
On Mon, 2004-03-08 at 12:29, Thiago Silva wrote: What about Quanta? LOVE Quanta, been using it for a couple years now -- Brian V Bonini [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Variables inside a function

2004-03-08 Thread Nathan Croker
I am relatively new to PHP. But something I can't seem to make work is when I call one of the functions I have made and a variable is set inside that function eg. function blah ($bl,$ah) { $bl++; $ah++; $blah=$bl+$ah; } I then echo $blah; somewhere else in the script but nothing is echo'd. How

Re: [PHP] socket extension documentation ???

2004-03-08 Thread Raditha Dissanayake
http://www.google.com :-) Hemp Cluster wrote: Hy... @ all I'm trying to find a better documentation about socket extension in php as on php.net self. does anyone know an another source for me ??? thx regards Jointy -- Raditha Dissanayake.

[PHP] Very simple forms processing question

2004-03-08 Thread john
Hi I want to set up a mailing list on a site, and I want a very simple register/deregister facility. So a text field for the email address, then an [add] button and a [remove] button. Now, what I really want is for both [add] and [remove] to be 'submit' type HTML buttons for the same form, but

RE: [PHP] Variables inside a function

2004-03-08 Thread Jay Blanchard
[snip] eg. function blah ($bl,$ah) { $bl++; $ah++; $blah=$bl+$ah; } [/snip] function blah ($bl,$ah) { $bl++; $ah++; $blah=$bl+$ah; return $blah; } -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Very simple forms processing question

2004-03-08 Thread Raditha Dissanayake
if you asign a name to your submit button a corresponding element will be created on the $_REQUEST, $_GET or $_POST array whichever you are using eg you should use input type=submit name=submit1 value=click me etc all the best [EMAIL PROTECTED] wrote: Hi I want to set up a mailing list on a

RE: [PHP] Variables inside a function

2004-03-08 Thread Alex Hogan
Don't you need to set a return? Return $blah; At the bottom of your function block. alex hogan -Original Message- From: Nathan Croker [mailto:[EMAIL PROTECTED] Sent: Sunday, March 07, 2004 6:18 PM To: [EMAIL PROTECTED] Subject: [PHP] Variables inside a function I am

Re: [PHP] Re: php/mssql character limit?

2004-03-08 Thread Ben Ramsey
That's precisely what I was looking for, Alex! I must have overlooked it when skimming through php.ini. Thanks! Alex Hogan wrote: Hi Ben, The setting in the php.ini is; mssql.textlimit = 4096 Reset that value to what you want. I have mine set to 400. Valid range 0 - 2147483647 alex

RE: [PHP] Very simple forms processing question

2004-03-08 Thread Jay Blanchard
[snip] I want to set up a mailing list on a site, and I want a very simple register/deregister facility. So a text field for the email address, then an [add] button and a [remove] button. Now, what I really want is for both [add] and [remove] to be 'submit' type HTML buttons for the same form,

Re: [PHP] Variables inside a function

2004-03-08 Thread Jason Wong
On Tuesday 09 March 2004 01:44, Alex Hogan wrote: Don't you need to set a return? Return $blah; At the bottom of your function block. That does not make the variable $blah available elsewhere in the program. The OP should take a look at manual Variables Variable scope. -- Jason Wong -

RE: [PHP] What is CLI?

2004-03-08 Thread Scott Fletcher
Oh I see what you're talking about now... Thanks, FletchSOD -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Variables inside a function

2004-03-08 Thread Alex Hogan
If I read his post correctly he was looking to make blah() available and not $blah. In my mind that meant that he would be calling his function named blah not the variable. Then if he called the function blah he would get the value of $blah inside his function. Of course obviously being one of

RE: [PHP] Variables inside a function

2004-03-08 Thread Jay Blanchard
[snip] I then echo $blah; somewhere else in the script but nothing is echo'd. How do I make it so that I can use $blah anywhere in the script? [/snip] I went back and re-read the post, and his question above is the important one First you must return something from the function, then you

Re: [PHP] Variables inside a function

2004-03-08 Thread Jason Wong
On Tuesday 09 March 2004 02:03, Alex Hogan wrote: If I read his post correctly he was looking to make blah() available and not $blah. The OP says so that I can use $blah anywhere in the script?, which to me means that $blah needs to be global ... [snip] Of course obviously being one of the

[PHP] 500 Internal Server Error.

2004-03-08 Thread francesco
Hi all, I've this problem when I use a script. This is the error: Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, [EMAIL PROTECTED] and inform them of the time the error

Re: [PHP] PHP support C++?

2004-03-08 Thread Evan Nemerson
On Monday 08 March 2004 07:03 am, Kenneth wrote: Hi all, Does PHP support C++ language? If yes, how can it be converted? you can write an extensions, which is actually rather easy to do. There's an article at http://bugs.tutorbuddy.com/phpcpp/phpcpp/ that claims to tell you how to use c++

Re: [PHP] php debug

2004-03-08 Thread Evan Nemerson
On Monday 08 March 2004 07:31 am, Doug Dalton wrote: I am getting an error in php that is causing a core dump : (gdb) core php.core Core was generated by `php'. Program terminated with signal 11, Segmentation fault. #0 0x00686264 in ?? () The program is a script and is working fine until,

Re: [PHP] Compiling PHP classes/libraries to objects

2004-03-08 Thread Evan Nemerson
On Monday 08 March 2004 04:44 pm, Tariq Murtaza wrote: Hi All Is there any way to use compiled form of libraries/classes in PHP. Comments please... http://turck-mmcache.sourceforge.net/ Regards, Tariq -- Evan Nemerson [EMAIL PROTECTED] http://coeusgroup.com/en -- PHP

Re: [PHP] 500 Internal Server Error.

2004-03-08 Thread Richard Davey
Hello francesco, Monday, March 8, 2004, 6:26:03 PM, you wrote: fab I've controlled all the script but I don't find the fab problem.For a real time test this is the url: fab www.automationsoft.biz/crivello.php can anyone help me about this fab questions? It is impossible to help without knowing

Re: [PHP] 500 Internal Server Error.

2004-03-08 Thread Michal Migurski
Hi all, I've this problem when I use a script. This is the error: Internal Server Error Tail your error_log for more information - a 500 status code could mean pretty anything. - michal migurski- contact info and pgp key: sf/ca

RE: [PHP] Variables inside a function

2004-03-08 Thread Alex Hogan
My mistake. Good one on the spelling I can't believe I missed that one alex hogan -Original Message- From: Jason Wong [mailto:[EMAIL PROTECTED] Sent: Monday, March 08, 2004 12:26 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] Variables inside a function On Tuesday 09

[PHP] Disowning apache processes

2004-03-08 Thread Antony Seedhouse
I am writing a control panel for a gamehost using PHP, which calls a bash script (which wraps around another) to control game servers Right now once the bash scripts are running the PHP script that called them is unavailable for any more users, and if apache is restarted the bash script is

Re: [PHP] Disowning apache processes

2004-03-08 Thread Michal Migurski
I am writing a control panel for a gamehost using PHP, which calls a bash script (which wraps around another) to control game servers Right now once the bash scripts are running the PHP script that called them is unavailable for any more users, and if apache is restarted the bash script is killed

[PHP] Question on data loading

2004-03-08 Thread marc serra
Hi, I'm currently designing a website with a catalogue containing lots of products (more than 1000). To reduce response time to database, I want to know if there is a solution like loading all objects in memory for all users like a servlet could do in java and after giving to each people

[PHP] Very, very wiered problem

2004-03-08 Thread Mário Gamito
Hi, I have this site at http://www.dte.ua.pt/ticct I don't know why, but it has a very strange behaviour. If you visit it and make a few reloads or browse through the site you'll see that *randomly* it shows only a blank page or an error saying it cannot find file whatever_file.php although it's

Re: [PHP] Re: php/mssql character limit?

2004-03-08 Thread Stuart
Ben Ramsey wrote: Anyone know of any kind of character limit in php or mssql (yes, Microsoft SQL Server) for entering long text into a text column (of around 4,055 characters in length--that's where it's cutting off)? Have a look in php.ini - IIRC there are 2 options that affect this. -- Stuart

Re: [PHP] Re: Mail Function

2004-03-08 Thread Stuart
Will wrote: My sendmail_from is as follows: sendmail_from = [EMAIL PROTECTED] Did you restart Apache (assuming you're using the module) after making this change? -- Stuart -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Question on data loading

2004-03-08 Thread Jason Davidson
I think your best bet is to only show product titles, and possibly a bit of the summary or something in the catalogue, then have the user click the product to view full information on it. this takes 2 db calls, one to load the limited info of all products, and one to load all info on one product.

Re: [PHP] Very, very wiered problem

2004-03-08 Thread Ryan A
Hey, I dont really know the cause of your problem but I would put in a bunch of echo statements to pin down the area where you are getting the random char, then you could go in and debug a bit more easily. HTH. Cheers, -Ryan On 3/8/2004 10:15:47 PM, Mário Gamito ([EMAIL PROTECTED]) wrote: Hi,

Re: [PHP] Very, very wiered problem

2004-03-08 Thread Brian Drexler
I've run into a similar problem before and it seems like the problem was with permissions on the file. You may want to double check those. Brian - Original Message - From: Ryan A [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Monday, March 08, 2004 4:43 PM Subject:

[PHP] new session in new window

2004-03-08 Thread Tim Traver
Hi all, I am programming an interface using PHP and rely on sessions to keep state. What I want to be able to do is to open a new window from my application that has a new session, without disturbing the current session. I know that I can kill the current session and start a new one, but

  1   2   >