php_value safe_mode 1
php_value max_execution_time 15
You need to also set the AllowOverride option in apache so that apache looks into the
.htaccess file.
http://httpd.apache.org/docs/misc/FAQ.html#htaccess-work
> I heard that you can modify PHP settings with the .htaccess
> file for Apache
net/docs.php
Matt
--
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 All
>
> This is possibly more of an apache/linux question... does anyone
> know a way
> to force ANY url to run ONE PHP script on a virtual server... eg.
> the same
> script is run if a user goes to www.myserver.co.uk or
> www.myserver.co.uk/dfkgjdfl/ or www.myserver.co.uk/hello.htm or
this way.
Well, that's one way to do it anyway. Perhaps it will give you an
idea...
Matt Friedman
-Original Message-
From: Douglas Harter [mailto:[EMAIL PROTECTED]]
Sent: Thursday December 27, 2001 8:14 PM
To: Bogdan Stancescu
Cc: PHP Mailing List
Subject: Re: [PHP] Can you fake
information about these files, it reports back that the owner is
"apache" and the group is "apache".
I wrote a simple script something like this:
This doesnt work on files that I own, let alone files that the web server owns in my
user space. What am I doing wrong?
Thanks in advanced.
Matt
est a good provider that meets the above criteria?
Thanks
Matt.
Please do not send html emails to this list.
Send only plain text emails.
Matt Friedman
-Original Message-
From: gendeng [mailto:[EMAIL PROTECTED]]
Sent: Tuesday January 1, 2002 8:23 PM
To: [EMAIL PROTECTED]
Subject: [PHP] connect MS Access
halo... i want to know about connect to
this. Thanks,
Matt
--
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]
If you dont mind downloading ~50 messages a day, then I'd recommend this
group :]
Regards
Matt.
- Original Message -
From: "Julie Hull" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, January 03, 2002 2:16 AM
Subject: [PHP] Holy Moly...
>
les. You'd need something to count how deep your nested if
you have nested table containers.
Regards
Matt.
- Original Message -
From: "Alawi" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, January 06, 2002 7:47 AM
Subject: [PHP] take links from url
I wan
times; you should search the archives
to find an answer.
Matt Friedman
-Original Message-
From: gendeng [mailto:[EMAIL PROTECTED]]
Sent: Monday January 7, 2002 8:17 PM
To: [EMAIL PROTECTED]
Subject: [PHP] ask cookie in win2000
halo...
i want to know, why cookie not working in win2000. p
docs might be
found? Examples would be ideal.
I also found phpOpenForms which seems very good; anyone have experience
with it?
Many thanks,
Matt Friedman
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
results. Now after the
upgrade, the code above does not echo anything.
This will work, however:
echo $_SERVER["REMOTE_ADDR"];
In my php.ini I have the following:
register_globals = On
register_argc_argv = On
Any ideas on how to fix these global variables not being
set?
Thanks,
Mat
Try the backtick too.
print "" . `ls -l` "";
Matt Friedman
Web Applications Developer
www.SpryNewMedia.com
Email: [EMAIL PROTECTED]
-Original Message-
From: mike cullerton [mailto:[EMAIL PROTECTED]]
Sent: Friday January 11, 2002 8:46 AM
To: [EMAIL PROTECTED]
Su
JavaScript runs on the client, PHP runs at the server. PHP cannot access
client side events directly.
JavaScript cannot access the database (actually it can through Internet
Explorer, but that's different story...)
You'll use a combo of both languages.
Matt Friedman
Web Applications
st of hardware is
cheap for them. They may have several gigs of memory per server and very
fast processors. These machines can handle very large peaks in activity.
Matt Friedman
Web Applications Developer
www.SpryNewMedia.com
Email: [EMAIL PROTECTED]
-Original Message-
From: Manuel Lemos [m
The only reason I can think of for that to happen would be if you
referred to $this->mysql_connect(...);
Then it would look for mysql_connect as a method of the class and
wouldn't find it.
Just guessing that this might be the problem.
Matt Friedman
Web Applications D
Your code works fine on my FreeBSD box running php 4.0.4pl1 but not one running php
4.0.6 ... May explain your linux issues? i.e. versions of php ...
-Original Message-
From: Richard Baskett [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 23, 2002 3:37 PM
You only need to register
If you only want the associative array, just use mysql_fetch_array($result). If
you're using the constant MYSQL_ASSOC, uppercase it, and don't quote it.
>Although the table con_inf in db sbwresearch contains 3 records with
>username as the first column, the following short script generates a
One would need to check the db to see if the operation had already been performed, so
as not to do it again.
>um , lets say a form calls its own page , does some db operations and then returns to
>its former self ,
>how do you get it to not perform said db operations on refresh?
>i.e the data i
I think this is what you're looking for. It's a script written by Rasmus.
http://www.php-faq.com/faq.php#39
>I wonder how I can send a POST-command to a server, via a PHP-script instead
>of a form.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
F
>-Original Message-
>From: Björne [mailto:[EMAIL PROTECTED]]
>Subject: [PHP] Using the fsockopen ()-function
>-
>$sp = fsockopen ( "www.php.net", 80, &$errno, &$errstr, 25 ); if ( !$sp ) {
> die ( $errno . ": " . $errstr );
>}
>else {
> fputs ( $sp, "POST /page.php HTT
What I do is:
Box 1
Box 2
Box 3
Box 4
Box 5
Then in the action script you'll get an array with only the checked values named
$checked. So $checked[0] could be 'Box 2' and $checked[1] could be 'Box 5'. Be aware
if nothing is checked, then $checked won't be an array, so you'll need
to test
http://www.php.net/manual/en/functions.arguments.php#functions.variable-arg-list
-Original Message-
>From: charlesk [mailto:[EMAIL PROTECTED]]
>What does the function look like that it can take unlimited arguments?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-m
Read the first user note at the bottom of this manual page:
http://www.php.net/manual/en/function.htmlentities.php
-Original Message-
>Subject: [PHP] How to echo the "/n", "/r", etc... to the HTML display?
>So, you see, if I use the PHP function, nl2br(), that took care of the "cr"
And I write those as (true == $PHP_MAIL_FORM) so the parser will catch the missing
second equal sign.
This won't parse: (true = $PHP_MAIL_FORM)
>Edward R. Bailey wrote:
>if ($PHP_MAIL_FORM=true){
>should probably be
>if ($PHP_MAIL_FORM==true){
--
PHP General Mailing List (http://www.php.net
m:
> my main URL (for example) is www.mycompany.com
> I want the central page about our projects to be found under
> www.mycompany.com/projects
> and project LovePeaceAndBananas under
> www.mycompany.com/projects/LovePeaceAndBananas
>
> I already know that this can be achieved by using the $PAT
> Luke Crouch wrote:
>
> > I know Dreamweaver UltraDev has nice site management features
> for using a
> > JSP/SQL type serverdoes it have similar capabilities with PHP/MySQL?
> > Does anyone know?
> >
> > -L
Search the archives on this one.
There is a project called php4ud or something like
> Hi all,
> How can I get the full URL of the currently running script?
> $DOCUMENT_ROOT is not what I need, instead I need the url (be it
> domain if exists, or ip if not). $SERVER_NAME works but if a
> domain isn't paired with the server, I could get some useless
> information (right?).
$S
ouple of thoughts.
Actually, you don't need quotes around the col. names at all...
mysql_query("INSERT INTO ips (ip) VALUES ('$REMOTE_ADDR')");
As for only getting the first part, are you sure the ip field is big enough?
Try "explain ips" from a mysql clie
I have a script that outputs an image. Using the gd library. But the only way this
script gets to execute is if you call it like:
www.host.com/displayimage.php
That then sends the content header, and the image. Obviously I am doing some other
stuff in there, which is why I am using a scr
ate);
if ( $pdate > $ldate ) {
// do some funky stuff
}
Hope that helps.
Regards
Matt.
- Original Message -
From: "Andy" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, February 13, 2002 11:19 AM
Subject: [PHP] Getting days after las
Me thinks you need to have file privileges. See
http://www.mysql.com/doc/P/r/Privileges_provided.html
-Original Message-
From: Thomas Edison Jr. [mailto:[EMAIL PROTECTED]]
the current problem at hand of getting the :
error:Access denied for user: 'mjimm@localhost' (Using
password: YES)
I figured this one out, so I thought I'd put it in the archives ...
I just spent a few hours pulling my hair out because the mail sent by mail() was
coming from 'unprivileged user' on my freebsd box. It worked fine for another site on
the same box. It turned out that I has mistakenly appended
Always use htmlspecialchars() on form value fields and any data you put into the
tags.
-Original Message-
From: Steven Walker [mailto:[EMAIL PROTECTED]]
>
In the browser, the name field is only filled with "Steven", and drops
off everything after the space. If I echo $na
Look here:
http://www.zend.com/apps.php?CID=38
-Original Message-
From: Administration@myclassguide [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 14, 2002 5:22 AM
To: [EMAIL PROTECTED]
Subject: [PHP] links manager
Hi
Anybody know of any good scripts for creating a directory for
How about:
return $current_page_name[count($current_page_name)-1];
-Original Message-
From: Erik Price [mailto:[EMAIL PROTECTED]]
Can anyone give my puny mind an explanation as to why the following
function only returns the value "Array" ?
# ==
What I do is use templates to separate the html from the php. So I end up with (at
least) 2 files per page, one the template; the other the html. If you have tables,
then you need templates for the rows. My model is basically:
If ("POST" == $HTTP_SERVER_VARS['REQUEST_METHOD']) {
// do data val
Hi Laurie
Not really looked at the script there. But I wrote one a while back which is
similar.
http://oozoo.co.uk/nobba/php-here.php
Have look at that and see if you have the same problems
m:
> I was trying out this breadcrumbs code found at evolt.org:
>
> http://www.evolt.org/article/Breadc
_array($Result) {
print("");
print('');
...
$Count++;
}
You could probably replace $Count with some mysql function (it would be named
something like
mysql_current_row($Result)), but I obviously don't know that much about it.
Matt
--
PHP G
em, you can eliminate PHP from the equation...if
not, you can focus more directly on PHP.
Matt
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ourplace.com/somewhereelse.php";);
> exit;
> } else {
> Header("Location: http://www.yourplace.com/error.php";);
> exit;
> }
remember to use == also, otherwise your doing an assignment
matt
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
No.
You want a client side browser popup.
PHP runs on the server. PHP does not run in a browser.
Javascript runs on the browser.
You need to use Javascript.
Matt Friedman
Web Applications Developer
-Original Message-
From: Jason Wong [mailto:[EMAIL PROTECTED]]
Sent: Friday April
ize the array into a hidden field on the next form.
matt
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
nfo, which works , for now but as I get more files etc, it's gonna be a
> pain in the butt, there has to be a better way to do it.
Hi the function you need is explode.
try
$my_path = explode("/",$PATH_INFO);
array_shift($my_path);
so $my_path[0] will be moneypower using t
Replace the "\" with "/" using str_replace or some such function before
using basename. Windows will handle either kind of path. Linux does not
know the "\" as a file path separator. It only knows "/"
Matt Friedman
Web Applications Developer
www.SpryNewMed
second line after the function
name lists which version of php has the function. Check it again.
--
Matt Rohrerhttp://prognostikos.com/503.816.8789
---
If men would only give up their silly desire for world domina
ib for a while and works well,
but this is using db storage. I wouldn't imagine there will be a problem just
using a different session container.
As for the default distribution of phplib I don't know if this can use files
for session storage I haven't had the need to find out.
HTH
hello,
init_set doesn't seem to work for setting auto_append_file, in php 4.1.2.
the master setting is NULL, and the local setting is properly set when I do
a phpinfo(), but the file never gets appended. Any ideas?
thanks
-Matt
--
PHP General Mailing List (http://www.php.net
This is what you want.
http://www.php.net/manual/en/function.array-filter.php
Matt Friedman
Web Applications Developer
www.SpryNewMedia.com
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Sunday April 28, 2002 10:57 AM
To: Craig Westerman; php-general
bably faster. Many solutions, to
my knowledge, requiring Java cost $$$ while LAMP is completely Open
source. (Read the licenses for more info).
Matt Friedman
-Original Message-
From: Paras Mukadam [mailto:[EMAIL PROTECTED]]
Sent: Saturday May 4, 2002 10:36 AM
To: [EMAIL PROTECTED]
Su
en
get the content almost instantly!
Matt Friedman
-Original Message-
From: Joseph Then [mailto:[EMAIL PROTECTED]]
Sent: Saturday May 4, 2002 10:03 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Slow in retriveing webpage
Hi!
I want to grab a webpage and I use the file() function to grab it.
Try www.php.net. Oh, no that's for php.
I might know if this was a Delphi list. Hrm...
Matt Friedman
Web Applications Developer
-Original Message-
From: Yoel Benitez Fonseca [mailto:[EMAIL PROTECTED]]
Sent: Saturday May 4, 2002 10:23 PM
To: [EMAIL PROTECTED]
Subject: [PHP]
Look at the Zend Encoder. It's not free, but there is a free trial available.
http://www.zend.com/store/products/zend-encoder.php
> -Original Message-
> From: Udo Giacomozzi [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, May 07, 2002 9:36 AM
> Subject: [PHP] copy protection
> Has somebody
no rewriting
> of the .php scripts (or need to write another tool).
do a google for HTTRACK, very impressed with the sites we've had to cache
locally
matt
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
If you want to make sure you get the whole string and it's fairly long,
like a paragraph of characters or something, the db field should be a
text field. Varchar is definitely no longer than 255 in MSSQL. You've
lost the data over 255 chars with your current setup.
Matt Fr
$regex = "]*>(.*)";
is probably better. Plus, use eregi for case insensitive matching.
This is probably not perfect, but it'll do what you want.
Matt Friedman
Web Applications Developer
www.SpryNewMedia.com
-Original Message-
From: Brad Melendy [mailto:[EMAIL
itch the search scope from SUB to BASE, so
> the equivalent call in PHP won't work.
>
> Any suggestions?
look into ldap_read() and the optional arguments to ldap_search()
matt
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Unix epoch is the number of secs since the start date in GMT regardless
of where your server is. The timestamp is a GMT value.
Matt Friedman
Web Applications Developer
www.SpryNewMedia.com
-Original Message-
From: Jens Lehmann [mailto:[EMAIL PROTECTED]]
Sent: Monday May 27, 2002 7:48
try this:
$query = "select * from news WHERE id = '$_get['id']'";
the double quote right before the $ is ending the string, from that point
on everything is an error.
Matt
On Mon, 27 May 2002 [EMAIL PROTECTED] wrote:
> I know it is probably something obv
Another thing you may want to try is the following line:
$query = "select * from news WHERE id = '" . $_get['id'] . "'";
Matt
On Mon, 27 May 2002 [EMAIL PROTECTED] wrote:
> I know it is probably something obvious but the following gives me a parse
mcat and Apache together. There's an Apache-Tomcat HOWTO somewhere
around. I
found it on Google.
Then you can set up PHP to run on Apache as normal. The kewl way to do things is to
create
your XML files from a PHP script and redirect the user to the XML when your script is
over.
HTH,
Matt
&g
message:
This always just gives the form for entering your message, it never does the
bit where it prints it out.
hope this is clear enough,
cheers,
Matt
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.323 /
thanks a lot!
works fine now i've changed register_globals.
just out of interest, what is the 'newer' way?
is it using sessions etc, or something else i don't know about?
or should i rtfm? ;)
thanks again,
Matt
-Original Message-
From: DL Neil [mailto:[EMAIL
On Monday 25 February 2002 12:57, Kostas Karadamoglou wrote:
> I can't take the variables $user and $address from the form to the php
> file. Below I have the code.When I test the examble I only see the html
> text but not the variables. Thank you
>
Whic version of PHP are you using? If it's 4.1
On Monday 25 February 2002 16:02, narko wrote:
> when i do directory listing with readfile('c:\some\dir\name') warning is
> generated
> Warning: readfile("c:\temp\") - Permission denied in
> c:\programming\apache\htdocs\downloads\update.php on line 15
>
> filesystem is fat32 so permissions are fa
I don't see why addslashes wouldn't work, but why not roll your own?
$dbStr = preg_replace("/'/", "/\\'/");
I believe that, in MySQL, you can also double-up single quotes to escape
them:
$dbStr = preg_replace("/'/", "/''/&
Whoops...helps if I write it legally.
$dbStr = preg_replace("/'/", "/\\'/", $dbStr);
$dbStr = preg_replace("/'/", "/''/", $dbStr);
M
On Wed, 27 Feb 2002, Matt Drake wrote:
> I don't see why addslashes wouldn't wor
> This tutorial was my introduction to the concept, but you can
> find this
> information in a hundred other places:
>
> http://hotwired.lycos.com/webmonkey/programming/php/tutorials/tutorial4.html
I'd recommend that tutorial only as a guideline for using mySQL and php. Don't try to
use the
> I don't really remember the tutorial very well. I thought it
> did a fine job of explaining some of the basics... I spent a few hours
> with it and felt pretty good. However, I agree that it's not a good
> intro to PHP's basic features.
I stumbled on php a few years ago, and that was my
Change the grant to:
grant all on * to clark@localhost identified by 'clark';
Then do a:
flush privileges;
> I am trying to connect to the database like this:
>
> $db=mysql_pconnect("localhost", "clark", "clark")
>
> while in mysql do the following:
>
> >grant all on * to clark identified b
How can I use the variable as part of the function name to call.
TIA
matt
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Could be several things ...
> else {
> session_register("user_auth_level");
> $auth_select = "select account_admin_level from account_details where
> username='$login_username'";
Perhaps echo the sql statement here so you can see what you're trying to do.
> $run_auth_select = mysql_query($auth_
Michele,
Possible a dumb question, but does the machine you are running it on have PHP
installed and configured to work with the server software?
If so, did you name the file correctly? It may need to be called "page.php"
rather than "page.html"...
M
On Thu, 7 Mar 2002, Michele wrote:
> I cur
I'd think $arr['8'] = 6 would work...
Using a number (as in $arr[8] = 6) would possibly confuse things, though
I can't get to a PHP machine right now so I'm not sure.
M
On Fri, 8 Mar 2002, Bradley Goldsmith wrote:
> Hi,
>
> Ive got an array of associations like this:
>
> [1]=>2 [2]
On Thursday 07 March 2002 19:21, Lars Torben Wilson wrote:
> // The direct way:
> $foo->{$test . '_foo'}();
Thanks Lars
This was what I was looking for, just couldn't remember the syntax
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
>
> if (!isset($_SESSION['count'])) {
> $_SESSION['count'] = 0;
> }
> else {
> $_SESSION['count']++;
> }
> echo $count;
> ?>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Read the manual about magic_quotes_gpc and addslashes()
I prefer to add slashes myself, that way I can verify input lengths but it
has the risk that I might miss a field. The trouble with magic_quotes_gpc is
that if you have to re-display a variable you have to stripslashes() first.
- Origina
- Original Message -
From: "Andy" <[EMAIL PROTECTED]>
Subject: [PHP] which rights to set for dirs containing uploaded files?
> I am wondering which right I should set for a directory where users can
> upload pictures. What would be a secure way? Currenly I did set the rights
> to 777 whi
this page - or to send congrats, email
> > [EMAIL PROTECTED]"
congratulations Rasmus
matt
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hiya...
You can optionally pass a third parameter to fgetscsv which tells it which
delimiter to use - the default is a comma, but you can use "\t" for a tab,
or whatever other delimiters you want.
Just remember to put that \t in double quotes because it's an escape
characte
How about:
ALTER table auto_increment=0
> -Original Message-
> From: Claudiu [mailto:[EMAIL PROTECTED]]
> I wish it was that simple...
> No.. It doesn't work this way...
>
> On Tue, 12 Mar 2002, Rick Emery wrote:
>
> > your query is: DELETE FROM mytable;
> >
> > -Original Message
First, change the names of your include files to something.inc.php so that no-one can
download the files and get thte source, should their names become known.
Second, you either must use session_register or $_SESSION['variablename'] and not mix
their use.
So instead of:
$authenticated_user = 7
vars do not exist at all.
This is a feature, not a bug.
Matt Friedman
Web Applications Developer
www.SpryNewMedia.com
Email: [EMAIL PROTECTED]
-Original Message-
From: Pavel Plesov [mailto:[EMAIL PROTECTED]]
Sent: Thursday March 14, 2002 7:56 AM
To: [EMAIL PROTECTED]
Subject: [PHP
It's not $PHP_SELF that's the issue here -- well it was probably blank because either
register_globals is off or you were in a function and didn't global it. The real
trouble is that. IE < v6.0 is forgiving and if the action="" is blank sends the
request to the current page. So you feel comfy
I use webalizer. www.mrunix.net
> -Original Message-
> From: karthikeyan [mailto:[EMAIL PROTECTED]]
> Sent: Monday, March 18, 2002 2:31 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP] Website STATISTICS
>
>
> Hi,
>
> Anybody knows any good open source website statistics tool
> with gr
Ob_end_clean is clearing the buffer and not sending any data to the browser. Use
ob_flush or ob_end_flush(). Output buffereing will take care of ordering the headers
so they'll still work even though the include may still be sending some output.
> -Original Message-
> From: Ian Wayne [
Hi all
Has anyone been successful in authenticating ldap via win2k using
samaccountname (username) instead of the users container name.
I can successfully do it against the cn but this is not always the same as
the username.
All help/guidelines will be gratefully received.
matt
--
PHP
What I think you'd note, actually, is that you ALWAYS get the matching
echo, and never the non-matching, because you're using an assignment
operator instead of comparison. It should read if ($line[1]=='
instead of ($line[1]='.
--Matt
Chris wrote:
> this script receives
Daniel Negron/Kbe wrote:
> Does anyone have examples of record deletions from php to mysql
Could you be more specific?
$sql = "DELETE from tablename where tablename_idx = $index";
$result = mysql_query($sql);
would be a very simple example of deleting a record from a hypothetical
database wi
print "QUERY: $query \n";
and instead of executing it, paste it into the mysql CLI and see what it has
to say. You may also want to keep an eye on your web server logs, or
raise php errors so they are printed in the web server output, but in this
case, you'd probably see no error.
--Mat
If your form is:
1
2
1
2
Then you'd have two php post variables available, a and b, each
would have a value of 1 or 2, which you could get from HTTP_POST_VARS
or, with later php versions, $_POST["a"] and $_POST["b"].
Joshua E Minnie wrote:
> I have a form
Steve Clay wrote:
> Hello,
> I'm building an e-commerce site which uses sessions to
> hold my $cart object. This works great but I've two worries:
>
> 1) When the user connects through our secure hostname, can I ensure
> the browser will send the server the cookie (w/ SESSID)? The user
>
On Thursday 21 March 2002 08:28, jtjohnston wrote:
> I'm also looking at this in my .conf. I know putting something here is the
> answer, but what :)
>
>
> Options FollowSymLinks
> AllowOverride All
>
>
> J
Options -Indexes
matt
--
PHP General
I've been working on that at http://www.php-faq.com/ Want to help?
> -Original Message-
> From: James Taylor [mailto:[EMAIL PROTECTED]]
> Sent: Friday, March 22, 2002 2:30 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP] FAQ
>
> Has anyone given any thought to possibly maintaining a FAQ
> c
Perl Compatible Regular Expression:
"/'([a-z]+)-([a-z]+)\s([0-9]+:[0-9]+),\s([0-9]+:[0-9]+),\s([0-9]+:[0-9]+)'/"
Assuming the days of the week are always lower case? if not then use
[a-zA-Z] for the day matching.
Hope this helps.
--
Matt.
- Original Message -
Oh, I didnt read the bit at the bottom about the times appearing any number
of times. Off the top of my head I think this should work...
PREG:
"/'([a-z]+)-([a-z]+)\s(?:([0-9]+(?::[0-9]+|))(?:,\s)?)*'/"
--
Matt
- Original Message -
From: "Cameron Just" &
There's even an RFC published on this:
http://www.faqs.org/rfcs/rfc3092.html
Matt
"Alberto Wagner" <[EMAIL PROTECTED]> wrote in message
878USUPYSS0CQKNLWUHCFBEBFCJD.3ca676e7@alberto">news:878USUPYSS0CQKNLWUHCFBEBFCJD.3ca676e7@alberto...
> Why everyone
on this subject and your input are appreciated as
always.
Many thanks,
Matt Friedman
www.SpryNewMedia.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Looking for some more detailed information on this subject.
Any experts out there?
Thanks,
Matt Friedman
-Original Message-
From: Andrey Hristov [mailto:[EMAIL PROTECTED]]
Sent: Monday March 25, 2002 10:04 AM
To: Matt Friedman
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] localization
701 - 800 of 1653 matches
Mail list logo