The main perk to using switch over if
statements is speed
speed of development and ease of reading. Otherwise, it all ends up
the same under the bonnet afaik
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I want to read the content from a socket that is sending XML.
IIRC, you just read in a loop while there's still stuff to read.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
curl_setopt($Curl, CURLOPT_SSLCERT, "/tmp/cert.pem");
Never used it, but possibly...
curl_setopt($Curl, CURLOPT_SSLCERT,
"/some/php/file/to/echo/cert/from/db.php");
just a thought :)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
tabs though, but I'm not certain the way I do it can take
care of that.
If anyone can tell me how to go about this, it would be greatly
appreciated...
Cheers!
Olafo
--
/'''''''''''''''''''&
each of the terminals could then use a web based POS interface but
there was only a
single cash drawer.
It would also be possible to have each 'till' running a copy of apache
server, and communicating with a central database server. I can't for
the life of me think of any way the client cou
I'm interested in the possibility of connecting a computer running A
PHP server to a till drawer and have the server able to open the
drawer. Anyone know how this would work?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
The ? And : are a shortcut for ifelse, that could also be written
If (isset($_GET['page'])
{
$page = $_GET['page'];
}
else
{
$page = null;
}
The shortcut is a lot quicker to write (if you understand it) but not as
readable.
isset just returns true if a variable has been set, false if not :)
h
I've been using www.wehostwebpages.com for about 4 years, been good to me :)
Can anyone recommend a fair priced, reliable hosting company that would best
meet my needs as follows:
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Allow them to browse the server (up to a limited level), saving the
current selected path within the $_GET string.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I would imagine it would be significantly faster, and you must be
doing some processing to extract the email body.
I'll run some tests (when I can be bothered!) and post the results ;)
Not sure exactly how accurate they'll be though, cos the IMAP routines
won't let you retrieve just the whole me
Than what? The imap extension is faster and has parsing functionality
built in.
True, but the parsing is to be done at a completely different time, and
then imap extension can't be >that< much faster, when you consider that
my method is doing very little processing, and basically getting the
me
>> Oh and cheers for the info someone gave me the other day, it inspired
>> me to just connect to the pop3 server using a raw socket, SO much
easier!!!
>share the code please, I'm interested :)
Ok... It's a bit rough and ready, never expected anyone else to want to look
at this (at least not
h and cheers for the info someone gave me the other day, it inspired me to
just connect to the pop3 server using a raw socket, SO much easier!!!
Cheers
Oli
or storage. Anyone got any suggestions for this?
Oli
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Use javascript and pass to php:
var SCRwidth = window.screen.width;
var SCRheight = window.screen.height;
Regards,
Oli
"Thijs Lensselink" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> This is done by JavaScript or some other client side p
Nobe, the image.php script starts with wrote in message
news:[EMAIL PROTECTED]
> "Oli" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
> > I have a function that resizes images. If I put it in the same php file
> that
> > calles it it workes fin
header information - headers already sent by (output
started at /home/edal/public_html/album/image.php
Here is the resize function (in file image.php):
and the calling script:
Any ideas?
Oli
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
17 matches
Mail list logo