Guess it really is "experiemental" :-)
>> http://www.php.net/manual/en/ref.sockets.ph
>
> Yes, I've read that page... many times. It has not helped me. That is
> why I am posting my problem here, in that hopes that someone can help.
>
> (I don't mean to be completely helpless, but I just don't yet
There is another kind of blocking you could be running into (other than the
type mentioned in the manual) and it was eluded to before. What are the
odds you are going through a firewall to get to the server. Firewalls will
reject attempts to connect to unauthorized sockets on protected machines.
There is no firewall—it's all running locally, on my iBook (with
Firewall off). You know, I really wish it WAS the firewall. :-)
I really can't believe this little problem I'm encountering is because
of some bug in the Socket library. I mean, what I'm doing is so simple,
and I'm sure hundreds of
Hi,
Friday, May 14, 2004, 9:11:21 AM, you wrote:
RF> The script doesn't even get that first "while" condition line. It loops
RF> a few times (while receiving messages), then when no more messages are
RF> coming from the server, and it times-out, it breaks out of the "while",
RF> then returns to th
Hi Warren,
There is only one process, and I'm sure I have only one IP address.
It's just one script that loops. At the top of the loop, it waits to
socket_read some data. If no data appears, I want it to timeout so that
it can send the server a ping (which I must do). THAT is where the
problem
Please somebody tell me what _$ (start from underscore) variable means.
I'm trying to find it from PHP.NET, but I cannot find that.
That is, as far as I know, invalid syntax. Maybe it's being confused with
the predefined Super Global variables like $_GET , $_POST, and $_SERVER ?
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 13, 2004 5:30 PM
To: [EMAIL PROTECTED]
Subject: [PHP]
[snip]
i am a beginner for php programming, my OS is win98 while my webserver
is PWS, all is in the same machine,when i try to run my internet
explorer( type in http://localhost/phpinfo.php), phpinfo.php cannot be
display.
i try to reinstall pws and php follow the instrustruction but its still
s
[EMAIL PROTECTED] wrote:
> Please somebody tell me what _$ (start from underscore) variable means.
> I'm trying to find it from PHP.NET, but I cannot find that.
http://us2.php.net/manual/en/function.gettext.php
--
---John Holmes...
Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/
php|
Juan Pablo Herrera wrote:
[snip]
I need do load data infile in mysql:
$query_string2 = "LOAD DATA INFILE '/var/www/xls/test' REPLACE INTO
TABLE
`test` FIELDS TERMINATED BY ',' ENCLOSED BY '\"' ESCAPED BY '\\' LINES
TERMINATED BY '\n'";$query_db_string2 = mysql_query($query_string2);
But not realiz
Hey all.
I'm running an online sport report that is member protected; i.e. users need
to login to gain site access.
When a new user signs up, I set their username to their email address &
generate a temporary password for them using rand() & md5():
$username = strip_illegals($_POST['email']);
$p
* Thus wrote Ren Fournier ([EMAIL PROTECTED]):
> On Thursday, May 13, 2004, at 05:13 PM, Daniel Clark wrote:
>
> >http://www.php.net/manual/en/ref.sockets.ph
>
> Yes, I've read that page... many times. It has not helped me. That is
> why I am posting my problem here, in that hopes that someone c
Don't know if this will help, but can you confirm whether your while loop is
failing on the first time through or a subsequent time through (perhaps by
echoing something each time through)?
Warren Vail
-Original Message-
From: René Fournier [mailto:[EMAIL PROTECTED]
Sent: Thursday, May
* Thus wrote CF High ([EMAIL PROTECTED]):
>
> $username = strip_illegals($_POST['email']);
> $plain_pass = rand();
> $password = md5($plain_pass);
>
> I then insert their login info into our member's table.
>
> Unexpectedly, when users attempt to login no matching record is found.
Are you sendi
Their receiving the $plain_pass
$plain_pass is md5'd on login submit, so we should get md5($plain_pass ) =
db stored md5'd($plain_pass ).
Makes no sense at all.
Got a couple hundred emails in my inbox from users not able to login -- I'm
basically screwed ;--(
--Noah
"Curt Zirzow" <[EMAIL PRO
CF High wrote:
If anyone has any clues as to what might be happening; i.e. why the md5'd
submitted plain text password does not match the stored md5'd password,
please, please let me know.
md5() results in a 32 character string. What kind of field are you
storing it in?
--
---John Holmes...
Amaz
--- Curt Zirzow <[EMAIL PROTECTED]> wrote:
> By default php streams the STDIN to a file so your just dealing
> with buffer sized ~2K-4K. enabling this option makes php put the
> contents into memory, thus leaving open the possiblity of someone
> using up all your memory and bringing the machine to
--- Marek Kilimajer <[EMAIL PROTECTED]> wrote:
> PHP must read the whole post stream to create $_POST and
> $HTTP_POST_VARS arrays, and to save file uploads into a temporary
> files. This happens before the script is executed.
Well, there are other scenarios:
POST /path/to/script.php HTTP/1.1
Hos
password field is char (32)
Strange that the usernames are all properly set to the submitted email
address, but the password is not properly updated.
Correct me if I'm wrong here, but
$plain_pass = rand(); /* plain pass should be a random # */
md5($plain_pass); /* plain pass is a random # here a
* Thus wrote Ren Fournier ([EMAIL PROTECTED]):
>
> MESSAGE RECEIVED
> PHP Warning: socket_read() unable to read from socket [35]: Resource
> temporarily unavailable in /Users/rene/Sites/gpspolice/titan/cr.php on
> line 61
This error [35] will occur if the socket isn't ready yet. Its an EAGA
Hi all,
Can someone point me in the direction of a function/library/tutorial on
normalising and formatting user-inputted names so that they have the
correct capitalisation etc?
This will work for MOST situations I'm aware of:
BUT, this will not work in the following cases:
1. whe
* Thus wrote Justin French ([EMAIL PROTECTED]):
> Hi all,
>
> Can someone point me in the direction of a function/library/tutorial on
> normalising and formatting user-inputted names so that they have the
> correct capitalisation etc?
>
> This will work for MOST situations I'm aware of:
> $nam
Re: the browser track, it looks like all adversely affected users; i.e.
those who can no longer log in, have a browser of I.E. 6.0.
I know that in many cases I.E. 6.0 has session and cookie vars disabled by
default.
Is it possible, a long, long shot, that rand() behaves differently in I.E.
6.0 --
Besides checking the browser cookie settings, have one of the affected users
turn off the auto-fill form feature, then tell the browser to forget all saved
form information. Let us know what happens.
cheers,
Travis
CF High wrote:
Re: the browser track, it looks like all adversely affected use
Justin French wrote:
Can someone point me in the direction of a function/library/tutorial on
normalising and formatting user-inputted names so that they have the
correct capitalisation etc?
I remember a discussion about this on the list a while ago
(http://www.phparch.com/mailinglists/msg.php?a
Chris Shiflett wrote:
--- Marek Kilimajer <[EMAIL PROTECTED]> wrote:
PHP must read the whole post stream to create $_POST and
$HTTP_POST_VARS arrays, and to save file uploads into a temporary
files. This happens before the script is executed.
Well, there are other scenarios:
POST /path/to
On Thu, May 13, 2004 at 09:59:56AM -0600, Ashley M. Kirchner wrote:
>
>Looking for a (open source) solution here: is there some way that I
> can convert an already existing HTML page to a PDF file, by means of a
> script (on a unix box)?
Well, http://www.babysimon.co.uk/khtml2png/ will buil
* Thus wrote Chris Shiflett ([EMAIL PROTECTED]):
> --- Curt Zirzow <[EMAIL PROTECTED]> wrote:
> > By default php streams the STDIN to a file so your just dealing
> > with buffer sized ~2K-4K. enabling this option makes php put the
> > contents into memory, thus leaving open the possiblity of someo
On 14/05/2004, at 1:50 PM, John W. Holmes wrote:
Justin French wrote:
Can someone point me in the direction of a function/library/tutorial
on normalising and formatting user-inputted names so that they have
the correct capitalisation etc?
I remember a discussion about this on the list a while
hi ,
i want to export data in mysql to excel .. but
problem is mysql runs in the linux machine ,
How can i get that data from mysql-Linux
machine to windows-Excel machine , plz help asap
thanx in advance
curlys
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: htt
hello list,
I have a problem in passing variables using URLs.
I have a link from a PHP 'Page One' and passing some variables thru
URL.
This link should now open another page (main frame) which will have two
frames in it (left frame and Right frame). But I want the variables to
be passed on to the
--- Dragon <[EMAIL PROTECTED]> wrote:
> If I/You try to open the Admin-Sektion ?open=admin
> Nothing happens, you will only reload the main view.
Use $_GET['open']. It will work.
Chris
=
Chris Shiflett - http://shiflett.org/
PHP Security - O'Reilly
Coming Fall 2004
HTTP Developer's Han
Hello PHP,
Is there any function/class to search the location based on ip
address ?
For example, I got ip 144.xxx.xxx.xxx and it can displaying that IP
comes from X country.
thxs
--
Best regards,
adwin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://
Capture the variables you've sent to the main frame page and send them via
the url of the frames.
Hope that helps.
- Original Message -
From: "gowthaman ramasamy" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, May 14, 2004 2:24 AM
Subject: [PHP] variable passing using URL
You could get yourself the mySQL ODBC driver and 'Get External Data'
in Excel ...
Richard
-Original Message-
From: CurlyBraces Technologies ( Pvt ) Ltd
Sent: Friday, May 14, 2004, 7:18:17 AM
> hi ,
> i want to export data in mysql to excel . but problem is mysql runs in the linux
> mac
101 - 135 of 135 matches
Mail list logo