Steve Jackson wrote:
I don't particularly need to *write* to the root directory. I do need to move the file to the root directory though as it's part of a CMS system. I can write the file to a directory which is adequately protected, but there has to be a way to move the file after it is written (t
>From the manual:
"is_executable() became available with Windows in PHP version 5.0.0."
Not sure what the problem might be if you're using linux.
--- "Gilberto Garcia Jr." <[EMAIL PROTECTED]> wrote:
> Hey guys,
>
> I made a class to work with file upload.
>
> I used the php function is_executab
testing ..
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Please tell me can users login with the html-page form and
Basic-authentication?
I so, how?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
wqeqwe
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Testing ,,,
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
wqewqe
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Friday 11 July 2003 02:28, Mark Clarkstone wrote:
> - Original Message -
> From: "Burhan Khalid" <[EMAIL PROTECTED]>
> To: "Mark Clarkstone" <[EMAIL PROTECTED]>;
> <[EMAIL PROTECTED]>
> Sent: Thursday, July 10, 2003 7:26 PM
> Subject: Re: [PHP] HELP can someo
On Thu, 10 Jul 2003, Seigo wrote:
> Please tell me can users login with the html-page form and
> Basic-authentication?
Chapter 16. HTTP authentication with PHP
http://www.php.net/features.http-auth
Regards,
Philip
--
PHP General Mailing List (htt
I may be wrong but to me the behavior is correct: calling a php script with
echo $_SERVER['PHP_SELF']; should return the name of that script.
-- Forwarded Message --
Date: Thursday, July 10, 2003 16:16:24 -0400
From: Dan Joseph <[EMAIL PROTECTED]>
To: andu <[EMAIL PROTECTED]>, Dan
Hello,
I want to make a php application, which displays different text in separate
windows. I mean for example a new window will open with text "Hello 1" and a
second window opens with text "Hello 2".
How is it possible with php?
Thanks!
--
PHP General Mailing List (http://www.php.net/)
To u
--- Karina S <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I want to make a php application, which displays different text in
> separate
> windows. I mean for example a new window will open with text "Hello
> 1" and a
> second window opens with text "Hello 2".
>
> How is it possible with php?
>
It's
How do i remove an element of an array by its key? I've tried
array_s(p)lice to no avail. Either it chops too much or too little with
seemingly no logic. The array is of unkown and variable size if that makes
a difference. Thanks, John.
--
PHP General Mailing List (http://www.php.net/)
To u
On Friday 11 July 2003 04:50, jwulff wrote:
> How do i remove an element of an array by its key? I've tried
> array_s(p)lice to no avail. Either it chops too much or too little with
> seemingly no logic. The array is of unkown and variable size if that makes
> a difference. Thanks, John.
unset
Does anyone know how I can set a hyperlink to a file so that someone can
download the file instead of viewing it in the browser? Please let me
know. Thanks.
Matt
>Does anyone know how I can set a hyperlink to a file so that someone can
>download the file instead of viewing it in the browser? Please let me
>know. Thanks.
You want the Content-Disposition header, see the HTTP spec.
-
micha
Give this a looksee
http://forums.devshed.com/archive/5/2003/01/3/49795
Quoting Joe Harman <[EMAIL PROTECTED]>:
> Okay this is a tuffy! I am really just looking for someone to point me
> in the right direction, or tutorials or something! maybe ideas
>
> 1st - I have created a Lat and Long dist
Hey thanks... They are pretty much trying to do what I am working... I
will try to interact a little with them...
Have a great one!
Joe
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 10, 2003 10:35 AM
To: Joe Harman
Cc: [EMAIL PROTECTED]
Subject
I have a java server running to handle xml requests and send back a
response to the sender.
It runs on one port for tcp and another for udp.
I got the udp version working fine, but I am having problems with the
tcp version.
Watching the debug output on the java server, I can see that it is
receivin
I have a final kink to work out of an array to XML parser I've been writing.
The array structure is below, along with the example XML it came from. A
link to the source I'm working on is at bottom. The only problem this
script runs into is when there are multiple elements with the same name on
th
Hi all,
Is there a local filesystem-based function comparable to the ftp-based
'nlist' that lists files in a directory?
Johnny
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
http://www.php.net/readdir
Original Message
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED],
Subject: RE: [PHP] nlist
Date: Thu, 10 Jul 2003 16:17:30 -0700
>Hi all,
>Is there a local filesystem-based function comparable to the
>ftp-based
>'nlist' that lists files in a directory?
>
>John
Hello,
This is a reply to an e-mail that you wrote on Fri, 11 Jul 2003 at 00:17,
lines prefixed by '>' were originally written by you.
> Is there a local filesystem-based function comparable to the ftp-based
> 'nlist' that lists files in a directory?
> Johnny
In PHP 5 you can use scandir()
http:
This is it. Thanks guys!
J
-Original Message-
From: Robert C. [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 10, 2003 4:24 PM
To: [EMAIL PROTECTED]
Subject: RE: [PHP] nlist
http://www.php.net/readdir
Original Message
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED],
Subject: RE
I failed to show the output XML in my last message. It's outputting like
so:
[xml]
Value1Value2
[/xml]
--
Matt Grimm
"Matt Grimm" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> I have a final kink to work out of an array to XML parser I've been
writing.
> The array structu
How can I hide this link so value can't be changed?
I don't want to change anything at the server level, and its not from a
form so I cant do a post -vs- a get.
http://www.abcd.com/popup_SearchRepSet.php?searchby=cust_no&search=1&value=WOR032
Thanks !
--
PHP General Mailing List (http://www.php
Smarty has a class method where it calls:
$this->$some_var("somevalue");
and this throws errors on Windows versions of php that i've tried. why
is that?
-Michael
--
Pratt Museum IT Intern
All programmers are playwrights and all computers are lousy actors.
--
PHP General Mailing List (http://www
http://www.tinyurl.com
Joey wrote:
How can I hide this link so value can't be changed?
I don't want to change anything at the server level, and its not from a
form so I cant do a post -vs- a get.
http://www.abcd.com/popup_SearchRepSet.php?searchby=cust_no&search=1&value=WOR032
Thanks !
--
P
Hello All,
I just want to survey the list and see what kind of solutions people are using
for the storage and reuse of SQL queries.
Right now I am working on an application that has native SQL queries as well
as custom queries that can be added by developers as they build on the
framework.
In
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
I have a php script set up for a user to upload a word document,
which is then coverted to html form, which I would then lke to store
in a database.
Howver, when I run the following command:
INSERT into sermons (data) VALUE ('$output');
It failes
session_destroy()??
Cheers,
Mun Heng, Ow
H/M Engineering
Western Digital M'sia
DID : 03-7870 5168
-Original Message-
From: Bruce Bruen [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 10, 2003 2:48 PM
To: [EMAIL PROTECTED]
Subject: Blatant newbie question - killing a session
Hi, this is
Have a look at:
http://www.php.net/addslashes
Quoting Aaron Axelsen <[EMAIL PROTECTED]>:
>
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> I have a php script set up for a user to upload a word document,
> which is then coverted to html form, which I would then lke to store
> in a dat
I'm not sure about FreeBSD but on Redhat, the /etc/passwd 'IS' meant to be
world readable. But fortunately it's only stores usernames and Real names
and etc.. whereas /etc/shadow is only root readable and it's the file that
stores user's passwords.
I think that's pretty secure.
Why are you parsin
Hi,
Friday, July 11, 2003, 4:30:41 AM, you wrote:
MG> Well I've made a signifigant improvement to this function, and it's now the
MG> parsing operation is only something like 26 lines. It works flawlessly (so
MG> far) for XML that does not have repeat element names on the same level.
MG> Which se
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
I had forgotten about that, thanks alot
- ---
Aaron Axelsen
AIM: AAAK2
Email: [EMAIL PROTECTED]
Want reliable web hosting at affordable prices?
www.modevia.com
Web Dev/Design Community/Zine
www.developercube.com
- -Original Message-
Fr
Hi,
I encountered a problem that I have never seen in my 3 years of using php
and mysql. Yesterday, I installed MySql, php5, and apache2 on my new laptop.
php5 worked fine with apache2, and MySql was working fine on its own. But
when I tried to connect to MySql database, I get a strange error m
This has been discussed a lot on many of the PHP forums in the past few
weeks. Mysql is not longer bundled with PHP. You need to use the
configuration option and set the location of your mysql base directory.
Cheers,
Rob.
On Thu, 2003-07-10 at 21:30, zlut arch wrote:
> Hi,
>
> I encountered a pr
Hi,
Did some more tweaking and if we create a new element for each node
ther is no need to clone, saves a few lines of code :)
function parseBranch($branch, &$doc, &$parent)
{
foreach ($branch as $key => $val) {
switch ($key) {
// parent attribute
Thanks,
That did the trick. Nicely encapsualable too, so I can easily remove
it.
Regards
Bruce
-Original Message-
From: Marek Kilimajer [mailto:[EMAIL PROTECTED]
Sent: Thursday, 10 July 2003 8:23 PM
To: Bruce Bruen
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] Blatant newbie question - kill
Hello Wendell,
Thursday, July 10, 2003, 6:59:25 AM, you wrote:
>>> So how to make sure that no one can access other people files and
>>> server files? and is there any way that nobody would be able to
>>> download php files or how to make them look like code when they are
>>> downloaded. Than
I did my research. We'll, searched the net anyway without a solution. I am
getting the error:
Fatal error: PDFlib error: function 'PDF_set_info' must not be called in
'object' scope in
c:\inetpub\wwwroot\webpage10\example\utilities\pdf_maker\act_p_makePDF.php
on line 4
I read that this is becau
Hi,
Friday, July 11, 2003, 4:27:13 AM, you wrote:
JM> Hi all,
JM> Does anyone know of any free Excel parsing non-COM code available on the
JM> net? Just straight php driven?
JM> I've found a couple commercial solutions but would like to try this myself
JM> or save money. Thanks for any help.
JM>
foreach ($profileArray[$i][attributes] as $key => $val) {
$singleProfileHTML .= $key . "=\"" . str_replace("'", ''', str_replace('"',
'"', $val)) . "\"\n";
}
The parsing error occurs in the "$singleProfileHTML.." line. I'm completely don't get
it; I see absolutely nothing wrong with th
Okay, curious if there is an easier way to do this... here is what I do
can't I just dump these into an array and and assign it to a variable...
maybe that doesn't make sense... basically I just want to have one
command that retrives all the "POST" variables... then list my variables
ie $ZipCo
Just wondering if there's a clear screen function in PHP like the clrscr()
in 'C'.
Thanks
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Friday 11 July 2003 13:01, Joe Harman wrote:
> Okay, curious if there is an easier way to do this... here is what I do
>
> $ZipCode = $_POST['zip'];
> $Distance = $_POST['distance'];
> ?>
>
> can't I just dump these into an array and and assign it to a variable...
> maybe that doesn't make se
Ah... Jason Man Of Few Words! THANKs... You have saved me time and
lines in my code :-)
Cheers!
Joe
-Original Message-
From: Jason Wong [mailto:[EMAIL PROTECTED]
Sent: Friday, July 11, 2003 1:13 AM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] dump $_POST into variables
On Friday 11
Never mind. I found the error.
thanks
"Micah Montoy" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> I did my research. We'll, searched the net anyway without a solution. I
am
> getting the error:
>
> Fatal error: PDFlib error: function 'PDF_set_info' must not be called in
> 'obj
On Jul 10, 2003, "Joey" claimed that:
|How can I hide this link so value can't be changed?
|I don't want to change anything at the server level, and its not from a
|form so I cant do a post -vs- a get.
|
|http://www.abcd.com/popup_SearchRepSet.php?searchby=cust_no&search=1&value=WOR032
|
|Thanks !
Hi there,
On Thu, 2003-07-10 at 21:53, Phil Powell wrote:
> foreach ($profileArray[$i][attributes] as $key => $val) {
^^
You should quote the word 'attributes':
http://www.php.net/manual/en/language.types.array.php#language.types.array.donts
Sorry...that link
On Fri, 11 Jul 2003 00:53:32 -0400, you wrote:
>foreach ($profileArray[$i][attributes] as $key => $val) {
> $singleProfileHTML .= $key . "=\"" . str_replace("'", ''', str_replace('"',
> '"', $val)) . "\"\n";
>}
>
>The parsing error occurs in the "$singleProfileHTML.." line. I'm completel
On Thursday, July 10, 2003, 9:25:31 PM, Taylor wrote:
TY> First,
TY> I need the code to replace the link in a string, like
TY> with
TY> ereg_replace("''", "''",
TY> $old);
TY> That was the closest i got, but (.*) makes it take the first BASE HREF, and
the last ">>, which sucks.
TY> Can anyone
On Friday, July 11, 2003, 3:11:51 AM, Michael wrote:
MS> Smarty has a class method where it calls:
$this->$some_var("somevalue");
Are you sure about that syntax? I'm not too familiar with Smarty, only
used it once, but I think its $this->some_var("value");
MS> and this throws errors on Windows
Thanx I got it to work, however, I have no idea why it works now considering
I did nothing different:
$singleProfileHTML .= "\n";
Beats the heck out of me!
Phil
- Original Message -
From: "David Otton" <[EMAIL PROTECTED]>
To: "Phil Powell" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent
101 - 154 of 154 matches
Mail list logo