good references for regular expressions?
Thanks,
Grant
--
Grant Rutherford
Iders Incorporated
100-137 Innovation Drive
Winnipeg, MB, Canada R3T 6B6
http://www.iders.ca
tel: 204-779-5400 ext 36
fax: 204-779-5444
Iders Incorporated: Confidential
===
I found the problem!!!
Buried deep within the manual:
LimitRequestBody
in
/etc/httpd/conf.d/php.conf
was set too small.
Thanks for your time everyone,
Grant
--
Grant Rutherford
Iders Incorporated
600A Clifton Street
Winnipeg, MB
R3G 2X6
http://www.iders.ca
tel: 204-779-5400 ext 36
fax: 204-779
rote:
Grant,
What version of PHP are you running, and at the risk of being redundant,
are you doing exactly what the manual says to do reguarding uploads? Try
that first, and then lets work from there.
Jay
--
Grant Rutherford
Iders Incorporated
600A Clifton Street
Winnipeg, MB
R3G 2X6
http://
about fixing it?
Thanks,
Grant
Grant Rutherford wrote:
Hi there,
I'm trying to get a file upload to work with PHP.
The file I'm attempting to upload is a 742kB pdf file, but this will
have to work for files up to 50Mb of all types eventually.
The following test pages work fine if the
No, I'm afraid that the results are nearly instantaneous. If it timed
out, there should be a corresponding delay before I got the error message.
Thanks,
Grant
pete M wrote:
It might be the script timing out - defaults to 20 seconds
check
set_time_limit()
regards
pete
--
Grant Ruthe
max_size = 1M
file_uploads = On
upload_max_filesize = 1M
Any help would be appreciated
Thanks,
Grant
--
Grant Rutherford
Iders Incorporated
600A Clifton Street
Winnipeg, MB
R3G 2X6
http://www.iders.ca
tel: 204-779-5400 ext 36
fax: 204-779-5444
==
ay to do
this besides the Content-Disposition header? Perhaps by sending a
location header without actually redirecting?
Thanks,
Grant
CPT John W. Holmes wrote:
From: "Grant Rutherford" <[EMAIL PROTECTED]>
I have tried many variations of the header command, but no luck so f
Grant Rutherford wrote:
Alternatively, is there some way that I could generate that file,
redirect the user to it, and then delete the file again afterwards? I
know how to do all of this except delete the file. Is there some way to
schedule a command to be run after the script is finished
ons of the header command, but no luck so far.
It seems to work okay on Mozilla browsers but not IE.
Can anyone offer any advice, or tell me if this is not going to be possible?
Thanks,
Grant
--
Grant Rutherford
Iders Incorporated
600A Clifton Street
Winnipeg, MB
R3G 2
Hi,
Just a quick question... What user does php run as on linux? Is it the
Apache user? Is there some way to tell? I need to be able to set a
directory so that only PHP can access it.
Thanks,
Grant
--
Grant Rutherford
Iders Incorporated
600A Clifton Street
Winnipeg, MB
R3G 2X6
http
nt
Grant Rutherford wrote:
Hi there,
I would like to send an arbitrary file to a user. This file will be
on the server in the PHP directory. I will also want to rename it
before it is sent, but keep the old file with the old filename.
Any help is appreciated...
Thanks,
Grant
--
Grant Rutherfo
Hi there,
I would like to send an arbitrary file to a user. This file will be on
the server in the PHP directory. I will also want to rename it before
it is sent, but keep the old file with the old filename.
Any help is appreciated...
Thanks,
Grant
--
Grant Rutherford
Iders Incorporated
600A
e on the same network you can even create links
such as fttp://othermachine/home/users/grant/parts.txt and it would
work just fine. IN this case mozzila will open the ftp connection and
fetch the file for you.
all the best
raditha
--
Grant Rutherford
Iders Incorporated
600A Clifton Street
nk to \\computer_name\path\to\file.doc (or whatever the
filename is) ?
file:/// would try to load it off of their machine, not a network machine.
---John Holmes...
--
Grant Rutherford
Iders Incorporated
600A Clifton Street
Winnipeg, MB
R3G 2X6
http://www.iders.ca
tel: 204-779-5400 ext 36
fax: 20
nt' and not 'file://home/grant/'
There isn't any other way in which you can use PHP to access files on
a hard disk. PHP is a server side scripting language. You could always
try signed java applets.
--
Grant Rutherford
Iders Incorporated
600A Clifton Street
Winnipeg, MB
R3G 2X6
htt
ot;, but Mozilla wouldn't follow the link (probably a security
thing; it makes sense that links shouldn't open local files).
Is there a way that I can give PHP the network path (through $_POST for
example), and it would return the file instead of an HTML document?
Thanks for any he
$color = "
";
$query = mysql_query("select id from color where color = '$color' ");
$a = mysql_num_rows($query);
Actually, what you want to do is possible, but difficult.
If you are willing to tolerate a page refresh, you can use this code to
You need the "http://"; ie. "http://www.microsoft.com";
Beauford.2005 wrote:
Errors are on and I get nothing, it won't even direct if I hard code
header("Location: www.microsoft.com");
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hello there,
I had the same problem, and to solve it I put the following code in my
"check login" include file:
// code to detect no login
session_start();
session_register('target');
$_SESSION['target'] = "http://"; . $_SERVER['SERVER_NAME'] .
$_SERVER['REQUEST_URI'];
header("Lo
Chris Shiflett wrote:
--- Reuben D. Budiardja wrote:
I did strive for that. But whatever character I choose, the problem
remains that we can't guarantee that it's going ot be only used as
deliminater, since the deliminated string is an input from user. So
the problem remains.
Well, just to
; On Thu, 2003-07-03 at 12:02, Dan Joseph wrote:
> > Oh, yeah, that is correct. You'd need to use the tag and put some
> > javascript in them to target the frames. I'm not up on the javascript
> > enough though, check javascript.internet.com for more information.
>
mit the data to the same page which will
> > load in frame B.
>
> in your tag, you can put target=framename, example:
>
>
>
> Anything submitted from that frame will target the specified frame. No
> fancy PHP needed, unless you want to ma
, and the other to submit the data to the same page which will
load in frame B.
I was hoping that I could put some code at the top of the results page
which will tell the browser which frame to display it in (dependent on
which $_POST variable is set). Is this possible?
Thanks,
Grant
--
23 matches
Mail list logo