When referring to an application server many times people are refereeing
to a server that is running something like J2EE or EJBs or .NET with
XML. They are actual applications running behind a web server. Some
examples are BEA, WebSphere, or Jonas for Java apps. I have no idea
about .net, not i
At 7:01 AM + 22/5/02, Vinod Panicker wrote:
>What i have at the other end is a Instant Messenger client :)
Which is presumably accepting some form of HTML or at least a
stream of data sent over HTTP and displaying the data. If it's
notdoing this, Apache is almost certainly the wrong platfor
Hi Richard,
Thanks for your suggestion.
Yes, Apache is the wrong platform for the server. What would be
ideal is a custom designed TCP based multi-threaded server.
Since we had lots of constraints, we went in for Apache / PHP.
What i'm trying to do is to reduce the number of compromises bei
On 22 May 2002, Vinod Panicker wrote:
> "Instant" is how the response should be. Thats why i'm clamouring
> for the socket so that i can send data directly to the client,
> from a C++ binary or maybe another script.
If you're willing to write C code, I'd suggest posing your question in
comp
Hi,
I believe that twofish has been successfully broken, so use blowfish
instead. Typically, for encrypting files you will use an algorithm like
blowfish in cbc mode (as opposed to ebc mode) but I don't know if Mcrypt
supports this. Also, when creating the hash of the file, it is probably best
to
On Wed, 22 May 2002, Miguel Cruz wrote:
> On 22 May 2002, Vinod Panicker wrote:
>> "Instant" is how the response should be. Thats why i'm clamouring
>> for the socket so that i can send data directly to the client,
>> from a C++ binary or maybe another script.
>
> If you're willing to write C
Hi all,
I have two images on my html form - one for submit and the other for skip
with name="mode_skip".
In my php script I want to check if user clicked on skip image but
isset($_REQUEST["mode_skip"]) and !empty($_REQUEST["mode_skip"]) seems to
always return true.
In URL submitted I saw ...&mode_
On Wed, 22 May 2002 [EMAIL PROTECTED] wrote:
> I have two images on my html form - one for submit and the other for skip
> with name="mode_skip".
> In my php script I want to check if user clicked on skip image but
> isset($_REQUEST["mode_skip"]) and !empty($_REQUEST["mode_skip"]) seems to
> alway
Just subscribed to comp.infosystems
True, the listen-fork model would hardly be any lines of code, but
the changes that will have to be done to the client and the server
would be enormous. We are talking abt a production system here
which needs to be optimised. I cant honestly go ahead f
>I believe that twofish has been successfully broken, so use blowfish
>instead. Typically, for encrypting files you will use an algorithm like
>blowfish in cbc mode (as opposed to ebc mode) but I don't know if Mcrypt
>supports this. Also, when creating the hash of the file, it is probably best
>
Hmm...
When usig php4isapi some functions appear not to work, readfile for
example? Using php.exe works fine.
> -Original Message-
> From: Ray Hunter [mailto:[EMAIL PROTECTED]]
> Sent: 22 May 2002 8:13 AM
> To: 'Jimmy Lantz'
> Cc: [EMAIL PROTECTED]
> Subject: RE: [PHP] Mcrypt: Blowfish o
There is no use of hashing in file-encryption except to use it as
a check - to see if the decrypted file matches the original file.
To do this check, you can use either MD5 or SHA1. The choice is
urs.
If ur looking for a good encryption algorithm, you might want to
consider AES (Rijndael).
File hashing is used to take a hash of the clear text. In this way, you can
append the hash to the encrypted text. When decrypting, you remove this
hash, decrypt the rest of the file, hash this decrypted file and see if the
two hashes match up. If they don't then an incorrect key was used with the
why use AES? Blowfish can have a 448 bit key size! Also, why use ebc mode
with all the problems which come with it?
JH
-Original Message-
From: Vinod Panicker [mailto:[EMAIL PROTECTED]]
Sent: 22 May 2002 10:06
To: Jimmy Lantz
Cc: [EMAIL PROTECTED]
Subject: Re: RE: [PHP] Mcrypt: Blowfish o
I want install php 4.2.1 (download from www.php.net) on ma linux red hat 7.0
server. configure ran good with no errors
but when i do make install i get this error message.
make[3]: *** [gettext.lo] Error 1
make[3]: Leaving directory `/update/php-4.2.1/ext/gettext'
make[2]: *** [all-recursive] Erro
And why not use AES, which is an industry standard and having
being proven as the best encryption algorithm in recent times?
http://csrc.nist.gov/encryption/aes/aesfact.html
As far as ECB mode is concerned, I dont know what problems you are
talking about. I'm aware that the data gets encrypte
When are set in php.ini (php version 4.2.1 on linux) register_globals = Off
how
I read variables from html files with forms in other php file ?
Thanks
roman
for example :
html file :
and in php file
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.
One of the reasons I like Blowfish is that I have used it for years, and
there have been no successfull attempts to crack it.
Why do you encrypt binary files in ebc and text files in cbc?
JH
-Original Message-
From: Vinod Panicker [mailto:[EMAIL PROTECTED]]
Sent: 22 May 2002 10:25
To: John
Hi.
I'm changing my website to one based on My-SQL which will help with
organization and searching etc. Hopefully, the code for all the pages will
be stored in the database too.
However, I cannot get PHP to parse / execute the code stored in the
database. The script
$query = mysql_query("SELECT *
Use eval ... although beware of the serious security implications.
> Hi.
> I'm changing my website to one based on My-SQL which will help with
> organization and searching etc. Hopefully, the code for all the pages
> will be stored in the database too.
> However, I cannot get PHP to parse / execu
you can use
$_POST['name1'] if you're using post vars
$_GET['name1'] if you're using get vars
Regards Michael
"Roman Duriancik" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> When are set in php.ini (php version 4.2.1 on linux) register_globals =
Off
Thats why lots of people like Blowfish, including myself. I am
using it in a production environment with PHP and mcrypt.
In ECB mode, the blocks are encrypted independently, whereas in
CBC mode, the blocks are encrypted with information based on the
previous block.
What this means is that if
Also, it's good to read the press releases:
http://www.php.net/release_4_2_1.php
External variables
We would also like to attend you on a big change in PHP
4.2.0 concerning variable handling. External variables
(from the en
Is there any way to emulate ASP.NET's smartNavigation trick? What it does it
to maintain control state and scroll position between postbacks, as well as
stopping the page from flickering when reloading. It makes a mostly static
page look very cool.
Anyone done this in PHP, or know how to use IFRA
eval ('?>'.$var.' then comes the content of the php script which also can
contain
html and then we reopen
and you say
$var = "";
you'll result in
...
eval("?> schrieb im Newsbeitrag
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi.
> I'm changing my website to one based on My-SQL which will
On Tue, May 21, 2002 at 08:03:36AM -0700, Rasmus Lerdorf wrote:
> Depends a bit on what sort of globals you are after. If you mean a global
> variable set by the user in the global symbol table you would do:
>
> pval **tmp;
> if(zend_hash_find(&EG(symbol_table), "foo", 3, (void **)&tmp) == S
note:
you should use $array["test"] if test is a string
and $array[test] if test is a constant.
do not use $array[test] if you mean the string "test".
$array[test] will also work, if "test" is a string.
Php then tries to look for a constant with name "test",
won't find one and evaluate "test" as s
Interesting topic, although highly off-topic.
I just had a quick kick around, and found this page:
http://msdn.microsoft.com/downloads/samples/internet/default.asp?url=/Downlo
ads/samples/Internet/ASP_DOT_NET_ServerControls/SmartNav/default.asp
Doesn't really say HOW it does it, but here's the i
I spoke too soon -- it looks like it's just a JavaScript library which I was
able to download. I can't be bothered scanning through 16k of .js files to
figure it out though :)
Justin French
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
what function in PHP like response.redirect "http://www.detik.com"; in ASP
?
Roy Daniel , ST
IT Developer System - PT BERCA COMPUTEL
My E-mail : [EMAIL PROTECTED]
and : [EMAIL PROTECTED] / [EMAIL PROTECTED]
My ICQNumber : # 103507581
My Phone Cell : 0816-1192832
My Web site: http://www22.brinks
header("Location: http://www.detik.com";);
www.php.net/header
Read the manual page...
---John Holmes...
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, May 21, 2002 5:12 AM
Subject: [PHP] Whats Function like response.redirect
> what function in P
Hi Roy,
> what function in PHP like
> response.redirect "http://www.detik.com"; in ASP?
header ("Location: http://www.detik.com/";);
HTH
Cheers
Jon
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
first take a look at this page:
http://www.php.net/manual/en/function.substr.php
> if (substr($text, -1) == ".")
substr($text, -1) will return the last character in string $text.
if it is a "." the if statement will evaluate to true
and it'll do the following
> {$test = substr($text, 0, -1
Hi everyone,
since I'm developing a PHP-based forum, and still improving it, I was
wondering about some issue. I'm having registered users, and keep their data
in a dbase. When they log in, data is retrieved from the database.
Now some slight "problem" comes up. I'm working on an account on a se
Hi everyone,
since I'm developing a PHP-based forum, and still improving it, I was
wondering about some issue. I'm having registered users, and keep their
data
in a dbase. When they log in, data is retrieved from the database.
Now some slight "problem" comes up. I'm working on an account on
Hi there.
Could someone please tell me where I could get hold of the ODBC drivers to
connect to Informix with PHP. Is there anything else I should know.
Thanks
Kevin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
hi all
I have to build a php 'survey' app. but cannot use a db,
clearly text files are the way but I wondered, before I start if any of
you have done similar and might offer any words of wisdom?
Are there any inherent problems I need be aware of for
> On Tue, May 21, 2002 at 08:03:36AM -0700, Rasmus Lerdorf wrote:
> > Depends a bit on what sort of globals you are after. If you mean a global
> > variable set by the user in the global symbol table you would do:
> >
> > pval **tmp;
> > if(zend_hash_find(&EG(symbol_table), "foo", 3, (void **
Use file locking, so only one instance of the script is writing to the file
at a time...
www.php.net/flock
---John Holmes...
- Original Message -
From: "Nick Wilson" <[EMAIL PROTECTED]>
To: "php-general" <[EMAIL PROTECTED]>
Sent: Wednesday, May 22, 2002 9:38 AM
Subject: [PHP] voting usi
Does anyone know of a way to rotate text in a pdf?
I can rotate an image and rotate a page but can not seen to rotate text.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hey Guys,
Heres the deal,
I have a client who wants me to make a "testimonials" program for him,
Which is no problem till now, but now he has come with some additional
requirments that I dont know how to deal with...
he has a flatfile with a crap load of entries and he wants me to export it
into m
Unless you are using PHP version 4.2 or higher, the first argument can't be
an array.
Kirk
> -Original Message-
> From: Jas [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, May 21, 2002 11:46 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP] in_array problems (another pair of eyes?)
>
>
> I don't
r wrote:
>
> Hey Guys,
> Heres the deal,
> I have a client who wants me to make a "testimonials" program for him,
> Which is no problem till now, but now he has come with some additional
> requirments that I dont know how to deal with...
> he has a flatfile with a crap load of entries and he want
How is the text file organized? Is it one "testimonial" per line? or is
there some other kind of seperator?
This should be easy. Use file() to read in the file, then do an insert for
each line. one little loop will load the whole file for you. how large of a
file is it?
---John Holmes...
-
I always hate mentioning this 'cause I feel like an attention whore or
something, but nevertheless, I can't get the thing tested thouroughly
without a bit of whoring...
I've been working on a crypto extension for PHP for a while now, and since
you guys seem into the crypto thing, you might li
I'm trying to replace values within a string with a value looked up from a database. I
have a function that looks up the value in the database for me but I'm having trouble
passing the value to the function because of the backslashes, is there a way around
this?
Code:
$cntnt = eregi_replace(
Just have a look around for a counter script which uses file locking, then
port it to suit your needs, or check out the flock() example that *i think*
there is in the manual.
phpbuilder.com or zend.com or the rest are bound to have a script.
Justin French
on 22/05/02 11:38 PM, Nick Wilson ([
On Wed, 22 May 2002, Jimmy Lantz wrote:
> Thanx for the suggestions!
> Someone mentioned that I could use MD5 and then encrypt the hash,
> how would I ever decrypt that? Is'nt MD5 a 1-way thing only?
>
> Another question?
> Should I go for bigger keylength or bigger blocksize or both? What makes
Hello php-general,
We have recently hand a system melt down .
After reinstalling apache, PHP4 and Mysql I then copied/restored from
backup the files(data and all).
Using phpmyadmin (2x) or infact any of my previous applications I get
errors like the following ..
Warning: mysql_db_query is depr
Following on from my mail yesterday, here are the results of testing
Billy's multipart content method on Windows browsers (Windows 98 to be
precise):
* IE 6.0 displays the boundary markers and content-type headers
inline and also the contents of myfile.foo instead of saving
I have the following in my php.ini file:
display_errors=Off
log_errors=On
error_log="filename"
I want to turn on display_errors for developers, I'm attempting to use
ini_set to do this. I made a script like:
(I added log_errors and error_log lines in an attempt to get this
working)
The phpin
Merrow Internet Services run online training courses. We use a web
conferencing system to create a virtual classroom where we hold live
interactive seminars. You can connect to the conference with an ordinary
telephone modem, so you can take part at home or at work.
Our Introduction to PHP Prog
It's just a warning, not an error. It's probably always been there, but your
error reporting was set to a level that didn't display it. Turn your error
reporting level up in php.ini. it's set lower in PHP 4.1+ than it has been
in the past.
Best fix is to of course not use the mysql_db_query() fun
Hi
I need to encrypt some fields in my mysql database.
I need to ask a user for a pass when he enters the data, encrypt it and show him the
data only if he enters
the pass again.
I know that pgp has a module that works with passwords instead of keys. I never tried
this on Linux though.
An
calculate a hash of the pass the user enters and store that. When the user
enters a pass again to get the data, then hash this pass and see if it
matches the stored hash. If it does , then send the user the data.
create a table that stores username, and hashed passwords for
authentication.
HTH
--
Yeah I tried that as well, no dice, however here is what I the code that DID
work. Hope this helps anyone that is trying to accomplish much of the same.
Jas
wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> On Wednesday 22 May 2002 07:02, Jas wrote:
> > Ok here is my error message:
John,
First thanks for the note.
1JWH> It's just a warning, not an error. It's probably always been there, but your
1JWH> error reporting was set to a level that didn't display it. Turn your error
1JWH> reporting level up in php.ini. it's set lower in PHP 4.1+ than it has been
1JWH> in the past.
Whats the best way to pass on array on in a link ?
eg
offset is where we are (what page)
but state is an array, with a variable size
href=joblist.php?offset=$offset&state=$state
thanks
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hello,
On 05/22/2002 01:43 PM, Boaz Yahav wrote:
> Hi
>
> I need to encrypt some fields in my mysql database.
> I need to ask a user for a pass when he enters the data, encrypt it and show him the
>data only if he enters
> the pass again.
>
> I know that pgp has a module that works with pas
Hi all,
I'm trying to install php/apache with phptriad. This worked fine,
however when I'm using session variables the thing goes nuts:
Warning: open(/tmp\sess_d22b57336449f89ad54b974794dd53f4, O_RDWR) failed: m (2) in
C:\apache\htdocs\dm\wwwtest\phpincludes\session\session.php on line 2
Warni
Hi
You could try :
http://www.php.net/manual/en/function.serialize.php
http://www.php.net/manual/en/function.unserialize.php
Pass the serialized array in the URL, then unserialize it back when in the
target page.
Regards
Girish
--
www.girishnath.co.uk
"John Fishworld" <[EMAIL PROTECTED]>
On Thursday 23 May 2002 00:12, Dtsig wrote:
> 1JWH> It's just a warning, not an error. It's probably always been there,
> but your 1JWH> error reporting was set to a level that didn't display it.
> Turn your error 1JWH> reporting level up in php.ini. it's set lower in PHP
> 4.1+ than it has been
Using file locking, if two people tried to use the script at the same
time, wouldn't there be an error for one of them?
My first guess at defeating this is having the script write a file
named after the voter's IP. Have the file written to a different
directory for whatever choices they have,
Nick:
> I have to build a php 'survey' app. but cannot use a db,
> clearly text files are the way but I wondered, before I start if any of
> you have done similar and might offer any words of wisdom?
Everyone thus far has recommended file locking. Another way is to create a new file
for each
me estais mandando mensajes vuestros,
- Original Message -
From: "erich" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, May 21, 2002 4:22 PM
Subject: [PHP] unknown problem of script
> i run a install.php, the server says the following statement,
> Warning: Undefined index: in
Zac:
> $cntnt = eregi_replace("\[L=([a-zA-Z]+)]"."([a-zA-Z]+)\[EL]",
> "\\2", $cntnt);
Put "\\1" in double quotes so it gets evaluated as a substring.
"\\2", $cntnt);
Enjoy,
--Dan
--
PHP classes that make web design easier
SQL Solution | Layout Solution | For
I am following example 4 on http://www.php.net/manual/en/ref.session.php
code:
if(!session_is_registered("layer") ) {
session_register("layer");
}
I tried both "" and ''s.
Doing a phpinfo() on the pg. doesn't show any $HTTP_SESSION_VARS
I've both track_vars and register_globals enabled in my p
you can use serialize() and unserialize() and make sure that you urlencode()
and urldecode() the serialized string before attaching it to your URL. if
you don't, you might find that some chars will not be right on the other end
of the line.
Jim Lucas
- Original Message -
From: "John Fish
Are you starting the session first?
Jim Lucas
- Original Message -
From: "Pushkar Pradhan" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, May 22, 2002 10:19 AM
Subject: [PHP] unable to register session variables
> I am following example 4 on http://www.php.net/manual/en
Boaz:
On Wed, May 22, 2002 at 04:48:59PM +0100, John Horton wrote:
> calculate a hash of the pass the user enters and store that.
FYI, by "hash" he means using the md5() function.
Ciao!
--Dan
--
PHP classes that make web design easier
SQL Solution | Layout Solution
Text files are good providing the vote is simple.
I would recommend using file locking, but to stop a user recieving an error
if the file is in use you could get the script to retry after half a second
or so.
A good structure would be to have one file for each possible answer and each
file contain
On Wed, 22 May 2002, Jeff Hatcher wrote:
> Does anyone know of a way to rotate text in a pdf?
> I can rotate an image and rotate a page but can not seen to rotate text.
You're using PDFlib?
It works just fine, but you have to understand how PostScript works.
Calling PDF_rotate rotates the entir
I copied some data from a web page straight into Excel then saved it as tab
delimited which allowed me to import it into MySQL. Try opening the file in
a spreadsheet program - it might understand the file!
Alternatively, if the data was stored in a flat file previously, there must
have been a scr
Aren't there two method to register variables:
1. session_start() as you suggested with track_vars enabled
2. !session_is_registered() with register_globals enabled
I tried session_start also but didn't work, phpinfo() doesn't show any
$HTTP_SESSION_VARS
> Are you starting the session first?
>
>
On Wed, 22 May 2002, Jason Soza wrote:
> Using file locking, if two people tried to use the script at the same
> time, wouldn't there be an error for one of them?
The second session would just have to wait for the first to finish (which
should be an infinitessimal amount of time).
> My first g
not that I am aware of.
Jim Lucas
- Original Message -
From: "Pushkar Pradhan" <[EMAIL PROTECTED]>
To: "Jim lucas" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Wednesday, May 22, 2002 10:43 AM
Subject: Re: [PHP] unable to register session variables
> Aren't there two method to regi
On Wed, 22 May 2002, Roman Duriancik wrote:
> I want install php 4.2.1 (download from www.php.net) on ma linux red hat 7.0
> server. configure ran good with no errors
> but when i do make install i get this error message.
> make[3]: *** [gettext.lo] Error 1
> make[3]: Leaving directory `/update/ph
Hey all,
I have a problem, that I can't seem to find the answer to. I have
checked the archives and the website, but to no avail. I have installed PHP
4.2.1 on my local machine with IIS running W2K Pro. When I run php -i, I
get the html output expected. But when I try to open the simple ph
Hi all,
I've got a problem with character encoding in combination with a
FormMail-script (coded in PHP). Everything works fine as long as I stick
to ISO-8859-1 as charset, but when I call the script from pages that use
UTF-8 as encoding, special characters (e.g. those special chars with dots
and
Josh,
Try just using mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 22, 2002 12:55 PM
To: [EMAIL PROTECTED]
Subject: [PHP] W2K SP2, PHP 4.2.1, IIS 5
Hey all,
I have a problem, that I can't seem to find the answer to. I have
checked the archives and the website, but to no avail. I have ins
Already tried the other tag, and php extension is setup as a CGI in IIS.
That is why this is puzzling me so.
-josh
"Bruce Vander Werf" <[EMAIL PROTECTED]> wrote:
> Josh,
>
> Try just using
> Make sure your php file has the extension php and make sure the php
> extension is setup as a CGI extens
For detection of encoding, perhaps you could include a hidden field with
some shibboleth characters. Research how they are transformed by various
encodings, and then just look at them to figure out what for that the rest
of the data is in.
miguel
On Wed, 22 May 2002, Peter Johansson wrote:
>
> A good structure would be to have one file for each possible answer and
each
> file contains the number of votes it has recieved.
> Then:
> --> Open file for the chosen option as read only
> --> Read the value in the file
> --> Close the file
> --> Increase the value by one using ++
> --> Open t
You have to set the session.save_path to a path on your machine that PHP can
write session files to. You can make a temp folder in your C: drive and then
set the path to c:/temp or c:\\temp or create and set it to any other folder
you want. Make sure (if you're using NTFS) that user IUSR_
has perm
Yes I'm using the PDFlib.
I understand the rotating of the page. So this is what I am doing: I am
building a page $pdf. If I rotate the page then everything on the page
rotates also. I need to put titles in a 45 degree angle. These titles
can change and there can be between 3-6 depending on the
Okay, looks like I was stupid/lazy for including the pseudo code instead of
something closer to what I was using. Also, perhaps I'm being dense, but I
don't understand what Michael's response has to do with this situation. Can
he or someone else enlighten me? Here's a more accurate/detailed
des
I think you guys are making this way more complicated than it needs to be.
Anytime you start talking about locking files, you need to apply a huge
reality check to yourself and sit down and approach the problem from a
different direction.
In this case could I suggest that you make use of the fact
Hi there!,
In a word - script mappings.
In the IIS administrator,
you must associate the .php extension with the php interpreter.
Use the IIS help wizard to tell you how,
or:
1. Start Regedt32.exe and open the following registry key:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W3SVC
\Pa
Hi there!,
I've looked over this thread and from what I gather you want to know if you
can/should use JavaScript for redirecting, my usual way of going about
things is to put a JavaScript location.href='page.aspx'
call in the head of the document (putting JS in the head causes it to
execute before
That's why I suggested using PDF_save and PDF_restore.
PDF_save saves all sorts of attributes like the current color, scale,
skew, rotation, etc. So you can call that, then make any changes, draw
anything that needs to be affected by those changes, then call
PDF_restore, and you're back to nor
Hi,
im a newbie to php and are trying to make a small upload script. So i have
read about the variables $userfile and $userfile_name. When i try to run
the
script i get the following error:
Notice: Undefined variable: userfile
Notice: Undefined variable: userfile_name
Some of the code:
On Wed, 22 May 2002, Miguel Cruz wrote:
> For detection of encoding, perhaps you could include a hidden field with
> some shibboleth characters. Research how they are transformed by various
> encodings, and then just look at them to figure out what for that the rest
> of the data is in.
Yes,
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
* and then Rasmus Lerdorf declared
> I think you guys are making this way more complicated than it needs to be.
>
> In this case could I suggest that you make use of the fact that appends of
> less than a blocksize are atomic. Therefore, why no
Ho hum,
So it doesn't seem to be script mappings - I stand corrected.
Have you checked that the .PHP type is associated in the
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W3SVC\Parameters\Script
Map branch of the registry?.
You might want to check that it's .PHP, and not .PHP4 , as this
Hi,
I am using PHP 4.2.1 under Windows XP. I am having trouble getting
socket_select to work on a UDP socket. Here is my code:
//Create socket
$socket = socket_create(AF_INET, SOCK_DGRAM, 0);
if ($socket < 0)
echo "unable to create socket(".socket_strerror($socket);
else
echo "OK";
//enable
Okay, mystery to me, when I installed PHP 4.2.1 on Apache 2.0.35, the track_vars
function, stopped working.
a simple command like, example :
file : default.php
¨
then I type in the address in ie6, like : http://127.0.0.1/default.php?text=this
but it doesn't show anything
The security shouldn't be a problem. The user will be taken to
www.whatever.com/index.php?page=thispage
index.php then searches for a record with name = thispage and then evaluates
the code stored in a different column of the database.
If the name isn't found, "This page cannot be found" is displa
Maybe you should read about what you're installing before you install it.
Register_globals is off in PHP 4.1+ by default, so your variables aren't
created. You can use $_GET["text"] to get the variable, though. Or you can
turn on register_globals in your php.ini and face the security consequences
The php directive track_vars is deprecated and is always
on. You appear to be referring to the register_globals
directive though, which is a hot topic these days in the
world of PHP.
If register_globals = on, then $text will exist in your
example (register_globals will create it). Otherwis
> If all that fails, there's always:
> Have you tried a hammer?
I like the 369 rule. Drop it from 3 feet, if it still doesn't work, drop it
from 6 feet, and if it still isn't working, drop it from 9 feet. If none of
that works then trash it. WARNING: Don't use this rule for children.
---John Hol
1 - 100 of 172 matches
Mail list logo