mysql_num_rows($news)
On Fri, 2003-08-15 at 17:42, John Taylor-Johnston wrote:
OK,
I tried this, but am getting this error:
Warning: Wrong parameter count for mysql_num_rows() in /.../testals.php on line 189
189 if (mysql_num_rows() == 1)
What's up?
John
$myconnection =
familiar with this subject.
Matt
-Original Message-
From: Jason Wong [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 05, 2003 11:45 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Unzipping Files
On Wednesday 06 August 2003 10:19, Matt Palermo wrote:
Yeah, I know someone mentioned using
No problems :-) It sounds like Outlook was working like a charm?
On Wed, 2003-08-13 at 13:48, [EMAIL PROTECTED] wrote:
Aloha all,
I just wanted to apologize for some of the Out of Office alerts some of
you may have gotten from me yesterday. I had thought I had disabled the
function, but it
Matt Daleo [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Analysis Solutions [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hey Matt:
On Tue, Aug 12, 2003 at 10:07:10AM -0700, Matt Daleo wrote:
I'm attempting to read a remote file and parse it for data
Does anyone know of easy ways to be able to extract all
files/folders/subfolders from different types of compressed files (.zip,
.tar.gz, etc.)? If anyone could help me out with this, I would really
appreciate it.
Thanks,
Matt
Roger B.A. Klorese wrote:
if (Add == $Task)
I call that 'defensive programming', defending yourself from yourself!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
this PHP list due to that fact!
Matt
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.507 / Virus Database: 304 - Release Date: 8/4/2003
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net
I have RH9, Apache 2.0.47 running in SAPI compiled with apxs2, PHP
4.3.2, and MySQL 4.0.14-standard
I compiled all of these as doing it the rpm was too annoying.
On Tue, 2003-08-12 at 14:54, Rankin, Randy wrote:
I am setting up a new Redhat Linux 9 box for use as a non-production test
server.
Take a look at cURL: http://www.php.net/manual/en/ref.curl.php
On Tue, 2003-08-12 at 20:13, Dan Anderson wrote:
I have noticed that sometimes I cannot fopen($web_address,'r') or use
any similar files if the web address contains a form get in it. (i.e.
ends in a ?var1=xxxvar2=xxx...). I was
been put in place but which one might be the best?
Opinions?
Thanks,
Matt
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I'm attempting to read a remote file and parse it for data. The problem I've
having is that the file seems to be generated by Perl
(http://alert.dot.pima.gov/scripts/1brpssd.pl) and when I read it the
script-generated portion is not available. When I view the page with a
browser it is displayed
Anyone have a good place to help with this... Google was seeming a bit
light on good help. I tried to get it going but there seemed to be some
dependant libraries tha tI could not build myself, they were erroring
out..blah blah. Is there any easier way to do this?
Thanks,
Matt
--
PHP General
Yeah, I believe on Apache/Linux, it needs to be compiled in, and on
windows there is just some configuration and file moving to do.
cURL will do what you need it to, there is even code on the PHP site for
making the POST happen.
Matt
On Tue, 2003-08-12 at 20:27, Dan Anderson wrote:
Doesn't
Use the . concatenation operator. : )
$wresult = ;
foreach ($search_string as $word_result) {
$wresult = $wresult . . $word_result;
}
echo $wresult;
Matt
-Original Message-
From: Micah Montoy [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 12, 2003 3:58 PM
To: [EMAIL
Analysis Solutions [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hey Matt:
On Tue, Aug 12, 2003 at 10:07:10AM -0700, Matt Daleo wrote:
I'm attempting to read a remote file and parse it for data. The problem
I've
having is that the file seems to be generated by Perl
(http
I am doing this for a client, and he doesn't have the ZZIPlib installed,
and would like to avoid it if possible. Any other ideas?
Thanks,
Matt
-Original Message-
From: Adam Alkins [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 05, 2003 8:24 PM
To: Matt Palermo
Cc: [EMAIL PROTECTED
, and other types of compressed files using a PHP script. Let
me know if you can help.
Thanks,
Matt
/viewcvs.cgi/evopvr/evopvrd/src/evophp/php_evopvr.c?rev=1.8content-type=text/vnd.viewcvs-markup
is my module source in CVS.
Appreciate any help or feedback,
Thanks
Matt Anderson
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Yeah, I know someone mentioned using the exec for this, but I was
wondering if anyone knew where I could find the command-line code for
this to use in PHP... Anyone know?
Thanks,
Matt
-Original Message-
From: Mike Migurski [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 05, 2003 8:53
-Original Message-
From: Anthony [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 05, 2003 9:52 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Best PHP CMS
I'm just looking for some opinions. I've been going though
sourceforge
looking at different CMS systems. There are a lot of
Do you happen to know where I can find some examples or sample code for
these? The exec function on php.net didn't go into much detail about
extraction from compressed files. Anyone know of any good references?
Thanks,
Matt
-Original Message-
From: Jason Sheets [mailto:[EMAIL
: Failed opening '/var/www/main/htdocs/login.php' for inclusion
(include_path='.:/usr/share/pear') in Unknown on line 0
Any clues? I can send a copy of the script if anybody would like.
Also, this is running on a Debian/Apache system with PHP version 4.2.3.
Thanks,
Matt
---
Outgoing mail
David,
This is what my php.ini file looks like and I don't seem to have any
.htaccess files. Could it be something in the httpd.conf file thats
pointing to an invalid file/directory?
; Automatically add files before or after any PHP document.
auto_prepend_file =
auto_append_file =
Matt
Haven't found anything yet. The login.php file is the one I'm trying to
view when I get that error. I have a second file info.php that works
fine, but all it contains is ?php phpinfo(); ?. So I know
apache/php is working, I just don't know why it isn't working with my
login script.
Matt
Duh, I figured it out. I had the permissions screwed up on the file.
Thanks for your help and sorry for bothering everybody else with my
ignorance.
Matt
-Original Message-
From: Matt Giddings [mailto:[EMAIL PROTECTED]
Sent: Friday, August 01, 2003 11:25 PM
To: 'Jim Lucas'; 'David
of anything that
can do this?
Thanks,
Matt
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
snip
INDEX.PHP
?php
require 'files.inc.php';
$page = '$home';
include '$page';
?
the problem must be when i am trying to include the $page variable
/snip
get rid of the ' around the variable.
$page = something.php;
include $page;
--
PHP General Mailing List (http://www.php.net/)
To
Hello,
I'm currently looking at http://www.phpwebhosting.com/ to move a
medium size site to. Has anyone had any experience with them, could you
pass any comments about their service on to me?
Thanks,
Matt
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http
I think you want
?php
$home = 'home.html';
$forum = 'forum/index.php';
$contact = 'contact.html';
include $contact;
?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
try $_SERVER[PHP_SELF]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
snip
is there anyway where i can check if page is defined in the url?
/snip
not sure I know exactly what you mean but I think you could use
something like this
$foo = @include(index.php);
if ($foo) {
//index.php was valid
} else {
//index.php was not valid
}
there also might be a better way
a
// button like this, you can also do this...
echo
input type=\submit\ value=\Rename Files\ name=\RenameButton\
onclick=\javascript:LetsSubmit('any_page.php');\
;
I spent a while trying to figure this one out myself, so I hope this helps
you.
Matt
= Original Message From Tyler
snip
I do understand for loops and while loops but this is a bit
confusing...do you haev any links I can read up on these?
/snip
http://www.php.net/manual/en/ has all the info you need
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I have tried this method as well, but I still seem to get the same error. I
have the form tag put in there and everything, with this bit of script inside
the tags, but still no luck. Is there an easier way to accomplish what I want
to do? Please let me know if there is. Thanks.
Matt
I just remembered (I'm not sure if it makes a difference) that I am using
frames on this page. Does this matter at all? Thanks.
Matt
= Original Message From Matt Palermo [EMAIL PROTECTED] =
Fixing the javascript that you specified still gave me the same
errors... Got any more
into a link
instead?
Thanks,
Matt
= Original Message From Comex [EMAIL PROTECTED] =
[EMAIL PROTECTED]
Matt Palermo:
I just remembered (I'm not sure if it makes a difference) that I am
using frames on this page. Does this matter at all? Thanks.
Matt
No, it doesn't... well
I found out that it works fine without the submit button that I had in there.
When I take the submit button out, it works, if I put it back in there I get
the error message again.
Any ideas?
Matt
= Original Message From [EMAIL PROTECTED] =
On Fri, 2003-07-25 at 05:30, Matt Palermo
Okay, I got it to work. I just put the id parameter in the submit button
tag and it works fine now. Thanks for all your help guys...
= Original Message From [EMAIL PROTECTED] =
Why do you have a submit button and a link to submit the form. Dont u
want them to use the submit button for
a
script that shows all the rows and columns and allows someone to go in and
change whatever field they want.
Any help greatly appreciated,
Hedges
--
___
| Matt Hedges
| http://hedgesinnovations.com
|
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe
td align='center'input type='text' name='MarriedName'
size='20' maxlength='20' value='$MarriedName' /td
/tr
trtd/tdtd align='center'
brinput type='submit' value='Update Sister'/td
/tr
/table
/form;
?
/body
/html
Thank you.
Matt
: Object doesn't support this property or method.
Code: 0
Like I said before, this code works perfectly fine if I have it an html
document.
Anyone got any ideas?
Thanks,
Matt
Fixing the javascript that you specified still gave me the same
errors... Got any more suggestions?
Thanks for your help,
Matt
-Original Message-
From: Jim Lucas [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 24, 2003 6:40 PM
To: Matt Palermo
Subject: Re: [PHP] Link acting as a submit
Is anyone using a php/mysql/apache CMS (either custom or open source)
that is performing well serving on the order of 1 million page views a
month with 2600+ items of content? If so, I'd like to know what your
using and a description of your server setup, such as if the backend
runs on a
it keeps the two end points but just replaces everything in the
middle with a new specified string. Please help me if you can. Thanks.
Matt
That doesn't really help much... I think you just replied to the wrong
post. That answer really doesn't have anything to do with my question,
I don't think... Thanks anyway.
Matt
-Original Message-
From: Daryl Meese [mailto:[EMAIL PROTECTED]
Sent: Monday, July 21, 2003 8:09 PM
snip
select id, name from customer
redim custarray(recordcount,2)
i = 0
while not eof
custarray(i,0) = id;
custarray(i,1) = name;
i = i+1;
movenext
wend
/snip
Not sure what kind of db you are using but I put this together using
postgresql using the manual. So this is untested.
: .$sessionArray[1];// result: nospace
// This doesn't work
$sessionArray[1] = with space;
echo result: .$sessionArray[1];// result: with
// should be result: with space
Anyone know how to fix or avoid this from happening?
Thanks,
Matt
--
PHP General
snip
To make matters more confusing the problem occurs on Windows machines
but
does not occur on Macintoshes
/snip
Could you give me a little more info about what is happening?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
snip
The question is the - the assigned string key - is there a way to
retrieve
that in a loop? Foreach, for, while or otherwise?
/snip
I think this is what you want.
http://www.php.net/manual/en/control-structures.foreach.php
foreach(array_expression as $value) statement
. Is this possible to have 2 buttons going to 2
different places, but using the same data for all other form elements?
I would really appreciate any help I can get. Thanks.
Matt
() function it automatically serializes but again I'd like
to avoid that.
Right now it seems I have many unkowns, so i'm going to narrow them down
Matt
Mike Migurski wrote:
$customer = new Customer($_GET['facilityID'], $_GET['customerID']);
$_SESSION['acceptPayment']['serializedCustomer
the __sleep() and __wakeup functions and then
serializing/unserializing
within those functions?
so far manually serialize-ing and unserialize-ing prior to assigning the
object and
after retrieving the object seems to work.
Matt
Mike Migurski wrote:
Wow thats strange?? I am using PHP 4.3.2
my head in confusion.
I require_once the Customer class and start the session after the requires and
includes, so then I thought ok require_once
so I change it to require and then it doesn't load the class the for some reason
(sigh).
Thanks for your help in advance
Matt
--
PHP General Mailing
that will force the incremented value to be exactly 4 digits
no matter what number it increments? Please let me know if there is a
function that will insert these leading zeros or truncate it to 4 digits
if necessary. Thanks.
Matt
Thanks a lot. It works like a charm!
-Original Message-
From: Curt Zirzow [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 15, 2003 8:45 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Insert leading zeros
Matt Palermo [EMAIL PROTECTED] wrote:
I have a string of digits that looks like
']['serializedCustomer']);
and now you can access the object. There is a hidden jewl about this method, I now no
longer
have to include or require the class file because it is already defined in the
serialized string.
Matt
Matt Silva wrote:
Hi I was wondering if anybody has any Ideas about or has
the session after the requires and
includes, so then I thought ok require_once
so I change it to require and then it doesn't load the class the for some reasone
(sigh). Any Ideas?
Thanks for your help in advance
Matt
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http
snip
can you tell me How can I set a line
break in longs line of my code?.
/snip
I think you want to use \n
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
-Why the concern about letting that user have execute permissions,
and then prevent anyone (except those that have valid reasons) from
having write/execute permission to the webroot.
The permissions are Read, Write, and Execute. Read and Write are self
explanatory (for directories Write means
And nevermind, problem solved in another thread.
--
Matt Grimm
Web Developer
The Health TV Channel, Inc.
(a non - profit organization)
3820 Lake Otis Parkway
Anchorage, AK 99508
907.770.6200 ext. 686
907.336.6205 (fax)
E-mail: [EMAIL PROTECTED]
Web: www.healthtvchannel.org
Matt Grimm [EMAIL
out? I appreciate it. Thanks.
Matt
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
source is here:
http://www.healthtvchannel.org/test/php2xml.phps
--
Matt Grimm
Web Developer
The Health TV Channel, Inc.
(a non - profit organization)
3820 Lake Otis Parkway
Anchorage, AK 99508
907.770.6200 ext. 686
907.336.6205 (fax)
E-mail: [EMAIL PROTECTED]
Web: www.healthtvchannel.org
Tom Rogers
Interesting -- the clone_node() function does make certain that each element
gets its own representation in the output, for any XML I tested. I guess
then my problem lies with how I'm looping through the aforementioned array
structure to get the values themselves.
Thanks,
--
Matt Grimm
Web
and
distinguishing them with attributes.
I'd still like the code to work with XML that did have similarly named
elements in the same node level.. can you see anything in my DOMXML calls
that might indicate the problem?
Source:
http://www.healthtvchannel.org/test/php2xml.phps
--
Matt Grimm
Web Developer
snip
Does anyone know of any free Excel parsing non-COM code available on
the
net? Just straight php driven?
/snip
I have not tried any of these but there might be something in here you
can use.
http://www.phpclasses.org/search.html?words=Excelgo_search=1
--
PHP General Mailing List
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
] = Value 2
)
)
)
)
)
[/array]
Source:
http://www.healthtvchannel.org/test/php2xml.phps
Thanks,
--
Matt Grimm
Web Developer
The Health TV Channel, Inc.
(a non - profit organization)
3820 Lake Otis Parkway
Anchorage, AK
I failed to show the output XML in my last message. It's outputting like
so:
[xml]
rootElement
record id=2Value1Value2/record
/rootElement
[/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
[snip]
Like I said before, the style sheets load up fine on my Windows XP IIS
server,
but not the Windows 2000. In order to get it to work on the Windows
2000 IIS
server, I have to link the style sheets relative to the folder I am
working
in, but I want to be able to move certain files into
The XP and 2000 are two different machines.
= Original Message From Matt Matijevich
[EMAIL PROTECTED] =
[snip]
Like I said before, the style sheets load up fine on my Windows XP IIS
server,
but not the Windows 2000. In order to get it to work on the Windows
2000 IIS
server, I have
I have done that, and it displays the correct location. I don't know what
else to do. Is there maybe something in the php.ini file?
= Original Message From Mike Brum [EMAIL PROTECTED] =
First, I'd create a simple test to see what the value of
$newDir = $HomeDir.themes/.$ThemeFolder;
I mean, when you actually call the script on the XP machine, where do
you test it at? Do you use a browser that is on the XP machine that is
running IIS, or do you do it from a different machine?
Matt Palermo [EMAIL PROTECTED] 07/09/03 10:52AM
The XP and 2000 are two different machines
I am testing it from the same machine for right now.
= Original Message From Matt Matijevich
[EMAIL PROTECTED] =
I mean, when you actually call the script on the XP machine, where do
you test it at? Do you use a browser that is on the XP machine that is
running IIS, or do you do it from
I am not 100% sure but I think you could use the $_POST array or the
$_GET array (depending on the method of your form) with the print_r
function.
Enda Nagle [EMAIL PROTECTED] 07/09/03 11:04AM
I know this has prob been gone through hundreds of times...
I have a form, and I want to display all
your syntax is correct, just need to change for ($j=0: $j 5; $j++) to
for ($j=0; $j 5; $j++)
Micah Montoy [EMAIL PROTECTED] 07/09/03 12:56PM
Anyone ever do a nested for loop?
$i =0;
$j =0;
for ($x=0; $x 50; $x++){
echo (1 to 50);
for ($j=0: $j 5; $j++) {
echo (less
snip
Does anyone know if there is a way to change the referer information
prior
to using php's header function? I've tried things like:
header(Referer: $referer);
where the $referer variable holds the original referer minus the search
term
without luck.
/snip
How is the search term passed? Is
snip
$result = mssql_query(SELECT * FROM files WHERE file_id = '$cat_name'
ORDER
BY file_name ASC);
$i = $col_num;
$j = 0;
$filename= mssql_result($result,0,file_name);
$fileID = mssql_result($result,0,file_id);
for ($k = 0; $k mssql_num_rows($result); $k++) {
//changes row color
if
is
outputting this:
rootElement
record id=2Value 1Value 2/record
/rootElement
Any ideas?
--
Matt Grimm
Web Developer
The Health TV Channel, Inc.
(a non - profit organization)
3820 Lake Otis Parkway
Anchorage, AK 99508
907.770.6200 ext. 686
907.336.6205 (fax)
E-mail: [EMAIL PROTECTED]
Web
I have a mod10 validation script written in another scripting language.
I could try to convert it if you would like but I am sure that someone
has already done it. Did you try google?
http://www.google.com/search?hl=enlr=ie=UTF-8oe=utf-8q=php+mod+10spell=1
--
PHP General Mailing List
level, I'm overwriting the $thisChild object that I just
created. How can I dynamically name these objects so that I can have an
indeterminate number of elements by the same name, in the same level?
Source:
http://www.healthtvchannel.org/test/php2xml.phps
Thanks,
--
Matt Grimm
Web Developer
You could save all of the form data in session variables, when they
click edit re-populate the form fields with the session data.
Artoo [EMAIL PROTECTED] 07/07/03 04:00PM
Anyone know where I can view some sample code that does the following?
When the user clicks on SUBMIT, they are taken to a
to a member function on a non-object How can I
reference that ancestor object when I come back into the function?
(PHP version is 4.3.2, Apache 2.0.44 on Win2k)
Thanks,
--
Matt Grimm
Web Developer
The Health TV Channel, Inc.
(a non - profit organization)
3820 Lake Otis Parkway
Anchorage, AK 99508
is that it doesn't appear to be possible to force the data
to be written without also closing the session.
Mike - can you expand on your point above?
Thanks,
Matt
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
I need to manipulate a string to insert a space 3 characters from the
right end.
eg: turn 'ng23fgh' into 'ng23 fgh', or 'hfdgskfjgh23kj' into
'hfdgskfjgh2 3kj'.
Any help gratefully received.
Matt
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net
);
// END
}
?
If anyone can point out an error, please do!
Thanks,
Matt
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
John Manko [EMAIL PROTECTED] 06/30/03 02:08PM
Hello,
I'm wondering why the listed Reply To address is not
[EMAIL PROTECTED]
Thing would be so much easier to just reply than cut-n-paste when reply
to the entire list on a subject (which is the norm).
Can the maintainer set this up?
John
When you view the html source is all of the text including the quotes there?
Lso . [EMAIL PROTECTED] 06/25/03 12:06PM
go ahead an try it. the quote is quite clearly in the database, but when i
try to put it back in a form field everything is cut off after the quote.
and i tried stripslashed,
to just throw out
everything from the to the and just keep everything that is NOT
located inside any characters? Anyone have any ideas on how this can
be done? Please let me know.
Thanks,
Matt
, in the
Name text box, let's say the wine's name is Norton Malbec, it only displays
Norton. Does anyone know how to fix this?
thanks very much
Matt Hedges
?php
$db = mysql_connect(host, username, pw)
or die (The Database is momentarily down. Sorry for the delay.);
mysql_select_db(username
Thanks!
Matt Hedges [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hello. I am making an online database of my wines that I want my friends
to
be able to edit. The page below displays the wines. I want the fields in
text boxes so later they can be easily edited. However
='$Bodega',Name='$Name',Grape='$Grape',Year='$Year',Region='$Region',S
ubRegion='$SubRegion' WHERE id='$id'; ?
How do I set it up with the submit, etc?
thanks so much for the help
Matt
?php
$db = mysql_connect(host, username, pw)
or die (The Database is momentarily down. Sorry for the delay
Please take a look at http://hedges.org/code/wine.php - You'll see what I
can't figure out how to do.
thanks,
Matt
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
?
thanks very much for any help,
Matt Hedges
--
___
| Matt Hedges
| http://hedgesinnovations.com
|
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Could anyone tell me how to print all the variables and values from a submitted form,
so that I can check them?
Thanks,
Matt
to the form page, all the entries they made are
erased and they need to redo everything. Is there and easy way to have them go back
with all their previously inputted data still filled in? Let me know.
Thanks,
Matt
if it can be changed)?
Thanks,
Matt
I have a script that creates a php file based on user input. I need this newly
created file to have write permissions - chmod 777. How can I have the script create
the file with these permissions already set? Is this possible?
Thanks,
Matt
I am using the fopen(), then using fwrite() to write text to it. After this
I am trying this command which doesn't work:
chmod($filename, 0777);
But, this doesn't work, and I'm not sure how to go about chmod'ing the file
for these permissions so that it can be changed later on.
Matt
It just doesn't chmod the file. It doesn't produce errors except for later
on in the script when it says it can't access the file with write
permissions (but it should already be chmod'd by then). Thanks.
Matt
- Original Message -
From: Jason Wong [EMAIL PROTECTED]
To: [EMAIL PROTECTED
How do I get the script to own the file? Are there special commands
needed for this?
Matt
-Original Message-
From: Jay Blanchard [mailto:[EMAIL PROTECTED]
Sent: Friday, June 13, 2003 3:08 PM
To: Matt Palermo; [EMAIL PROTECTED]
Subject: RE: [PHP] create a chmod'd file
[snip]
It just
801 - 900 of 1597 matches
Mail list logo