[PHP] OT - representing data

2002-03-29 Thread Alastair Battrick
26000. TIA Alastair Battrick Senior Developer Lightwood Consultancy Ltd http://www.lightwood.net -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] fsockopen

2002-03-26 Thread Alastair Battrick
Is $tempPort set ? Alastair Battrick Senior Developer Lightwood Consultancy Ltd http://www.lightwood.net -Original Message- From: Christoph Starkmann [mailto:[EMAIL PROTECTED]] Sent: 26 March 2002 12:40 To: '[EMAIL PROTECTED]' Subject: [PHP] fsockopen Hi! I'm trying to check

RE: [PHP] fsockopen

2002-03-26 Thread Alastair Battrick
There are a few things that it could be. Change the ereg_replace to str_replace Try adding Host: $server_name on the line after the GET: fputs ($fp, GET / HTTP/1.0\r\nHost: $server_name\r\n\r\n); iirc, if the server uses virtual hosts, the GET won't work properly without it. If that's not

RE: [PHP] sessions

2002-03-20 Thread Alastair Battrick
There must be some whitespace in the script before the opening ?php Lose that and the error should go with it. Alastair Battrick Senior Developer Lightwood Consultancy Ltd http://www.lightwood.net I am kind of confused by an error I am getting when trying to destroy a session. Here

RE: [PHP] Re: Can't display PNG images

2002-03-12 Thread Alastair Battrick
, and if you give this to us it would help. Alastair Battrick Senior Developer Lightwood Consultancy Ltd http://www.lightwood.net -Original Message- From: Jordan S. Jones [mailto:[EMAIL PROTECTED]] Sent: 12 March 2002 11:29 To: [EMAIL PROTECTED] Subject: [PHP] Re: Can't display PNG images

RE: [PHP] number_format

2002-03-08 Thread Alastair Battrick
why not multiply the number by 1000 and then use str_pad($in,6,0,STR_PAD_LEFT) Alastair Battrick Senior Developer Lightwood Consultancy Ltd http://www.lightwood.net -Original Message- From: Scott St. John [mailto:[EMAIL PROTECTED]] Sent: 08 March 2002 17:02 To: [EMAIL PROTECTED

RE: [PHP] mktime() into TIMESTAMP ?

2002-03-04 Thread Alastair Battrick
have to do this. In the end, I guess it depends if you want to do the formatting of the date field when you're inserting the data (use TIMESTAMP) or when you're pulling it out (use INT). Alastair Battrick Lightwood Consultancy Ltd http://www.lightwood.net -Original Message- From: Erik

RE: [PHP] get_browser();

2002-02-18 Thread Alastair Battrick
Have you got the browscap.ini file installed properly ? and have you got a up to date version of browscap.ini ? and What is reported by IE visitng the script ? Alastair -Original Message- From: Chris Boget [mailto:[EMAIL PROTECTED]] Sent: 18 February 2002 17:48 To: [EMAIL

RE: [PHP] how a function 'return' statement works

2002-02-14 Thread Alastair Battrick
Do you not have to make $_SERVER a global variable in the function ? Alastair Lightwood Consultancy Ltd Hm... I tried quite a few variations on this. I can't seem to get any displayable value out of this function. function get_current_page_name() { $current_page_name = explode(/,

RE: [PHP] Cheap, PHP, mySQL hosting!

2002-02-13 Thread Alastair Battrick
Lookin for about 50 Megs with php4, mySQL and the works. Any economical hosts?? You could try: http://www.datasnke.co.uk And I am biased... Alastair Lightwood Consultancy Ltd -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php