I'm assuming there is no way to make a global alias. Can anyone
confirm/deny this?
""Matt Palermo"" wrote in message
news:5e7b8989448b45dbbeeb6fb89b3f3...@rachet...
Is it possible to create a global namespace alias in PHP or does the alias
have to be defined
Is it possible to create a global namespace alias in PHP or does the alias
have to be defined in EVERY file that I use? Here is an example:
file: main.php
file: index.php
The above code doesn’t work for me. The namespace alias defined in the
main.php file isn’t accessible in the index
Is it possible to create a global namespace alias in PHP or does the alias
have to be defined in EVERY file that I use? Here is an example:
file: main.php
file: index.php
The above code doesn’t work for me. The namespace alias defined in the
main.php file isn’t accessible in the index
Is there something wrong with
this command? Is there a different way to do it?
Thanks,
Matt
""Matt palermo"" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
My PHP is running as a user with limited rights. I'd like to execute a
command line as a diff
Okay, I'll have to look into that. I have very limited knowledge with shell
scripts. You wouldn't have an example of one that can do what I need do
you?
Thanks,
Matt
"Shawn McKenzie" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
Matt palermo wro
My PHP is running as a user with limited rights. I'd like to execute a
command line as a different user. I'm trying to delete a file and the PHP
user doesn't have access to do this. I know the username and password for
the admin user that has rights to delete a file. Is there a command I can
I've been looking on php.net, but can't find anything that covers this...
Basically, I am using PHP FTP to connect to an FTP server and run some
functions. I want to copy a directory on the FTP server to another
directory on the FTP server. Since there isn't an ftp_copy() function, I
have to
with and learn from other developers as well.
Thanks,
Matt Palermo
http://sweetphp.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I have available at
http://sweetphp.com and they have become very successful because of all your
help.
Thanks,
Matt Palermo
[EMAIL PROTECTED]
http://sweetphp.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Any ideas on how to accomplish this?
""Matt Palermo"" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> I'm try to sort a list of items using a usort function. Basically, I want
> it to sort in this order:
>
> Numbers (0-9)
> Letters
get these results? Please let me know.
Thanks,
Matt Palermo
http://sweetphp.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Well, I would like to at least be able to upload a 10mb - 15mb file. I
don't need it to upload files that are HUGE, just a reasonable size.
"zzapper" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> On Fri, 30 Sep 2005 01:19:01 -0400, wrote:
>
>>Hello everyone. I'm basically bui
Hello everyone. I'm basically building a PHP FTP client app. This app
connects to an FTP server and allows the user to edit/delete
files/permissions, etc. I've gotten to the point where I have started to
create a file upload feature. The problem I have is that PHP only allows a
2mb maximum
I'm using 5.0.something.
"Al" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Matt Palermo wrote:
>> Hello everyone. I have a script where I am using FTP functions to chmod
>> files/folders. I'm running into a problem with the ftp_chmod
rote in message
news:[EMAIL PROTECTED]
> "Matt Palermo" <[EMAIL PROTECTED]> writes:
>
>
>> ftp_chmod($connId, 0777, $folder);
>>
>> The function almost works, but when I check the permission of the folder
>> after it's run, the folder has 410 for
;.$file;
ftp_site($connId, $chmodCmd);
This properly changes the folder permissions to 777. Does anyone know why
the ftp_chmod() function doesn't work correctly? As a side note, the
ftp_chmod() function works correctly on a file, but not a directory. Any
help is appreciated.
Thanks,
Matt Palermo
t uses the fopen()
function to access the PHP file, that when the remote PHP file gets executed
it can log some information about the source server which is accessing it?
If so, what kind of code would I need to place in the remote PHP file to
obtain some of the information.
Thanks,
Matt Pa
server. Is there a way around something like this? Or perhaps could the
script keep time of how long it has been running will reading/writing and
then be able to continue writing to the partial file? Does anyone have any
suggestions for this problem?
Thanks,
Matt Palermo
http://sweetphp.com
How about:
if($Game_Rating == "")
$errors[] = "You didn't enter the Online Status for the Game.";
This should work for you.
-Matt
"Ahmed Abdel-Aliem" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi Group Members
> i have a problem with function empty()
> i use it to check if
want to allow them to use HTML, but I want to close tags that were left open
by them. This way it allows them to use HTML and it won't screw up the rest
of the page.
Thanks,
Matt
"Richard Lynch" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Matt Pa
news:[EMAIL PROTECTED]
> Matt Palermo wrote:
>> I am allowing users to imput HTML code into a textarea. After they input
>> this, I wany to output their HTML to the browser. In order for the
>> document
>> to be safe, I need to close all open HTML tags that have been l
I am allowing users to imput HTML code into a textarea. After they input
this, I wany to output their HTML to the browser. In order for the document
to be safe, I need to close all open HTML tags that have been left open by
the user, along with any open comments. Is there a way to take an HTM
nformation
here:
http://sweetphp.com/nuke/modules.php?name=Script_Preview&script=6
As a thank you to all those who have helped me on here I am giving away 5
free copies of the program to the first 5 people who contact me about it.
Thanks again for all your help guys. Great job!
Matt
Okay, I actually found out how to list the users, but you have the following
line of code:
define('SITE_ONLINE_EXPIRE', 900);
What is the 900? Is that 900 seconds?
Thanks,
Matt
http://sweetphp.com
"Matt Palermo" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROT
in message
news:[EMAIL PROTECTED]
> On Fri, 2 Jul 2004 01:13:14 -0400, Matt Palermo <[EMAIL PROTECTED]>
wrote:
> >
> > Is it possible to make a table of all logged in users session ids and
then
> > check to see if the session still exists every couple minutes? So every
ors.
>
> This is just a hint. Some knowldge of php/any database
> assumed ,
>
> Revert back with any comment or problem.
>
> zareef ahmed
>
>
> --- Curt Zirzow <[EMAIL PROTECTED]> wrote:
> > * Thus wrote Matt Palermo:
> > > they click the logout button
I am trying to keep a MySQL table of all currently online users for a system
I'm making. It's pretty simple to add the username to the list when they
login, but I don't know how to remove their username when they leave (unless
they click the logout button). Basically I want to be able to keep a l
Hey guys. I was wondering if anyone knows how to go about creating a cron
job using vDeck (that's what is installed on the server) that just accesses
a PHP file and runs everything in the PHP file. Does anyone know how to go
about doing something like this?
Thanks,
Matt
http://sweetphp.com
--
/modules.php?name=Script_Preview&script=4
It will be on sale for half price over the next week or two, but you can get
a free copy by being one of the first 5 people to email me for it. Thanks
again for all your help!
Matt Palermo
http://sweetphp.com
--
PHP General Mailing List (http://www.php
Does this allow you to work with larger files than the maximum specified in
the php.ini or just smaller ones?
Thanks,
Matt Palermo
http://sweetphp.com
"Rachel Rodriguez" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>
> --- Matt Palermo <[EMAIL PROTECTE
Is there a way to change the maximum file upload size in a PHP script? Kind
of like the way you can change the error reporting in a script, but I just
want to adjust the max file upload size. Does anyone know if this can be
done?
Thanks,
Matt Palermo
http://sweetphp.com
--
PHP General
Hey, I was wondering if anyone knows of any easy ways to detect for HTML
input. I have a textarea box that I want users to be able to input either
plain text or HTML code. I will later display this input data, so if the
user input plain text then I will replace newline characters (\r\n, \n, \r)
w
Will this work on both a Windows and Unix server?
"Michal Migurski" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> > Is there an easy way to do a mysql dump routine written in php? I
> > basically want to write a function to backup a database and have it
> > create all the neccess
ws:[EMAIL PROTECTED]
> why not just use WHERE word = "inputWord" and skip the whole LIKE thing
for
> an exact match? Is that what you mean?
>
> Respectfully,
> Ligaya Turmelle
>
> "Matt Palermo" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PRO
Is there an easy way to do a mysql dump routine written in php? I basically
want to write a function to backup a database and have it create all the
neccessary structures and data in the dump. I know phpMyAdmin will do this
for me, but I want to write a function to do this incase the server doesn
I was wondering if anyone knows how to do whole word searches in mysql. I
have a search textbox that users can enter in multiple words to search for
in the database, but things like the mysql LIKE match any part of a word.
Is there a way to search for whole word matches only? Please let me know i
What exactly does this do:
/< (?<=p|br) [^>]+ >/x
It may work, I just want to understand what it's looking for.
Thanks,
Matt
"Curt Zirzow" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> * Thus wrote Matt Palermo ([EMAIL PROTECTED]):
> &
I have a page where I am stripping the html tags down. Basically, it will
allow certain tags, but still strips out ALL attributs of the tag, so it
works something like this:
$allowed_tags = "";
// State which tags are allowed
$info = strip_tags($info, $allowed_tags);
// Strip all unwanted tags o
ochem Maas" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Matt Palermo wrote:
>
> > I am building a system which allows users to post data. I want to allow
> > them to use ONLY certain tags such as , , , , , ,
> > etc... I want to allow them to
is to work for any tag, no just . Any
suggestions for this?
Thanks,
Matt
"Jochem Maas" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Matt Palermo wrote:
>
> > I am building a system which allows users to post data. I want to allow
> >
of a way this can be done?
Thanks,
Matt Palermo
http://sweetphp.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I am creating a system to allow users to upload images to the site. Would
it be better to store the images in a MySQL table, or having it save the
images to a directory on the server? Anyone have any suggestions on this?
Pros? Cons?
Thanks,
Matt
http://sweetphp.com/
--
PHP General Mailing Lis
How can I get the field names from a specified MySQL table? I don't need
the data, I just want to get an array of the tables field names.
Thanks,
Matt
http://sweetphp.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Is there a way to check a folder on the server to make sure a specified
folder has write permissions? I'm writing an upload script, but I need to
make sure the user gave the destination directory write permissions before I
can copy the files to the new folder. Anyone got any ideas?
Thanks,
Matt
No, i'm using a MySQL DB.
"Justin Patrin" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Matt Palermo wrote:
>
> > Hey everyone. I'm looking for assistance/suggestions/answers on how to
> > build a select dropdown box from data that nee
Hey everyone. I'm looking for assistance/suggestions/answers on how to
build a select dropdown box from data that needs to be pulled recursively
from a MySQL database. Basically the situation is mainly for a dicussion
thread system type of thing where I have categories nested inside
categories, n
Hello. Does anyone know how I can easily create a zip archive from a folder
on my server? I have a library class that will do this for a tar file (I
just give it the folder name and the archive name and it creates the tar
file for me very easily). I was wondering if there is anything really easy
I have a hosted website which uses CPanel. I can login to CPanel and create
as many email forwarders as I want. Is there a way I can write a PHP script
to manage these email forwarders? For example, somebody registers on my
site and they want to be added to the for a certain email address (as an
I have a bunch of dates in the form: MM-DD- in an array and I want to
sort them and display them in descending order. I have tried the usort()
function below and it's not working. Can anyone help me out here?
$menu_item = array();
$menu_item[] = "12-04-2003";
$menu_item[] = "11-19-2003";
$me
I am writing a desktop application using PHP-GTK. I would like this program
to be able to connect to a remote server, call some functions that I
specify, and return the right information (most likely from a MySQL db). I
have access to the server, so I can create any and all functions that I
want,
Hello. I was wondering if anyone knew of a function to get the value
between 2 strings. For example, lets say I have the following line:
$line = "I want the value between word ONE and word TWO. Please return
it...";
Now, I want to get everything between "ONE" and "TWO". In this example it
sho
Is there any way to accomplish this without the use of exec() or system()
functions?
"Jason Wong" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> On Saturday 08 November 2003 03:39, Matt Palermo wrote:
> > Does anyone know of a way to perform an MX look
Does anyone know of a way to perform an MX lookup on a Windows server to
perform an email verification? Any help on this would be great, since I can
only find code for this that will work on *nix servers. Please let me know
if you can help.
Thanks,
Matt
--
PHP General Mailing List (http://www
Oops... The link to the site is:
http://www.sweetphp.com/projects/TotalCalendar/
Sorry.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hey everyone. I am the creater of a PHP script called TotalCalendar
(http://sweetphp.com/TotalCalendar/) and I am looking for a little advice
and suggestions about making a tool for it. I want to build an application
that users can download and install on their local machines which connects
to a
f choice. There are several
> > SOAP libraries available and they come with good docs. However if you
> > are building an image gallery type application, you will be able to do
> > mos of the work just by using java.net package has has been pointed out.
> >
> > all th
se
> Object Streams for your communications or RMI. Then there is the
> XMLEncoder class that was made availble with 1.4
>
> better stop before someone shoots me down this is a PHP list after all :-)
>
>
>
> Matt Palermo wrote:
>
> >I have been searching the web for ways to ex
I have been searching the web for ways to execute remote PHP files through
the use of JAVA code, but I haven't had any luck. I have found many ways to
call JAVA functions from a PHP script, but not the other way around. What
I'm trying to accomplish is I want to build a JAVA application that will
I have an array of object for files on my site. The objects hold a file's
name, size, extension, etc... I was wondering if anyone knows where I could
find a relatively easy function for sorting the array of these objects by
either name, size, etc... Please let me know if got any tips. Thanks a
I have a form that a user can fill out. In the text input field I allow
them to insert HTML tags with their input data. They can then submit the
form for processing. The problem is that later on when they go to edit
their inputs (I initialize the text input with their previously submitted
input)
everyone who has helped me out.
Matt Palermo
[EMAIL PROTECTED]
http://sweetphp.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Anyone know where I can find tutorials or examples on how to use the
gunzip, gzip, and other commands using PHP to work with compressed
files? I would really appreciate it if someone could send me some links
or examples of how to use them. My goal would be to be able to extract
.zip, .gz, and oth
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 PROT
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
very 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 u
PM
To: Matt Palermo
Cc: 'Adam Alkins'; [EMAIL PROTECTED]
Subject: RE: [PHP] Unzipping Files
>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?
It has been mentioned before: use exec, or the backt
EMAIL PROTECTED]
Sent: Monday, August 04, 2003 11:46 PM
To: Matt Palermo
Subject: Re: [PHP] Extracting Compressed Files
Use exec to execute the command line programs that deal with these
archives. Namely tar and gz and bzip2 and zip/unzip.
For single files that are compressed you can use PHP to decom
Does anyone know if there is anything in PHP or any other language that would
allow a specific action to occur if a visitor right-clicked on a link. For
example, they could left click on it an go to a specified page, and they could
also right-click it to go to a different page. Anyone know of
//Just use this javascript function...
echo "
";
// Then output the submit link like this...
echo "
";
// You can have multiple submit links that send it
// to different pages
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
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
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?
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
>err
>= Original Message From Curt Zirzow <[EMAIL PROTECTED]> =
>* Thus wrote Matt Palermo ([EMAIL PROTECTED]):
>> I am trying to create a submit button out of a hyperlink using the
>> following
>> code:
>>
>> (this is in a file called index.html)
>
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
I am trying to create a submit button out of a hyperlink using the
following
code:
(this is in a file called index.html)
this
page
This works fine as an ht
2003 8:09 PM
To: Matt Palermo; [EMAIL PROTECTED]
Subject: RE: [PHP] replacing everything between 2 strings
look into opendir and readdir
with opendir you can open a handle to a directory and use readdir in a
loop
to look at every file (fopen or whatever to load each file) then parse
your
files. readd
Is there a way to replace everything between 2 given strings if it
exists? Say I have:
$str = "replace anything and everything in here.";
Now I want to replace everything between the word "replace" and "here.",
so the new string could read something like this:
$str = "replace NOTHING here.";
I have a script that contains a form which goes to page1.php on the
click of a submit button. Inside the form are lots of checkboxes and
things to fill out that get passed to page1.php. I want to put another
button in there that send all the same names and values of the
checkboxes to page2.php.
I have a session array that stores some values that I set. It holds all the
inserted values, unless the value I want to insert has a space in it, then it
only inserts the characters before the space into the array. It looks like
this:
// This works
$sessionArray[1] = "nospace";
echo "result:
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 l
I have a string of digits that looks like something like these: 0025,
1234, 0001, 1003, and so on. They are all 4 digits in length. Then
when I increment one of them by 1, I want to still have 4 digits for the
value (it should insert the leading zeros if needed). Is there any type
of function t
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
Anyone know how I can stip off the end of a folder location, so that it will
be a folder in the next level up? I want to turn something like this:
/path/to/folder/MyFolder/
into somthing like this:
/path/to/folder/
I just need to strip off the last folder and that is it. Can anyone help me
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.
>
>
>
>--
>PHP General Mailing List (http://www.php.net/)
>To unsubscribe, visit: http://www.php.net/
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/".$ThemeF
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 hav
Does anyone know of any built in functions or options for the US states?
I want to make a drop down menu and some other things which have the 50
states in it. Is there any shortcut for this with PHP, or do I need to
do it all manually in HTML? Please let me know. Thanks.
Matt
I want to be able to retrieve and return all character that are not
located in html tags. For example:
1234567
or
1234567
I would just like it to be equal to 1234567, but I would need it to work
with any tags and attributes. Is there a way to just throw out
everything from the < to the > and
I have a forms page that a user will fill out. When it is submitted, it checks to see
if any of the field entries entries are empty, and if so, it has a die() statement
that has a link (javascript:history.back()) which sends the user back to the form
page. However, when they go back to the for
Could anyone tell me how to print all the variables and values from a submitted form,
so that I can check them?
Thanks,
Matt
When a session is started on my server, it gets a name in the
"sessiondata" folder like:
sess_8sjg4893m9d0j43847dk4o5l2
I was just wondering if all sessions on ANY server start with "sess_"?
Is this a PHP-wide default, or can it be changed (not that I want to
change it, I just want to know if
What is the umask()? What is that used for? How do I set that up
right?
Matt
-Original Message-
From: Jason Wong [mailto:[EMAIL PROTECTED]
Sent: Friday, June 13, 2003 3:08 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] create a chmod'd file
On Saturday 14 June 2003 03:01, Matt Pa
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
lt;[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, June 13, 2003 2:59 PM
Subject: Re: [PHP] create a chmod'd file
> On Saturday 14 June 2003 02:43, Matt Palermo wrote:
> > I am using the fopen(), then using fwrite() to write text to it. After
> > this I am trying
nged later on.
Matt
- Original Message -
From: "Alex Earl" <[EMAIL PROTECTED]>
To: "Matt Palermo" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Friday, June 13, 2003 2:37 PM
Subject: Re: [PHP] create a chmod'd file
> > I have a script that create
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
Will the stripslashes() remove the slashes that are supposed to be in the
file? Because often times there are slashes in the file that need to be
there.
Matt
- Original Message -
From: "CPT John W. Holmes" <[EMAIL PROTECTED]>
To: "Matt Palermo" <[EMAIL P
I wrote a small script that creates a link to all the .php and .txt files in a given
directory. When one of these links is clicked, it brings up another window with the
files contents inserted into a text area. From there the user can edit the text file
then click a submit button to make the c
sday, June 11, 2003 12:27 PM
Subject: Re: [PHP] getting file contents
> On Wednesday 11 June 2003 23:54, Matt Palermo wrote:
> > I have text a file which contains php code. I am using it as a template
> > for some other pages. I want to take everything in that file and store
1 - 100 of 111 matches
Mail list logo