[PHP] fread() question

2003-07-11 Thread Seairth Jacobs
he entire response has been read (88771 bytes in this case). Also, this would mean that the effective fread would be: $buffer = @fread($this->socket, 0); However, if I just do: $data = @fread($this->socket, $contentLength); it works as expected. So what's going on? For n

[PHP] Re: Mind exploded on this one!

2003-07-11 Thread Seairth Jacobs
Could you give an example of what you want/expect to get back? Seairth "Phil Powell" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] $booleanNonFormVars = array('hasSelectedLetter', 'hasEnteredProfile', 'hasSelectedProfile', 'hasEditedProfile', 'hasDeleted

Re: [PHP] Handling DELETE requests

2003-08-05 Thread Seairth Jacobs
"Curt Zirzow" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > * Thus wrote Seairth Jacobs ([EMAIL PROTECTED]): > > Under Apache 1.3, how can I respond to DELETE request with a PHP script? I > > have no problem with GET, POST, or PUT. The only thi

Re: [PHP] Handling DELETE requests

2003-08-14 Thread Seairth Jacobs
server to close the connection. I have now switched to a php-based HTTP client that I wrote and I am getting back exactly what I'm expecting. --- Seairth Jacobs [EMAIL PROTECTED] "Seairth Jacobs" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > "

[PHP] Handling DELETE requests

2003-08-14 Thread Seairth Jacobs
y that php scripts can accept DELETE requests. Any suggestions? --- Seairth Jacobs [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] asynchronous processing?

2003-04-02 Thread Seairth Jacobs
en in that version). So are there any alternative methods? --- Seairth Jacobs [EMAIL PROTECTED] [1] http://www.php.net/manual/en/function.register-shutdown-function.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: urldecode problem :(

2003-06-06 Thread Seairth Jacobs
??ody> When I run the code setting the charset to windows-1251, I get: a=???‡?µ?‚???° ?‰?° b=??? I'm guessing you want "a" from the first one and "b" from the second one. In which case, you are correct. Two different character encodings are being U

[PHP] URL path question

2002-08-13 Thread Seairth Jacobs
want to use a query string (for various reasons) to identify those resources. So, how can I do this? Is this an IIS-specific problem or does PHP just not allow this? TIA. --- Seairth Jacobs [EMAIL PROTECTED] p.s. Sorry if you see a cross-post on php.version4. I got a warning that said it was

[PHP] Re: frames and variables

2002-08-15 Thread Seairth Jacobs
rames in return for the increased simplicity of generating the pages. --- Seairth Jacobs [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote in message 01c24415$8155a1b0$86a96518@jumpy">news:01c24415$8155a1b0$86a96518@jumpy... > Has anyone here designed php sites that use a co

[PHP] Re: Apache 2.0.40 and php as module

2002-08-19 Thread Seairth Jacobs
I have had the same problem under Win2K. My understanding is that PHP does not yet work well (at all, in this case) with Apache2. Instead, install Apache 1.3. The console window is a bit annoying (would have liked to run it as a service), but it does work. :) --- Seairth Jacobs [EMAIL

[PHP] Re: suggestions for a good php+mysql isp?

2002-08-20 Thread Seairth Jacobs
of a support call. Good luck in your search. :) --- Seairth Jacobs [EMAIL PROTECTED] "Or Not Db Db" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I have searched the archives and the last time this was seriously discussed &

[PHP] Re: phpMyAdmin is this possible

2002-08-20 Thread Seairth Jacobs
that access (usually with some restrictions, of course). --- Seairth Jacobs [EMAIL PROTECTED] "Steve Jackson" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I am new to MySQL and PHP. > Having looked at PHPMyAdmin the GUI I was won

Re: [PHP] Passing variables between servers

2002-08-21 Thread Seairth Jacobs
original password (which may be used by the user for other sites, applications, etc). --- Seairth Jacobs [EMAIL PROTECTED] "Adam Williams" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Just suggestion but why not use md5($password)

[PHP] Re: Passing variables between servers

2002-08-21 Thread Seairth Jacobs
do this with GET. --- Seairth Jacobs [EMAIL PROTECTED] "Mark McCulligh" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I have two server. One running PHP/Linux the other running ASP/2000. > The user logins into the PHP server and

[PHP] Re: Can someone - anyone see my error?

2002-08-25 Thread Seairth Jacobs
I think you have to specify the destination file name as well. The destination directory is not enough. --- Seairth Jacobs [EMAIL PROTECTED] "Johnp" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Ok after being blasted for not looking

[PHP] Re: PHP Cookies

2002-08-26 Thread Seairth Jacobs
that you set will be returned to you with each request. --- Seairth Jacobs [EMAIL PROTECTED] "Erich Kolb" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Why cant I use more than 1 variable in a cookie? > > -- PHP General

[PHP] Follow-up question about Digest Authentication in PHP

2002-08-27 Thread Seairth Jacobs
ust have to manually implement it? --- Seairth Jacobs [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: No Localhost with apache?

2002-08-28 Thread Seairth Jacobs
sing "localhost" as some programs are configured that way... --- What is the value of "ServerName" in your httpd.conf file? I'm guessing that it's "127.0.0.1". If so, just change it to "localhost" and restart Apache. --- Seairth Jacobs [EMAIL PROTE

Re: [PHP] Re: No Localhost with apache?

2002-08-28 Thread Seairth Jacobs
a comment). If this entry is missing or different, I suppose it's possible to lose access to "localhost" altogether, though I don't know for sure (and don't want to test out either ). What happens when you "ping localhost" at a command prompt? --- Seairth

[PHP] Re: HTTP_REFERER?

2002-08-28 Thread Seairth Jacobs
If you are running PHP 4.1.0 or later, you can also use $_SERVER["HTTP_REFERER"], etc. Note that if you are using PHP 4.2.0 or later, then the "register_globals" option is off by default and the variables you mention below are not automatically created. --- Seairth Jac

[PHP] Re: php4 w/ apache2 using module

2002-09-06 Thread Seairth Jacobs
my host uses anyhow) --- Seairth Jacobs [EMAIL PROTECTED] "Yoda2005" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Is there any way to do it? I cant seem to get it to install as a module > nomatter what I do. Right now I have it run

[PHP] Re: stopping repeated posts to a Bulletin Board

2002-09-17 Thread Seairth Jacobs
ause he/she did not wait for the browser to return a confirmation > page or the script took too long to execute. Assign a unique key to each submission form (as a hiiden field). Once the form is submitted, you can stop any replays by testing to see if the key was already used or not. -- --- Seair

[PHP] Re: :( This fact ruins my understanding of php :( please explain!

2002-10-08 Thread Seairth Jacobs
27;s in $a inside the function f(). 2) Try returning the array by reference... function &f(&$a){return $a;} for ($i=0; $i < 100; $i++){$a = & f($big);} --- Seairth Jacobs [EMAIL PROTECTED] "Markas" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">

[PHP] Re: Converting a Java into php

2002-10-08 Thread Seairth Jacobs
If you are specifically trying to use UTF-8 encoding, look at encode_utf8(). --- Seairth Jacobs [EMAIL PROTECTED] "Umut Ozan Basar" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > i am converting a java class into php.. almost