[PHP] Socket Programming Problem
I have a web server and want to make it as a file provider... Works similiar to the BBSHowever, the problem is appeared... How can I trigger the user to download those file while they requested?? What can i do after fsock_open() ? thx a lot -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] how to check the transmission speed?
Is there a function to check up the transmission speed when sending a file? thx a lot -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Problems in installing SSL engine
Configured for Mingw32. Generating x86 for GNU assember Bignum DES crypt Blowfish CAST5 RC4 MD5 SHA1 RIPEMD160 RC5\32 Generating makefile Generating DLL definition files Building OpenSSL copy .\crypto\buildinf.h tmp\buildinf.h 1 file(s) copied. copy .\crypto\opensslconf.h outinc\openssl\opensslconf.h 1 file(s) copied. gcc -o mp\cryptlib.o -Ioutinc -Itmp -O3 -fomit-frame-pointer -DDSO_WIN32 -c .\crypto\cryptlib.c process_begin: CreateProcess((null), gcc -o tmpcryptlib.o -Ioutinc -Itmp -O3 -fomit-frame-pointer -DDSO_WIN32 -c .crypt cryptlib.c, ...) failed. make (e=2): The system cannot find the file specified. make: *** [tmp\cryptlib.o] Error 2 You can ignore the error messages above 1 file(s) copied. Building the libraries Building OpenSSL gcc -o tmp/cryptlib.o -Ioutinc -Itmp -DL_ENDIAN -DDSO_WIN32 -fomit-frame-pointer - O3 -m486 -Wall -DBN_ASM -DMD5_ASM -D HA1_ASM -c ./crypto/cryptlib.c process_begin: CreateProcess((null), gcc -o tmp/cryptlib.o -Ioutinc -Itmp -DL_ENDIAN -DDSO_WIN32 -fomit-frame-pointer - 3 -m486 -Wall -DBN_ASM -DMD5_ASM -DSHA1_ASM -c ./crypto/cryptlib.c, ...) failed. make (e=2): The system cannot find the file specified. make: *** [tmp/cryptlib.o] Error 2 anyone could help me please? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Advice with encrypting+storing sensitive data
Would u teach me how to setup the OpenSSL and the engine for the apache web server in order to achieve the 128 bits SSL protection? Actually, I have tried so many times but still failed to do so... First of all, there were errors occurred when I compiled the Openssl engine, It seemed looking for a wrong file paths itself, however, I don't know how to correct it... Would u like to help me please? thx a lot "Bahwi" <[EMAIL PROTECTED]> ¼¶¼g©ó¶l¥ó·s»D :[EMAIL PROTECTED] > That's a big question. > > The most secure way, using either mcrypt or PGP, is to have an > application on the client's side that does the encryption and the > decryptiong. This is probably the best solution. Heavily encrypt things > on both sides, and this assumes the client side is secure. > > Barring this, you're going to have holes no matter what. Especially with > man in the middle attacks (MITM). > > Use SSL, 128-bit SSL. This will help the most. > > The next best thing is to store it in session variables, but build your > own system perhaps, and yes, encrypt it lightly with some system and a > system passphrase. Clean up the sessions as soon as possible. And store > a bunch of other data in there. Perhaps store the passphrase as the > variable 'Height' or 'Bytes' or something, and store 'Password' > 'Passphrase' with dummy data. Not too much, you want to throw the person > off as much as possible. > > Then, you need to obfuscate or preferably, encode your script so know > one can figure out your scheme. Hope this helps some. > > --Joseph Guhlin > http://www.josephguhlin.com/ > Web Programmer / Unix Consultant / PHP Programmer > > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] URL path problems
Suppose my web domain is http://abc.com There is a administration directory in my wwwroot which is used to store the administrative control pages. However, from now on, everyone can access the administrative pages through the addictive path to the domain such as: http://abc.com/administration/xxx.php Is there any solution to block or prevent the addictive path through my server? Just like only http://abc.com is allowed to browse. thx a lot -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] URL path problems
Thx for your help, butis there any instructions that let me follow? I'm not familiar with those settings, thx a lot "Peter Houchin" <[EMAIL PROTECTED]> ¼¶¼g©ó¶l¥ó·s»D :[EMAIL PROTECTED] > if ur using apache using .htaccess in the directory .. and you can also set > it in the httpd.conf > > > -Original Message- > > From: ªüYam [mailto:[EMAIL PROTECTED]] > > Sent: Friday, 20 December 2002 4:41 PM > > To: [EMAIL PROTECTED] > > Subject: [PHP] URL path problems > > > > > > Suppose my web domain is http://abc.com > > There is a administration directory in my wwwroot which is used > > to store the > > administrative control pages. > > > > However, from now on, everyone can access the administrative pages through > > the addictive path to the domain such as: > > http://abc.com/administration/xxx.php > > > > Is there any solution to block or prevent the addictive path through my > > server? > > Just like only http://abc.com is allowed to browse. > > thx a lot > > > > > > > > -- > > PHP General Mailing List (http://www.php.net/) > > To unsubscribe, visit: http://www.php.net/unsub.php > > > > > > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Is there any method to filter the single quote from a string?
as title that I'm getting a trouble on filtering the single quote ' , since there would be error when storing those string into MySQL, thus, i have to find the appropriate method to solve it, anybody can help please? thx a lot -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Is there any method to filter the single quote from astring?
thx "Justin French" <[EMAIL PROTECTED]> ¼¶¼g©ó¶l¥ó·s»D :[EMAIL PROTECTED] don't filter the quotes... escape them with add_slashes() justin on 20/12/02 10:50 PM, ªüYam ([EMAIL PROTECTED]) wrote: > as title that I'm getting a trouble on filtering the single quote ' , since > there would be error when storing those string into MySQL, thus, i have to > find the appropriate method to solve it, anybody can help please? > thx a lot > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Problem in $_SERVER["PHP_SELF"]
Before, I was using PHP 4.2.3. There was no problem when I just use $PHP_SELF in my script... Whereas the problem is found after using PHP 4.3.0. There is warning of my script , the warning msg is about undefined variable $PHP_SELF..however, when I try to use $_SERVER["PHP_SELF"] instead of $PHP_SELF, there is no problem But, that makes me a big trouble if I have to modify all of my scripts to solve this problem..Is there any idea to solve this problem, please? thx a lot for any help! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Problem in $_SERVER["PHP_SELF"]
thx a lot "Johannes Schlueter" <[EMAIL PROTECTED]> ¼¶¼g©ó¶l¥ó·s»D :[EMAIL PROTECTED] On Thursday 02 January 2003 19:30, ªüYam wrote: > There is warning of my script , the warning msg is about undefined variable > $PHP_SELF..however, when I try to use $_SERVER["PHP_SELF"] instead of > $PHP_SELF, there is no problem Check your register_globals settings! Either switch it on (bad) or start your scripts with $PHP_SELF = $_SERVER['PHP_SELF'] or replace all $PHP_SELF with $_SERVER['PHP_SELF']. If you don't know what register_globals is check the Manual! johannes -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php