Why don't you try chmoding the file 777.
Next use readfile:
http://www.php.net/manual/en/function.readfile.php
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I just got apache2 and php set up on winXP home after 2 two weeks of
playing with it. First, take out the addtype application line, you
don't need this line appartently for apache 2. See if that fixes the
problem.
-Andrew V. Romero
Stuart Hamilton wrote:
> I have read lots of info about this
G'day
This is a function I use when wanting to redirect to another page while
running a script:
--
function redirect($url) {
echo ' window.location.replace (\''.($url).'\'); ';
}
When I use fopen(http:...) I do not get the latest version of the web page
want to extract some content from. This page is updated at the source once
an hour. How can I issue the equivalent of a Ctrl-F5 to refresh the cache?
Syl
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe,
If you don't want to include all of your code on one page (which is what I
would suggest that way they can not bookmark the start page and bypass your
password check), then you could create a Javascript on the page and use it
to redirect the browser. Here is a quick example:
if ($password=='cor
Fear not... you can easily do this with virtual domains in Apache:
ServerName blabla
DocumentRoot /web/site1
php_admin_value open_basedir /web/site1
You might also wish to disable the functions 'ini_alter' and 'ini_set'
so admins cant be too naughty...
--
Brian 'Bex' Huff
[EMAIL
Did you Install 4.21 or 4.22 ?
They have set globals to off.
This means that now you must use a different way to use variables
$_POST['yourvar'] or
$_GET['yourvar']
"Richard Vincent" <[EMAIL PROTECTED]> escreveu na mensagem
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hello,
>
> I recentl
Halo.
I need som help with my script. I need to find a way to redirect my script
to another file. I start with the login file, which is a html file, and send
variables through it to a file I call do_login. This checks if username and
password is correct. On the top of this file I have a if statem
php-windows Digest 19 Aug 2002 20:39:27 - Issue 1297
Topics (messages 15340 through 15351):
Virtual Domain Security
15340 by: apache
Page error
15341 by: Manuel
Re: Getting Field Names in Microsoft SQL
15342 by: Svensson, B.A.T. (HKG)
15343 by: Svensson, B.
Hello everybody;
I've got a PHP-GTK chat application which works 100% under UNIX.
However, I've been trying to port it to Windows and I've come across
some socket strangeness.
Namely, if I open a socket with fsockopen and hten set it non-blocking, I
can read from the socket once, then write to i
How do I refresh the cache -- i.e. send the equivalent of a Cntrl-F5 for MS
IE -- when I use fopen(http ) so that I can get the latest update of the
page I wish to open?
Syl
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hello,
I recently installed PHP on my win 2000 server and it appeared to be working
great .. but I have recently detected one problem. It's not seeing
querystring variable info and instatiating variables inside the script that
correspond to the querystring
Any ideas .. Please help.
Richard
The ini setting is actually this:
max_execution_time
Not "max_execute_time." It defaults to 30 seconds... so Im not sure why
your service hangs even after 5 minutes... are you using milliseconds
instead of seconds? set it to something small like '5' and do some more
tests...
also check out
> Any one come across this one:
> I am trying to write the php code to upload a video file. The code works
> fine for images, text etc, but video comes out twice the size and
> unreadable.
> Any ideas?
You are uploading the file in UTF-8. The moon has a bad phase with the
solar activities for upl
Any one come across this one:
I am trying to write the php code to upload a video file. The code works
fine for images, text etc, but video comes out twice the size and
unreadable.
Any ideas?
--
> Assunto: MUDAR DE OPERADOR E MANTER O SEU NUMERO DE TELEMOVEL
>
>
> Está descontente com o seu operador móvel (Optimus, TMN ou Vodafone)?
As always when it comes to programming, php no exception, we all can fall into these
pits.
> Sabia que PODE MUDAR DE OPERADOR E MANTER O SEU NÚMERO DE TEL
MUDAR DE OPERADOR E MANTER O SEU NUMERO DE TELEMOVEL
-Mensagem original-
De: Ivan Santos [mailto:[EMAIL PROTECTED]]
Enviada: segunda-feira, 19 de Agosto de 2002 12:15
Para: '[EMAIL PROTECTED]'
Assunto: MUDAR DE OPERADOR E MANTER O SEU NUMERO DE TELEMOVEL
Está descontente com o seu operad
REMARK:
ID for a table should be nested out from sysobjects. Simply selecting from
syscolums are not recommended. One should make an inner join with sysobjects,
syscolumns and systypes, and an additional left join with sysindexkeys
and sysindexes if one wants to extract, yes you got it, the index
> include 'db.php';
> $db = DB::connect($dsn);
> $strSQL = "SELECT * FROM {Table}";
> $row = $db->getRow($strSQL, DB_FETCHMODE_ASSOC);
>
> $field_names = array_keys($row);
>
> Iterate $field_names for the field names from the table. This should work for
> any database that PHP can use.
Just a wo
Hi.
I have installed PHP4, MySQL (3.23.49) and Apache (2.0.36) over Windows XP.
I made a query and the result were greater than 145 rows.
A sentence "while" in a page must show all results but the web browser tell
me that can't take the page.
I try to limit de results to 40 or 50 and then the pa
I would like to run virtual domains, but how do I secure them so those
admins will not be able to access the rest of the files on my system...?
If anyone has had experince with this it would be greatly appreciated...
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: htt
21 matches
Mail list logo