From: Manoj Singh [EMAIL PROTECTED]
Sent: Monday, August 04, 2008 10:44 AM
To: php-general@lists.php.net
Subject: [PHP] Not found regex
Hello All,
I have to create the regular expression to allow all the file extensions
except the specified extension.
Suppose I want to allow
Hi, I´m making a little application with php and curl, but I´m a newby with
curl.
Please help me with the next script.
I used to use this in order to make a connection with an specific site on
the console ms-dos (windows), how can i translate this into php code?
curl -x proxy_url:proxy_port -U
is in the same directory as your PHP
file)
$myorder[keyfile] = realpath(123456.pem);
I hope this helps.
Alice
2008/7/29 Wei, Alice J. [EMAIL PROTECTED]mailto:[EMAIL PROTECTED]
Hi, I´m making a little application with php and curl, but I´m a newby with
curl.
Please help me with the next
Hi,
I have a code here as the following:
?php
$string=1 0 70.208 61.613 1.424 3.689 61.404
0.000 0.000 0.000 0.000 0.000;
$data= explode(\t, $string);
echo 1: . $data[0] . 2: . $data[1] . 3: . $data[2] . 4: .
$data[3] . 5:
@lists.php.net
Subject: Re: [PHP] Trailing Spaces Problem
Thiago H. Pojda wrote:
On Fri, Jul 18, 2008 at 11:41 AM, Wei, Alice J. [EMAIL PROTECTED] wrote:
Hi,
Is there some way that I can have it so that it can print out:
1: 1 2:0 3: 70.208 4. 61.613 5. 1.424
I tried using \s for trailing
There was a problem\n;
}
// close the connection
ftp_close($conn_id);
Thanks in advance.
Alice
-Original Message-
From: Boyd, Todd M. [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 16, 2008 2:28 PM
To: Wei, Alice J.
Cc: php-general@lists.php.net
Subject: RE: [PHP] Copy Function Errors
and
have received no errors.
I don't know if I should put the user_name and user_pass from this file to the
httpd.conf, though. Currently, this is not set.
Thanks in advance.
Alice
Wei, Alice J. wrote:
Hi Alice...
I just caught/saw this thread. I'm asuming you haven't found/solved what
you're
on the client end have all the files transferred back
to the different user directories after the back end has some data processing.
The client side only sees what is on the server, and not anything from the
Linux from my understanding.
Alice
-Original Message-
From: Wei, Alice J. [mailto
Hi,
I am running into a problem here with handling the files. My client wants me
to copy all the files to one server over to another server. Currently, I use a
very slow way that has to handle my code by writing in and out files manually
as in the following:
$lines3 =
Hi,
I have a snippet of code here:
shell_exec(tar cvf /var/www/html/test/$id/data.tar
/var/www/html/test/$id/data);
$file1=http:/www.mysite.com/test/$id/data.tar;
$file2=http://www.mysite2.com/test/$id/.tar;;
copy($file1,$file2);
I got the following error in the access log of the server:
Hi,
I have a snippet of code here:
shell_exec(tar cvf /var/www/html/test/$id/data.tar
/var/www/html/test/$id/data);
$file1=http:/www.mysite.com/test/$id/data.tar;
$file2=http://www.mysite2.com/test/$id/.tar;;
copy($file1,$file2);
I got the following error in the access log of the
this port on my remote
and my local machine. I do have ssh, which is port 22 open.
Thanks in advance.
Alice
-regards...
-Original Message-
From: Boyd, Todd M. [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 16, 2008 2:28 PM
To: Wei, Alice J.
Cc: php-general@lists.php.net
Subject: RE: [PHP
-Original Message-
From: Peter Ford [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 15, 2008 4:06 AM
To: php-general@lists.php.net
Subject: Re: [PHP] mkdir permission errors
Wei, Alice J. wrote:
Hi, Rob:
I forgot to mention that I have been using yum install.
I have reinstalled
From: Peter Ford [EMAIL PROTECTED]
Sent: Tuesday, July 15, 2008 7:28 AM
To: Wei, Alice J.
Cc: php-general@lists.php.net
Subject: Re: [PHP] mkdir permission errors
Wei, Alice J. wrote:
-Original Message-
From: Peter Ford [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 15, 2008 4:06 AM
From: Peter Ford [EMAIL PROTECTED]
Sent: Tuesday, July 15, 2008 7:28 AM
To: Wei, Alice J.
Cc: php-general@lists.php.net
Subject: Re: [PHP] mkdir permission errors
Wei, Alice J. wrote:
-Original Message-
From: Peter Ford [mailto:[EMAIL PROTECTED
From: Robert Cummings [EMAIL PROTECTED]
Sent: Tuesday, July 15, 2008 12:16 PM
To: Wei, Alice J.
Cc: Peter Ford; php-general@lists.php.net
Subject: RE: [PHP] mkdir permission errors
On Tue, 2008-07-15 at 08:16 -0400, Wei, Alice J. wrote:
This portion
From: Robert Cummings [EMAIL PROTECTED]
Sent: Tuesday, July 15, 2008 12:16 PM
To: Wei, Alice J.
Cc: Peter Ford; php-general@lists.php.net
Subject: RE: [PHP] mkdir permission errors
On Tue, 2008-07-15 at 08:16 -0400, Wei, Alice J. wrote
Hi, Guys:
I have a very strange incident here that may seem very stupid. Since the
power went out last night, I have restarted my server. However, now the
permission is never working right. I have set the permission of my htdocs
folder iof my Apache server to 0755, and then started
University Bloomington
[EMAIL PROTECTED]
From: Robert Cummings [EMAIL PROTECTED]
Sent: Monday, July 14, 2008 3:07 PM
To: Wei, Alice J.
Cc: php-general@lists.php.net
Subject: Re: [PHP] mkdir permission errors
On Mon, 2008-07-14 at 15:01 -0400, Wei, Alice J
[EMAIL PROTECTED]
From: Robert Cummings [EMAIL PROTECTED]
Sent: Monday, July 14, 2008 3:21 PM
To: Wei, Alice J.
Cc: php-general@lists.php.net
Subject: RE: [PHP] mkdir permission errors
On Mon, 2008-07-14 at 15:11 -0400, Wei, Alice J. wrote:
Hi,
The apache
]
From: Robert Cummings [EMAIL PROTECTED]
Sent: Monday, July 14, 2008 3:35 PM
To: Wei, Alice J.
Cc: php-general@lists.php.net
Subject: RE: [PHP] mkdir permission errors
On Mon, 2008-07-14 at 15:23 -0400, Wei, Alice J. wrote:
Hi, Rob:
This is the output:
root 31232 0.0
]
From: Robert Cummings [EMAIL PROTECTED]
Sent: Monday, July 14, 2008 3:42 PM
To: Wei, Alice J.
Cc: php-general@lists.php.net
Subject: RE: [PHP] mkdir permission errors
On Mon, 2008-07-14 at 15:37 -0400, Wei, Alice J. wrote:
Hi, Rob:
Here is the updated
==
Alice Wei
MIS 2009
School of Library and Information Science
Indiana University Bloomington
[EMAIL PROTECTED]
From: Robert Cummings [EMAIL PROTECTED]
Sent: Monday, July 14, 2008 3:59 PM
To: Wei, Alice J.
Cc: php-general@lists.php.net
Subject
]
From: Wolf [EMAIL PROTECTED]
Sent: Monday, July 14, 2008 4:37 PM
To: Wei, Alice J.
Cc: Robert Cummings; php-general@lists.php.net
Subject: RE: [PHP] mkdir permission errors
Wei wrote:
Hi, Rob:
I forgot to mention that I have been using yum install.
I have
This is the output I have got from using your script.
I have made a following quick change:
[EMAIL PROTECTED] var]# chown -R root:root .
Not surprisingly, I am still not able to make a new directory using PHP with
the HTTP.
Could there be anything else I missed?
I knew who you were when
Hi,
I wonder if anyone on the list could tell me how to append the files as I am
writing in them. I have a file that has no more than five characters per line,
and I would like to keep its spacing between the lines. Right now I have the
set up so that it could write in the first line, but
: [PHP] fwrite() Append Files
Wei, Alice J. wrote:
Hi,
I wonder if anyone on the list could tell me how to append the files
as I am writing in them. I have a file that has no more than five
characters per line, and I would like to keep its spacing between
the lines. Right now I have
==
Alice Wei
MIS 2009
School of Library and Information Science
Indiana University Bloomington
[EMAIL PROTECTED]
From: Jim Lucas [EMAIL PROTECTED]
Sent: Friday, June 27, 2008 12:45 PM
To: Wei, Alice J.
Cc: Per Jessen; php-general
From: Wolf [EMAIL PROTECTED]
Sent: Friday, June 27, 2008 2:18 PM
To: Wei, Alice J.
Cc: php-general@lists.php.net
Subject: Re: [PHP] fwrite() Append Files
Wei, Alice J. wrote:
Hi,
Right now I enforced the file to read in through HTTP-Request and output
==
Alice Wei
MIS 2009
School of Library and Information Science
Indiana University Bloomington
[EMAIL PROTECTED]
From: Boyd, Todd M. [EMAIL PROTECTED]
Sent: Wednesday, June 25, 2008 5:07 PM
To: Wei, Alice J.; php-general@lists.php.net
Subject: RE: Re: [PHP
Science
Indiana University Bloomington
[EMAIL PROTECTED]
From: Shawn McKenzie [EMAIL PROTECTED]
Sent: Tuesday, June 24, 2008 10:43 PM
To: php-general@lists.php.net
Subject: [PHP] Re: exec() Error
Wei, Alice J. wrote:
Hi,
I have got a task from my client
, Todd M. [EMAIL PROTECTED]
Sent: Wednesday, June 25, 2008 10:10 AM
To: Wei, Alice J.
Cc: php-general@lists.php.net
Subject: RE: [PHP] Re: exec() Error
-Original Message-
From: Wei, Alice J. [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 25, 2008 9:02 AM
To: Shawn McKenzie; php-general
___
From: Per Jessen [EMAIL PROTECTED]
Sent: Wednesday, June 25, 2008 3:47 PM
To: php-general@lists.php.net
Subject: Re: [PHP] exec() Error
Wei, Alice J. wrote:
I have got a task from my client asking me to build something
that allows
, 2008 2:48 PM
To: php-general@lists.php.net
Subject: Re: [PHP] exec() Error
Wei, Alice J. wrote:
I have got a task from my client asking me to build something
that allows the variables in the PHP file passed to another
PHP file or a file in a different computer
Hi, Guys:
Here is a strange scenario that I am attempting to do. I am trying to
extract some information from an external source on a different server, and
then include some of the external calculations as I am running scripts on a
local machine.
Below is my script snippet:
// Get
From: Jay Blanchard [EMAIL PROTECTED]
Sent: Tuesday, June 24, 2008 1:10 PM
To: Wei, Alice J.; php-general@lists.php.net
Subject: RE: [PHP] Include Problem
[snip]
foreach ($lines2 as $line_num = $line2) {
echo pLine #b{$line_num}/b : . htmlspecialchars
From: Jim Lucas [EMAIL PROTECTED]
Sent: Tuesday, June 24, 2008 1:32 PM
To: Wei, Alice J.
Cc: Jay Blanchard; php-general@lists.php.net
Subject: Re: [PHP] Include Problem
Wei, Alice J. wrote:
From: Jay Blanchard
School of Library and Information Science
Indiana University Bloomington
[EMAIL PROTECTED]
From: Daniel Brown [EMAIL PROTECTED]
Sent: Tuesday, June 24, 2008 1:51 PM
To: Jim Lucas
Cc: Wei, Alice J.; Jay Blanchard; php-general@lists.php.net
Subject: Re: [PHP
From: Daniel Brown [EMAIL PROTECTED]
Sent: Tuesday, June 24, 2008 1:59 PM
To: Wei, Alice J.
Cc: Jim Lucas; Jay Blanchard; php-general@lists.php.net
Subject: Re: [PHP] Include Problem
On Tue, Jun 24, 2008 at 1:55 PM, Wei, Alice J. [EMAIL PROTECTED] wrote
==
Alice Wei
MIS 2009
School of Library and Information Science
Indiana University Bloomington
[EMAIL PROTECTED]
From: Boyd, Todd M. [EMAIL PROTECTED]
Sent: Tuesday, June 24, 2008 2:37 PM
To: Wei, Alice J.
Cc
From: Boyd, Todd M. [EMAIL PROTECTED]
Sent: Tuesday, June 24, 2008 2:53 PM
To: php-general@lists.php.net; Wei, Alice J.
Subject: RE: [PHP] Include Problem
If you are trying to include() a remote file via HTTP, the remote
server
will (most likely
Alice,
If you simply need to execute a remote PHP script and pass variables,
you could do it behind-the-scenes with cURL or AJAX, and pass the
variables in the url (i.e.,
http://www.mysite.com/script.php?param=value). cURL is capable of
retrieving the page (read: the results of the executed
==
Alice Wei
MIS 2009
School of Library and Information Science
Indiana University Bloomington
[EMAIL PROTECTED]
From: Boyd, Todd M. [EMAIL PROTECTED]
Sent: Tuesday, June 24, 2008 4:55 PM
To: Wei, Alice J
Hi,
I have got a task from my client asking me to build something that
allows the variables in the PHP file passed to another PHP file or a file in a
different computer language to perform some operations on another remote
machine. According to my client, he calls this behind the
Hi,
I have a code here that I am intending to create new directories by creating
a parent and then proceed on to create the children one by one.
I am trying to create directories in the server I am running my script from
as shown in the snippet below. My problem is that although the code
==
Alice Wei
MIS 2009
School of Library and Information Science
Indiana University Bloomington
[EMAIL PROTECTED]
From: Daniel Brown [EMAIL PROTECTED]
Sent: Tuesday, June 17, 2008 2:54 PM
To: Wei, Alice J.
Cc: php-general@lists.php.net
Subject: Re: [PHP] mkdir
=mssql.so vs. ;extension=php_mssql.dll
Wei, Alice J. wrote:
Hi,
I am not sure what is exactly the problem with my configurations while I am
trying to configure Apache, PHP and FreeTDS throughout my attempts to install
these packages into my Linux.
It appears that I am doing everything correctly
Hi,
I am not sure what is exactly the problem with my configurations while I am
trying to configure Apache, PHP and FreeTDS throughout my attempts to install
these packages into my Linux.
It appears that I am doing everything correctly as I am going through
listservs, forums and online
PM
To: php-general@lists.php.net
Subject: Re: [PHP] PHP Runs But Does Not Display on Linux
On Wed, 11 Jun 2008 22:03:53 -0400
Wei, Alice J. [EMAIL PROTECTED] wrote:
Hi,
I am currently using a Linux box with Fedora to run my PHP scripts,
which I have seen in the download page at
http
Maruszeczka [EMAIL PROTECTED]
Sent: Friday, June 13, 2008 10:51 AM
To: php-general@lists.php.net
Subject: Re: [PHP] PHP Runs But Does NOT Connect to MSSQL Server
On Fri, 13 Jun 2008 10:32:22 -0400
Wei, Alice J. [EMAIL PROTECTED] wrote:
Hi, Greg:
I have just run the command
[EMAIL PROTECTED] php-5.2.6
[EMAIL PROTECTED]
Sent: Friday, June 13, 2008 12:31 PM
To: php-general@lists.php.net
Subject: Re: [PHP] PHP Runs But Does NOT Connect to MSSQL Server
On Fri, 13 Jun 2008 10:41:54 -0500
Boyd, Todd M. [EMAIL PROTECTED] wrote:
-Original Message-
From: Wei, Alice J. [mailto:[EMAIL PROTECTED
to install
another package, and I am assuming that I can download it from somewhere, this
is something I can try. Where did you get your package from?
Alice
-Original Message-
From: DeadTOm [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 11, 2008 11:15 PM
To: Wei, Alice J.
Cc: php-general
]
From: DeadTOm [EMAIL PROTECTED]
Sent: Wednesday, June 11, 2008 11:15 PM
To: Wei, Alice J.
Cc: php-general@lists.php.net
Subject: Re: [PHP] PHP Runs But Does Not Display on Linux
With localhost I was assuming that the files resided on your local
machine, my
Science
Indiana University Bloomington
[EMAIL PROTECTED]
From: Thijs Lensselink [EMAIL PROTECTED]
Sent: Thursday, June 12, 2008 10:44 AM
To: php-general@lists.php.net
Subject: RE: [PHP] PHP Runs But Does Not Display on Linux
Quoting Wei, Alice J. [EMAIL
Hi,
I am currently using a Linux box with Fedora to run my PHP scripts, which I
have seen in the download page at http://www.php.net/downloads.php that
We do not distribute UNIX/Linux binaries. Most Linux distributions come with
PHP these days.
What I am wondering is, if I can run my
Windows machine.
Alice
-Original Message-
From: DeadTOm [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 11, 2008 10:29 PM
To: Wei, Alice J.; php-general@lists.php.net
Subject: Re: [PHP] PHP Runs But Does Not Display on Linux
Do you have php-mysql installed? In ubuntu for php5 the package
@lists.php.net
Subject: Re: [PHP] PHP Runs But Does Not Display on Linux
On Wed, 11 Jun 2008 22:03:53 -0400
Wei, Alice J. [EMAIL PROTECTED] wrote:
Hi,
I am currently using a Linux box with Fedora to run my PHP scripts,
which I have seen in the download page at
http://www.php.net/downloads.php
of error even if I don't have it installed, right? Or, am I missing
something here?
Alice
-Original Message-
From: DeadTOm [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 11, 2008 10:46 PM
To: Wei, Alice J.
Cc: php-general@lists.php.net
Subject: Re: [PHP] PHP Runs But Does Not Display
Hi,
-Original Message-
From: DeadTOm [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 11, 2008 10:58 PM
To: Wei, Alice J.
Cc: php-general@lists.php.net
Subject: Re: [PHP] PHP Runs But Does Not Display on Linux
OK, I see now.
When you open the script from your browser are you accessing
Hi,
I have a scenario here where I wanted to read through a directory and copy
all the files into another directory out on the server somewhere.
It appears that I cannot do reiterative copying from the files to another
folder, according to the error I keep seeing:
PHP Warning:
60 matches
Mail list logo