RE: [PHP] problem calling functions

2007-10-19 Thread Jay Blanchard
[snip] [snip] ?php function solution1($var1){ // some code } function solution2($var2){ // some code } function solution3($var3){ // some code } if ($function == 'solution1' or $function == 'solution2' or $function == 'solution3') { $my_solution = $function($var); #

Re: [PHP] problem calling functions

2007-10-19 Thread Robin Vickery
On 19/10/2007, afan pasalic [EMAIL PROTECTED] wrote: hi I have a problem with calling functions: ?php function solution1($var1){ // some code } function solution2($var2){ // some code } function solution3($var3){ // some code } if ($function == 'solution1'

Re: [PHP] problem calling functions

2007-10-19 Thread afan pasalic
Stut wrote: afan pasalic wrote: why then the code doesn't work? the error I'm getting is: Fatal error: Call to undefined function solution1() in ... even the function itself is just above the line that calls function? I can only guess that you're not showing us the code you're actually

RE: [PHP] problem calling functions

2007-10-19 Thread Jay Blanchard
[snip] ?php function solution1($var1){ // some code } function solution2($var2){ // some code } function solution3($var3){ // some code } if ($function == 'solution1' or $function == 'solution2' or $function == 'solution3') { $my_solution = $function($var); # this

Re: [PHP] problem calling functions

2007-10-19 Thread Zoltán Németh
2007. 10. 19, péntek keltezéssel 11.15-kor afan pasalic ezt írta: hi I have a problem with calling functions: ?php function solution1($var1){ // some code } function solution2($var2){ // some code } function solution3($var3){ // some code } if

Re: [PHP] problem calling functions

2007-10-19 Thread afan pasalic
Jay Blanchard wrote: [snip] ?php function solution1($var1){ // some code } function solution2($var2){ // some code } function solution3($var3){ // some code } if ($function == 'solution1' or $function == 'solution2' or $function == 'solution3') {

Re: [PHP] problem calling functions

2007-10-19 Thread Stut
afan pasalic wrote: why then the code doesn't work? the error I'm getting is: Fatal error: Call to undefined function solution1() in ... even the function itself is just above the line that calls function? I can only guess that you're not showing us the code you're actually running. See the

Re: [PHP] problem calling functions

2007-10-19 Thread afan pasalic
actually, what example you are talking about? I got jay's example only? Stut wrote: afan pasalic wrote: why then the code doesn't work? the error I'm getting is: Fatal error: Call to undefined function solution1() in ... even the function itself is just above the line that calls function?

Re: [PHP] problem with download script on safari and ie 7

2007-10-08 Thread Robert Cummings
On Mon, 2007-10-08 at 14:59 +0100, Hulf wrote: The problem I am getting is safari just downloads the .php file. IE7 corrupts the binary file. It opens fine on FF and IE6. Is this a headers problem? What's the value of $type? Cheers, Rob. Thanks, R. ?php

Re: [PHP] problem with download script on safari and ie 7

2007-10-08 Thread Jim Lucas
Hulf wrote: header(Content-Length: .filesize($file)); Ok, for the third time, I am going to ask, why are you running filesize() on a variable that doesn't exist. You are pulling a variable out of the DB called $size. From the scripts that you posted a few weeks ago, the upload handling

Re: [PHP] Problem with eAccelerator 0.9.5.2

2007-10-04 Thread Robert Cummings
I would check for an eaccelerator mailing list. Personally I never use the web interface. Cheers, Rob. On Thu, 2007-10-04 at 17:29 +0200, Miguel J. Jiménez wrote: Hi, I am new to eAccelerator... when I use purge or clean the apache error log says: * File does not exist:

Re: [PHP] Problem with pasting text from word into php form

2007-10-01 Thread Jeffery Fernandez
On Monday 01 October 2007 16:01, Crab Hunt wrote: Hi, Is there a fix for removing the junk characters that appear when we copy and paste some text from Microsoft word into a php form ? For example the double quotes turn into something like *â??* thanks in advance. Some WYSIWYG editors do

Re: [PHP] Problem with pasting text from word into php form

2007-10-01 Thread Robert Cummings
On Mon, 2007-10-01 at 08:01 +0200, Crab Hunt wrote: Hi, Is there a fix for removing the junk characters that appear when we copy and paste some text from Microsoft word into a php form ? For example the double quotes turn into something like *â??* thanks in advance.

Re: [PHP] Problem with pasting text from word into php form

2007-10-01 Thread tedd
At 8:01 AM +0200 10/1/07, Crab Hunt wrote: Hi, Is there a fix for removing the junk characters that appear when we copy and paste some text from Microsoft word into a php form ? For example the double quotes turn into something like *â??* thanks in advance. Crab: That's something I'm

Re: [PHP] Problem With mysql_query

2007-09-05 Thread Zoltán Németh
2007. 09. 5, szerda keltezéssel 16.31-kor Brian Welter ezt írta: I have the following code and it doesn't behave properly but I can't find my error. The code is designed to validate user login. When I pass in an invalid email name to the checkLogin function it returns a result, not FALSE as

Re: [PHP] Problem With mysql_query

2007-09-05 Thread Stut
Brian Welter wrote: I have the following code and it doesn't behave properly but I can't find my error. The code is designed to validate user login. When I pass in an invalid email name to the checkLogin function it returns a result, not FALSE as the documentation describes. I can SELECT * from

Re: [PHP] Problem With mysql_query

2007-09-05 Thread Janet Valade
Brian Welter wrote: I have the following code and it doesn't behave properly but I can't find my error. The code is designed to validate user login. When I pass in an invalid email name to the checkLogin function it returns a result, not FALSE as the documentation describes. I can SELECT * from

Re: [PHP] problem with require_once

2007-08-15 Thread Tijnema
On 8/15/07, Vanessa Vega [EMAIL PROTECTED] wrote: Good day to all... I would like to ask for some help.. I have a form created in javascript codes. The page is a pop up window. I am passing the values of the form using the method post. The PHP file that handles the form displays the values

Re: [PHP] problem with require_once

2007-08-15 Thread Chris
Vanessa Vega wrote: Good day to all... I would like to ask for some help.. I have a form created in javascript codes. The page is a pop up window. I am passing the values of the form using the method post. The PHP file that handles the form displays the values from that and had the following

RE: [PHP] problem with require_once

2007-08-15 Thread Sanjeev N
Hi, The problem is simple... Either the file myclass.php path is wrong (may be your calling file is in some folder and myclass.php is in another folder) or if path is correct and file may have some syntax errors or some function may not exist.. Please check the path if wrong and check the file

Re: [PHP] problem in tr

2007-08-14 Thread sanjeevn
basically you want your page needs to be submitted to the next page when you click on the tr so do one thing. create 2 forms.. form 1 will have your main table and the datas form 2 will have hidden inputs for each tr you need to assign a variable called rownumber and create the hidden fields in

Re: [PHP] problem in tr

2007-08-14 Thread Richard Lynch
On Mon, August 13, 2007 11:35 pm, shivendra wrote: Sir,u r not getting what i m trying to say,my problem is how can i send the values of tds in a perticuler row,by a function in onClick event of that row.actuallly the values are coming from database,and i what i want when i click a

Re: [PHP] problem in tr

2007-08-13 Thread Jim Lucas
shivendra wrote: hello friends, i need your ehlp,actually i have a tablbe in my php page,the format is something like this: table tr name=t1 id=t1 tdmonu/tdtd23/td /tr tr name=t2 id=t2 tdmonu/tdtd23/td /tr /table What i want,when i click a row like row t1 the values of this particuler row,i

Re: [PHP] problem in tr

2007-08-13 Thread Richard Lynch
On Sat, August 11, 2007 4:58 am, shivendra wrote: hello friends, i need your ehlp,actually i have a tablbe in my php page,the format is something like this: table tr name=t1 id=t1 tdmonu/tdtd23/td /tr tr name=t2 id=t2 tdmonu/tdtd23/td /tr /table What i want,when i click a row like row

Re: [PHP] problem in tr

2007-08-13 Thread shivendra
Sir,u r not getting what i m trying to say,my problem is how can i send the values of tds in a perticuler row,by a function in onClick event of that row.actuallly the values are coming from database,and i what i want when i click a perticuler row the values are sent to some other page: table

Re: [PHP] Problem with php mail

2007-08-05 Thread Richard Heyes
I'm having problem with php mail. When I try to create an html message with only a href='mydomain.com'mydomain/a, gmail is registering it as a spam while yahoo is not. Can you suggest solutions to my problem. Try sending a real message. Messages being too small is one indicator of a

RE: [PHP] Problem with php mail

2007-08-05 Thread Bastien Koert
Can you post the headers that you are using...they play a role how the message is viewed by the receiving agent bastien Date: Sat, 4 Aug 2007 21:06:53 -0700 From: [EMAIL PROTECTED] To: php-general@lists.php.net Subject: [PHP] Problem with php

Re: [PHP] Problem with php mail

2007-08-05 Thread Tijnema
On 8/5/07, Jason Sia [EMAIL PROTECTED] wrote: Hi Everyone, I'm having problem with php mail. When I try to create an html message with only a href='mydomain.com'mydomain/a, gmail is registering it as a spam while yahoo is not. Can you suggest solutions to my problem. Thanks, Jason

Re: [PHP] Problem with php mail

2007-08-05 Thread Carlton Whitehead
) Regards, Carlton Whitehead - Original Message - From: Tijnema [EMAIL PROTECTED] To: Jason Sia [EMAIL PROTECTED] Cc: php-general@lists.php.net Sent: Sunday, August 5, 2007 11:22:13 AM (GMT-0500) America/New_York Subject: Re: [PHP] Problem with php mail On 8/5/07, Jason Sia [EMAIL PROTECTED

Re: [PHP] Problem with getting time in EST

2007-08-04 Thread Leonard Burton
HI, Are you looking for EDT or EST? EST = EDT -1. EDT = EST +1 Take care, Leonard On 8/4/07, Crab Hunt [EMAIL PROTECTED] wrote: Hi, I need to get the current time in EST timezone while my current timezone is CEST. I use the function : date_default_timezone_set('EST') But now the time

RE: [PHP] Problem with getting time in EST

2007-08-04 Thread Jan Reiter
Hi! Try setting the timezone to one of the cities inside it from this list: http://www.php.net/manual/en/timezones.america.php DST will be taken into account automatically. Hope that helps. Jan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] Problem with getting time in EST

2007-08-04 Thread Michael Preslar
if time() is always 1 hour behind what you want, why not time() + 3600 // 60 seconds * 60 minutes On 8/4/07, Crab Hunt [EMAIL PROTECTED] wrote: Hi, I need to get the current time in EST timezone while my current timezone is CEST. I use the function : date_default_timezone_set('EST') But

RE: [PHP] Problem with getting time in EST

2007-08-04 Thread tedd
At 3:57 PM +0200 8/4/07, Jan Reiter wrote: Hi! Try setting the timezone to one of the cities inside it from this list: http://www.php.net/manual/en/timezones.america.php DST will be taken into account automatically. Hope that helps. Jan Jan: That's the problem, it doesn't work. I have

RE: [PHP] Problem with getting time in EST

2007-08-04 Thread Jan Reiter
-Original Message- From: tedd [mailto:[EMAIL PROTECTED] Sent: Saturday, August 04, 2007 5:02 PM To: Jan Reiter; 'Crab Hunt'; php-general@lists.php.net Subject: RE: [PHP] Problem with getting time in EST Jan: That's the problem, it doesn't work. I have mine set for Detroit and it's an hour off

Re: [PHP] Problem with filemtime

2007-07-31 Thread Stut
Kevin Murphy wrote: I'm running the following script (simplified for discussion) to create a CSV file. My problem here is that the first filemtime and the last filemtime always equal each other. What I am trying to get is the filemtime ($new_last_modified) of the file that was just executed 3

Re: [PHP] Problem with filemtime

2007-07-31 Thread Eddie Dunckley
On Tue 31 Jul 07 22:57, Kevin Murphy wrote: $csv_file = myFile.csv; $last_modified_csv = filemtime($csv_file); $fh = fopen($csv_file, 'w') or die(can't open file); fwrite($fh, Data Goes Here); fclose($fh); add a clearstatcache() in here. (and sometimes just for because you might want to

Re: [PHP] problem with install php 5.2.3 on apache 2.2.4 in windows xp sp2

2007-07-27 Thread Richard Lynch
On Fri, July 20, 2007 7:57 pm, arvin lee wrote: system: windows xp sp 2 apache: apache_2.2.4-win32-x86-no_ssl PHP: php-5.2.3-win32-installer.msi i try to install php on my computer so that i can finish my homework, but after download these files nightmare begins. Install apache with

Re: [PHP] Problem iterating over an array with foreach and a reference variable

2007-07-25 Thread Robin Vickery
On 24/07/07, Chris Mika [EMAIL PROTECTED] wrote: I don't know if I'm doing something wrong or if this is a bug. Very simply: I created an array with values 1-5. I use a foreach loop to iterate over it to add 1 to the values. It correctly iterates over the array except for the last value. Code:

Re: [PHP] Problem iterating over an array with foreach and a reference variable

2007-07-24 Thread Jochem Maas
Chris Mika wrote: I don't know if I'm doing something wrong or if this is a bug. the problem is due ot reuse of the variable you define by reference in the second loop - cant really explain why its doing what you see but IIRC its not a bug, an artifact of the way references work. someone with a

Re: [PHP] Problem compile 5.2.3 souce under SUSE 10.1

2007-07-24 Thread Richard Lynch
On Mon, July 23, 2007 9:48 am, Jeff Lanzarotta wrote: I am not sure if this is the right mailing list or not, but here goes... I am attempting to compile php 5.2.3 from source under SUSE 10.1. The compile is fine, it is the 'make test' that is failing... When I run 'make test' I am getting:

Re: [PHP] Problem compile 5.2.3 souce under SUSE 10.1

2007-07-23 Thread Chris
Jeff Lanzarotta wrote: Hello, I am not sure if this is the right mailing list or not, but here goes... I am attempting to compile php 5.2.3 from source under SUSE 10.1. The compile is fine, it is the 'make test' that is failing... When I run 'make test' I am getting:

Re: [PHP] problem with array

2007-07-15 Thread Jim Lucas
Ross wrote: I am using postcode anywhere for a 'where's my nearest' function. All the geographical info is contained in an array, which when dumped looks like this var_dump ($result); array(1) { [0]= array(13) { [origin_postcode]= string(7) EH2 2BE [destination_postcode]= string(6) EH2 2BE

Re: [PHP] Problem with GD after upgrading Entropy 5.1.6 - 5.2.2

2007-07-11 Thread Richard Lynch
Comment out the header(Content-type); Change error_reporting to E_ALL. Surf directly to chart.php. See error messages. Fix them. On Tue, July 10, 2007 3:26 pm, M5 wrote: I've got a little PHP script that generates charts, that has been working perfectly every day for the past couple years.

Re: [PHP] Problem with GD after upgrading Entropy 5.1.6 - 5.2.2

2007-07-10 Thread Jim Lucas
M5 wrote: I've got a little PHP script that generates charts, that has been working perfectly every day for the past couple years. Since upgrading the Xserve's PHP from 5.1.6 to 5.2.2 (both Entropy), it has stopped working. Specifically, it doesn't return any GIFs (charts). Actually, it will

Re: [PHP] Problem with GD after upgrading Entropy 5.1.6 - 5.2.2

2007-07-10 Thread Eric Butera
On 7/10/07, M5 [EMAIL PROTECTED] wrote: I've got a little PHP script that generates charts, that has been working perfectly every day for the past couple years. Since upgrading the Xserve's PHP from 5.1.6 to 5.2.2 (both Entropy), it has stopped working. Specifically, it doesn't return any GIFs

Re: [PHP] Problem with GD after upgrading Entropy 5.1.6 - 5.2.2

2007-07-10 Thread M5
Thanks Jim, Such common sense revealed the cause—out of memory when generating the chart. The session 'problem' was a red herring—the reason the script ran out of memory is that GD only needed more than 8MB when it was able to produce a large enough GIF (since the session data was

Re: [PHP] Problem extending mysqli - No database connected

2007-07-03 Thread Richard Lynch
Somewhere in that mess there should be something to do a mysqli_select_db() to choose WHICH database to use... Where it's supposed to be in the mess of OOP layers you're wrapped around yourself, god only knows. On Fri, June 29, 2007 12:31 pm, Lee PHP wrote: Hi, I have a class that extends

Re: [PHP] Problem extending mysqli - No database connected

2007-06-29 Thread Stut
Lee PHP wrote: I have a class that extends msyqli that AFAIK can connect to the database, but gives me an error when I try and query it. Here's my class: -- BEGIN DATABASE CLASS -- require_once('Configuration.php'); require_once('RSFSException.php'); class Database extends mysqli {

Re: [PHP] Problem extending mysqli - No database connected

2007-06-29 Thread Stut
Lee PHP wrote: public static function getInstance($url = null) { // Set the URL if one is provided. if (isset($url)) { $this-setUrl($url); } // Instantiate the Singleton if not already instantiated. if(empty(self::$INSTANCE)) {

Re: [PHP] Problem extending mysqli - No database connected

2007-06-29 Thread Stut
Please always include the list when replying. Lee PHP wrote: Yup, that was it - thanks! Coming from a Java OO background, I find it frustrating that PHP doesn't warn me about stuff like that. Oh well, I guess I'll know next time. End the frustration, turn notices on. This reminds me of a

Re: [PHP] problem with composing URL with GET Variables

2007-05-24 Thread Richard Lynch
On Wed, May 23, 2007 1:39 am, Angelo Zanetti wrote: Dear all. I have a script that is called by an AJAX popup. Now I use an image file to get the path of an image for an img tag eg: img border=0 id=middleImage name=middleImage src=? echo $getImageURL; ? the $getImageURL is composed

[PHP] SOLVED Re: [PHP] problem with composing URL with GET Variables

2007-05-23 Thread Angelo Zanetti
SOLVED. seems that something else was causing the script not to work. Thanks anyway Angelo Zanetti wrote: Dear all. I have a script that is called by an AJAX popup. Now I use an image file to get the path of an image for an img tag eg: img border=0 id=middleImage name=middleImage

Re: [PHP] problem with string floats in PHP

2007-05-15 Thread Richard Davey
Hi Pablo, Tuesday, May 15, 2007, 7:44:52 PM, you wrote: Hello, Im designing a website in which I have to read some data (numbers) from a txt file and then send this data to a function which prints a graphic with them. When I read the data I save it in an array and the numbers are in this

Re: [PHP] problem with string floats in PH

2007-05-15 Thread Dave Goodchild
What function(s) are you using to read the file contents? How are you inserting them into the array? Code examples please...

Re: [PHP] problem with string floats in PHP

2007-05-15 Thread Andrei
If you need precision with floats or doubles you can use BCMath Arbitrary Precision Mathematics Functions. http://www.php.net/manual/en/ref.bc.php Andy Pablo Luque wrote: Hello, Im designing a website in which I have to read some data (numbers) from a txt file and then send this data

Re: [PHP] Problem with mssql_query()

2007-05-10 Thread Chris
Richard Lynch wrote: PostgreSQL will simply throw an error, because '8' is not no way no how an INT. It's a string. Since when? test=# create table b(b int); CREATE TABLE test=# insert into b(b) values ('1'); INSERT 0 1 test=# SELECT * from b; b --- 1 (1 row) test=# select * from b where

Re: [PHP] Problem with mssql_query()

2007-05-09 Thread Dan Shirah
Post your block of code from your connection string (Leave out your username/password info please) to the end of the result set for your query so I can take a look at it. On 5/9/07, Chris Boget [EMAIL PROTECTED] wrote: I noticed the following in my logs: 22:04:42 [warning]

RE: [PHP] Problem with mssql_query()

2007-05-09 Thread Chris Boget
, May 09, 2007 11:07 AM To: Chris Boget Cc: PHP General Subject: Re: [PHP] Problem with mssql_query() Post your block of code from your connection string (Leave out your username/password info please) to the end of the result set for your query so I can take a look at it. On 5/9/07, Chris Boget

Re: [PHP] Problem with mssql_query()

2007-05-09 Thread Richard Lynch
I dunno 100% for sure about MSsql, but I know for sure that MySQL lets you do wording_id = '8' when wording_id is an INT and PostgreSQL will simply throw an error, because '8' is not no way no how an INT. It's a string. I suspect MS SQL may be doing the same, in its own unique bland non-desript

Re: [PHP] Problem to insert the field

2007-05-08 Thread Zoltán Németh
2007. 05. 8, kedd keltezéssel 03.35-kor uni uni ezt írta: im having problem in making php news. I have session variables in login prosses: $_SESSION['username']=$rec['username']; $_SESSION['registered_admin']=TRUE; $_SESSION['username'] is taken from admin table registered_admin can

Re: [PHP] Problem to insert the field

2007-05-08 Thread Richard Lynch
On Tue, May 8, 2007 5:35 am, uni uni wrote: im having problem in making php news. I have session variables in login prosses: $_SESSION['username']=$rec['username']; $_SESSION['registered_admin']=TRUE; $_SESSION['username'] is taken from admin table registered_admin can publish the news,

Re: [PHP] Problem with timeout

2007-05-05 Thread Frank Arensmeier
4 maj 2007 kl. 23.48 skrev Richard Lynch: On Fri, May 4, 2007 3:42 pm, Frank Arensmeier wrote: I still think that the best way to go is to not involve Apache at all when running the script. Because the script already has functions for output logging etc. it is no big deal to change the code so

Re: [PHP] Problem with timeout

2007-05-04 Thread Richard Lynch
On Fri, May 4, 2007 8:37 am, Frank Arensmeier wrote: I am currently working on a script that parses a given http adress by looking for anchor tags, background images and so on - a crawler if you like. The downloaded content is temporarily stored on the server (Mac OS X Server 10.4.9 with PHP

Re: [PHP] Problem with timeout

2007-05-04 Thread Frank Arensmeier
4 maj 2007 kl. 21.58 skrev Richard Lynch: On Fri, May 4, 2007 8:37 am, Frank Arensmeier wrote: I am currently working on a script that parses a given http adress by looking for anchor tags, background images and so on - a crawler if you like. The downloaded content is temporarily stored on the

Re: [PHP] problem with shared object file

2007-05-02 Thread Richard Lynch
On Sat, April 28, 2007 6:15 pm, Tijnema ! wrote: You have exactly the same problem as i have. My shared hosting has safe_mode off en dl on, so i could load them :) But i don't have access to write to the php.ini file. Maybe we should create such workaround as you provided? Some script that

Re: [PHP] problem with shared object file

2007-05-02 Thread Tijnema !
On 5/3/07, Richard Lynch [EMAIL PROTECTED] wrote: On Sat, April 28, 2007 6:15 pm, Tijnema ! wrote: You have exactly the same problem as i have. My shared hosting has safe_mode off en dl on, so i could load them :) But i don't have access to write to the php.ini file. Maybe we should create

Re: [PHP] problem with shared object file

2007-05-02 Thread Richard Lynch
On Wed, May 2, 2007 5:10 pm, Tijnema ! wrote: On 5/3/07, Richard Lynch [EMAIL PROTECTED] wrote: On Sat, April 28, 2007 6:15 pm, Tijnema ! wrote: You have exactly the same problem as i have. My shared hosting has safe_mode off en dl on, so i could load them :) But i don't have access to

Re: [PHP] problem with shared object file

2007-04-28 Thread Richard Lynch
On Fri, April 27, 2007 5:49 pm, Tijnema ! wrote: Also, I think dl() is going away in PHP 6, so you may want to re-think this from the get-go... Yes, if seen it is deprecated, but how could somebody include dynamic library without editing php.ini? I was a little bit shocked when i read i

Re: [PHP] problem with shared object file

2007-04-28 Thread Tijnema !
On 4/28/07, Richard Lynch [EMAIL PROTECTED] wrote: On Fri, April 27, 2007 5:49 pm, Tijnema ! wrote: Also, I think dl() is going away in PHP 6, so you may want to re-think this from the get-go... Yes, if seen it is deprecated, but how could somebody include dynamic library without editing

Re: [PHP] problem with shared object file

2007-04-27 Thread Richard Lynch
On Thu, April 26, 2007 5:48 am, Marten Lehmann wrote: Hello, I'm trying to include a shared object file with the function dl(). But I always get: Warning: dl() [function.dl]: Unable to load dynamic library '/homepages/xyz/util.so' - /homepages/xyz/util.so: cannot open shared object file:

Re: [PHP] problem with shared object file

2007-04-27 Thread Tijnema !
On 4/27/07, Richard Lynch [EMAIL PROTECTED] wrote: On Thu, April 26, 2007 5:48 am, Marten Lehmann wrote: Hello, I'm trying to include a shared object file with the function dl(). But I always get: Warning: dl() [function.dl]: Unable to load dynamic library '/homepages/xyz/util.so' -

Re: [PHP] problem with shared object file

2007-04-26 Thread Stut
Marten Lehmann wrote: I'm trying to include a shared object file with the function dl(). But I always get: Warning: dl() [function.dl]: Unable to load dynamic library '/homepages/xyz/util.so' - /homepages/xyz/util.so: cannot open shared object file: No such file or directory in

Re: [PHP] problem with shared object file

2007-04-26 Thread Tijnema !
On 4/26/07, Marten Lehmann [EMAIL PROTECTED] wrote: Hello, I'm trying to include a shared object file with the function dl(). But I always get: Warning: dl() [function.dl]: Unable to load dynamic library '/homepages/xyz/util.so' - /homepages/xyz/util.so: cannot open shared object file: No such

Re: [PHP] Problem with uploading file using FireFox

2007-04-21 Thread Jürgen Wind
Richard Kurth-2 wrote: I know this is not a PHP problem it is a Browser problem but I need a workaround to make this work. So I can finishing my php script Using this to select the file and path form action=test7.php method=post input type=file name=uploadfile id=original

Re: [PHP] Problem with characters

2007-04-20 Thread Davi
Em Sexta 20 Abril 2007 14:19, enediel gonzalez escreveu: Hello. using phpmyadmin I can read that in one register of the database exists the string Vérifie que le service reading the registry in php code $description = $row[$description_field]); exec(echo '$description' /tmp/ttt.txt);

Re: [PHP] Problem with characters

2007-04-20 Thread Richard Lynch
On Fri, April 20, 2007 12:19 pm, enediel gonzalez wrote: Hello. I have a php site connected to one database mysql. using phpmyadmin I can read that in one register of the database exists the string Vérifie que le service reading the registry in php code $description =

Re: [PHP] Problem with XSLT importStyleSheet

2007-03-28 Thread Tijnema !
On 3/28/07, Timothy Murphy [EMAIL PROTECTED] wrote: I've been trying to use PHP/XSLT on my desktop, running Fedora-6 Linux (with all current updates). The function importStyleSheet() seems to cause a Segmentation Violation, as eg in the following script from

RE: [PHP] Problem with MySQL

2007-03-21 Thread Németh Zoltán
2007. 03. 21, szerda keltezéssel 00.04-kor Richard Lynch ezt írta: On Tue, March 20, 2007 11:08 am, Ford, Mike wrote: what do you want with that '@' here? that operator can be used to suppress error messages when calling functions but not when using a variable This is most definitely way

Re: [PHP] Problem with MySQL

2007-03-20 Thread Németh Zoltán
2007. 03. 20, kedd keltezéssel 15.09-kor Pavel Kaznarskiy ezt írta: Hello ! I have problem with access in mysql it is my code: html headtitleSQL Query Sender/title/head body ?php $host=; $user=; $password=; /* Section that executes query */ if(@$_GET['form'] == yes) what do you want

Re: [PHP] Problem with MySQL

2007-03-20 Thread Tijnema !
On 3/20/07, Pavel Kaznarskiy [EMAIL PROTECTED] wrote: Hello ! I have problem with access in mysql it is my code: html headtitleSQL Query Sender/title/head body ?php $host=; $user=; $password=; /* Section that executes query */ if(@$_GET['form'] == yes) { mysql_connect($host,$user,$password);

RE: [PHP] Problem with MySQL

2007-03-20 Thread Jim Moseby
Warning: mysql_select_db(): Access denied for user 'ODBC'@'localhost' (using password: NO) in z:\home\localhost\www\2.php on line 12 Warning: mysql_select_db(): A link to the server could not be established in z:\home\localhost\www\2.php on line 12 Warning: mysql_query(): Access

Re: [PHP] Problem with MySQL

2007-03-20 Thread Jochem Maas
Németh Zoltán wrote: 2007. 03. 20, kedd keltezéssel 15.09-kor Pavel Kaznarskiy ezt írta: Hello ! ... what do you want with that '@' here? that operator can be used to suppress error messages when calling functions but not when using a variable not true - although it's a lazy/bad* way

RE: [PHP] Problem with MySQL

2007-03-20 Thread Ford, Mike
On 20 March 2007 13:26, Németh Zoltán wrote: 2007. 03. 20, kedd keltezéssel 15.09-kor Pavel Kaznarskiy ezt írta: Hello ! I have problem with access in mysql it is my code: html headtitleSQL Query Sender/title/head body ?php $host=; $user=; $password=; /* Section that

RE: [PHP] Problem with MySQL

2007-03-20 Thread Németh Zoltán
2007. 03. 20, kedd keltezéssel 16.08-kor Ford, Mike ezt írta: On 20 March 2007 13:26, Németh Zoltán wrote: 2007. 03. 20, kedd keltezéssel 15.09-kor Pavel Kaznarskiy ezt írta: Hello ! I have problem with access in mysql it is my code: html headtitleSQL Query

RE: [PHP] Problem with MySQL

2007-03-20 Thread Richard Lynch
On Tue, March 20, 2007 11:08 am, Ford, Mike wrote: what do you want with that '@' here? that operator can be used to suppress error messages when calling functions but not when using a variable This is most definitely way wrong. What complete tosh! @ is a unary operator, so can be applied

Re: [PHP] Problem with script....

2007-03-08 Thread Tijnema !
On 3/8/07, Fabio Silva [EMAIL PROTECTED] wrote: Hi all, i have a problem with this script... could anybody help me?? What is your problem? you are only posting your code here and whe have to find the error? What error comes up? Tijnema Regards, titlePassword change/title/head body

Re: [PHP] Problem with script....

2007-03-08 Thread Jim Lucas
Fabio Silva wrote: Hi all, i have a problem with this script... could anybody help me?? Regards, titlePassword change/title/head body bgcolor=#ff ?php //Written by Dave Edick on 6/22/99 // customize these variables for your install $base_dn=ou=People; $ldap_server=localhost;

Re: [PHP] Problem with spam

2007-03-06 Thread Jochem Maas
Bc. Radek Krejca wrote: Hello, JM grep -l mail( *.php I of course tried this before but I have hundereds domains and a lot of files where clients using function mail. that sucks then doesn't it ... there is no better way, unless you search out the patch someone wrote (which may be part

Re: [PHP] Problem with spam

2007-03-06 Thread Børge Holen
On Monday 05 March 2007 12:15, Bc. Radek Krejca wrote: Hi, I have problem with spam over function mail. My clients have badly written functions and I cannot find where. Is there in php simple way to detect which script generate mail? I mean like header (in case of returning mail) or

RE: [PHP] Problem with spam

2007-03-05 Thread Jim Moseby
Hi, I have problem with spam over function mail. My clients have badly written functions and I cannot find where. Is there in php simple way to detect which script generate mail? I mean like header (in case of returning mail) or log every using mail function etc. grep -l mail(

Re: [PHP] problem generating a file link

2007-03-05 Thread Jochem Maas
George Pitcher wrote: Hi, I have a web page that only I see, and I want to link to a PDF file on a mapped drive so that it will open in Acrobat. I have tried variations on the following: $storelink = a href=\file://G:\\.$filename..pdf\ target=\_blank\PDF/a; and the link keeps coming

RE: [PHP] problem generating a file link

2007-03-05 Thread George Pitcher
Jochem, I have tried variations on the following: $storelink = a href=\file://G:\\.$filename..pdf\ target=\_blank\PDF/a; and the link keeps coming out as: file:///G:/575991.pdf is that what the browser (let me guess: IE) is interpreting the link as or is that what is literally

Re: [PHP] problem generating a file link

2007-03-05 Thread Jochem Maas
George Pitcher wrote: Jochem, I have tried variations on the following: $storelink = a href=\file://G:\\.$filename..pdf\ target=\_blank\PDF/a; and the link keeps coming out as: file:///G:/575991.pdf is that what the browser (let me guess: IE) is interpreting the link as or is that

RE: [PHP] problem generating a file link

2007-03-05 Thread George Pitcher
Jochem, This is what the browser (guessed wrong - I'm using Firefox) shows in the status bar. ok, right - so what does the html source actually contain? a href=file://G:\588012.pdf target=_blankPDF/a I'm assuming that the way firefox is interpreting the link makes it not work? does the

Re: [PHP] problem generating a file link

2007-03-05 Thread Jochem Maas
George Pitcher wrote: Jochem, This is what the browser (guessed wrong - I'm using Firefox) shows in the status bar. ok, right - so what does the html source actually contain? a href=file://G:\588012.pdf target=_blankPDF/a so what happens when you make it like so: a

RE: [PHP] problem generating a file link

2007-03-05 Thread George Pitcher
Jochem, This is what the browser (guessed wrong - I'm using Firefox) shows in the status bar. ok, right - so what does the html source actually contain? a href=file://G:\588012.pdf target=_blankPDF/a so what happens when you make it like so: a href=file:///G:/588012.pdf

Re: [PHP] problem generating a file link

2007-03-05 Thread Myron Turner
There's nothing wrong with this. It's standard. I believe the logic of this is that the first two forward slashes represent the standard protocol indicator: http://, ftp://, file://, while the final forward slash represents a directory off the root directory, as a carry over from unix /tmp,

Re: [PHP] Problem with pgsql.so and extensions.

2007-03-01 Thread Richard Lynch
Is it possible that you have an OLD pgsql.so file on your box that a cold Apache start finds, but an Apache restart does not fine?... On Wed, February 28, 2007 4:34 pm, Marc Burgauer wrote: I found various links via Google mentioning the problem of ordering the extension in the ini file. In

Re: [PHP] Problem with pgsql.so and extensions.

2007-02-28 Thread Chris
Marc Burgauer wrote: I found various links via Google mentioning the problem of ordering the extension in the ini file. In my case this hasn't produced quite the result. I haven't found an order that works for me. Here the problem: Freebsd 6 apache 1.3.34 PHP 5.2.1 I am using the ports

Re: [PHP] Problem Directing the Page with header

2007-02-16 Thread Németh Zoltán
2007. 02. 15, csütörtök keltezéssel 18.41-kor Ashish Rizal ezt írta: Hey Jim, Thanks for the quick response. I have actually made the whole code on same page (login.php) and the functions that i used in this code are in functions.php. Now this time it is showing the warning : Warning: Cannot

<    1   2   3   4   5   6   7   8   9   10   >