[PHP] trouble using is_file()

2011-04-24 Thread Jim Giner
I've got a d/e screen that collects a path and a file name. My script then attempts to verify that the file exists before moving on to do things with it. I've displayed the combined fields and they are showing correctly - ie, c:\temp\emax.pdf as well as c:/temp/emax.pdf . But when I use that

Re: [PHP] trouble using is_file()

2011-04-24 Thread Stuart Dallas
On Monday, 25 April 2011 at 00:26, Jim Giner wrote: I've got a d/e screen that collects a path and a file name. My script then attempts to verify that the file exists before moving on to do things with it. I've displayed the combined fields and they are showing correctly - ie,

Re: [PHP] trouble using is_file()

2011-04-24 Thread Jim Giner
Hmmm... did not realize that. From all the code I examined I thought it was looking at the client. So how does one do a file upload from the client to the host? Preferably with ftp rather than http. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] trouble using is_file()

2011-04-24 Thread Stuart Dallas
On Monday, 25 April 2011 at 01:07, Jim Giner wrote: Hmmm... did not realize that. From all the code I examined I thought it was looking at the client. So how does one do a file upload from the client to the host? Preferably with ftp rather than http. FTP is a completely separate system

Re: [PHP] trouble using is_file()

2011-04-24 Thread Jim Giner
because I've seen many comments in my research that ftp is better for larger files. I'm trying to upload photos so I know that they can be big. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] trouble using is_file()

2011-04-24 Thread Stuart Dallas
On Monday, 25 April 2011 at 01:24, Jim Giner wrote: because I've seen many comments in my research that ftp is better for larger files. I'm trying to upload photos so I know that they can be big. Considering the number of websites out there that use HTTP POST for uploading photos I really

Re: [PHP] trouble using is_file()

2011-04-24 Thread Jim Giner
Well, I'll take your word for it. As well as that of all the examples on Google that come up when looking for php ftp uploads which are NOT doing ftp uploads at all. Seems that many people are calling the 'move' of their file from one host folder to another an 'upload'. Thanks! -- PHP

Re: [PHP] trouble using is_file()

2011-04-24 Thread Stuart Dallas
You're probably seeing references to the move_uploaded_file PHP function which is used when processing an HTTP POST file upload. However, the fact that a simple query like that didn't give you anything related should tell you how often FTP upload is integrated into a website. Modify your search

[PHP] trouble sending japanese to mysql database!

2009-03-05 Thread James
Right, I'm having some rather strange issues between mysql and php when it comes to inserting Japanese text. I have the table and fields set to utf8_unicode_ci, if I use phpmyAdmin to insert japanese text through the interface it works just fine. If I use phpmyadmin but type in the mysql

Re: [PHP] trouble sending japanese to mysql database!

2009-03-05 Thread Eric Butera
On Thu, Mar 5, 2009 at 2:06 PM, James mli...@ichor-interactive.com wrote: Right, I'm having some rather strange issues between mysql and php when it comes to inserting Japanese text. I have the table and fields set to utf8_unicode_ci, if I use phpmyAdmin to insert japanese text through the

Re: [PHP] trouble sending japanese to mysql database!

2009-03-05 Thread James
Ah, no I hadn't (*red face*), thanks very much, works beautifully now! James Eric Butera eric.but...@gmail.com wrote in message news:6a8639eb0903051302s3b398a00m2287b15a33d3b...@mail.gmail.com... On Thu, Mar 5, 2009 at 2:06 PM, James mli...@ichor-interactive.com wrote: Right, I'm having

RE: [PHP] trouble uploading more than 500 bytes...

2008-10-12 Thread Karl St-Jacques
Hello, I have trouble uploading files to a server. Actually I can't upload more than 500 bytes or so.Here's a quick print_r of the $_FILES [_FILES] = Array( [avatar] = Array ( [name] = index.html [type] = text/html [tmp_name] = /tmp/phpRbmXK5 [error] = 0 [size] = 505 ))

Re: [PHP] trouble uploading more than 500 bytes...

2008-10-12 Thread Ashley Sheridan
On Sat, 2008-10-11 at 22:31 -0400, Karl St-Jacques wrote: Hello, I have trouble uploading files to a server. Actually I can't upload more than 500 bytes or so. Here's a quick print_r of the $_FILES [_FILES] = Array( [avatar] = Array ([name] = index.html[type] =

RE: [PHP] trouble uploading more than 500 bytes...

2008-10-12 Thread Ashley Sheridan
On Sun, 2008-10-12 at 07:54 -0400, Karl St-Jacques wrote: Hello, I have trouble uploading files to a server. Actually I can't upload more than 500 bytes or so.Here's a quick print_r of the $_FILES [_FILES] = Array( [avatar] = Array ( [name] = index.html [type] =

Re: [PHP] trouble uploading more than 500 bytes...

2008-10-12 Thread Daniel Brown
On Sun, Oct 12, 2008 at 8:58 AM, Ashley Sheridan [EMAIL PROTECTED] wrote: No, not sure where the code of conduct is, but hang about for a while and you should get the general idea ;) Just the stuff at http://php.net/mailinglists. -- /Daniel P. Brown More full-root dedicated server

[PHP] trouble uploading more than 500 bytes...

2008-10-11 Thread Karl St-Jacques
Hello, I have trouble uploading files to a server. Actually I can't upload more than 500 bytes or so. Here's a quick print_r of the $_FILES [_FILES] = Array( [avatar] = Array ([name] = index.html[type] = text/html[tmp_name] = /tmp/phpRbmXK5[error] = 0[size] = 505

[PHP] Trouble setting httpd.conf, I need help

2008-03-13 Thread Willian Schubert Baldasso
My Apache 2.2.8 doen't start with these lines below: # load the php main library to avoid dll hell Loadfile d:\winappl\php\php5ts.dll # load the sapi so that apache can use php LoadModule php5_module d:\winappl\php\php5apache2_2.dll # set the php.ini location so that you don't have to waste

Re: [PHP] Trouble setting httpd.conf, I need help

2008-03-13 Thread Daniel Brown
On Thu, Mar 13, 2008 at 9:45 AM, Willian Schubert Baldasso [EMAIL PROTECTED] wrote: My Apache 2.2.8 doen't start with these lines below: # load the php main library to avoid dll hell Loadfile d:\winappl\php\php5ts.dll # load the sapi so that apache can use php LoadModule php5_module

Re: [PHP] Trouble setting httpd.conf, I need help

2008-03-13 Thread Willian Schubert Baldasso
Schubert Baldasso [EMAIL PROTECTED] Cc: php-general@lists.php.net Sent: Thursday, March 13, 2008 12:31 PM Subject: Re: [PHP] Trouble setting httpd.conf, I need help sorry for the offlist reply, Willian, Do you really have a d drive ? and those files really exist ? if yes, try changing

Re: [PHP] Trouble with PHP server script

2008-02-14 Thread Richard Lynch
On Sun, February 10, 2008 9:09 pm, Robert Cox wrote: Is it possible to use the $_SERVER['PHP_AUTH_USER']; construct in a URL forwarded site? I am trying to find the authorised user id so that I can access an SQL database with it. Anyone got some ideas? If you do a Location: with a FULL

Re: [PHP] Trouble with PHP server script

2008-02-14 Thread Stut
Richard Lynch wrote: On Sun, February 10, 2008 9:09 pm, Robert Cox wrote: Is it possible to use the $_SERVER['PHP_AUTH_USER']; construct in a URL forwarded site? I am trying to find the authorised user id so that I can access an SQL database with it. Anyone got some ideas? If you do a

Re: [PHP] Trouble with PHP server script

2008-02-11 Thread Daniel Brown
On Feb 10, 2008 10:09 PM, Robert Cox [EMAIL PROTECTED] wrote: Is it possible to use the $_SERVER['PHP_AUTH_USER']; construct in a URL forwarded site? I am trying to find the authorised user id so that I can access an SQL database with it. Anyone got some ideas? Once again I'll defer to

[PHP] Trouble with PHP server script

2008-02-10 Thread Robert Cox
Is it possible to use the $_SERVER['PHP_AUTH_USER']; construct in a URL forwarded site? I am trying to find the authorised user id so that I can access an SQL database with it. Anyone got some ideas? PHP looks like this ?php //Get User $user = $_SERVER['PHP_AUTH_USER']; // Get

Re: [PHP] Trouble with PHP server script

2008-02-10 Thread Nirmalya Lahiri
--- Robert Cox [EMAIL PROTECTED] wrote: Is it possible to use the $_SERVER['PHP_AUTH_USER']; construct in a URL forwarded site? I am trying to find the authorised user id so that I can access an SQL database with it. Anyone got some ideas? PHP looks like this ?php //Get User

Re: [PHP] Trouble with PHP server script

2008-02-10 Thread Jim Lucas
Robert Cox wrote: Is it possible to use the $_SERVER['PHP_AUTH_USER']; construct in a URL forwarded site? I am trying to find the authorised user id so that I can access an SQL database with it. Anyone got some ideas? PHP looks like this ?php //Get User $user =

Re: [PHP] trouble trying to connect to gmail server.

2007-09-27 Thread Tom Chubb
This may not be relevant as I'm only glancing over this as I have to leave for a meeting, but you have to enable POP access in Gmail before you can download to another email client like Thunderbird or Outlook, so maybe the same applies? Anyway, I'm looking to find a way of accessing my gmail as I

Re: [PHP] trouble trying to connect to gmail server.

2007-09-26 Thread Fábio Generoso
*Hi Cris,* *I have tried to use:* *$mbox = imap_open('{**pop.gmail.com:995/pop3}INBOXhttp://pop.gmail.com:995/pop3%7DINBOX http://pop.gmail.com:995/pop3%7DINBOX**',* * 'my_login@**gmail.com**', my_pass');* *As you suggest but it didn't work. * *The time out is not for the function:*

[PHP] trouble trying to connect to gmail server.

2007-09-24 Thread Fábio Generoso
Thanks for offer your help. I will try to explain in details what I did. First of all, on file php.ini I removed the comments for the line below: extension=php_imap.dll After that, I have followed the Gmail instructions to enable POP in my Gmail account as below: 1. Log in to your Gmail

Re: [PHP] trouble trying to connect to gmail server.

2007-09-24 Thread Chris
Array ( [0] = Host not found (#11001): pop3.gmail.com ) So pop3.gmail.com doesn't exist. ? $mbox = imap_open('{pop.gmail.com:995/pop3}INBOXhttp://pop.gmail.com:995/pop3%7DINBOX', 'my_login@gmail.com', my_pass'); print_r(imap_alerts()); print_r(imap_errors()); $num_mens_not_read =

[PHP] trouble trying to connect to gmail server.

2007-09-18 Thread Fábio Generoso
I have a little trouble while trying to connect to gmail server. I already enabled POP on gmail. After experience a lots of errors with the command below, now I'm seeing no more errors, but it still doesn't working, the page stay processing and just is broke after this command. $mbox =

Re: [PHP] trouble trying to connect to gmail server.

2007-09-18 Thread Chris
Fábio Generoso wrote: I have a little trouble while trying to connect to gmail server. I already enabled POP on gmail. After experience a lots of errors with the command below, now I'm seeing no more errors, but it still doesn't working, the page stay processing and just is broke after this

Re: [PHP] trouble with function openssl_csr_new()

2007-03-23 Thread Richard Lynch
On Wed, March 21, 2007 5:05 am, Albert Kopka wrote: Hi ... I want to generate certificate for smardcard login (MS Win-XP) and for do that the subject of certificate should contain same key (in key:value of $dn) multiple times for example ... cert generated by ca suplied with W-2003

[PHP] trouble with function openssl_csr_new()

2007-03-21 Thread Albert Kopka
Hi ... I want to generate certificate for smardcard login (MS Win-XP) and for do that the subject of certificate should contain same key (in key:value of $dn) multiple times for example ... cert generated by ca suplied with W-2003 server for smartcard login contains: Subject: DC =

[PHP] Trouble...

2007-02-01 Thread Leandro Martín Peralta
I have an xml stored in a variable. If I load it in a domdocument as HTML: $DDoc-loadHTML($xml); I can get elements by an xpath query, but if I instead load it as XML my xpath queries stop working: $DDoc = new DOMDocument(); $DDoc-loadXML($xml); $xpath = new DOMXPath($DDoc); $query = //[EMAIL

[PHP] Trouble compiling in mysqli under PHP5 -- mysql_config not found

2007-01-02 Thread Weston C
I'm trying to build a CLI/CGI binary of PHP5 with MySQLi under Mac OS X. When I invoke configure, I get the following error message: checking whether to enable embedded MySQLi support... no mysql_config not found configure: error: Please reinstall the mysql distribution Now, mysql (4.1.22) is

Re: [PHP] Trouble compiling in mysqli under PHP5 -- mysql_config not found

2007-01-02 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2007-01-02 18:23:33 -0700: I'm trying to build a CLI/CGI binary of PHP5 with MySQLi under Mac OS X. When I invoke configure, I get the following error message: checking whether to enable embedded MySQLi support... no mysql_config not found configure: error: Please

Re: [PHP] Trouble compiling in mysqli under PHP5 -- mysql_config not found

2007-01-02 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2007-01-03 02:55:11 +: # [EMAIL PROTECTED] / 2007-01-02 18:23:33 -0700: I'm trying to build a CLI/CGI binary of PHP5 with MySQLi under Mac OS X. When I invoke configure, I get the following error message: checking whether to enable embedded MySQLi support... no

[PHP] trouble getting PDO going on ubuntu 6.06 installation

2006-06-19 Thread Richard Harding
I am trying to get PDO going on a new desktop with Ubuntu 6.06. I have installed php5, php5-dev, etc and have php5 working with no problems. I then did a pecl install pdo and that installed ok. When I run phpinfo() I get that PDO is activated and the drivers has no value. I am now trying to

Re: [PHP] trouble getting PDO going on ubuntu 6.06 installation

2006-06-19 Thread Richard Harding
Jochem Maas wrote: Richard Harding wrote: I am trying to get PDO going on a new desktop with Ubuntu 6.06. I have installed php5, php5-dev, etc and have php5 working with no problems. I then did a pecl install pdo and that installed ok. When I run phpinfo() I get that PDO is activated and the

Re: [PHP] trouble getting PDO going on ubuntu 6.06 installation

2006-06-19 Thread Jochem Maas
Richard Harding wrote: I am trying to get PDO going on a new desktop with Ubuntu 6.06. I have installed php5, php5-dev, etc and have php5 working with no problems. I then did a pecl install pdo and that installed ok. When I run phpinfo() I get that PDO is activated and the drivers has no

Re: [PHP] trouble getting PDO going on ubuntu 6.06 installation

2006-06-19 Thread Richard Harding
Jochem Maas wrote: Richard Harding wrote: Jochem Maas wrote: Richard Harding wrote: I am trying to get PDO going on a new desktop with Ubuntu 6.06. I have installed php5, php5-dev, etc and have php5 working with no problems. I then did a pecl install pdo and that installed

Re: [PHP] trouble getting PDO going on ubuntu 6.06 installation

2006-06-19 Thread Jochem Maas
Richard Harding wrote: Jochem Maas wrote: Richard Harding wrote: I am trying to get PDO going on a new desktop with Ubuntu 6.06. I have installed php5, php5-dev, etc and have php5 working with no problems. I then did a pecl install pdo and that installed ok. When I run phpinfo() I get

Re: [PHP] trouble getting PDO going on ubuntu 6.06 installation

2006-06-19 Thread Richard Harding
Richard Harding wrote: I am trying to get PDO going on a new desktop with Ubuntu 6.06. I have installed php5, php5-dev, etc and have php5 working with no problems. I then did a pecl install pdo and that installed ok. When I run phpinfo() I get that PDO is activated and the drivers has no

Re: [PHP] Trouble sending data via TCP socket

2006-05-16 Thread Martin Marques
On Mon, 15 May 2006, J. King wrote: To further my understanding of how Jabber works I have decided I should try and write my own XMPP implementation in PHP. However, I've run into trouble rather quickly. To connect to a Jabber server, one must open a TCP socket to the server (typically

Re: [PHP] Trouble sending data via TCP socket

2006-05-16 Thread Richard Lynch
On Mon, May 15, 2006 9:15 pm, J. King wrote: To further my understanding of how Jabber works I have decided I should try and write my own XMPP implementation in PHP. However, I've run into trouble rather quickly. To connect to a Jabber server, one must open a TCP socket to the server

[PHP] Trouble sending data via TCP socket

2006-05-15 Thread J. King
To further my understanding of how Jabber works I have decided I should try and write my own XMPP implementation in PHP. However, I've run into trouble rather quickly. To connect to a Jabber server, one must open a TCP socket to the server (typically through port 5269) send an XML-based

Re: [PHP] Trouble sending data via TCP socket

2006-05-15 Thread Rabin Vincent
On 5/16/06, J. King [EMAIL PROTECTED] wrote: To further my understanding of how Jabber works I have decided I should try and write my own XMPP implementation in PHP. However, I've run into trouble rather quickly. To connect to a Jabber server, one must open a TCP socket to the server

[PHP] Trouble with session serializer

2006-01-09 Thread Mark
I am finishing a PHP session serializer module and am seeing wierd things. I seems to work OK, but doesn't work with squirrelmail. It works mostly but there seems to be one type that isn't working and I can't seems to find it. If you want to help: download and install xmldbx in your PHP, copy

Re: [PHP] Trouble using DOM component with PHP 4.4.0

2005-10-28 Thread Alessandro Rossini
And what DOM library, which is compatible with PHP 5.0 and PHP 4.4 can I use to avoid the conflict I currently have? In PHP4 I never used any DOM implementation, I started to use DOM only after the PHP5 release, so I'm not the best to answer your question. :) Anyway I think that there is some

Re: [PHP] Trouble using DOM component with PHP 4.4.0

2005-10-27 Thread Alessandro Rossini
Please guide me what can I do to make my code work without changing it? DOM implementation in PHP5 is completely new, and you can't have the same in PHP4. I think that the most reasonable solution will be change the hosting to another with PHP5 support... Best regards. -- Alessandro

Re: [PHP] Trouble using DOM component with PHP 4.4.0

2005-10-27 Thread Andrew Kachalo
And what DOM library, which is compatible with PHP 5.0 and PHP 4.4 can I use to avoid the conflict I currently have? On жовт 27, 2005, at 23:32, Alessandro Rossini wrote: Please guide me what can I do to make my code work without changing it? DOM implementation in PHP5 is completely new,

Re: [PHP] Trouble moving directory

2005-10-14 Thread Brent Baisley
In your example, the problem is that the name has spaces, which the shell uses as a delimiter. So That Won't Move/ is kind of being considered parameters instead of part of the dir. Using the command line (i.e. shell/terminal) will give you more feedback as to what is happening

Re: [PHP] Trouble moving directory

2005-10-14 Thread Miles Thompson
One of the nice things MSFT did was to allow spaces in directory and file names. It created more work for programmers. One of the LOUSIEST things MSFT did was allowing spaces in directory and file names, because of the needless, tedious parsing and checking it requires. So much simpler to

Re: [PHP] Trouble moving directory

2005-10-14 Thread Brent Baisley
MSFT allowed spaces? They were behind in allowing spaces (and long file names) Apple allowed them far before MS, and Unix allowed spaces far before Apple. Unix just assumes a space is a command/parameter delimiter first and part of the name second. Just like multiplication takes precedence

Re: [PHP] Trouble moving directory

2005-10-14 Thread ac
escapeshellarg() works quite well, why you say its still failed? did u try? do a ?php echo escapeshellarg('Dir That (Won't Move)/'); ? will produce 'Dir That (Won'\''t Move)' and this does fit into shell, even `(' and `)' is not escaped, for in bash, all thing quoted in single quote will be

Re: [PHP] Trouble moving directory

2005-10-14 Thread Richard Lynch
On Fri, October 14, 2005 8:28 am, Miles Thompson wrote: One of the nice things MSFT did was to allow spaces in directory and file names. It created more work for programmers. I'm not familiar with MSFT... It must be a new acronym for Apple MacOS :-), circa 1984, which (AFAIK) was the first

Re: [PHP] Trouble moving directory

2005-10-13 Thread Robin Vickery
On 10/13/05, -k. [EMAIL PROTECTED] wrote: --- Jasper Bryant-Greene [EMAIL PROTECTED] wrote: $source_dir = escapeshellarg( '/some/dir/Dir That Won't Move/' ); Unfortunately escapeshellarg doesn't work for all cases, it will escape the ' in that example but it doesn't escape other

[PHP] Trouble figuring out a Walk through an Array

2005-10-13 Thread Phillip S. Baker
Greetings All, Having trouble figureing out a certain walk through an array. And I am not finding the help I need in the manual or anything. I have an associative arr ($arr) With about 20 elements in it. Ten of which are required. So I have another associative array called $required, with all

Re: [PHP] Trouble figuring out a Walk through an Array

2005-10-13 Thread Greg Donald
On 10/13/05, Phillip S. Baker [EMAIL PROTECTED] wrote: I want to see if $key matches any of the values in $required. If so do something in particular. If not then do something else. It does not particularly matter which value in the $required it matches, just so long as it matches. in_array()

[PHP] Trouble figuring out a Walk through an Array

2005-10-13 Thread Phillip S. Baker
Greetings All, Having trouble figureing out a certain walk through an array. And I am not finding the help I need in the manual or anything. I have an associative arr ($arr) With about 20 elements in it. Ten of which are required. So I have another associative array called $required, with all

Re: [PHP] Trouble figuring out a Walk through an Array

2005-10-13 Thread Richard Davey
Hi Phillip, Thursday, October 13, 2005, 4:56:30 PM, you wrote: Having trouble figureing out a certain walk through an array. And I am not finding the help I need in the manual or anything. I have an associative arr ($arr) With about 20 elements in it. Ten of which are required. So I have

[PHP] Trouble figuring out a Walk through an Array

2005-10-13 Thread Phillip S. Baker
Greetings All, Having trouble figureing out a certain walk through an array. And I am not finding the help I need in the manual or anything. I have an associative arr ($arr) With about 20 elements in it. Ten of which are required. So I have another associative array called $required, with all

[PHP] trouble with generating the file attachment

2005-10-12 Thread Ricardo Ferreira
Hi, I have the two files which I send as an attachment. One is simple form with a file upload box. The other is the corresponding PHP file which sends the information via e-mail. I used the code provided here (http://pt.php.net/de/imap_mail_compose) but something must be wrong. Perhaps

[PHP] Trouble moving directory

2005-10-12 Thread -k.
I'm having trouble moving some directories. My script works fine on some directories but doesn't move others. It seems to have trouble with directories with non alphanumeric charters. I'm running Red Hat FC2. I'm trying to move the directory basically like this... ?Php $source_dir =

Re: [PHP] Trouble moving directory

2005-10-12 Thread Jasper Bryant-Greene
-k. wrote: I'm having trouble moving some directories. My script works fine on some directories but doesn't move others. It seems to have trouble with directories with non alphanumeric charters. I'm running Red Hat FC2. I'm trying to move the directory basically like this... ?Php

Re: [PHP] Trouble moving directory

2005-10-12 Thread -k.
--- Jasper Bryant-Greene [EMAIL PROTECTED] wrote: $source_dir = escapeshellarg( '/some/dir/Dir That Won't Move/' ); Unfortunately escapeshellarg doesn't work for all cases, it will escape the ' in that example but it doesn't escape other characters such as ) . So... $source_dir =

[PHP] trouble with file upload page using PHP

2005-07-06 Thread Bruce Gilbert
I am testing a page that uploads a file to my server using PHP. I get an error stating: Warning: copy(/hsphere/local/home/bruceg/inspired-evolution.com/LOR-BRUCE.pdf): failed to open stream: Permission denied in /hsphere/local/home/bruceg/inspired-evolution.com/Uploader.php on line 4 Could not

Re: [PHP] trouble with file upload page using PHP

2005-07-06 Thread Richard Davey
Hello Bruce, Thursday, July 7, 2005, 12:10:30 AM, you wrote: BG I get an error stating: BG Warning: BG copy(/hsphere/local/home/bruceg/inspired-evolution.com/LOR-BRUCE.pdf): BG failed to open stream: Permission denied in BG /hsphere/local/home/bruceg/inspired-evolution.com/Uploader.php on line

[PHP] Trouble using ncurses_new_panel on PHP 4.3.11

2005-06-24 Thread Mike Bowie
Hello all, I'm stumbling along with the ncurses implementation under 4.3.11 on FreeBSD. I've had some success with windows and borders etc based on some Googling(tm) and RTFM... but am having trouble getting ncurses_new_panel to do anything worthy of note. From what I understand, the

[PHP] Trouble Compiling 4.3.10 on FreeBSD 5.X

2005-02-26 Thread Tim Traver
Hi all, for some reason, I cannot get php to compile a shared object to work with apache 1.3.33... Here are the config commands that I used for apache and php : EAPI_MM=SYSTEM ./configure --enable-module=so --enable-module=info --enable-module=status --enable-module=rewrite --enable-module=ssl

[PHP] Trouble with Apache 2.0, PHP and MySQL

2005-01-17 Thread Phillip S. Baker
Greetings all, I am runnign into a strange problem. I am working on a Linux box. Running PHP 4.2.2 Apache 2.0 And it has MySQl installed on it (not sure of the version. I ran a quick script to check to make sure the connection to the DB is working fine as this is a very secure connection (have

Re: [PHP] Trouble with Apache 2.0, PHP and MySQL

2005-01-17 Thread Marek Kilimajer
Phillip S. Baker wrote: Greetings all, I am runnign into a strange problem. I am working on a Linux box. Running PHP 4.2.2 Apache 2.0 And it has MySQl installed on it (not sure of the version. I ran a quick script to check to make sure the connection to the DB is working fine as this is a very

Re: [PHP] Trouble with Apache 2.0, PHP and MySQL

2005-01-17 Thread Greg Donald
On Fri, 14 Jan 2005 12:34:53 -0800, Phillip S. Baker [EMAIL PROTECTED] wrote: Any help here would be appreciated. Simple.. your PHP doesn't have MySQL support. Rebuild it or install the rpm or package or whatever. What kind of 'Linux box' is it? -- Greg Donald Zend Certified Engineer

Re: [PHP] Trouble with Apache 2.0, PHP and MySQL

2005-01-17 Thread Jason Barnett
Greg Donald wrote: On Fri, 14 Jan 2005 12:34:53 -0800, Phillip S. Baker [EMAIL PROTECTED] wrote: Any help here would be appreciated. Simple.. your PHP doesn't have MySQL support. Rebuild it or install the rpm or package or whatever. What kind of 'Linux box' is it? Greg is right. Also it's

[PHP] Trouble with do..while

2004-12-06 Thread Salvatore
Hi all, I have that script in php that should print on a page the result of lot of pages defined in this way: This is the address: www.mysite.com/mypage.php?idx=1lines=50 It work in this way: if idx=1 and lines=50 my page will look like: element1 element2 .. element50 if idx=5 and lines=5 my

Re: [PHP] Trouble with do..while

2004-12-06 Thread denys
Salvatore a écrit : If I understand correctly, have you tried this instead of the above code : while( !feof($f) ) { $stream = fread($f, 8192); $data .= $stream; } fclose($f); i found it. max_execution_time = 30 is too few for more than 3000 files:) Ooops... Sorry for leaving PHP

Re: [PHP] Trouble with do..while

2004-12-06 Thread Greg Donald
On Mon, 6 Dec 2004 14:23:51 +0100, Salvatore [EMAIL PROTECTED] wrote: I have that script in php that should print on a page the result of lot of pages defined in this way: This is the address: www.mysite.com/mypage.php?idx=1lines=50 Sounds to me like you want basic pagination. I'd use PEAR.

[PHP] Trouble with the ISAPI in PHP4

2004-10-30 Thread George Hester
If I am loading extensions in my php.ini file then this is what happens when I try try load the php4isapi.dll. I go ahead and add it as an ISAPI filter the way it supposed to be done in IIS 5. Then I stop the IISAdmin Service and restart it. Then I start the Web Puublishing Service. This is

Re: [PHP] Trouble with Apache, PHP, pear

2004-07-24 Thread Marek Kilimajer
Ron King wrote: At 06:28 AM 7/23/2004, you wrote: You need php-cli rpm, it's not an extension, it's command line binary. And it won't hurt anything to have both cli and extension installed? -- Ron No -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] Trouble with Apache, PHP, pear

2004-07-23 Thread Ron King
When I installed Mandrake 10.0 I thought I had Apache, PHP, and MySQL installed correctly. I could serve web pages, MySQL worked, and when I tried the phpinfo() function, I got a page that looked OK. I could create simple php pages and serve them up. Then I tried to install pear, and things

Re: [PHP] Trouble with Apache, PHP, pear

2004-07-23 Thread Marek Kilimajer
You need php-cli rpm, it's not an extension, it's command line binary. Ron King wrote: When I installed Mandrake 10.0 I thought I had Apache, PHP, and MySQL installed correctly. I could serve web pages, MySQL worked, and when I tried the phpinfo() function, I got a page that looked OK. I could

Re: [PHP] Trouble with Apache, PHP, pear

2004-07-23 Thread Ron King
At 06:28 AM 7/23/2004, you wrote: You need php-cli rpm, it's not an extension, it's command line binary. And it won't hurt anything to have both cli and extension installed? -- Ron Ron King wrote: When I installed Mandrake 10.0 I thought I had Apache, PHP, and MySQL installed correctly. I could

[PHP] Trouble with sin()

2004-07-22 Thread Marcus Strube
Hi, i'm working with PHP 5.0.0 (Linux) and have some trouble using function sin(). In PHPs opinion sin(20) is 0.912945250728 I have had a look at the bug.php.net, but couldn`t find anything. Is it a bug or am I just misunderstanding something?? Marcus -- PHP General Mailing List

Re: [PHP] Trouble with sin()

2004-07-22 Thread Ashwin Purohit
It's giving you sin(20) in radians, not in degrees (which is what you seem to want). It's not a bug. On Thu, 22 Jul 2004 12:17:19 -0400, Ashwin Purohit [EMAIL PROTECTED] wrote: It's giving you sin(20) in radians, not in degrees (which is what you seem to want). It's not a bug. On Thu, 22

Re: [PHP] Trouble with sin()

2004-07-22 Thread Ashwin Purohit
If you want it in degrees, use sin(deg2rad(20); On Thu, 22 Jul 2004 12:17:19 -0400, Ashwin Purohit [EMAIL PROTECTED] wrote: It's giving you sin(20) in radians, not in degrees (which is what you seem to want). It's not a bug. On Thu, 22 Jul 2004 17:40:21 +0200, Marcus Strube [EMAIL

Re: [PHP] Trouble with sin()

2004-07-22 Thread Marcus Strube
Thanks a lot. I've overseen a word in the manual. Now i got it. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Trouble with sin()

2004-07-22 Thread Jonathan Haddad
as in 20 degrees? float *sin* ( float arg) *sin()* returns the sine of the arg parameter. The arg parameter is in radians. RADIANS. |sin(deg2rad(20)); | Jon Marcus Strube wrote: Hi, i'm working with PHP 5.0.0 (Linux) and have some trouble using function sin(). In PHPs opinion sin(20) is

[PHP] Trouble with include/require

2004-07-16 Thread A. Lanza
Hi list, i'm trying to include files in my php scripts but things seem not to work properly. In my script, i include a file like this: ?php include 'includes/db.inc' ? I have all include files in includes directory, that's a children of the directory where my scrips are. The include_path

[PHP] Trouble with arrays from within MySQL results where clause

2004-07-12 Thread Eric Boerner
Hello all, I am having trouble setting array data from within a MySQL results query. I have modified data from the result and wish to enter it into it's own array ($data). That then is used to generate a graph. The following code basically gives me an empty array... I am pulling out a timestamp

RE: [PHP] Trouble with arrays from within MySQL results where clause

2004-07-12 Thread Eric Boerner
, 2004 9:06 AM To: [EMAIL PROTECTED] Subject: [PHP] Trouble with arrays from within MySQL results where clause Hello all, I am having trouble setting array data from within a MySQL results query. I have modified data from the result and wish to enter it into it's own array ($data

Re: [PHP] Trouble with arrays from within MySQL results where clause

2004-07-12 Thread John W. Holmes
Eric Boerner wrote: Hello all, I am having trouble setting array data from within a MySQL results query. I have modified data from the result and wish to enter it into it's own array ($data). That then is used to generate a graph. The following code basically gives me an empty array... I doubt the

Re: [PHP] Trouble with arrays from within MySQL results where clause

2004-07-12 Thread Jason Wong
On Tuesday 13 July 2004 00:05, Eric Boerner wrote: I am having trouble setting array data from within a MySQL results query. I have modified data from the result and wish to enter it into it's own array ($data). That then is used to generate a graph. The following code basically gives me an

[PHP] Trouble with calling an external program in PHP

2004-06-29 Thread Indrek Siitan
Hi, I'm writing a small image stock application that stores EPS files (that's what the client is using for their work). Since GD doesn't support EPS, the only alternative I've found to create thumbnails is to use the 'convert' utility from ImageMagick. When testing it on the command line and

[PHP] Trouble with using isset and form posting

2004-05-13 Thread Tom Chubb
I think I'm missing something here really obvious! I am using a script where you get a variable from one page and post to another. I've just realised that some people are jumping straight to the second page (it rates higher in search engines) so the variable (yourname) remains unset. I want to use

RE: [PHP] Trouble with using isset and form posting

2004-05-13 Thread Jay Blanchard
[snip] A simplified version of the code is shown below and is posting to itself. Any idea what I'm doing wrong? ?PHP if(!isset($_GET['realname'])) { $realname = 'Your Name'; } ? html head titleUntitled Document/title meta http-equiv=Content-Type content=text/html; charset=iso-8859-1 /head body

[PHP] Trouble setting include_path

2004-05-02 Thread Pablo Gosse
Hi folks. I'm trying to use an .htaccess file to set my include path and for some reason it's not overriding the value in php.ini, but instead still shows and uses the original value from php.ini, not what is in the .htaccess file. I know that include_path is one of the values that can be set

Re: [PHP] Trouble setting include_path

2004-05-02 Thread Curt Zirzow
* Thus wrote Pablo Gosse ([EMAIL PROTECTED]): Hi folks. I'm trying to use an .htaccess file to set my include path and for some reason it's not overriding the value in php.ini, but instead still shows and uses the original value from php.ini, not what is in the .htaccess file. Most default

RE: [PHP] Trouble setting include_path

2004-05-02 Thread Pablo Gosse
snip Most default apache configurations now a days dont have .htaccess enabled by default (for performance reasons.) Or some hosting services implicitly turn this option off. So no matter what you put in the .htaccess file, it will be ignored. You can test this by putting in your .htaccess file

[PHP] Trouble with thumbnail generation using GD

2004-04-21 Thread Haddad Said
Hi, i was trying to create thumbnail using a tutorial on image galleries, I am having problems creating thumbnail images using GD. The thumbnail is created with the sizes prorerly, however the image is black. I have posted a temporary php file i created to investigate the problem below. I

[PHP] Trouble with ftp_get function

2004-03-11 Thread Benjamin
I'm sorry if this has already been asked before... I am trying to make a small ftp app using this line to download files: if( !ftp_get( $conn_id , C:\thefile.txt , $HTTP_GET_VARS['file'] , FTP_BINARY ) ) $error = true; I know I have a connection, and $HTTP_GET_VARS['file'] is the path of the

  1   2   3   >