Quantcast
Channel: PHP Website Development » OTOH
Browsing latest articles
Browse All 5 View Live

How to serve multipart/related content in PHP?

Say, I have an application/xhtml+xml content and a gif image. How can I serve (not render) these two in a single http get request (using PHP)? It should be a multipart/related content. After reading...

View Article


PHP & MySQL Tickers..Is this standard practice?

I currently have about 4 different database tables which output to html tables. Each of these tables uses a count query to calculate data from a 5th table.That’s no problem, but what about when I want...

View Article


PHP htmlentities

When I use htmlentities() function in my PHP projects, should I always use it with a flag so it is compatible with other language characters?$my_variable = $some_data;$output_variable =...

View Article

Flat file vs database – speed?

I’m making a chat program, and I need a place to store messages. The client would contact the server every x seconds with the last received message id, and the server would find all messages with a id...

View Article

How can I store and retrieve images from a MySQL database us

How can I insert an image in MySQL and then retrieve it using PHP?I have limited experience in either area, and I could use a little code to get me started in figuring this out.………………………………………. See...

View Article

Browsing latest articles
Browse All 5 View Live