[PHP] Re: [PHP-WEBMASTER] php error

2012-08-13 Thread Daniel Brown
On Mon, Aug 13, 2012 at 2:32 PM, tomas lagro tomas.la...@hotmail.com wrote: Hello, my name is tomas, i'm having a problem and i've checked a lot of times the script and it is not that, because in my local xampp server it works correctly, the issue is that i have a form on my webpage and when

Re: [PHP] Re: [PHP-WEBMASTER] php error

2012-08-13 Thread As'ad Djamalilleil
can we see the code of the form ? On Mon, Aug 13, 2012 at 11:09 AM, Daniel Brown danbr...@php.net wrote: On Mon, Aug 13, 2012 at 2:32 PM, tomas lagro tomas.la...@hotmail.com wrote: Hello, my name is tomas, i'm having a problem and i've checked a lot of times the script and it is not that,

Re: [PHP] Re: fpdf adding font error

2009-03-30 Thread Thodoris
If you want to use UTF-8 fonts with FPDF then switch to TCPDF (www.tcpdf.org) Thanks Tony I think that it will do what I really need. -- Thodoris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: fpdf adding font error

2009-03-27 Thread Tony Marston
If you want to use UTF-8 fonts with FPDF then switch to TCPDF (www.tcpdf.org) -- Tony Marston http://www.tonymarston.net http://www.radicore.org Thodoris t...@kinetix.gr wrote in message news:49ccee54.80...@kinetix.gr... Hello gang, I know this is not an fpdf mailing list but if anyone

[PHP] Re: php session GC error

2009-01-13 Thread Shawn McKenzie
Frank Stanovcak wrote: I'm trying to make sure that my sessions are timed out by my server. I'm running it on winxp, and my php.ini contains the following session.gc_probability = 1 session.gc_divisor = 1 ; After this number of seconds, stored data will be seen as 'garbage' and ;

[PHP] Re: php session GC error

2009-01-13 Thread Frank Stanovcak
Shawn McKenzie nos...@mckenzies.net wrote in message news:f8.ef.24097.e510d...@pb1.pair.com... Frank Stanovcak wrote: I'm trying to make sure that my sessions are timed out by my server. I'm running it on winxp, and my php.ini contains the following session.gc_probability = 1

[PHP] Re: php session GC error

2009-01-13 Thread Nathan Rixham
Frank Stanovcak wrote: Shawn McKenzie nos...@mckenzies.net wrote in message news:f8.ef.24097.e510d...@pb1.pair.com... Frank Stanovcak wrote: I'm trying to make sure that my sessions are timed out by my server. I'm running it on winxp, and my php.ini contains the following

[PHP] Re: php session GC error

2009-01-13 Thread Frank Stanovcak
Nathan Rixham nrix...@gmail.com wrote in message news:496d03d3.2060...@gmail.com... Frank Stanovcak wrote: Shawn McKenzie nos...@mckenzies.net wrote in message news:f8.ef.24097.e510d...@pb1.pair.com... Frank Stanovcak wrote: I'm trying to make sure that my sessions are timed out by my

[PHP] Re: php session GC error

2009-01-13 Thread Shawn McKenzie
Frank Stanovcak wrote: Nathan Rixham nrix...@gmail.com wrote in message news:496d03d3.2060...@gmail.com... Frank Stanovcak wrote: Shawn McKenzie nos...@mckenzies.net wrote in message news:f8.ef.24097.e510d...@pb1.pair.com... Frank Stanovcak wrote: I'm trying to make sure that my sessions

[PHP] Re: php session GC error

2009-01-13 Thread Frank Stanovcak
Shawn McKenzie nos...@mckenzies.net wrote in message news:e3.00.25553.8560d...@pb1.pair.com... Frank Stanovcak wrote: Nathan Rixham nrix...@gmail.com wrote in message news:496d03d3.2060...@gmail.com... Frank Stanovcak wrote: Shawn McKenzie nos...@mckenzies.net wrote in message

[PHP] Re: php session GC error

2009-01-13 Thread Frank Stanovcak
So from everything I've read there is no real way to assure a session timeout with out timestamping it myself and dealing with it in code by doing a time compare. bummer. Frank Stanovcak blindspot...@comcast.net wrote in message news:57.31.25553.de80d...@pb1.pair.com... Shawn McKenzie

[PHP] Re: php session GC error

2009-01-13 Thread Nathan Rixham
Frank Stanovcak wrote: So from everything I've read there is no real way to assure a session timeout with out timestamping it myself and dealing with it in code by doing a time compare. bummer. you're probably storing the session in a session cookie (which is default) so

Re: [PHP] Re: php session GC error

2009-01-13 Thread Andrew Ballard
On Tue, Jan 13, 2009 at 5:08 PM, Nathan Rixham nrix...@gmail.com wrote: Frank Stanovcak wrote: So from everything I've read there is no real way to assure a session timeout with out timestamping it myself and dealing with it in code by doing a time compare. bummer. you're probably storing

[PHP] Re: [PHP-DEV] Fatal error: Call to a member function on a non-object

2008-11-17 Thread Jochem Maas
please don't post this kind of question to internals. use [EMAIL PROTECTED] Christopher Vogt schreef: Hej, I use PHP 5.2.6. I am refactoring some code to use more object-orientation. I encounter a problem, where the new object-oriented version results in a fatal error, where the old

[PHP] Re: [PHP-DEV] Fatal error: Call to a member function on a non-object

2008-11-17 Thread Christopher Vogt
Hej Jochem, I understand there are many PHP beginners flooding the wrong lists with the wrong questions, so I don't mind your harsh response. But I am not one of them. please don't post this kind of question to internals. use [EMAIL PROTECTED] This was/is a question if something is worth a

[PHP] Re: [PHP-DEV] Fatal error: Call to a member function on a non-object

2008-11-17 Thread Jochem Maas
Christopher Vogt schreef: Hej Jochem, I understand there are many PHP beginners flooding the wrong lists with the wrong questions, so I don't mind your harsh response. But I am not one of them. I disagree. this kind of thing belongs on php-general (and lets keep it on list please), if you

[PHP] Re: [PHP-DEV] Fatal error: Call to a member function on a non-object

2008-11-17 Thread Paweł Stradomski
W liście Christopher Vogt z dnia poniedziałek 17 listopada 2008: I have a good understanding of OOP. This is not a start for me. I am just refactoring existing PHP code to be object-oriented. You say there are plenty of reasons for a Fatal error, so please tell me a few, so I understand the

[PHP] Re: [PHP-DEV] Fatal error: Call to a member function on a non-object

2008-11-17 Thread Christopher Vogt
Hej Stefan, This was/is a question if something is worth a change request. This concerns the development of PHP and in my eyes belongs on internals. Am I mistaken here? Yes, because you are like the 100th person to request that. A mail to general@ probably would have told you that. I am

[PHP] Re: [PHP-DEV] Fatal error: Call to a member function on a non-object

2008-11-17 Thread Christopher Vogt
Hej Jochem, this kind of thing belongs on php-general (and lets keep it on list please), if you have a serious proposal/rfc and/or one develops from a discussion there then likely some of the old-hats will likely recommend escalating to internal. I'm sorry I wasn't aware of this procedure.

[PHP] Re: [PHP-DEV] Fatal error: Call to a member function on a non-object

2008-11-17 Thread Jochem Maas
Christopher Vogt schreef: Hej Jochem, this kind of thing belongs on php-general (and lets keep it on list please), if you have a serious proposal/rfc and/or one develops from a discussion there then likely some of the old-hats will likely recommend escalating to internal. I'm sorry I

[PHP] Re: question about customized error

2008-03-22 Thread Nilesh Govindrajan
Sudhakar wrote: if a user by mistake types the wrong url directly in the address bar ex= www.website.com/abou.php instead of typing www.website.com/aboutus.php instead of the browser displaying File not found or a 404 error message i would like to display a customized page which will still have

[PHP] Re: mysql test and error

2008-02-24 Thread Nathan Rixham
hE wrote: hi, I found an e-book in the net about php and mysql and with its sample program I am trying to test whether I have mysql working correctly or not. the following program gives error message. why? html headtitleTest MySQL/title/head body !-- mysql_up.php -- ?php3 $host=”localhost”;

[PHP] Re: PHP eval() fatal error

2007-08-27 Thread Maarten Balliauw
When re-writing this example to a form of create_function, the same problem occurs: ?php $code = ' return 12*A+; '; // Clearly incorrect code :-) $returnValue = 0; // Evaluate formula try { $temporaryCalculationFunction = @create_function('', $code); // E_ERROR here if

Re: [PHP] Re: PHP eval() fatal error

2007-08-27 Thread Richard Lynch
On Mon, August 27, 2007 12:59 am, Maarten Balliauw wrote: Now let's repeat my question: is there any way to gracefully evaluate specific code, eventually catch an error and respond to that, without using parsekit() or launching another process to get this done? I missed that you had an E_ERROR

[PHP] Re: Out of Memory error

2007-08-23 Thread M. Sokolewicz
Naz Gassiep wrote: I'm getting out of memory errors in my image handling script, I *think* its because I'm handling images that are too large to fit in memory, but I thought I'd check before just upping the setting to 32mb. It is currently set to 16mb and I am working with a 2048x1536 image.

[PHP] Re: PHP eval() fatal error

2007-08-20 Thread M. Sokolewicz
Maarten Balliauw wrote: Here's the thing: I'm trying to do some dynamic code compilation within PHP using eval(). The code I'm trying to compile raises an E_ERROR (Fatal). Here's a simple example: ?php $code = ' $returnValue = 12*A+; '; // Clearly incorrect code :-) $returnValue = 0;

Re: [PHP] Re: strange include path error

2007-06-28 Thread Jim Lucas
brian wrote: Greg Beaver wrote: brian wrote: PHP 5.1.4 on Fedora 2 I recieved a note from a client about a problem with their site today. Looking at the error log, i found that the DB connection script that's included into any other that needs it was throwing an error because MDB2.php

Re: [PHP] Re: strange include path error

2007-06-28 Thread brian
Jim Lucas wrote: brian wrote: FWIW, i've also carefully gone over the site and everything seems to be in order. The error was triggered when some script included a DB connection script (that has require_once 'MDB2.php';) but, unfortunately, the error msg doesn't specify which it was. I

[PHP] Re: strange include path error

2007-06-27 Thread Greg Beaver
brian wrote: PHP 5.1.4 on Fedora 2 I recieved a note from a client about a problem with their site today. Looking at the error log, i found that the DB connection script that's included into any other that needs it was throwing an error because MDB2.php couldn't be found: Failed opening

[PHP] Re: strange include path error

2007-06-27 Thread brian
Greg Beaver wrote: brian wrote: PHP 5.1.4 on Fedora 2 I recieved a note from a client about a problem with their site today. Looking at the error log, i found that the DB connection script that's included into any other that needs it was throwing an error because MDB2.php couldn't be found:

[PHP] Re: Printing MSSQL-Query ERROR description in PHP

2007-06-05 Thread Darren Whitlen
karthi keyan wrote: Hi, Is there any way to print the reason why the query has been failed, like the way MySQL-PHP has mysql_error()? Regards, KARTHIK. - Download prohibited? No problem! CHAT from any browser, without download. I'm

Re: [PHP] Re: Printing MSSQL-Query ERROR description in PHP

2007-06-05 Thread Zoltán Németh
2007. 06. 5, kedd keltezéssel 11.38-kor Darren Whitlen ezt írta: karthi keyan wrote: Hi, Is there any way to print the reason why the query has been failed, like the way MySQL-PHP has mysql_error()? Regards, KARTHIK. -

Re: [PHP] Re: Printing MSSQL-Query ERROR description in PHP

2007-06-05 Thread Darren Whitlen
Zoltán Németh wrote: 2007. 06. 5, kedd keltezéssel 11.38-kor Darren Whitlen ezt írta: karthi keyan wrote: Hi, Is there any way to print the reason why the query has been failed, like the way MySQL-PHP has mysql_error()? Regards, KARTHIK. -

Re: [PHP] Re: Printing MSSQL-Query ERROR description in PHP

2007-06-05 Thread Zoltán Németh
2007. 06. 5, kedd keltezéssel 11.50-kor Darren Whitlen ezt írta: Zoltán Németh wrote: 2007. 06. 5, kedd keltezéssel 11.38-kor Darren Whitlen ezt írta: karthi keyan wrote: Hi, Is there any way to print the reason why the query has been failed, like the way MySQL-PHP has

Re: [PHP] Re: Printing MSSQL-Query ERROR description in PHP

2007-06-05 Thread Darren Whitlen
look at the subject ;) that's how I guessed what he wants Woops, missed that. You have a good point there :) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Php and postfix error [EMAIL PROTECTED]: Sender address rejected: Domain not found

2005-09-02 Thread JamesBenson
http://php.net/mail choksi wrote: Hi All, I have php running over Apache on a debian box. I am tryin to use the php mail function. When i run this command from console (php email.php) it will run and the mail is delivered as it will get the from username from the postfix config file but

Re: [PHP] Re: Php and postfix error [EMAIL PROTECTED]: Sender address rejected: Domain not found

2005-09-02 Thread choksi
Thanks This is sorted now. Rgds Dhaval On 02/09/05, JamesBenson [EMAIL PROTECTED] wrote: http://php.net/mail choksi wrote: Hi All, I have php running over Apache on a debian box. I am tryin to use the php mail function. When i run this command from console (php email.php) it

Re: [PHP] Re: Illegal string offset error in array

2005-03-28 Thread Johannes Findeisen
Hello Jasper and Rasmus, thanks for reply! I have found out why this does not work. Take a look below. On Monday 28 March 2005 02:33, Rasmus Lerdorf wrote: Jasper Bryant-Greene wrote: Rasmus Lerdorf wrote: Jasper Bryant-Greene wrote: You can't access string offsets with square brackets []

[PHP] Re: Illegal string offset error in array

2005-03-27 Thread Jasper Bryant-Greene
Johannes Findeisen wrote: Hello all, sorry if this has been asked allready but i didn't find any usefull information in the web. Why is this function not working in PHP5? [snip] /* * This line does not work in PHP5 cause off

Re: [PHP] Re: Illegal string offset error in array

2005-03-27 Thread Rasmus Lerdorf
Jasper Bryant-Greene wrote: Johannes Findeisen wrote: Hello all, sorry if this has been asked allready but i didn't find any usefull information in the web. Why is this function not working in PHP5? [snip] /* * This line does

Re: [PHP] Re: Illegal string offset error in array

2005-03-27 Thread Jasper Bryant-Greene
Rasmus Lerdorf wrote: Jasper Bryant-Greene wrote: You can't access string offsets with square brackets [] in PHP5. You need to use curly braces {} instead. Not sure where you got that idea. This is not true. -Rasmus Actually, it is. See the following URL:

Re: [PHP] Re: Illegal string offset error in array

2005-03-27 Thread Rasmus Lerdorf
Jasper Bryant-Greene wrote: Rasmus Lerdorf wrote: Jasper Bryant-Greene wrote: You can't access string offsets with square brackets [] in PHP5. You need to use curly braces {} instead. Not sure where you got that idea. This is not true. -Rasmus Actually, it is. See the following URL:

Re: [PHP] Re: Illegal string offset error in array

2005-03-27 Thread Jasper Bryant-Greene
Rasmus Lerdorf wrote: Jasper Bryant-Greene wrote: You can't access string offsets with square brackets [] in PHP5. You need to use curly braces {} instead. Not sure where you got that idea. This is not true. -Rasmus Actually, it is. See the following URL:

Re: [PHP] Re: Illegal string offset error in array

2005-03-27 Thread Rasmus Lerdorf
Jasper Bryant-Greene wrote: Rasmus Lerdorf wrote: Jasper Bryant-Greene wrote: You can't access string offsets with square brackets [] in PHP5. You need to use curly braces {} instead. Not sure where you got that idea. This is not true. -Rasmus Actually, it is. See the following URL:

Re: [PHP] Re: Illegal string offset error in array

2005-03-27 Thread James Kaufman
On Mon, Mar 28, 2005 at 11:29:28AM +1200, Jasper Bryant-Greene wrote: Rasmus Lerdorf wrote: Jasper Bryant-Greene wrote: You can't access string offsets with square brackets [] in PHP5. You need to use curly braces {} instead. Not sure where you got that idea. This is not true. -Rasmus

[PHP] Re: php in free() error

2005-02-10 Thread Jason Barnett
Gerard Samuel wrote: ... ?php $array = array(0 = array('world')); class RecursiveArrayIterator extends ArrayIterator implements RecursiveIterator { function hasChildren() { return (is_array($this-current())); } function getChildren() { return new self($this-current());

Re: [PHP] Re: php in free() error

2005-02-10 Thread Gerard Samuel
Jason Barnett wrote: Gerard Samuel wrote: ... ?php $array = array(0 = array('world')); class RecursiveArrayIterator extends ArrayIterator implements RecursiveIterator { function hasChildren() { return (is_array($this-current())); } function getChildren() { return new

[PHP] Re: PHP5 CLI Custom Error Reporting Doesn't Work as Expected

2004-10-24 Thread Daniel Schierbeck
Daniel Talsky wrote: Included is my reproduce code. I'm trying to write a custom error logger for my PHP CLI script. The main problem is that when I try something like a failed require() statement, my custom error reporting function tells me it got an E_WARNING, but it stops program execution,

[PHP] Re: WAHT is my error???

2004-08-20 Thread Torsten Roehr
Andre [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Inside of one ARRAY can I make one WHILE function tabelas($tabela_tipo){ $sql = mysql_query(SELECT * FROM .$tabela_tipo._credito ORDER BY .$tabela_tipo._ordenar); $return = select name=\tabelas\

[PHP] Re: Session_Start Problem (Fatal Error)

2004-07-09 Thread Aidan Lister
Did you look on the mambo forums as suggested? [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I'm using Mambo Open Source CMS to run a site I'm building, and seem to have a problem logging into the Administration Tool. It comes up with: Fatal error: session_start(): Failed to

[PHP] Re: [OT?] Apache/PHP error/warning(s)

2004-06-06 Thread Thomas Seifert
Php Lists wrote: Hi list I can understand the difference between 'world writable' and 'writable by the webserver' in concept, but how would I go about manipulating these variables? Specifically, theses are error reports generated when setting up eGroupware (sourceforge.net) Thanks in advance.

[PHP] Re: IIS HTTP 405 Error - Clean Urls

2004-05-05 Thread Dac Chartrand
Jeremy Weir wrote: how about a server-side redirect to /directory/ at the end of execution of /directory/index.php. You'll give the user an easier time with their back/forward buttons if you do that too. I was looking for more of a server work around, not a me changing my source code work around.

[PHP] Re: Parse error: parse error, unexpected '='

2004-04-20 Thread Craig
?php $args = array(a,b,b); $keys = array(0,1,2); function array_key_remove($args,$keys,$replacement=NULL) { echo Foo!; } ? Lasse Motroen [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I have received some code and am trying to run it. However, I get the following error:

[PHP] Re: Fatal Error: PDFlib error ...

2003-12-15 Thread Sven
Matthias Nothhaft schrieb: Hi, I'm trying to get the pdflib work... I use pdflib 4.0.3 downloaded from pdflib.de and php 4.3.4 on Debian Linux. I wrote this test code: hi matthias, if you want to use this lib it's good to be familiar with classes and objects in php. the manual can help you at

[PHP] Re: preg match compilation error

2003-10-27 Thread DvDmanDT
Start and end with same char, for example with a / or a #... Like if(preg_match(#[^a-zA-Z0-9,._\+\()\-]#,$filename)) -- // DvDmanDT MSN: dvdmandt¤hotmail.com Mail: dvdmandt¤telia.com ## Please, if you are using windows, you may be infected by Swen. Please go here to find

RE: [PHP] Re: preg match compilation error (Resolved)

2003-10-27 Thread Luis Lebron
Thanks, That did the trick. Luis -Original Message- From: DvDmanDT [mailto:[EMAIL PROTECTED] Sent: Monday, October 27, 2003 3:19 PM To: [EMAIL PROTECTED] Subject: [PHP] Re: preg match compilation error Start and end with same char, for example with a / or a #... Like if(preg_match

[PHP] Re: Help with parse error

2003-08-20 Thread Kae Verens
James Johnson wrote: Hi, I'm trying to figure out this error I'm getting in my code: Parse error: parse error in /home/.paco/campuscb/AdPayment.php on line 9 This is the code on line 9: $sDate = date('Y-m-d',time()); if you're looking for the current time, then this is sufficient:

[PHP] Re: Help with parse error

2003-08-20 Thread Baroiller Pierre-Emmanuel
Hi, it's a common error... I think you have an unclosed string before in your script... example : $data='the data; $sDate = date('Y-m-d',time()); this code will produce an error on ligne with $sDate only becose the line with $data is unclosed ( missing the last ' ).. Take a look at your

[PHP] Re: [otro] [PHP] Re: Error with directories

2003-05-29 Thread j0rd1 adame
On Wednesday 28 May 2003 03:07, Catalin Trifu wrote: Hi, It seems to me that a script from /var/www/wahtever/ includes a script called algo.php which can not be found by PHP, because, probably it is in the /var/www/ dir. Either you add /var/www/ to the php.ini

[PHP] re-throw from custom error handler? error patterns?

2003-01-09 Thread kellan
I was wondering is it possible to re-throw an error that one has caught with a custom error handler if, for example, I only wanted to deal with the errors generated by the library I was working on? Or perhaps some way to only catch a custom defined error type? I suppose I'm trying to overload

[PHP] Re: PHP/MYSQL query error

2002-08-26 Thread Chris Crane
I did some more testing and I found that I forgot the first field in the columns section of the Statement. So now it looks like this: I also copy and pasted the statement into PHPMYADMIN and it worked fine. It just doesn't work here function AddSignupRequest($Signup_FName, $Signup_LName,

[PHP] Re: snmp / php / linux /error

2002-07-18 Thread David Robley
In article [EMAIL PROTECTED], [EMAIL PROTECTED] says... Iam trying to use my php file in a Linux machine. #!/usr/local/bin/snmp_guard.php -q ? $bat = snmpget(192.168.10.8, pub_likt, .1.3.6.1.4.1.2606.1.2.12.0); $sum = snmpget(192.168.10.8, pub_likt, .1.3.6.1.4.1.2606.1.2.13.0); $drift

[PHP] Re: [PHP-DB] Fatal error: Call to undefined function: pg_connect() in .....

2002-07-18 Thread Miles Thompson
Is PostgreSQL started with the -i switch? (I think that's the one; it exposes it to tcp/ip connections.) Check your PGSQL docs to be certain. Have you run a page with phpinfo? Is PostgreSQL support compiled into your installation of PHP? This is a file consisting of ? phpinfo(); ?, named

Re: [PHP] Re: [PHP-DB] Fatal error: Call to undefined function: pg_connect() in .....

2002-07-18 Thread Rick Widmer
At 11:02 PM 7/18/02 -0300, you wrote: Is PostgreSQL started with the -i switch? (I think that's the one; it exposes it to tcp/ip connections.) Check your PGSQL docs to be certain. This is not the problem. Have you run a page with phpinfo? Is PostgreSQL support compiled into your

[PHP] Re: SQL question, getting error and not sure why

2002-05-31 Thread Michael Virnstein
This Read does not block read. read does not block write. write does not block read. write blocks write on the same column. should read: Oracle has a row locking mechanism, so the following blocking mechanisms apply, when two or more oracle sessions want to operate on the same row: read does

[PHP] Re: SQL question, getting error and not sure why

2002-05-31 Thread Michael Virnstein
and don't do something like insert into (col1, col2) values ('1', '2'); to oracle. this is deadly if you do insert into (col1, col2) values ('3', 4'); afterwards, oracle will not know this query. it'll have to parse it again, because you used literals. you have to use bindvars, if it is

[PHP] Re: SQL question, getting error and not sure why

2002-05-30 Thread Michael Davey
insert into acteursenc (nuacteur,nomacteur) (select AA, BB from (select max(nuacteur)+1 AA from acteursenc), (select 'Michael Sweeney' BB from acteursenc)) produces an ORA-1: unique constraint error. The primary key is

[PHP] Re: SQL question, getting error and not sure why

2002-05-30 Thread Michael Sweeney
lol sorry, buttons are too close together in OE. Anyon ehave a sugestion on a different way of doing what I want to do? Should be easy but i;m starting to get a headache from this (6-7 years not doing SQL doesn't help either) [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL

[PHP] Re: SQL question, getting error and not sure why

2002-05-30 Thread Michael Virnstein
the problem is, that the second sql produces more than one row. To be exactly the amount of select count(*) from acteursenc rows, with 'Michael Sweeney' as value in BB. Perhaps you have a unique key on nomacteur?! I could help further, if i know what you want to do with your query. if nuacteur

[PHP] Re: SQL question, getting error and not sure why

2002-05-30 Thread Michael Davey
Is the key a numeric sequence (1001, 1002, etc...)? If so, you could do a select count(*) from table and add your offset to that (1000 from the example above) Does this help? Mikey Michael Sweeney [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... lol sorry,

[PHP] Re: SQL question, getting error and not sure why

2002-05-30 Thread Michael Virnstein
with second sql i meant: (select 'Michael Sweeney' BB from acteursenc) if you want one row and you need a dummy table, use dual. Michael Michael Virnstein [EMAIL PROTECTED] schrieb im Newsbeitrag [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... the problem is, that the second sql produces more

Re: [PHP] Re: SQL question, getting error and not sure why

2002-05-30 Thread Rouvas Stathis
I would use a trigger with a sequence, as in: CREATE SEQUENCE sequence_name_SEQ INCREMENT BY 1 START WITH -99 MAXVALUE 99 MINVALUE -9 CYCLE

Re: [PHP] Re: SQL question, getting error and not sure why

2002-05-30 Thread Michael Virnstein
yes, in that way the query i suggested would look like: insert into acteursenc (nomacteur) values ('Michael Sweeney') and nuacteur would be provided by the before insert trigger automatically. that's like mysqls autoincrement. Michael Rouvas Stathis [EMAIL PROTECTED] schrieb im

[PHP] Re: Newbie - create image error URGENT

2002-05-18 Thread Henry
Do you have GD Installed? Dani [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hi everyone! I'm still learning PHP and MYSQL using windows98, MYSQL, PHP 4 in my local hard drive. I want to learn uploading image and resizing image in my local machine. when

[PHP] Re: register_globals and E_ALL error reporting

2002-03-13 Thread Peter Clarke
Richard Ellerbrock [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... The following code generates a warning when register_globals=off and error reporting is set to E_ALL. How do I define the constant in another way not to generate a warning? This is with php

[PHP] Re: Help with an error I can't solve!

2002-03-05 Thread Mike Eheler
Is the line within a function? If so, it's possible that $HTTP_POST_VARS hasn't been globalled. Check to see if within the function that line is on that the line global $HTTP_POST_VARS; exists. Mike On Tue, 05 Mar 2002 12:32:59 -0800, Lic. Carlos A. Triana Torres wrote: Hello all, I

Re: [PHP] Re: Help with an error I can't solve!

2002-03-05 Thread Jason Wong
On Wednesday 06 March 2002 04:45, Mike Eheler wrote: Is the line within a function? If so, it's possible that $HTTP_POST_VARS hasn't been globalled. Check to see if within the function that line is on that the line global $HTTP_POST_VARS; exists. Mike On Tue, 05 Mar 2002 12:32:59 -0800,

Re: [PHP] Re: Help with an error I can't solve!

2002-03-05 Thread Jason Wong
On Wednesday 06 March 2002 05:06, you wrote: Thanks Jason, but I am using php 4.0.0 and there is no way I can get rid of that error! This is driving me crazy! :-) Thanks for the instructions, if you have any other idea, please let me know... With the recent security problem on older versions

[PHP] Re: FIXED - PHP - browser - ERROR !

2002-01-19 Thread Nick Wilson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 * On 19-01-02 at 13:37 * Dani said Hi Again! I found the problem! It seems that netscape can't take an empty value for 'action' in the form tag. here is the example: form name=form1 method=post action= this will result ERROR

[PHP] Re: PHP4 Win2k 'Application Error'

2001-11-21 Thread Julio Nobrega Trabalhando
I had this problem with the CGI installation version. Modify your httpd.conf and adapt it to run PHP as an Apache module and all should work fine. -- Julio Nobrega No matter where you go, this. Jason Reid [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... I'm

[PHP] Re: Help with an error I can't find!

2001-11-01 Thread Liz Fulghum
Sounds like $HTTP_POST_VARS is not a valid array (to check do if(is_array($HTTP_POST_VARS)) { print YUP; } else { print NOPE; }) Check to make sure that track_vars is turned on in the PHP.ini. Lic. Carlos A. Triana Torres [EMAIL PROTECTED] wrote in message

[PHP] Re: Windows 2000 Permissions error

2001-10-19 Thread Fredrik Arild Takle
I guess you have to set EVERYONE. (Don't now for sure) Fredrik A. Takle Justin King [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... While trying to use dir() on a certain directory, I get the error Warning: OpenDir: Invalid argument (errno 22) in

[PHP] Re: Warning: unexpected regex error (14)

2001-09-30 Thread CC Zona
In article [EMAIL PROTECTED], [EMAIL PROTECTED] (Big5ive) wrote: $list = split(|,$user, 3); echo tr align=lefttd$list[0]/tdtd$list[1]/tdtd$list[2]/td/tr; ? /table /body /html How can i fix this error? Content of members.txt is Big5ive|Admin|24.09.2001 The script

[PHP] Re: 500 Internal Server Error

2001-09-21 Thread Richard Lynch
500 just means PHP or PWS puked. Check whatever log files PWS has, and any log file for PHP you may have specified in your php.ini Also, try running php from an MS-DOS prompt to take PWS out of the picture, and surf to a non-PHP page to see if that works. Narrow down where the problem must be.

[PHP] Re: Line number of error

2001-09-06 Thread Jonathan Hilgeman
Nevermind - found the answer. The current line number is held in the constant __LINE__ and the current file name is held in the constant __FILE__ So I can do the following: print this is line . __LINE__ . in the file . __FILE__; - Jonathan Jonathan Hilgeman [EMAIL PROTECTED] wrote in

[PHP] Re: PHP/Java, Receiving Error message.

2001-09-06 Thread Richard Lynch
Warning: java.lang.NoSuchMethodException: initialize Now this method definitely exists. The syntax I am using is as follows: $Class = new Java(long.path.to.class); $Method = $Class-initialize(12345, George, 123 spiff Street, suite 121, Hometown, USA, 12345, UPG); Wild guess: Some of

[PHP] Re: File read Parser error

2001-08-31 Thread Bopolissimus Platypus
On Thu, 30 Aug 2001 17:06:38 -0500, [EMAIL PROTECTED] (Gary) wrote: Can someone tell me why I am getting an error for the second line below. It works locally but not live. ?php $filename = www/name/test/free.txt missing semicolon there. tiger -- PHP General Mailing

[PHP] Re: HTTP 500 server error

2001-08-30 Thread Richard Lynch
Try to change PWS so you are running as a CGI first. Then move up to ISAPI. -- WARNING [EMAIL PROTECTED] address is an endangered species -- Use [EMAIL PROTECTED] Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm Volunteer a little time: http://chatmusic.com/volunteer.htm

[PHP] Re: GET / POST strange error

2001-08-24 Thread Richard Lynch
What the heck is 2?... And why is 2 the good number for your authentication to return for successful login?... I'm guessing that you are mis-interpreting the result codes for $authlib-login()... -- WARNING [EMAIL PROTECTED] address is an endangered species -- Use [EMAIL PROTECTED] Wanna help

[PHP] Re: [PHP-DB] Parsing Error

2001-07-08 Thread Tom Carter
PM To: [EMAIL PROTECTED] Subject: Re: [PHP-DB] Parsing Error Thanks Larry. Now I am getting a printf too few arguments error on this line: printf(A HREF=\mailto:[EMAIL PROTECTED]?subject=$store\%20$jobdesc\;$jobdesc/ABR \n); Thanks, Jeff Larry Rivera [EMAIL PROTECTED] wrote

[PHP] Re: PLEASE HELP!! STRANGE ERROR!! IS THERE ANY PHP DEVELOPER?

2001-04-25 Thread Daniel BI
Hi ! Don't bother with it, anybody! I recompiled all under php-4.0.4pl1 version and it works just fine! It seems it was the php version's fault.. thank u all! Daniel BI Did anybody have the same error? I have this simple script: === ? session_start() ; ? FORM

[PHP] Re: Is there an error??

2001-01-14 Thread Hrishi
$odate_sql is not initialized. --- Yeah, there are more important things in life than money, but they won't go out with you if you don't have any. - Original Message - From: "Dhaval Desai" [EMAIL PROTECTED] To: "Hrishi" [EMAIL PROTECTED] Sent: