Search found 16 matches

by mfbrowne
Tue May 30, 2006 8:22 am
Forum: PHP - Code
Topic: Need help with sockets
Replies: 4
Views: 1214

Well it seems I can't get any response from the server I am trying to make a socket connection with. I have tried the above suggestion and it still does not work.

Can anyone help me in this.

Thanks

Mike
by mfbrowne
Thu May 25, 2006 7:56 am
Forum: PHP - Code
Topic: Need help with sockets
Replies: 4
Views: 1214

Ok, I will try this suggestion. The server is using TCP/IP protocol. Am I right in that if I issue the socket read(), if there is nothing to be read then it would return with "" in the return variable. Is there any way to determine how many bytes are in the socket buffer before issuing a r...
by mfbrowne
Wed May 24, 2006 11:18 am
Forum: PHP - Code
Topic: Need help with sockets
Replies: 4
Views: 1214

Just wondering if anyone can assist me in this problem.

Thanks
by mfbrowne
Tue May 23, 2006 11:11 am
Forum: PHP - Code
Topic: Need help with sockets
Replies: 4
Views: 1214

Need help with sockets

Hello, I am having a problem with sockets and would like some advice on what I may be doing wrong. I have the following small test function, which I found in one of the examples and I have modified it to perform my testing. The problem I am facing is that it appears the socket is being opened and co...
by mfbrowne
Mon May 15, 2006 9:54 pm
Forum: PHP - Code
Topic: Help with strtotime()
Replies: 1
Views: 619

You may all ignore this post as I was just being really stupid.

Thanks
by mfbrowne
Mon May 15, 2006 8:45 pm
Forum: PHP - Code
Topic: Help with strtotime()
Replies: 1
Views: 619

Help with strtotime()

Could someone help me with this: If I use the following ; strtotime( '9:00 pm') ; I get a converted date/time of 9:00 am If I use the following ; strtotime( '21:00') ; Then I get the proper converted date/time. I am confused as to how I would get the proper date/time for example 1 above. Thanks
by mfbrowne
Thu May 04, 2006 8:45 pm
Forum: PHP - Code
Topic: Need Help with error message
Replies: 4
Views: 361

Well I have processed a form with a couple of entries on it, is that considered sending to the browser. If so how do I transfer to another web page after collecting data. Seems this part is escaping my understanding for some reason. Also, you say I should change the code to what you have indicated, ...
by mfbrowne
Thu May 04, 2006 6:55 pm
Forum: PHP - Code
Topic: Need Help with error message
Replies: 4
Views: 361

Need Help with error message

Well it seems I am stuck again. Once I get a valid piece of information from the form I built I then try and go to my next page using the following code <? header('Location:http://localhost/test2.php); ?> and I get the following message. Warning: Cannot modify header information - headers already se...
by mfbrowne
Wed May 03, 2006 9:31 pm
Forum: PHP - Code
Topic: Help with variable
Replies: 8
Views: 467

Thanks for the reply, I appreciate it.

Sorry about the tags I didn't realize I had to put them in. I have now read the information and will follow the proper format.

So is there any way to have a statement within the PHP to make sure the cache is cleared all the time.

Thanks

Mike
by mfbrowne
Wed May 03, 2006 8:59 pm
Forum: PHP - Code
Topic: Help with variable
Replies: 8
Views: 467

feyd | Please use , and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color] Wel I am ...
by mfbrowne
Wed May 03, 2006 4:17 pm
Forum: PHP - Code
Topic: Help with variable
Replies: 8
Views: 467

feyd | Please use , and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color] I am tryi...
by mfbrowne
Wed May 03, 2006 12:24 pm
Forum: PHP - Code
Topic: Help with variable
Replies: 8
Views: 467

Oh, I see. Well it now works. Thanks for the quick information, I appreciate it.
by mfbrowne
Wed May 03, 2006 12:06 pm
Forum: PHP - Code
Topic: Help with variable
Replies: 8
Views: 467

Help with variable

feyd | Please use , and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color] Being a n...
by mfbrowne
Tue May 02, 2006 4:32 pm
Forum: PHP - Code
Topic: New to php and need some help
Replies: 5
Views: 830

Ok I figured it out, it was just me being rather dumb. Thanks for the help.
by mfbrowne
Tue May 02, 2006 4:16 pm
Forum: PHP - Code
Topic: New to php and need some help
Replies: 5
Views: 830

Well it seems that I can't get this to work in either format. Is there something I should look for that would help me determine why it does not work.