Seems correct to me, try to upload the file with different browsers. Opera,
Netscape, M$. e.g. Rich Text could be: application/MSword, text/richtext,
and some other nice applications ;-)
Cheers,
Alex
Anders Thoresson [EMAIL PROTECTED] schrieb im Newsbeitrag
news:[EMAIL PROTECTED]
Am I
But SERVER PORT is not always 80 using HTTP (not HTTPS). So this way is not
really secure.
Alex
Rasmus Lerdorf [EMAIL PROTECTED] schrieb im Newsbeitrag
news:[EMAIL PROTECTED]
I usually just use $_SERVER['SERVER_PORT']
-Rasmus
On Sat, 5 Apr 2003, Alexander Weber wrote:
Unfortunally
to
tell is to depend on whatever the web server tells you. Look at a
phpinfo() for both an SSL and a non-SSL request and see what the
differences are on your server. For me, checking SERVER_PORT has been the
most portable/reliable mechanism.
-Rasmus
On Sat, 5 Apr 2003, Alexander Weber
Tell us more about your script please.
Cheers, Alex
Dhaval [EMAIL PROTECTED] schrieb im Newsbeitrag
news:[EMAIL PROTECTED]
Hi All,
I m trying to build a drop down dynamically. I m quering fields from MSSQL
2000 Server. Now look wat is happning when i run my php from a Win2K PC
and
from a
For sure, and this port changes every time I make a new request.
Alex
Rasmus Lerdorf [EMAIL PROTECTED] schrieb im Newsbeitrag
news:[EMAIL PROTECTED]
No, the destination port will not change. You must be looking at the
source port.
-Rasmus
On Sat, 5 Apr 2003, Alexander Weber wrote:
So
Unfortunally is not set. It's like the variable does not exist, because when
I extract the varaible $_SERVER with foreach I don't get HTTPS as key, only
SERVER_PROTOCOL.
I'm using PHP 4.3.1 as Apache2 Module on Win2k SP3.
register_globals OFF
safe:mode OFF
stunnel 4.04 on x86-pc-mingw32-gnu
Hi!
anybody knows how to find out the connection type (http or httpS)? Tried out
$HTTP_SERVER_VARS.
Thanx a lot!
Alex
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi Burhan,
sorry but this tells me only HTTP/1.1 but not if the connection
is secure or not.
Alex
Burhan Khalid [EMAIL PROTECTED] schrieb im Newsbeitrag
news:[EMAIL PROTECTED]
Alexander Weber wrote:
Hi!
anybody knows how to find out the connection type (http or httpS)? Tried
out
Rick,
use explode to insert the array in the symbole table, then every get / post
(depend wich you explode) variable is available.
Alex
John W. Holmes [EMAIL PROTECTED] schrieb im Newsbeitrag
news:[EMAIL PROTECTED]
Okay, true. But they key here is the act accordingly, meaning you
sanitize and
For sure, has to be sent before any text and has to be part of a PHP script!
Alex
Matt Schroebel [EMAIL PROTECTED] schrieb im Newsbeitrag
news:[EMAIL PROTECTED]
-Original Message-
From: Christopher Ditty [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 27, 2003 10:59 AM
To: Matt
Alexis,
if the users data are informations about the user you can use this:
if you ar talking about files should use data upload instead.
you can start with the database. I dont know how many adresses and what more
you want to have in the DB.
1. create the DB (eg. mySQL),
2. design a FORM where
hello,
I send a secure cookie an it should be available as varible
setcookie(pbas_usr, $row[usr], time()+600, , , 1);
but the varable is empty. If it send the header without secure flag the
cookie works well
setcookie(pbas_usr, $row[usr], time()+600);
Is there a special way to read out secure
Hello,
I have a DBF database with some ASCII characters like ALT+154 (Ü) etc.
I read out the database but instead of an Ü i get an s.
Tried out charsetconverting from/to ASCII, UTF-8/7 and ISO, but nothing gave
me the rigth letter.
Anybody an idea?
THX
Alex
--
PHP General Mailing List
Ferry van Steen wrote:
while this one doesn't:
str = I can NOT use $hash['vars'] in strings;
Try this one:
str = I can NOT use .$hash['vars']. in strings;
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ROBERT MCPEAK wrote:
basename(/usr/blah/doh/yuck/wow/abigfile.html)
resolves to : abigfile.html
but
basename(adirectory\onawindowsbox\abigfile.html)
does not resovle to abigfile.html.
Does anybody have a workaround for this?
What about str_replace()?
--
PHP General Mailing
Balaji Ankem wrote:
It z not displaying the select box..blindly displaying in text
format.. (If u want to see open example.jpg)
You have to use form tags. select tags are invalid if they are not
within form tags.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Jerry wrote:
I have IBM DB2 v7.2 FP5 on a Windows 2000 Server
A Linux Web server running with Apache/PHP4 And IBM DB2 V7.2 Client Install
on it.
When I try to use odbc_connect($dbname, $user,$password);
I received the message:
Warning: SQL error: , SQL state ¿Ë ?=z@éÿ¿ÛË ?=z@?=z in
Josep Raurell wrote:
Quoting Torkil Johnsen [EMAIL PROTECTED]:
Anyone know of a good text editor for linux, WITH syntax highlighting for
php/html + other languages?
- TOrkil
vi
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Stefan Rusterholz wrote:
Part 1.1Type: Plain Text (text/plain)
Encoding: quoted-printable
What was the best way to check, if the give address really exists?
Just try this function:
http://www.php.net/manual/en/function.gethostbyname.php
It returns the IP address of the
Stefan Rusterholz wrote:
http://www.php.net/manual/en/function.gethostbyname.php
But if I understand this function right, It will only work for URLs like
http://www.php.net/ - what if the user has a free space from his ISP which
is located in a subdir like http://www.php.net/users/myhome/?
Rafael Perazzo B Mota wrote:
Who knows a good Php IDE for linux, like PHP Code ?
Just have a look at www.activestate.com. They sell a product called
Komodo.
Alexander
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands,
Well, I tried the following script which works:
?php
$i = 0;
while ($i 5)
{
$x[$i] = 1;
$i++;
}
$i = 0;
while($x[$i])
{
echo value .$i.: .$x[$i].br;
$i++;
}
?
but the following does not:
?php
//$i = 0;
while ($i 5)
{
$x[$i] = 1;
$i++;
}
$i
Daniel Persson wrote:
I got this error message when using PHP 4.06 with MSSQL.
PHP ERROR: PHP build incomplete: the prerequisite MS SQL Server support
required to read the alert database
was not built into PHP. Please recompile PHP with the necessary library
(--enable-mssql).
Is there
_lallous wrote:
Hello!
Is there is anyway to copy from a table to another but by applying a filter?
Example:
SELECT * FROM table1 WHERE (condition)
INSERT INTO table2 (the results of the last query)
Just try this one:
INSERT INTO table2 SELECT * FROM table1 WHERE (condition)
--
The Big Roach wrote:
In a form you can't really have 2 submit buttons.
Either a submit submits or it is just a button.
That's because the var name is already submit (check out your
http_post_vars).
And you have it twice!
Change one of them and make it just a button (HTML4).
Recheck your
Just use
var $VAL_ID;
Names of variables always start with a $ sign.
Alberto wrote:
Parse error: parse error, expecting `T_VARIABLE' in
/sdr/httpd/Prisa/DATA/private/libs/captura/valores.php on line 18
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL
26 matches
Mail list logo