Wait a minute! I checked the Apache Error Log and it said file access
permission do not allow the specified action. It can use the "cp" command
and the original file. But it can not create the new file as result of hte
copy command. Why is that? What are the way around?
Than
]: -rwxrwxrwx: not found.
-- clip --
Anyone know what it meant and what should I do?
Thanks,
Scott
"Scott Fletcher" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Wait a minute! I checked the Apache Error Log and it said file access
&g
Found the problem! It's not hte file permission for those files you try to
work with. You have to go up one directory and set the file permission of
hte folder where those files are in and Viola! Weird? Isn't it?
Scott
"Scott Fletcher" <[EMAIL PROTECTED]> wrote i
e variable. I
just want a one time timestamp, so I would need to convert it to a string.
So what's the php function for converting it to a string?
Thanks,
Scott
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands,
,
Scott
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
What application would I need to use this. In this case, no appication.
Just writting the PHP code on the webpage that would work with the modem and
stuffs like that.
Scott
"Nathan Cassano" <[EMAIL PROTECTED]> wrote in message
778f01c187e3$b84b8ed0$2925ae3f@amos">ne
file, I see the following error:
[Wed Dec 19 21:48:27 2001] [notice] child pid 4996 exit signal Segmentation
fault(11)
I can't seem to figure out what this means...something has gone haywire, but
I can't tell what it is.
Anyone know wha
about $menu[0]="1" and then use $menu as part of $PHP_SELF to carry
it over to teh same page?
Scott
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
Is it possible using PHP to print a single line of text to a browser,
have a second or two delay and then print the next line, etc. etc.?
Greg
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To con
> You can use the following commands:
>
> sleep(seconds);
> usleep(microseconds);
I've tried those 2 functions, in an example like this:
PRINT "This";
SLEEP(2) ;
PRINT "Is a";
SLEEP(2);
PRINT "TEST";
But the way it works in the browser is to wait for a total of 4 seconds
and then it displays
> You might try using flush() after the prints.
>
I tried that too, but at least in Netscape 6, it still waits until
everything is done before displaying. I think Jack must be correct that
this isn't possible for browser display.
Thanks,
Greg
--
PHP General Mailing List (http://www.php.net
> Have you looked into javascript/java?
This client has worked up a Power Point slide presentation that he wants
me to duplicate on the web. I had a PHP solution that was working fine,
but then he decided to jazz up his Power Point presentation some. The
adding a single line of text at time
what are the minimum hardware requirements one would suggest for setting
up a web server running php, mysql, and apache?
thank you,
scott
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
7;t work? What can I do about
it? Does caldera have problem with that?
Thanks,
Scott
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
Hi!
Can anyone tell me what the difference with those PHP version? I see
the version, "PHP 4.0.4pl1" with a "pl1" and some other version, "PHP 4.0.4"
without a "pl1". Does either of these version had to do with php.ini file?
Thanks,
Sco
What can I do about it?
Would I be better off with using the PHP x.xx.xx pl1 instead of PHP
x.xx.xx?
Thanks,
Scott
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
Using a GD that has GIF support, you can do this
http://www.foo.com/img.php3?image=test.gif&scale=4
// create an image object from the source file
$srcImg = imagecreatefromgif($DOCUMENT_ROOT . $image);
// create a (blank) smaller image object
$srcSize = getimagesize($DOCUMENT_ROOT . $image)
:/usr/local/lib/php.ini'". So,
something definitely is going on that I don't know about. So, I wanted to
know how to turn off the display "include_path'.:/usr/local/lib/php.ini'
when there is a error message. That's all.
Scott
""Scott Fletcher"
One more question! Why does some PHP 4.0 & up does not have the php.ini
file? I noticed for the UNIX, there isn't one. For Caldera, there is one.
For Windows, there is one. So, what's up with that????
Scott
""Scott Fletcher"" <[EMAIL PROTECTED]> wrot
er();" and automatically go to the next web page, the HTTP_REFERER
can't recieve data from the last page that use the php code, "header();".
It only affected NS6, it doesn't affected IE and Netscape Navigator.
Why is that? What is the work-around to this problem?
Next, I browse around and go back one page, the cache does not expire.
Sometime I get the error messages said that the header had already start or
something. So, what is the other way around to fix this problem? Or
how can I fix it
Thanks,
Scott
--
PHP General Mailing List (http:/
That one doesn't work either.
Scott
""Scott Fletcher"" <[EMAIL PROTECTED]> wrote in message
9a2sdc$6t0$[EMAIL PROTECTED]">news:9a2sdc$6t0$[EMAIL PROTECTED]...
> When I use this script
>
> header("Expires: Mon, 26 Jul 1997 05:00:00 GMT&
the person
log on. It seem to help a little bit.
Scott
"Felix Kronlage" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> On Mon, Apr 02, 2001 at 09:13:41PM +0900, Yasuo Ohgaki wrote:
>
> > If you are enabled track vars and disabl
web page
that queries a MySQL database. This script will determine whether or
not the person trying to view the page has the proper security
privledges.
If I need to explain this problem in more detail, please let me know.
Any help or suggestions are greatly appreciated.
Thank you,
Scott
[EMAIL
session ID? SSL? Anyone know what it is? Anyone know where I can
find the information about it? (This code, "SID", kept HTTP_REFERER from
working in Netscape 6.)
Thanks,
Scott
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additiona
Thanks,
Scott
"Felix Kronlage" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
On Wed, Apr 04, 2001 at 08:59:00AM -0400, Scott Fletcher wrote:
> I have been wondering what is "SID"?
SID stands for Session ID. (which iden
e of Funds" I want one more field to be
displayed.
pseudo-code:
if (type_if_fund == 'Bank') {
// then display text field to
// enter the bank's name
} else {
// no need to display anything else
}
T
browser?
Thanks,
Scott
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
Well, mine does!
Scott
""Joe Sheble (Wizaerd)"" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> This isn't quite accurate. WHen a form's method is set to "GET" (which
BTW
> is the form's
Well, mine does!!!
Scott
""Joe Sheble (Wizaerd)"" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> This isn't quite accurate. WHen a form's method is set to "GET" (which
BTW
> is the form's defa
Um, well, it show up on Internet Explorer and Netscape Navigator and
Netscape. Oh well.
Scott
""Scott Fletcher"" <[EMAIL PROTECTED]> wrote in message
9ahuft$612$[EMAIL PROTECTED]">news:9ahuft$612$[EMAIL PROTECTED]...
> Well, mine does!!!
>
> Scott
>
explain why it display the data in the URL. The data in the URL doesn't
include the data from the login page.
Thanks for the clarification! Now I'll give it a shot in scrambling one of
the variable data that come with the header and then unscramble it on the
next page.
Scott
"
No way, I'm not gonna use the frame. The website had already been set up a
year ago so overhauling it is not an option. For one of you who mention
about the word, session. Well, I already have session and I don't want to
add anymore session. Scrambling hte code will be fine.
Than
, you
must change some of the default printer settings within the printer (see
Deal Pack Help for details).
-
What do I need to fix that? PHP is suppose to show them all, not part of
it. When the data get too long, it get cut off.
Thanks,
Scott
--
PHP
How would one go about getting each element from an HTML table to a
database? The HTML will be the source code from a games site score report
pasted into a form. I'm just learning, so don't waste you're valuable time
explaining every detail of how this can be done, but if someone can point me
in
ld work if I assign the php
variable to the html variable then have the javascript pick it up.
Thanks,
Scott
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-ma
Hi!
How do I convert the javascript array into the PHP array?
Thanks,
Scott
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
ject: RE: [PHP] advice on 'Nusphere Mysql Package' appreciated
>
>
> Thanks for replying Scott...
>
> Are you trying to say that Mandrake has PHP, Mysql, Apache
> and that the combination is easy to install correctly on
> Mandrake?
>
>
>
>
> >Fro
most email programs will allow you to filter
by email address also. works great for me.
> -Original Message-
> From: Chad Day [mailto:[EMAIL PROTECTED]]
> Sent: Monday, June 18, 2001 4:05 PM
> To: John Donagher; Rasmus Lerdorf
> Cc: [EMAIL PROTECTED]
> Subject: [PHP] RE: Lists are back
try using full paths to your files.
> -Original Message-
> From: Splashy [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, June 19, 2001 9:29 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP] HELP problems running PHP4 script in CRON
>
>
> Hi,
>
> Please find script below and hopefully tell me wh
akhil, do you have a database server installed ?
> -Original Message-
> From: Andreas D. Landmark [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, June 19, 2001 1:18 AM
> To: [EMAIL PROTECTED]
> Subject: Re: [PHP] php bug reporting
>
>
> At 19.06.2001 05:29, you wrote:
> >Dear Sir
> > i am
it could be a bunch of different reasons, ranging
from software to hardware/OS errors
how much total memory is in the machine??
> -Original Message-
> From: Sebastian Stadtlich [mailto:[EMAIL PROTECTED]]
> Subject: [PHP] apache and php ate up all my memory :-[
>
> Hi all
>
> Proba
i agree.
for small forms with not-a-lot-of-data to be processed,
keeping it all together is generally a lot easier to
maintain and upgrade. (it also makes it easier for others
to understand your code - since the data input *and*
processing code is all in the same place)
> -Original Message
Title: Uploading a file into a databaseideas please.
put a
on a form - cut-paste the
text onto the
form,
submit the form, and have the form put your info into
the database
if
your server supports PHP, there are many many MySQL
admin
scripts out there that you could use to add stu
along with domains, cookies respect directories.
for example:
i'd have a script in '/somewhere'
and another script in '/another'
and when they'd try to use the same cookies,
it wouldnt work...
i had to actually specify a path of '/' for
both of them to be able to use the same cookies.
>
include() is not magical. it's all PHP code,
whether or not you put it into your "main" file,
or pull it in with an include()
if it's slow - it's slow, regardless of *how*
it was brought into the script.
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: W
you so totally could use an assoc. array right now:
$cat_adt = "x";
$rm = "y";
$a[ $cat_adt ] = "whatever";
$a[ "$rm"."$cat_adt" ] = "Yeah";
print $a['yx'];
save yourself a lot of trouble and dont bother with
variables-of-variables and trying to get
$rm_$cat_adt == $rm_x
just use a hash... t
it looks like your solution *is* elegant... i tried
out your code, becuase i was astonished that such a
simple thing allegedly wasn't working... and it
did work.
below is the exact code i had in my text editor,
and it executed perfectly.
when i called $c->make(), it printed "A:: MAKE".
..am i mi
yeah. at the beginning of each include file, put:
print '';
...or were you looking for something a little
harder and more convoluted? :)
> -Original Message-
> From: Tim McGuire [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, June 19, 2001 2:30 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP]
i agree.
there's NOTHING more annoying than a broken validation
script when you're trying to enter valid, but weird, data.
perhaps separate the form up into one box for the
country code, one box for the number, and one box
for any add'l information (extensions, automated prompt
numbers, etc...)
figure out how many minutes per day, put that as a constant
in your script, then just multiply that by the number of
days between the two dates.
... or would you prefer something more convoluted? ;)
> -Original Message-
> From: Wim Koorenneef [mailto:[EMAIL PROTECTED]]
> Subject: [PHP]
i use the full version of outlook 2000, and it didnt
even blink when the lists came back up... my "php"
folder just started filling up as usual ;)
i've noticed other people mentioning broken eudora
on this list... i dont mean to sound arrogant,
but perhaps it's time to upgrade, or get a better
em
you must have permission to execute/read the binary,
and you must give the full location of that binary.
> -Original Message-
> From: Paindavoine, Matthieu (MPAINDAV) [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, June 20, 2001 7:26 AM
> To: '[EMAIL PROTECTED]'
> Subject: [PHP] exec, backt
values so you dont
have
to call regvar() for each and every var, you
can
simply submit a hash to the template and it'll
traverse through it
example:
$assoc_array('name'=>'scott',
'age'=>'99');
$temp1->hash($assoc_array);
will properl
on pages with mostly HTML code, the second style is much
prefereable, but on pages with mostly PHP code, the first
style is usually OK.
overall, i tend towards the second, becuase it's a pain
in the ass to esape all the double-quotes in my HTML,
my echo statements usulaly end up looking like thi
submit()' function. This works just fine for Netscape,
but the 'document.forms[0].submit()' even by itself doesn't work for IE 5.00.
Any one have any other ideas on how to do this? multiple images for submit
buttons (where you know which you pressed).
I need to process the d
here's my apache config i use at home
(where i have the binary version, *not* server module)
ScriptAlias /pbin/ /usr/local/php-bin/
AddType application/x-httpd-php .php
Action application/x-httpd-php /pbin/php
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
always check permissions
make sure the web server can read/execute what it needs to.
also, have you tried running the program from a
shell and seeing if it generated any errors?
> -Original Message-
> From: Richard Lynch [mailto:[EMAIL PROTECTED]]
> Sent: Monday, June 25, 2001 3:12
exactly. use the non-greedy "?" with the perl regex's
to have perl match the least amount of characters it can.
preg_match('//', $text, $matches)
in the case of perl regexp's, you have to specifically
tell the regexp not to be greedy. the "?" regexp modifier
is how you do this. (otherwise, th
sure. install PHP as a binary and run the script just
like you'd run any other script
;)
> -Original Message-
> From: Zhu George-CZZ010 [mailto:[EMAIL PROTECTED]]
> Sent: Monday, June 25, 2001 4:43 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP] a standalone PHP script to update MySql serve
i disagree with the first point. adding extra options
(like an MP3 player) will not "break the table" if you
code the system with knowledge of how the underlying
database is set-up.
a friend of mine setup a catalog system this way.
the catalogs would usually have ~5-10 custom options,
so his
> So, people, when using PHP authentication, please use a Linux box!!! The
> windows version doesn't really work (at all).
>
> Brave Cobra
there are lots of reasons for switching to linux, but it's
not necessary to get authentication working properly,
just use a better server.
apache is one tha
or you could use preg_replace
preg_replace("/\n/", "\n", $var);
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, June 26, 2001 2:56 AM
> To: Joeri Vankelst
> Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Subject: Re: [PHP] Enter to BR
>
>
> > How
search
for: linux4win
that's
probably what you're looking for...
you
can install on an existing windows partition
and
have it look like a giant file.
-Original Message-From: ReDucTor
[mailto:[EMAIL PROTECTED]]Sent: Tuesday, June 26, 2001 7:52
AMTo: [EMAIL PROTECTED]Subj
try 'cat /proc/uptime' logged in as the
webserver user and see what you get
(or try it thru a PHP script)
> -Original Message-
> From: infoz [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, June 26, 2001 9:56 AM
> To: Peter Phillips; [EMAIL PROTECTED]
> Subject: Re: [PHP] PHP Uptime er
with MySQL, TEXT is for text and BLOB is for binary data.
typemax. storage size
TINYBLOB, TINYTEXT 2^8
BLOB, TEXT 2^16
MEDIUMBLOB, MEDIUMTEXT 2^24
LONGBLOB, LONGTEXT 2^32
> -Original Message-
> From: infoz [mailto:[E
im a textpad fan. (for windows)
http://textpad.com/
it supports custom syntax hilighting,
line numbers, and a ton of other features
that i use :)
> > -Original Message-
> > From: Tyler Longren [mailto:[EMAIL PROTECTED]]
> > Sent: Tuesday, June 26, 2001 10:26 AM
> > To: [EMAIL P
if you dont know PHP that well, you should implement it
in a language that you know, then work from that and
translate it into PHP.
i used to do that with perl/PHP when i was first learning
PHP... sometimes, things are more obvious when expressed
in a language that you're more familiar with.
>
is this a development box or a live hosting box?
be wary of setting arbitrary permissions on *nix
machines without knowing the consequences of doing so.
most of the time, if things are configured a certain
way, there's a pretty good reason why... :)
> -Original Message-
> From: Peter Ph
stripslashes($var);
and please, read the manual/documents.
> -Original Message-
> From: Marcus James Christian [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, June 27, 2001 12:19 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP] Filtering out \ when a ' is user entered?
>
>
> Hello,
>
> I'm p
don't you just love MS error messages?
they're always so descriptive and precise and helpful.
> -Original Message-
> From: Richard Lynch [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, June 27, 2001 2:52 AM
> To: [EMAIL PROTECTED]
> Subject: Re: [PHP] Operation must use an updateable q
another way of doing it would be to ditch using variables
in the actual text string altogether, and just use place
holders use {varname} instead of $varname, and then
you dont need to eval anything... just use a simple
regexp
$fullname = "Roy Rogers";
$data = array(
'name'=> 'Johnn
well, the SQL statement you're trying to execute
would help determine why it's not working... :)
just stating that "it's broken" is like saying
"my car makes this funny noise" and hoping that
a mechanic will give you a detailed diagnosis.
> -Original Message-
> From: Thomas Häger [mailt
MSIE pretty much throws away any header information
about a file that the server sends and tries to make
a determination itself about the file based on the
file extension
> -Original Message-
> From: Richard Lynch [mailto:[EMAIL PROTECTED]]
> Subject: Re: [PHP] MIME type
>
> * If y
simple.
get total KB (1k = 1024 bytes)
divide that by 60 (seconds in a minute)
now you have estimated transfer time in minutes.
> -Original Message-
> From: Rhett Hermer [mailto:[EMAIL PROTECTED]]
> Subject: [PHP] calculate download time
>
> Hi,
>
> I am trying to write code to find ou
keep the current user's IP address or timestamp in a
database with the session ID.
if the session is requested by someone with a different
IP or too-late timestamp, give the requesting user a
new session.
> -Original Message-
> From: adam (dahamsta) [mailto:[EMAIL PROTECTED]]
> Sent: Wed
haha...
i had been trying to compile PHP 4.0.5 and previous with
the GD library, and it was giving me all sorts of bizarre errors,
but when i downloaded PHP 4.0.6 and tried to compile it
against GD, it worked beautifully not a single error.
:)
> -Original Message-
> From: [EMAIL
read the manual... there are lots of ways to
replace/change characters. :)
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, June 28, 2001 4:48 AM
> To: [EMAIL PROTECTED]
> Cc: [EMAIL PROTECTED]
> Subject: [PHP] Function
>
>
> Hi,
>
> Is t
i've never done this myself, but a suggestion would
be to check out: 'auto_append_file' and 'auto_prepend_file'
they're php.ini directives.
for example, try adding "auto_prepend_file 'stuff.php'"
to your php.ini
when PHP goes to load a page, it'll first check to see if
'stuff.php' can be found,
1) read apache and named docs so you know what changes
need to be made, and where to make them
2) update 'httpd.conf' and the domain's 'zone' file
3) restart both 'named' and 'apache'
4) copy an 'index.php' into the subdomain's newly created directory.
there are probably better ways to do
possible? yes.
feasable? yes and no...
1) encrypting traffic from the user's browser to your
server is extremely impractical.
2) encrypting information on the server with PGP
is a whole lot easier... there are a bunch of
PHP -> PGP interface packages i've seen around,
so do some searching and se
there's also join() (which is the exact same as implode)
but might help you remember that it's joining the elements
of an array together into a single string.
> -Original Message-
> From: Alva Chew [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, June 28, 2001 9:00 AM
> To: [EMAIL PROTECTED]
rename either the function or the class.
class Display_Records {
function display_records($row, $record_count) {
$current_date = (date("Y-m-d"));
$age = ($current_date);
return $age;
}
function disp_rec($row, $record_count)
read the manual!!!
there's a set cookie function built into PHP.
> -Original Message-
> From: Jason Stechschulte [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, June 27, 2001 9:30 AM
> To: [EMAIL PROTECTED]
> Cc: [EMAIL PROTECTED]
> Subject: Re: [PHP] looking for a class that handles coo
here's a quick-n-dirty way.
$doy = date('z');
$week = (int)($doy / 7);
print $week+1;
but there's one thing to be wary of:
this counts full 7-day weeks, not calendar weeks,
so since the first week of a calendar year might
begin on wednesday or friday, this algorithm might
be a few days off if y
it means that the script doesn't have write permission
to write the "logs/993700800.log" file... most probably
the directory or the file itself are not owned by the
webserver user.
it also looks like the authour of the script did a real
shoddy job of checking for errors, and tried to pass
the inv
php://stdin
php://stdout
php://stderr
are also for console input/output...
> -Original Message-
> From: Richard Lynch [mailto:[EMAIL PROTECTED]]
> Subject: Re: [PHP] I want to get the input of keyboard
>
> $file = fopen('php://input', 'r');
> $char = fread($file, 1);
>
--
PHP Genera
(i left out the 'timestamp'
field, becuase it's not relevant)
id namedata
--
1 scott serialized array
the 'data' field is a TEXT type (in my Mysql DB) that
is meant to store a serialized assoc. array.
this en
as far as i know, $cont is not GZ compressed
so you're getting the length of the uncompressed data.
the contents only get compressed right before sending
output to the browser...
> -Original Message-
> From: Sebastian Stadtlich [mailto:[EMAIL PROTECTED]]
> Sent: Friday, June 29, 200
as a start, you'll probably have to update httpd.conf
(if you're using apache) and named ... or at least know
how both work.
please read the pertinent docs.
> -Original Message-
> From: Man He [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, June 28, 2001 10:51 PM
> To: [EMAIL PROTECTED]
>
i dont know the function you're looking for, but read up on
the rules of formal logic, and maybe you can roll your own.
i know that simplification of logical statements (and therefore,
easing the burden of analyzing those statements) is a foundation
of formal logic...
> -Original Message---
try something like this:
$emails = array('[EMAIL PROTECTED]', '[EMAIL PROTECTED]', '[EMAIL PROTECTED]',
'[EMAIL PROTECTED]');
$doms = array(
'domain1.com'=>1,
'domain2.com'=>1,
);
while ( list(,$email) = each($emails) ) {
preg_match('/^([_\.0-9a-z-]+)@(([0-9a-z][0-9a-z-
put it outside the document root accessable by apache.
if your documentroot is: /usr/local/apache/htdocs/
put your script somewhere outside the 'htdocs' directory.
> -Original Message-
> From: Petur Bjorn Thorsteinsson
> [mailto:[EMAIL PROTECTED]]
> Sent: Friday, June 29, 2001 11:54 AM
or you could output the raw contents of the file
after sending the appropriate headers...
albeit, a simple redirect is much easier :)
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of
> Gonzalo Quan
> Sent: Monday, July 02, 2001 4:42 AM
> To: Syed An
that last email accidentally got sent to the wrong list...
thanks.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
r of script is nobody when program is running if i'm
> not mistaken. So, how to solve this kind of permission stuff?
>
>
> >From: "scott [gts]" <[EMAIL PROTECTED]>
> >To: "php" <[EMAIL PROTECTED]>
> >Subject: RE: [PHP] Creating domain
maximum verbosity is not good programming practise. :)
don't succumb to the dreaded Charles Dickens Syndrome
and make the code too wordy and cluttered to be easily
maintanable or understandeable.
i've had to wade thru code written by people with CDS,
and it's a nightmare seeing some of the exes
mysql returns an assoc array that also have numerical keys,
perhaps you're thinking of that...
to my knowledge, PHP never supported numeric & string
indexing to it's assoc. arrays... i've tested the code
below on PHP v4.0.4 and v4.0.6 and it runs the same:
numerical index values return nothing.
use assoc. arrays, please. your code will be *much*
easier to maintain and extend. variables-of-variables
are headaches for everyone involved.
$location = $input_form[$i];
> -Original Message-
> From: David A Castillo [mailto:[EMAIL PROTECTED]]
> Sent: Friday, June 29, 2001 1:41 PM
>
if what you need is to obscure source code, scripting
languages are probably not what you're looking for...
there are ways to compile/encrypt/obscure the source,
but they're usually a bit of a pain in the neck
and easy to crack.
> -Original Message-
> From: Thomas Deliduka [mailto:[
901 - 1000 of 1931 matches
Mail list logo