Are you using a web form? You can just grab the values from the form if
that's the case. But I suppose that you are not doing that, so you
could just add some variables for username / password as part of the
query string. Just realize, you're now sending login info in plain text!
--
PHP
Hi all,
Some of my webpages are no longer working with the IE browser after MS
implemented some security patches which disable sending authentication info
through the URL:
http://user:[EMAIL PROTECTED]
This no longer works with IE, but is fine with most other browsers. Does
anybody know of a
O'Reilly's Flash Remoting discusses php examples fairly well although not
all the source files are available on their website like they claim.
www.flash-remoting.com
-Original Message-
From: Miles Thompson [mailto:[EMAIL PROTECTED]
Sent: Friday, April 02, 2004 11:14 AM
To: [EMAIL
-Original Message-
From: Edward Tilley [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 01, 2004 11:29 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Passing variables from Flash to PHP
Hi - I am an IIS, PHP 4.3 new user running on Win2k server. I
need to pass a
variable ( $flash = 1
I'm trying to re-create the following multi-dimentional array from a
database query, where the indices 5, 7 and 21 are order_id and my table is
food_orders(order_id, food, cooked):
?php
$food_array = array(
5=array('steak','rare'),
-Original Message-
From: Jason Barnett [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 30, 2004 11:41 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Re: multi-dimentional array from db results
Motorpsychkill wrote:
I'm trying to re-create the following multi-dimentional array from
This is tricky to explain, so bear with me please. I have a file like:
c:\htdocs\project_bunny\includes\config.php
In my browser address bar, this would look like:
http://localhost/project_bunny/includes/config.php
If within this document (i.e. config.php), I had:
?php
//config.php
-Original Message-
From: Chris W. Parker [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 23, 2004 5:03 PM
To: Evan Nemerson; motorpsychkill; Php General List
Subject: RE: [PHP] something like __URL__ (analogous to __FILE__)
Evan Nemerson mailto:[EMAIL PROTECTED]
on Tuesday
I have a query that returns a result set like the following:
TOPIC QUESTIONANSWER
1 A B
1 C D
1 E F
2 G H
1 I J
2 K L
3 M N
Presentation-wise in
Hi,
I'm having trouble with the code below. Basically, I'm trying to set up
$message to inherit one of two forms depending on if there is a $_GET
request. The script works IF there is a $_GET request. It fails if there
isn't (i.e. parse error).
Is there a way to get $message to refer to
I'm not sure if this has been covered (I searched the archives) but does
anyone know if there is a size limit on what a session can store? What is
this dependant on?
Thanks!
-m
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Thank you Al for the pointers. This has been very helpful!
-m
-Original Message-
From: Al [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 11, 2003 10:28 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Re: passing arrays?
$level = '$level_' . $_SESSION['user']['level'];
//Where
Thank you Mike for your recommendations as well. I've certainly learned a
few tricks from this thread. Thanks to all those concerned!
-m
-Original Message-
From: Ford, Mike [LSS] [mailto:[EMAIL PROTECTED]
Sent: Friday, December 12, 2003 2:41 AM
To: 'motorpsychkill'; Php General
code
?php
$level = '$level_' . $_SESSION['user']['level'];
//Where $_SESSION['user']['level'] can equal 1 or 2
$level_1 = array(PN, GALUP, VP, PUBUP, STATS, MCI, CONLIST,
CP, OAFS, LO);
$level_2 = array(PN, GALUP, VP, PUBUP, MCI, CONLIST, CP,
OAFS, LO);
while (list ($key, $val) = each
Thanks Tom, that worked! I knew that $$level had something to do with it,
just wasn't sure what exactly. Thanks again.
-m
-Original Message-
From: Tom Rogers [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 11, 2003 9:34 PM
To: motorpsychkill
Subject: Re: [PHP] passing arrays
5:51 PM
To: motorpsychkill; [EMAIL PROTECTED]
Subject: RE: [PHP] jpeg photo file upload problem
You're exactly right.
I did a test on a win box and it reported image/pjpeg
I ran tests on other browsers/platforms, and for a .jpg image, only a
handful of win boxes reported the 'pjpeg' thing
I suspect this may be a browser/platform issue. I've recently run some
tests and below are the most interesting results (mime types):
IE 6 on PC:
something.jpg - image/pjpeg
something.tif (pc format) -application/octet-stream
something.tif (mac format) - image/tiff
IE 5 on
I'm running PHP 4.3.1 with Apache 2.0 on Windows XP. Everything works great
except if I name a file tos.php, Apache won't serve it. I'm not really sure
if this is an Apache or PHP thing. Can anyone else replicate this error on
their machines?
Thanks!
--
PHP General Mailing List
I've wanted to get some input on this for a while... I've recently been
designing PHP applications using the following directory architecture:
main/
master php files (e.g. addphoto.php)
includes/
forms/
validation/
process/
So, using the addphoto.php
hello everyone, is it 'bad form' (no pun intended) to have a form point to
itself for processing, rather than forward the form variables to another
page? Anybody have any input on this? I try to have 1 page that is the
form and handles all the processing as well in order to keep the page count
If anybody is remotely interested, this is how I got php 4.0.4 to do
sessions without cookies and with register_globals=OFF. Tested on IE
4.something (I'm not really coherent right now ;) and Netscape 4.5. This
took me a while to figure out and thought it might help save someone else
the
21 matches
Mail list logo