ble in the popup
window if I make the FORM action = javascript:popWin('/poll.php').
Is setting the vote choice in a session var the only way to make this work,
or is there a way to pass vars via a form POST to the popup window?
Thanks!
Monty
--
PHP General Mailing List (http://www.php.
;t want to have to
do this manually in MySQL. That would make me break down and start sobbing.
Has anyone else dealt with this and found a solution?
Thanks a lot!
Monty
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
specific
enough for a Linux novice like me. Does anyone know of a good place to find
out how to do this? I'm all Goggled out.
Thanks!
Monty
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Nofa, sorry, forgot to say Redhat Linux. What you mentioned seems pretty
easy, actually. I'll give a try and keep my fingers crossed.
Thanks!
Monty
> From: [EMAIL PROTECTED] (Nofa)
> Reply-To: "nofa" <[EMAIL PROTECTED]>
> Newsgroups: php.general
> Date: Sat
HI Nofa,
When you say submit the file, do mean as a TXT file via a file upload field?
If so, not sure what to do with the file once it's been uploaded. Do I read
the file using fopen(), then just put this into a var that can be stored in
the DB? Hmmm... sounds like a good solution.
? I saw the site and will
definitely be subscribing! It's a great idea.
Thanks,
Monty
> From: [EMAIL PROTECTED] (John W. Holmes)
> Organization: U.S. Army
> Reply-To: <[EMAIL PROTECTED]>
> Newsgroups: php.general
> Date: Sat, 14 Dec 2002 02:06:59 -0500
> To:
or do I need to use one of the various PHP
e-mail classes available to send HTML e-mail?
Any recommendations for online tutorials about building a mailing list
manager using PHP would be much appreciated!
Thanks!
Monty
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Okay, I've read just about everything on the Internet about how the change
the Return-Path header in an e-mail sent using mail(), but, I STILL can't
get it to work. All e-mail sent via PHP says Return-Path: [EMAIL PROTECTED]
and Received: (from nobody@localhost).
I have a Red Hat Linux 7.2 server
n the
forum. I do have a "remember me" feature that uses a cookie, but, not all
visitors are using it, and they are the ones experiencing this problem.
Is there a way to extend session time, and is that the best way to reduce
this problem from happening to most members?
Thanks!
Monty
I have a form that allows someone to upload a text file, the contents of
which will be inserted into the database. When I fread() the file, there is
some garbage at the beginning and end of the text.
Here's what the text looks like:
This is the sentence of text.
Here's what it looks like aft
> Are you using Apache2? IIRC, there was a bug where data would get added
> to the POST data, or something along those lines...
>
> What if you just look at the file with a regular text editor? Do you see
> that data there after it's uploaded and written to the server, or does
> it just appear int
d allowed to proceed. Is this how
PHP is supposed to work? Is there any way to prevent the script from
executing below a certain point if the user is not logged in?
Thanks,
Monty
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
What is the code for the inner query? Hard to advise you based on the small
bit of code you posted.
Are you using the same $result var for both queries? If so, that's why. Just
run two separate queries stored in to different result vars. I do this all
the time with no problems.
> From: [EMAIL PR
You can't call a PHP function directly from an HTML tag. You'll instead need
to do something like this:
Then create a logout.php file that has your logout code.
> From: [EMAIL PROTECTED] (Martin Johansson)
> Newsgroups: php.general
> Date: Mon, 3 Mar 2003 23:32:16 +0100
> To: [EMAIL PROTEC
Maybe it might be easier to just use the get_browser() function:
http://www.php.net/manual/en/function.get-browser.php
Monty
> From: [EMAIL PROTECTED] (Gerard Samuel)
> Newsgroups: php.general
> Date: Thu, 05 Jun 2003 14:00:23 -0400
> To: [EMAIL PROTECTED]
> Subject: Regex for B
ere.
I also get PHP Architect (phparch.com), a PDF publication that has some good
and helpful stuff in it. As you can see, there are lots of online resources
for PHP and MySQL.
Monty
> From: [EMAIL PROTECTED] (Simon Thurtle)
> Organization: Mainlink
> Reply-To: "Simon Thurtle" <[EMAIL
ther spanner into it all, what happens if I have JS off?
> will I still be able to access the content of the pop-ups? i bet not :)
Well, I have to draw the line somewhere. Javascript is used throughout this
site for simple things like resizable popups. I'm not willing to dumb it
down that m
s at any time...
session_start();
echo "Hi there ".$_SESSION['username'].", welcome back!";
That's a very brief overview. The above links provide better explanations.
Monty
> From: [EMAIL PROTECTED] (Daniel J. Rychlik)
> Newsgroups: php.general
> Date
nstruct loops through the array and assigns the value of
each element to $digit, and continues doing this until it reaches the end of
the array.
http://www.php.net/manual/en/control-structures.foreach.php
http://www.php.net/manual/en/function.explode.php
Monty
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
limiting, and need finer control
over who has access to what.
Does anyone know of a better system for granting access to groups of users
that isn't too complicated but is flexible enough to add or remove access to
whole groups of users? I'm trying to not reinvent the wheel here if
possible.
that takes the "img"
var passed by the Javascript above and loads that image onto the page.
$image = $_GET['img'];
echo "";
Hope that helps.
Monty
> From: [EMAIL PROTECTED] (Jeffrey L. Fitzgerald)
> Newsgroups: php.general
> Date: Thu, 29 May 2003 14:2
ore in the cookie to authenticate
against?
Monty
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
7;]."-".$realdate['day'];
This would insert the date as: 2003-05-21
Monty
> From: [EMAIL PROTECTED] (Vicky)
> Newsgroups: php.general
> Date: Sat, 31 May 2003 15:05:43 +0100
> To: "PHP List" <[EMAIL PROTECTED]>
> Subject: 3 entries going into
this problem? Or, is it simply
unavoidable? Right now, I tell users that the site will only work with
browsers that have cookies turned on, but, I'd rather the site was
accessible to all. However, I also don't like passing session IDs via the
URL because of the security risk.
Any sugge
tring to be tested for digits, you need to add the
length of the string to the regex pattern:
$length = strlen($data);
preg_match("[0-9]{$length}", $data);
Monty
> From: [EMAIL PROTECTED] (Daniel J. Rychlik)
> Newsgroups: php.general
> Date: Sat, 31 May 2003 13:46:4
enabled. (I have trans-sid enabled).
Is there any reliable way to avoid this, or is this just a small side-effect
of making the site accessible to all?
Thanks!
Monty
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
first
leave the site then come back to clear the empty PHPSESSID var from all the
URLS. How can I make this stop?
Thanks
Monty
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
.
function myHeader($location) {
if (SID) {
if (strstr($location, '?')) {
header("Location: {$location}&".SID);
} else {
header("Location: {$location}?".SID);
}
} else {
return $location;
}
retu
ermine where to send the user. So instead of sending them to
PHP_SELF or next.php, use something like goto.php, which can determine where
to send the user next, and then redirects the user using the header()
function.
Monty
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ab one POST
variable. It makes it a little easier. Also be sure to clean the data with
some kind of function that uses strip_tags() and similar functions.
Monty
> From: [EMAIL PROTECTED] (ØYstein HåLand)
> Newsgroups: php.general
> Date: Tue, 3 Jun 2003 18:44:30 +0200
> To: [EMAIL PRO
I've decided to require that members for a site need to have cookies enabled
in their browsers to sign-up and use the site. Is there a graceful way to
deal with this when users who have cookies off try to sign-up or log-in to
the site?
Thanks,
Monty
--
PHP General Mailing List
I'd be interested in hearing how others have
dealt with requiring users to have cookies turned on for sessions, or not.
Monty
> From: [EMAIL PROTECTED] (Justin French)
> Newsgroups: php.general
> Date: Wed, 04 Jun 2003 19:23:11 +1100
> To: Monty <[EMAIL PROTECTED]>, <[EMA
Can anyone recommend where I could find a decent script that automatically
generates passwords? I don't care if they are readable or just random
letters, numbers.
Thanks!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
conversion
commands.
I'm not a MySQL expert, so, the above my not be totally accurate, it's based
on my own experience.
Monty
> From: [EMAIL PROTECTED] (Ragnar)
> Organization: na
> Reply-To: "Ragnar" <[EMAIL PROTECTED]>
> Newsgroups: php.general
> Date: Fri
er way, I
may just combine all the fields into one table and be done with it.
Sorry for the long-winded explanation. Any suggestion are greatly
appreciated!
Monty
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
a page if they are not in an array?
Thanks!
Monty
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> so with Guinness and bread, who needs to buy a meal? :-)
Ooof. I feel bloated just reading that. :)
Monty
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
If someone enters this into a field...
New York "City"
and I need to re-display it in the field (if an error occurred, for
example), this is what's in the field...
New York \
I have another multi-line text field that I used quotes in and this doesn't
happen with that field, even though t
When I issue this command to remove any commas at end of string:
$query = rtrim($query, ",");
PHP give me an error saying "Wrong parameter count for rtrim()". How can
this be? The online manual shows rtrim can accept two parameters. Shouldn't
this work? I have PHP 4.0.6 installed on the serv
word. The only annoyance then would be someone sending this password
over and over to another user, but, at least they won't get 20 new passwords
and be locked out of their account as a result.
If anyone else has dealt with this issue, I'd appreciate your insight.
Thanks!
Monty
--
PHP
s only affected session, cookie and get type
variables? Why is PHP ignoring the variables passed via the URL?
Thanks.
Monty
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Indexes
Putting strings in single quotes instead of double (WHERE id = 'something')
Normalized database design.
- Monty
> From: [EMAIL PROTECTED] (Erich Kolb)
> Organization: R&B Receivables Management, Inc.
> Reply-To: "Erich Kolb" <[EMAIL PROTECTED]>
&
erg)
> Newsgroups: php.general
> Date: Fri, 2 Aug 2002 12:45:41 -0700
> To: Monty <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
> Subject: Re: [PHP] Vars passed via URL disappearing
>
> 'variables passed via the URL' = 'GET variables'
>
> -steve
>
--
PHP G
I'm trying to use the more secure "register_globals=Off" setting for some
simple scripts that do authentication and use sessions. But I'm ready to rip
all my hair out!
Can someone recommend a good article online that clearly discusses what's
different when you have register_globals=Off? I've spen
Well, to answer my own question, I found a decent tutorial on using sessions
with the new register_globals off here:
http://www.wdvl.com/Authoring/Languages/PHP/Maintaining_state/session_variab
les.html
Anyone want to share any tips on how to deal with form vars passed to a
script with register_
Date: Sat, 03 Aug 2002 15:46:57 +1000
> To: Monty <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]>
> Subject: Re: [PHP] Re: Need Help with register_globals OFF
>>
>> Anyone want to share any tips on how to deal with form vars passed to a
>> script with register_gl
You might get some help if you post only the code relevant to the problem
with a clear explanation of the exact problem. Otherwise, I doubt anyone
will bother looking through all that code you posted links to.
> From: [EMAIL PROTECTED] (Tony Harrison)
> Newsgroups: php.general
> Date: Sat, 3 Au
thing to remember is that if you put extract() in a custom function
(which I did initially), it won't really work because the variables are
created only within the scope of the function, so, as soon as it returns to
the script, the vars it created are released.
Monty
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
What does this parameter do in PHP.ini, and what would happen if I turned it
off? From reading the PHP site, it appears this is only useful if you use
PHP from the command line, is that right?
Thanks.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/u
ion var. My script does include session_start(); as well.
So, is there a way I access session vars stores in $_SESSION[] from a custom
function? Thanks!
Monty
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I have an include file named functions.inc.php that I include in nearly
every script. For some bizarre reason, the following function inside this
file does not always work:
function user_acess() {
if ( isset($_SESSION['valid_user']) ) {
return 1;
}
return 0;
}
Most of the tim
Dan, you were right and I feel so retarded now!
I found another include file of the same name in the folder with the script
that wasn't working. It was driving me crazy but I didn't even think to
check that. Thank you for replying!
Monty.
> Perhaps, somewhere in your include pa
Try this: $_POST['var_name']
Monty
> From: [EMAIL PROTECTED] (Radio X)
> Newsgroups: php.general
> Date: Fri, 9 Aug 2002 23:38:42 -0700
> To: <[EMAIL PROTECTED]>
> Subject: Re: [PHP] Re: Getting information of a client
>
> how can i get a variable posted
I've downloaded the patch file for 4.2.2 to 4.2.3 from the PHP website, but,
not sure what to do with this file. I have a Linux 7.x server. Can anyone
tell me how to patch my version of PHP or point me to a source that explains
how this is done?
Thanks!
--
PHP General Mailing List (http://www.
>
> You should use the patch command, feel free to "man patch".
>
> --
>
> Nicos - CHAILLAN Nicolas
> [EMAIL PROTECTED]
> www.WorldAKT.com - Hébergement de sites Internet
>
> "Monty" <[EMAIL PROTECTED]> a écrit dans le message de news:
> [E
Even though I have no record in my MySQL DB with that has "005" in the ID
field, the following statement always reverts to Record Found, or True, no
matter what ID I use. What's wrong? I'm using PHP 4.2.2. Has something
changed that makes this work differently? Thanks.
$query = "SELECT
For a form that allows people to upload image files to the server, I'd like
to pop open a small browser window with an "Uploading..." message once
someone clicks on Submit button. Then I'd like the window to automatically
close once the process is done and the main browser window refreshes.
Can t
If someone uploads a file via an HTML form, is there a way to check the file
size before it's uploaded to the server?
Thanks!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I have a few File input fields in a form so people can upload images. If
there's an error with the form, I want to re-populate the fields with the
values the user filled in. This works for all the fields except the File
fields. When I check the HTML output to the browser, I do see that the value
p
p://www.php.net/manual/en/function.extract.php
Monty
> From: [EMAIL PROTECTED] (Gary)
> Newsgroups: php.general
> Date: Mon, 14 Oct 2002 15:07:21 -0400
> To: [EMAIL PROTECTED]
> Subject: Pass vars in URL
>
> Hello,
> My host has upgraded to 4.2 but still uses the old ini setting. I
t 2002 16:10:48 -0400
> To: "'Monty'" <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]>
> Subject: RE: [PHP] Checking File Size BEFORE Uploading
>
> You can set the MAX_FILE_SIZE in the hidden element of your form, but I
> don't think that stops the form
Nicos, the problem is that MAX_FILE_SIZE doesn't check the file size before
it's uploaded to the server, it only works afterwards. So, you have to first
wait for the file to upload before you know whether or not it's too large.
Thanks.
> Hi,
>
> The way is :
>
>
> Send this file:
>
>
> See
This is a more general server question: I know that having a large number of
files in one folder can slow down a web server, but, how many would it take
for this to be a problem? Wondering if I should store all articles for a
content site in one big 'articles' folder with each article having it's o
field.
But maybe I'm missing the point, and if so I'd like to understand so I can
make my scripts more secure when passing data. It seems like I will need to
basically re-define every form field and GET variable at the beginning of
each script literally.
Monty
> From: [EMAIL PROTE
ED] (Leif K-Brooks)
> Newsgroups: php.general
> Date: Fri, 25 Oct 2002 00:55:48 -0400
> To: Monty <[EMAIL PROTECTED]>
> Cc: [EMAIL PROTECTED]
> Subject: Re: [PHP] How many is too many?
>
> Why not store them in a database with one php script selecting them?
>
> Monty wro
Hi Jason, I have a follow-up question about mkdir. If the files created by
mkdir are owned by 'nobody', does that create a security risk for those
files? If so, how does one get around accepting files via an upload form
that are assigned to a user other than 'nobody'?
Mont
le that would be unique to my web server that
CANNOT be spoofed or easily changed by a cracker that I can use as a check
to be sure the data is being submitted from a form on my site on not from
someone else's site?
Thanks a lot, guys!
Monty
> From: [EMAIL PROTECTED] (Paul Nicholson)
> O
ecords that match the query and only
requires me to type one line of code.
Monty
> From: [EMAIL PROTECTED] (James Taylor)
> Newsgroups: php.general
> Date: Sat, 26 Oct 2002 03:23:23 -0700
> To: <[EMAIL PROTECTED]>
> Subject: mysql_fetch_row options
>
> There's g
I'm not attempting to solve this puzzle, but, regarding the output from
print_r(), try this for nicely formatted output:
echo "";
print_r($myarray);
echo "";
Looks much better.
Monty
> From: [EMAIL PROTECTED] (Peter Harkins)
> Newsgroups: php.general
> Dat
r various functions: one that can only SELECT,
which is the one I use the most, another that can SELECT, UPDATE and INSERT,
and another that can do all of the following plus DELETE.
Monty
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
e do the same with
MySQL code in a string to prevent tampering?
Monty
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
h does get
posted. Not sure why it's being rejected and where this is coming from. Any
clues??
Monty
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Andre Dubuc wrote:
> Perhaps some kind guru can spare me some time. I've tried to get the "From:
> " field pre-filled for a registration/confirmation email that I send out.
To add to John's reply, here's how to do a multi-parameter Header. Also note
the \r\n at the end of each of these lines.
e now holds: "John AND fname = \'Mary\'"
This forces MySQL to read \' as a character rather than as the beginning of
a variable value. So, in essence, this would produce a mySQL error instead
of executing the query, is that correct?
Monty
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
if (is_string($param)) { $type = 'string'; }
if (is_int($param)) { $type = 'integer'; }
echo 'Type: '.$type;
... I get the following result:
Type: string
But, it should be integer because 10001 is meant to be a number. How does
this work for $_GET values?
Ken Kirtley wrote:
> I'm new to PHP and so this may be something of a newbie question. My bad if
> it is. I've spent a week now looking for information on capturing the
> referral site with php so that I can store it with some session information.
> If any of you have any idea how to accomplish
I still need to worry about using
addslashes?
Monty
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
h photo as well as prevent members that have
already voted from voting again.
Any suggestions would be appreciated!
Monty
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
that
allow someone to re-order photos displayed in a thumbnail gallery. I'm
having a hard to figuring out the best fool-proof way to accomplish this
with PHP alone.
Thanks!
Monty
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On a site that uses a popup window to display images, I want to prevent
people from hotlinking directly to the popup page because it just looks like
crap if not sized properly with controls removed.
But I'm not sure how I can prevent someone from doing this. It appears the
HTTP_REFERER isn't alway
or links to articles that explain how this can
be done?? Thanks a lot.
Monty
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
#x27;line'] = $line;
header("Location:./error_page.php");
}
Anyone have any clues why when I set_error_handler to the above function
errors are being triggered for every page?
Monty
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
] (Ernest E Vogelsinger)
> Newsgroups: php.general
> Date: Sun, 10 Nov 2002 10:42:05 +0100
> To: Monty <[EMAIL PROTECTED]>
> Cc: [EMAIL PROTECTED]
> Subject: Re: [PHP] set_error_handler() Keeps Triggering Errors
>
> At 06:34 10.11.2002, Monty said:
> [snip
Does unsetting an array element make the array smaller? For example, if I
have two elements in an array...
$array = ("title" => "Title of Document",
"content" => "Ten paragraphs of text in here..." );
...then issue this command...
unset ($array['content']);
...will this ma
separate table and link
them to a central "Poll" record? Or do you store the questions all in one
record? Or is there an even better way to do this?
Any suggestions or pointers would be appreciated! Thanks.
Monty
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
or each article, but, it won't be as easy to
make site-wide design changes this way, and I won't be able to do some
things like automatically paginating longer articles over several pages.
Anyone have any input or words of wisdom they can offer on the best method
for setting up a c
determine the page breaks
themselves when entering the article into the database. A parsing function
would grab the chunk of text/html between the appropriate [pagebreak] codes
for each page.
But this just doesn't seem a very elegant solution. Anyone know of a better
way to do this?
Thanks!
M
s may be more of an Apache issue than PHP, but, thought I'd see
if anyone here has dealt with something similar.
Thanks!
Monty
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I'm trying to preg_split() text between "". I used the following but
can't get the regular expression to work:
$content = "blah blah blah blah blah";
$paged = preg_split( "[[:cntrl:]*][[:cntrl:]*]", $content );
I also tried the following...
$content = "blah blah blah blah blah";
$paged = preg
> The * needs to be after the character class, ie [[:cntrl:]]*.
>
> --Dan
Thanks Dan. But, removing the asterisk or putting it after the character
class doesn't work either for some reason.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
above used with explode() only produce empty array
variables, as though it's stripping out everything.
What am I doing wrong?
Monty
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Yes! That was it! Thank you so much. I actually thought preg and ereg were
interchangeable, so, I'm glad you pointed out the difference for reg
expressions. Can you tell me what the open and closing slashes / are for
inside the quotes? Is it equivalent to [ and ] for ereg?
Monty
> DO
te().
Any suggestions? I'll mostly need to compared dates/times of different
records and then extract parts of the date for displaying on the screen.
Thanks!
Monty
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Is there a standard method in PHP for preventing multiple people from using
the same log-in username/password simultaneously on a membership site? Any
suggestions are greatly appreciated.
Thanks!
Monty
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http
If you have have a large number of functions, it might be better to separate
them into a few files that you can include as needed. I use one file that
contains functions needed by every page. I have a few other files that
contain functions that aren't needed by every page, so, I include them only
asier to drop blocks of code in a
page design without disrupting the design of the page very much.
Thanks,
Monty
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
d to accomplish this task.
Monty
> From: [EMAIL PROTECTED]
> Reply-To: Richard Kurth <[EMAIL PROTECTED]>
> Newsgroups: php.general
> Date: Wed, 17 Jul 2002 12:52:00 -0700
> To: php-general <[EMAIL PROTECTED]>
> Subject: sorting and searching an Array
>
> After
Chris, thanks for describing your method. The reason I really dislike
Functions in PHP is because you have to pass every variable needed by a
function, even if that variable is global in the main script, which is a
pain in the ass when a function needs a long string of variables. It makes
it easie
ile contents is displayed,
but, what I really want to do is store it in a string variable, not output
it directly. How can I do this?
Thanks,
Monty
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
it seems
filesize() doesn't see those files. So, if I replace the filesize($filename)
command with a hard-coded number, it works.
Monty
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
1 - 100 of 157 matches
Mail list logo