wrong?
I have checked the pathnames and the headers and all seems to be correct.
The browser produces a dialog with the correct information in it, i.e what
file type and the name.
Thanks
Alastair
This email and any att
_array[] = $arr or similar. and then move the return $arr to after the
while loop, but then return $new_array not $arr.
Hope this makes sense.
Alastair
==
IMPORTANT NOTICE
The information contained in this e-mail is confid
ww.xx.uk:81/";) - Success in
/home/sites/site70/users/afrench/web/get_test.php on line 3
Warning: Invalid argument supplied for foreach() in
/home/sites/site70/users/afrench/web/get_test.php on line 5
The server is a coba
ut having to download all 26000.
TIA
Alastair Battrick
Senior Developer
Lightwood Consultancy Ltd
http://www.lightwood.net
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
If that's not it, try adding this instead of your single echo line:
while (!feof ($fp)) {
$line = fgets($fp, 4096);
echo $line;
}
As that will return and echo all the page, not just the header.
Alastair
> -Original Message-
> From: Christoph Starkmann [mailto:[EMAIL PR
Is $tempPort set ?
Alastair Battrick
Senior Developer
Lightwood Consultancy Ltd
http://www.lightwood.net
> -Original Message-
> From: Christoph Starkmann [mailto:[EMAIL PROTECTED]]
> Sent: 26 March 2002 12:40
> To: '[EMAIL PROTECTED]'
> Subject: [PHP] fsockopen
There must be some whitespace in the script before the opening http://www.lightwood.net
> I am kind of confused by an error I am getting when trying to destroy a
> session. Here is the error that I am receiving along with the
> code that is
> causing the problem.
>
> Warning: Cannot send sess
you give
this to us it would help.
Alastair Battrick
Senior Developer
Lightwood Consultancy Ltd
http://www.lightwood.net
> -Original Message-
> From: Jordan S. Jones [mailto:[EMAIL PROTECTED]]
> Sent: 12 March 2002 11:29
> To: [EMAIL PROTECTED]
> Subject: [PHP] Re: Ca
why not multiply the number by 1000 and then use
str_pad($in,6,"0",STR_PAD_LEFT)
Alastair Battrick
Senior Developer
Lightwood Consultancy Ltd
http://www.lightwood.net
> -Original Message-
> From: Scott St. John [mailto:[EMAIL PROTECTED]]
> Sent: 08 March 2002
arely have to do this.
In the end, I guess it depends if you want to do the formatting of the date
field when you're inserting the data (use TIMESTAMP) or when you're pulling
it out (use INT).
Alastair Battrick
Lightwood Consultancy Ltd
http://www.lightwood.net
> -Original M
Have you got the browscap.ini file installed properly ?
and
have you got a up to date version of browscap.ini ?
and
What is reported by IE visitng the script ?
Alastair
> -Original Message-
> From: Chris Boget [mailto:[EMAIL PROTECTED]]
> Sent: 18 February 2002 17:48
>
Do you not have to make $_SERVER a global variable in the function ?
Alastair
Lightwood Consultancy Ltd
> Hm... I tried quite a few variations on this. I can't seem to get any
> displayable value out of this function.
>
> function get_current_page_name()
> {
> $curr
> Lookin for about 50 Megs with php4, mySQL and the
> works. Any economical hosts??
You could try:
http://www.datasnke.co.uk
And I am biased...
Alastair
Lightwood Consultancy Ltd
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ts in the
last few days..).
cheers,
alastair
"Gerard Samuel" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hey all. I was wondering. Is it safe to use HTTP global variables ie
> $HTTP_POST_VARS etc in my scripts?
> Thought I
rm on the previous page. I
really don't want to have to keep all the data and repopulate the form if I
don't have to.
thanks,
alastair
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To c
I'm having difficulty trying to figure out how unregister a variable when
register_globals is turned on. I've tried session_unregister but it doesn't
seem to do anything.
thanks,
alastair
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL
WOO HOO!!! :-)
Thanks Kirk! I didn't realize that you had to use session_vars to write the
variables as well. That's a huge weight taken off my chest. :-)
cheers,
alastair
"Kirk Johnson" <[EMAIL PROTECTED]> wrote in message
01A4B59FD1EBD311838100A
I've turned it off. When I try reading a variable using
$HTTP_SESSION_VARS["blah"] but it says that there is no index for 'blah'.
thanks!
alastair
"Kirk Johnson" <[EMAIL PROTECTED]> wrote in message
01A4B59FD1EBD311838100A0C98BE0D9AD5EFB@chef">
am having file permission problems because some data is
actually being written. The only data missing (and the most crucial) is the
contents of each those variables.
Does anybody have any suggestions?
Thanks!
alastair
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-ma
6a$f1321db0$[EMAIL PROTECTED]...
> Have you set the session.save_path properly in php.ini ? By default it is
> set to /tmp which doesn't work under Win* systems. You need to point it to
a
> valid directory on your machine.
>
> HTH
>
> - Original Message -
> F
I get the error: 'Warning: Undefined index: blah' when I use the long name.
As far as I can tell it doesn't seem to be actually writing the data into
the session file. Am I missing a crucial step somewhere?
alastair
"Kevin Stone" <[EMAIL PROTECTED]> wrote i
on is registered' function
- the string that is found in the session file (listed above)
- true for the 'isset' function
- size of zero
- The warning: 'Warning: Undefined variable: blah '
Does anybody know why I would not be able to read these variables?
thanks,
alastair
query string myself and create links in the code but as far as I
can tell the postfield should send variables through to the script.
TIA
Al
--
-
Alastair Binns
Programmer
Lawton eMarketing
4 Grosvenor Square
Southampton
SO15 2BE
Email: [EMAIL PROTECTED]
Tel: 023 8082 8560
Fax: 023 8082 8566
A
23 matches
Mail list logo