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' -

[PHP] problem with shared object file

2007-04-26 Thread Marten Lehmann
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 file or directory in /homepages/xyz/test.php on

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

[PHP] Problem with uploading file using FireFox

2007-04-21 Thread Richard Kurth
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 size=60BR BR input type=submit

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 size

[PHP] Problem with characters

2007-04-20 Thread enediel gonzalez
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 = $row[$description_field]); exec(echo '$description' /tmp/ttt.txt); inside of

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 =

[PHP] Problem with XSLT importStyleSheet

2007-03-28 Thread Timothy Murphy
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 http://ie2.php.net/manual/en/function.xsl-xsltprocessor-construct.php

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

[PHP] Problem with MySQL

2007-03-20 Thread Pavel Kaznarskiy
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); mysql_select_db($_POST['database']); $query =

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

[PHP] Problem with script....

2007-03-08 Thread Fabio Silva
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; error_reporting(E_ERROR);

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;

[PHP] Problem with APC

2007-03-07 Thread steve
Hi, I upgraded to PHP 4.4.6 and APC 3.0.13 at the same time. Every day at some point, it starts having a problem and the load on that machine styrockets. It does not happen with the opcode cache in Zend Platform for PHP 4.4.6. Also, in the error log I see a lot of things like this:

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

[PHP] Problem with spam

2007-03-05 Thread Bc. Radek Krejca
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. Thank you -- Regards

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

[PHP] problem generating a file link

2007-03-05 Thread George Pitcher
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 out as: file:///G:/575991.pdf

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[2]: [PHP] Problem with spam

2007-03-05 Thread Bc. Radek Krejca
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. -- Regards, Bc. Radek Krejca ICQ: 65895541 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] problem in using ldap_add() function

2007-03-05 Thread Arun Sadasivan
Hi , i m trying to insert a new user account into the ldap using php . bt i m getting the following warning and the data is not geting inserted *Warning*: ldap_add() [function.ldap-addhttp://gsrv/%7Earun/globees_webservice/Authentication_Layer/function.ldap-add]: Value array must have

[PHP] problem in using ldap_add() function

2007-03-05 Thread Arun Sadasivan
Hi , i m trying to insert a new user account into the ldap using php . bt i m getting the following warning and the data is not geting inserted _ Warning: ldap_add() [function.ldap-add]: Value array must have consecutive indices 0, 1, ... in

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

[PHP] Problem with pgsql.so and extensions.

2007-02-28 Thread Marc Burgauer
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 collection and I have

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

Re: [PHP] Problem with Redirect

2007-02-16 Thread David Blanco
Hi! Ashish Rizal escribió: Hi friends, I am having problem with following code. 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 modify header information

Re: [PHP] Problem Directing the Page with header

2007-02-16 Thread Martin Marques
On Thu, 15 Feb 2007, Ashish Rizal wrote: ?php session_start(); require_once 'functions.php'; $UserName = $_POST['UserName']; $Password = $_POST['Password']; $error = login_check($_POST); $adminAddress = getAbsolutePath().'adminlogin.php'; $userAddress = getAbsolutePath().'userlogin.php';

[PHP] Problem Directing the Page with header

2007-02-15 Thread Ashish Rizal
Hi, I am having problem with redirecting the page in user authenication page . I am working on my windows machine as a localhost with PHP Version 5.2.0. Everything is working good in local machine (in Windows) but now when i tried to upload the same code to the server which is using PHP Version

Re: [PHP] Problem Directing the Page with header

2007-02-15 Thread Jim Lucas
Ashish Rizal wrote: Hi, I am having problem with redirecting the page in user authenication page . I am working on my windows machine as a localhost with PHP Version 5.2.0. Everything is working good in local machine (in Windows) but now when i tried to upload the same code to the server which

Re: [PHP] Problem with Redirect

2007-02-15 Thread Richard Lynch
[Didn't I see this thread before?...] On Thu, February 15, 2007 7:39 pm, Ashish Rizal wrote: Hi friends, I am having problem with following code. 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

[PHP] Problem with file reading

2007-01-05 Thread Delta Storm
Hi, I'm a beginner and i'm still learning PHP and I got a problem: $file = http://localhost/test_folder/test1.txt;; //I have also tried test_folder/test1.txt and text1.txt $fh = fopen($file, r) or die(Could not open file!);

Re: [PHP] Problem with file reading

2007-01-05 Thread Stut
Delta Storm wrote: I'm a beginner and i'm still learning PHP and I got a problem: $file = http://localhost/test_folder/test1.txt;; //I have also tried test_folder/test1.txt and text1.txt $fh = fopen($file, r) or die(Could not open file!); $data = fread($fh,

Re: [PHP] Problem with file reading

2007-01-05 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2007-01-05 16:34:41 +: Delta Storm wrote: I'm a beginner and i'm still learning PHP and I got a problem: $file = http://localhost/test_folder/test1.txt;; //I have also tried test_folder/test1.txt and text1.txt $fh = fopen($file, r) or

Re: [PHP] Problem with file reading

2007-01-05 Thread Stut
Roman Neuhauser wrote: # [EMAIL PROTECTED] / 2007-01-05 16:34:41 +: Delta Storm wrote: I'm a beginner and i'm still learning PHP and I got a problem: $file = http://localhost/test_folder/test1.txt;; //I have also tried test_folder/test1.txt and text1.txt $fh

Re: [PHP] Problem with file reading

2007-01-05 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2007-01-05 17:17:46 +: Roman Neuhauser wrote: # [EMAIL PROTECTED] / 2007-01-05 16:34:41 +: Delta Storm wrote: I'm a beginner and i'm still learning PHP and I got a problem: $file = http://localhost/test_folder/test1.txt;; //I have also tried

Re: [PHP] Problem with file reading

2007-01-05 Thread Stut
Roman Neuhauser wrote: # [EMAIL PROTECTED] / 2007-01-05 17:17:46 +: Roman Neuhauser wrote: # [EMAIL PROTECTED] / 2007-01-05 16:34:41 +: Delta Storm wrote: I'm a beginner and i'm still learning PHP and I got a problem: $file =

Re: [PHP] Problem with file reading

2007-01-05 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2007-01-05 17:40:49 +: Using mod_php with Apache will make the current directory the directory that contains the script being requested. I am assuming that the OP is trying to access the file from the script that is being requested and not an included file in a

[PHP] Problem with copy() function

2007-01-05 Thread R B
Hi, I'm trying to copy a file like this: copy(home/xxx/public_html/yyy/zzz/index.php, home/xxx/public_html/yyy/www/index.php) and have this error: *Warning*: Wrong parameter count for copy() in */home/.* Someone can help me please? Thanks,

Re: [PHP] Problem with copy() function

2007-01-05 Thread Jochem Maas
R B wrote: Hi, I'm trying to copy a file like this: copy(home/xxx/public_html/yyy/zzz/index.php, home/xxx/public_html/yyy/www/index.php) ^ -- your missing a slash (although that shouldn't be the problem) and have this error: *Warning*: Wrong parameter count for copy() in

Re: [PHP] Problem with copy() function

2007-01-05 Thread Richard Lynch
On Fri, January 5, 2007 5:01 pm, R B wrote: I'm trying to copy a file like this: copy(home/xxx/public_html/yyy/zzz/index.php, home/xxx/public_html/yyy/www/index.php) and have this error: *Warning*: Wrong parameter count for copy() in */home/.* Someone can help me please? You are

[PHP] Problem with displaying image

2007-01-05 Thread Budi Setiawan
hi, im Budi, recently i have some problems here with displaying jpeg image in firefox browser. at first, when i tested my web page using IE it jsut works fine, but when i decided to test it using Firefox 2 the problem occurs. some of my images left undisplayed. but the things that i cant still

Re: [PHP] Problem with displaying image

2007-01-05 Thread Jim Lucas
Budi Setiawan wrote: hi, im Budi, recently i have some problems here with displaying jpeg image in firefox browser. at first, when i tested my web page using IE it jsut works fine, but when i decided to test it using Firefox 2 the problem occurs. some of my images left undisplayed. but the

Re: [PHP] Problem with displaying image

2007-01-05 Thread Budi Setiawan
do you have an example/page that we can look at? here is one of them : http://10.126.11.246/schematics2007/main_logic.php and the image URL : http://10.126.11.246/schematics2007/image/banner/mainlog.jpg all will be be displayed in an unusual manner in FFox.. thanks

Re: [PHP] Problem with displaying image

2007-01-05 Thread Jim Lucas
Budi Setiawan wrote: do you have an example/page that we can look at? here is one of them : http://10.126.11.246/schematics2007/main_logic.php and the image URL : http://10.126.11.246/schematics2007/image/banner/mainlog.jpg all will be be displayed in an unusual manner in FFox.. thanks

[PHP] Problem using PHP with Apache (probably something silly)

2007-01-04 Thread Douglas Temple
Hello, First off, I hope everyone had Happy New Year. Onto business, I am trying to install PHP 5.2.0 on a WinXP computer, using Apache 2.2.3 as the web server with MySQL enabled extension. My problem is that when I start up Apache with the edited httpd.conf file including the following code:

Re: [PHP] Problem using PHP with Apache (probably something silly)

2007-01-04 Thread Stut
Douglas Temple wrote: First off, I hope everyone had Happy New Year. Onto business, I am trying to install PHP 5.2.0 on a WinXP computer, using Apache 2.2.3 as the web server with MySQL enabled extension. My problem is that when I start up Apache with the edited httpd.conf file including the

Re: [PHP] Problem using PHP with Apache (probably something silly)

2007-01-04 Thread Jochem Maas
like stut said - your probably have some old .dll(s) hanging around that windows is loading in preference to the ones it should be (when cleaning up all existing installations also check that there is nothing lurking in the system32 directory. if that doesn't give you any joy - you might consider

[PHP] problem with SSL

2007-01-02 Thread afan
I know it's wrong place to post apache based question, but it's kind of urgent and I'm not on any apache list. If anyone can please help me. we (firm aI work for) purchased SSL certificate for our domain name with w's (www.vernoncompany.biz). but, when try to get https://vernoncompany.biz will

[PHP] problem with mysql_real_escape_string()

2006-12-28 Thread afan
Hi to all! I moved my website from one php4/mysql4 based server to new hosting company and php5/mysq5 based server. Everything worked fine on old server, though now, on one page after I submit new record, I'll get this error: Warning: mysql_real_escape_string() [function.mysql-real-escape-string

Re: [PHP] problem with mysql_real_escape_string()

2006-12-28 Thread Stut
[EMAIL PROTECTED] wrote: I moved my website from one php4/mysql4 based server to new hosting company and php5/mysq5 based server. Everything worked fine on old server, though now, on one page after I submit new record, I'll get this error: Warning: mysql_real_escape_string()

Re: [PHP] problem with mysql_real_escape_string()

2006-12-28 Thread afan
A little bit lower on php.net/manual I found explanation too. I'm sorry for bothering - wasn't check whole page before posting. The Warning was strange for me because never got it before :) Thanks for your help. -afan [EMAIL PROTECTED] wrote: I moved my website from one php4/mysql4 based

Re: [PHP] problem loading phpinfo

2006-12-19 Thread Richard Lynch
On Tue, December 19, 2006 2:42 am, [EMAIL PROTECTED] wrote: I am very grateful that you had the time to reply also your reply was very quick, this is the kind support you don't get from most other open source. In regard to the problem with phpinfo, I had same problem, but it is not because

Re: [PHP] problem with imagecreate on new webserver

2006-12-18 Thread Richard Lynch
On Sat, December 16, 2006 2:53 pm, [EMAIL PROTECTED] wrote: i am moving my webserver from a windows box to a linux box with php ver 5.2.0 and noticed i am having a problem with a php file(code below). i thought it was a module i was missing but looking at the php config file all the same

Re: [PHP] problem loading phpinfo

2006-12-18 Thread Richard Lynch
You didn't actually install PHP correctly. Check your httpd error.log file -- You may need to restart Apache and check the log to get the error messages it spews out at start up if you've had it going with a bunch of other messages clogging up the log (e.g., Missing robots.txt, missing

[PHP] problem loading phpinfo

2006-12-17 Thread christook
Please, Could you tell me if this problem has been resolved: I am using php-5.2X and has this problem, I also had this problem when I was using php-5.1.X. My Apache is httpd-2.2.3. Here is the post from someone who is having the same problem. I config PHP4.0.6 for

[PHP] PHP problem with array keys / pointers

2006-12-17 Thread julian haffegee
Hi all, I've a problem thats been bothering me for a week now I have an array $animals keys and values like this 1 = cat 2 = dog 3 = mouse 4 = horse I want to be able to access them using either a key or a pointer, however the key/pointer will be a variable without variables, if I want

Re: [PHP] PHP problem with array keys / pointers

2006-12-17 Thread Pintér Tibor
1 = cat 2 = dog 3 = mouse 4 = horse iwfm with array(1='cat',2='dog',3='mouse',4='horse'): output: Array ( [1] = cat [2] = dog [3] = mouse [4] = horse ) dog source: ? $animals=array(1='cat',2='dog',3='mouse',4='horse'); print_r($animals); $x=2; echo $animals[$x].\n; ? t -- PHP

Re: [PHP] PHP problem with array keys / pointers

2006-12-17 Thread Satyam
- Original Message - From: julian haffegee [EMAIL PROTECTED] To: php-general@lists.php.net Sent: Sunday, December 17, 2006 7:31 PM Subject: [PHP] PHP problem with array keys / pointers Hi all, I've a problem thats been bothering me for a week now I have an array $animals keys

Re: [PHP] PHP problem with array keys / pointers

2006-12-17 Thread Jochem Maas
don't hijack an existing thread. (i.e. don't reply to someone elses' post/reply if your asking a new question. you need to learn to use var_dump(), and if you look at the line of code below you should have everything you need to know about numeric array keys: $a = array(2 = foo); $b = array(2 =

Re: [PHP] problem loading phpinfo

2006-12-17 Thread Casey Chu
You probably didn't install PHP correctly. On 12/16/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Please, Could you tell me if this problem has been resolved: I am using php-5.2X and has this problem, I also had this problem when I was using php-5.1.X. My Apache is httpd-2.2.3. Here is the

Re: [PHP] PHP problem with array keys / pointers

2006-12-17 Thread julian haffegee
will set the element of ordinal number 0 and key ' 2' to 'dog'. To get that value you would either ask for $array[0] or $array[' 2']. thanks for all the comments so far, i'm not sure you are understanding what I am asking for. My problem is NOT knowing what is in the arrays, but how to

Re: [PHP] PHP problem with array keys / pointers

2006-12-17 Thread Robert Cummings
On Sun, 2006-12-17 at 23:19 +, julian haffegee wrote: will set the element of ordinal number 0 and key ' 2' to 'dog'. To get that value you would either ask for $array[0] or $array[' 2']. thanks for all the comments so far, i'm not sure you are understanding what I am asking for.

Re: [PHP] problem with imagecreate on new webserver

2006-12-17 Thread Chris
[EMAIL PROTECTED] wrote: i am moving my webserver from a windows box to a linux box with php ver 5.2.0 and noticed i am having a problem with a php file(code below). i thought it was a module i was missing but looking at the php config file all the same modules are loaded. allow_url_fopen is

[PHP] problem with imagecreate on new webserver

2006-12-16 Thread macha
i am moving my webserver from a windows box to a linux box with php ver 5.2.0 and noticed i am having a problem with a php file(code below). i thought it was a module i was missing but looking at the php config file all the same modules are loaded. allow_url_fopen is enabled. what would i be

Re: [PHP] problem with ob_start() and header() in osCommerce cart

2006-12-14 Thread afan
[EMAIL PROTECTED] wrote: [EMAIL PROTECTED] wrote: Hi, even it's problem with osCommerce cart I think it's still php question: there is a code in application_top.php file (this file is includeed in login.php page, all the way on the top of the login.php file wich means is the first

[PHP] problem with ob_start() and header() in osCommerce cart

2006-12-13 Thread afan
Hi, even it's problem with osCommerce cart I think it's still php question: there is a code in application_top.php file (this file is includeed in login.php page, all the way on the top of the login.php file wich means is the first one) // Check if the browser supports gzip encoding,

Re: [PHP] problem with ob_start() and header() in osCommerce cart

2006-12-13 Thread Jochem Maas
[EMAIL PROTECTED] wrote: Hi, even it's problem with osCommerce cart I think it's still php question: there is a code in application_top.php file (this file is includeed in login.php page, all the way on the top of the login.php file wich means is the first one) // Check if the browser

Re: [PHP] problem with ob_start() and header() in osCommerce cart

2006-12-13 Thread afan
[EMAIL PROTECTED] wrote: Hi, even it's problem with osCommerce cart I think it's still php question: there is a code in application_top.php file (this file is includeed in login.php page, all the way on the top of the login.php file wich means is the first one) // Check if the browser

Re: [PHP] problem with ob_start() and header() in osCommerce cart

2006-12-13 Thread Youri LACAN-BARTLEY
[EMAIL PROTECTED] wrote: [EMAIL PROTECTED] wrote: Hi, even it's problem with osCommerce cart I think it's still php question: there is a code in application_top.php file (this file is includeed in login.php page, all the way on the top of the login.php file wich means is the first one)

Re: [PHP] problem with register globals on new server

2006-12-05 Thread Richard Lynch
On Mon, December 4, 2006 4:53 am, Tony Marston wrote: No, otherwise I would have quoted them. Generally speaking when people say that X is inefficient or bad for performance all they can prove is that if something extra is done then it takes extra processing time to perform that extra work,

Re: [PHP] problem with register globals on new server

2006-12-04 Thread Tony Marston
Richard Lynch [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] On Sun, December 3, 2006 5:22 am, Tony Marston wrote: Richard Lynch [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] On Sat, December 2, 2006 5:31 am, Tony Marston wrote: I think it is quite possible for a

Re: [PHP] problem with register globals on new server

2006-12-04 Thread Chris
Tony Marston wrote: Richard Lynch [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] On Sun, December 3, 2006 5:22 am, Tony Marston wrote: Richard Lynch [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] On Sat, December 2, 2006 5:31 am, Tony Marston wrote: I think it is quite

Re: [PHP] problem with register globals on new server

2006-12-03 Thread Tony Marston
Richard Lynch [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] On Sat, December 2, 2006 5:31 am, Tony Marston wrote: If you site administrator thinks that using an htaccess file is a security issue then he is very much mistaken. The directives in an htaccess file DO NOT enable

Re: [PHP] problem with register globals on new server

2006-12-03 Thread Richard Lynch
On Sun, December 3, 2006 5:22 am, Tony Marston wrote: Richard Lynch [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] On Sat, December 2, 2006 5:31 am, Tony Marston wrote: I think it is quite possible for a sysAdmin to configure AllowOverride and .htaccess in such a way that too

Re: [PHP] problem with register globals on new server

2006-12-02 Thread Tony Marston
[EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] [EMAIL PROTECTED] wrote: hi, I had to move my osComerce store to new hosting company. new server runs on php5/mysql5. got this error: FATAL ERROR: register_globals is disabled in php.ini, please enable it! since evenon old server

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