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 exte
ile you can use the
following code: (make sure the PEM file 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 ma
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
@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:
Hi,
I have a code here as the following:
When I execute it, I get this error and output:
PHP Notice: Undefined offset: 2 in /root/Desktop/test.php on line 8
PHP Notice: Undefined offset: 3 in /root/Desktop/test.php on line 8
PHP Notice: Undefined offset: 4 in /root/Desktop/test.php on
client wants to have 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----
used because when I use the SSH with
Filezilla or other SFTP clients, I used the same user and passwords here 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
al_file, $server_file, FTP_BINARY)) {
echo "Successfully written to $local_file\n";
} else {
echo "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:
upposed to open 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.n
> 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 acc
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 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 = file("http://192.168.10
>
> 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 -0
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: 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 [mail
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 1
-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.
&
> 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 wer
]
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 insta
lp.
Alice
==
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.n
]
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:
>
> He
PROTECTED]
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:
>
[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,
>
&g
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
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 executing
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-Re
==
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
EMAIL PROTECTED]
____________
From: Per Jessen [EMAIL PROTECTED]
Sent: Friday, June 27, 2008 8:26 AM
To: php-general@lists.php.net
Subject: Re: [PHP] fwrite() Append Files
Wei, Alice J. wrote:
> Hi,
>
> I wonder if anyone on the list could tell me how to app
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 the
ain for your help.
Alice
==
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.
, June 25, 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
> >
___
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 allo
, 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 M
lice Wei
MIS 2009
School of Library and Information 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
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 scenes
==
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
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 script
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
==
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: 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]>
=
Alice Wei
MIS 2009
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.n
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 Bla
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 "Line #{$line_num} : " . htm
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
set properly?
Alice
==
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
Subj
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 se
extension=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 app
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 arti
om: Greg Maruszeczka [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: Greg 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:
>
1, 2008 10:37 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,
> whi
ation 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
_
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 bad. How are you accessing these files? Th
other 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@lists.ph
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 it
-
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 on Linux
>Otherwise, it consistently gives me errors "Call to undefined
function: mysql_connect()...".If
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 that
>
&g
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 is
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 sc
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: copy(a2.txt)
60 matches
Mail list logo