Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Search Forums
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Welcome to the p2p.wrox.com Forums.

You are currently viewing the section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Showing results 1 to 25 of 44
Search took 0.01 seconds.
Search: Posts Made By: colin.horne
Forum: Moderated Pro PHP February 19th, 2006, 09:35 PM
Replies: 3
Views: 3,824
Posted By colin.horne
Good question! If you are not an experienced...

Good question!

If you are not an experienced programmer, the best answer I can give you is Google. Before configuring your software, you should Google for help, and find the official...
Forum: Moderated Pro PHP November 10th, 2005, 01:30 AM
Replies: 1
Views: 2,469
Posted By colin.horne
Hi CLI PHP and Apache's PHP are different....

Hi

CLI PHP and Apache's PHP are different. Apache uses mod_php, while your CLI scripts are getting executed with /usr/bin/php, probably.

They _can_ (and quite often do) use different php.ini...
Forum: Moderated Pro PHP August 26th, 2005, 07:25 AM
Replies: 6
Views: 9,782
Posted By colin.horne
Hello Please can you check that MySQL is...

Hello

Please can you check that MySQL is running on localhost, and that it's accepting connections to the correct port.

Thank you

--
Please contact me at:
Colin (dot) Horne (at) gmail...
Forum: Moderated Pro PHP May 21st, 2005, 02:18 AM
Replies: 4
Views: 2,120
Posted By colin.horne
Not quite sure if I understand what you want. ...

Not quite sure if I understand what you want.

You want to make it so people can download - and save - the full contents of your web page in one go, images and all?

If so, then that's not really...
Forum: Moderated Pro PHP May 21st, 2005, 01:15 AM
Replies: 4
Views: 2,120
Posted By colin.horne
Take a look at the php header() function. ...

Take a look at the php header() function.

What you're looking for is:

header("Content-type: image/png");

Options are: image/png, image/giff, image/jpeg

(You might want to check all this -...
Forum: Moderated Pro PHP May 3rd, 2005, 05:20 PM
Replies: 7
Views: 8,375
Posted By colin.horne
Hey From the screenshot: nice interface....

Hey

From the screenshot: nice interface. Unfortunately I can't actually run it though (I only use linux, and I don't have access to any windows machines that I can install it on).

Is it open...
Forum: Moderated Pro PHP April 18th, 2005, 09:40 PM
Replies: 3
Views: 3,824
Posted By colin.horne
Security in E-Commerce Sites

Hi

I'm just in the middle of developing an e-commerce site, and thought it might be an idea to post a topic on the security issues that came up while coding the site - as well as security issues...
Forum: Moderated Pro PHP March 12th, 2005, 09:21 PM
Replies: 4
Views: 1,424
Posted By colin.horne
Hi Richard > I've seen some benchmarking...

Hi Richard

> I've seen some benchmarking that indicates recursive functions
> can really slow down a script, in my own experience whenever
> I've needed one however, it hasn't been noticable.
...
Forum: Moderated Pro PHP March 10th, 2005, 06:32 PM
Replies: 4
Views: 1,424
Posted By colin.horne
Please elaberate a bit (I'm unsure what you're...

Please elaberate a bit (I'm unsure what you're wanting).

In the mean time, you may wish to read this: http://uk.php.net/manual/en/function.call-user-func.php

--
Please contact me at:
Colin...
Forum: Linux February 22nd, 2005, 12:46 AM
Replies: 1
Views: 2,282
Posted By colin.horne
Run this command, and paste the results please: ...

Run this command, and paste the results please:

locate libstdc++.so

Cheers
--Colin Horne

--
Please contact me at:
Colin (dot) Horne (at) gmail (dot) com
Forum: PHP Databases February 10th, 2005, 12:05 AM
Replies: 1
Views: 1,229
Posted By colin.horne
Read:...

Read: http://dev.mysql.com/doc/mysql/en/encryption-functions.html

Quotes:

"PASSWORD() encryption is one-way (not reversible)."

"The PASSWORD() function is used by the authentication system...
Forum: Moderated Pro PHP February 7th, 2005, 10:02 AM
Replies: 0
Views: 1,576
Posted By colin.horne
A note on Security

Recently I've had several people coming to me claiming that their scripts have been 'hacked'. Looking at their source code, and their permissions, I've not been surprised.


Connecting to MySQL...
Forum: MySQL February 6th, 2005, 07:05 PM
Replies: 1
Views: 771
Posted By colin.horne
Please can you paste line 6, to check that you...

Please can you paste line 6, to check that you are querying the database properly.

You should never ever ever try to connect to MySQL as root from a script (unless you absolutely have to - for...
Forum: MySQL February 6th, 2005, 07:00 PM
Replies: 1
Views: 1,033
Posted By colin.horne
You should read up on MySQL fulltext searching. ...

You should read up on MySQL fulltext searching.

Look at this:
http://dev.mysql.com/doc/mysql/en/fulltext-search.html

Cheers

--
Please contact me at:
Colin (dot) Horne (at) gmail (dot) com
Forum: Pro PHP February 6th, 2005, 06:53 PM
Replies: 4
Views: 784
Posted By colin.horne
I'm not sure if I know what you mean. If you...

I'm not sure if I know what you mean. If you mean, can we get php to play music on the clients browser, the answer is a definite "no".

PHP is server sided, so all we can do from the server is let...
Forum: Moderated Pro PHP January 28th, 2005, 11:57 PM
Replies: 7
Views: 8,375
Posted By colin.horne
The author of the page mentioned above has kindly...

The author of the page mentioned above has kindly tried to answer some of the questions I suggested here.

http://act365.com/sudoku/faq.htm#FAQ14

I'm still slightly reluctant to agree to the...
Forum: Linux January 11th, 2005, 05:23 PM
Replies: 7
Views: 10,929
Posted By colin.horne
Hi all Got an email from someone else with...

Hi all

Got an email from someone else with this problem, so thought I'd post it here:

>Okay: I am running Linux Red hat verion w3 on a workstation. I do
>simulations on the same. I was trying...
Forum: Moderated Pro PHP January 8th, 2005, 02:04 PM
Replies: 7
Views: 8,375
Posted By colin.horne
Su Doku

Hi all

I couldn't help but notice how many members of my family were puzzling over su doku challenges in the Newspapers around Christmas time (is Christmas really that boring that people resort to...
Forum: Linux January 5th, 2005, 06:05 AM
Replies: 6
Views: 1,546
Posted By colin.horne
Hi Quick edit to Richard.Yorks last post: ...

Hi

Quick edit to Richard.Yorks last post:

Manual entries are retrieved with "man <command>" instead of "<command> man".

Also you can get a small help and command usage entry on most commands...
Forum: Linux January 5th, 2005, 05:52 AM
Replies: 7
Views: 10,929
Posted By colin.horne
Hi Try using VNC client/server for a...

Hi

Try using VNC client/server for a graphical connection, and ssh to use bash.

Cheers

--
Please contact me at:
Colin (dot) Horne (at) gmail (dot) com
Forum: Pro PHP January 4th, 2005, 07:15 PM
Replies: 4
Views: 2,043
Posted By colin.horne
Another use for it is in sessions. I made a...

Another use for it is in sessions.

I made a session class that passed the session ID (SID) from page to page without the need for cookies and without the need to append the SID to the end of every...
Forum: PHP How-To December 28th, 2004, 10:21 AM
Replies: 4
Views: 3,871
Posted By colin.horne
Hi Didn't exactly understand your...

Hi

Didn't exactly understand your description, but if you have a php script which is displaying images, normally something like this is good:

<img src="images.php?id=5">

And then in...
Forum: Pro PHP December 25th, 2004, 11:04 AM
Replies: 5
Views: 747
Posted By colin.horne
I think Snib is suggesting using using the .txt...

I think Snib is suggesting using using the .txt file as a counter (the file that stores the number of hits a file has got).

Eg: To store the number of times someone plays snowball.ram, make a file...
Forum: Pro PHP December 20th, 2004, 04:26 PM
Replies: 7
Views: 8,919
Posted By colin.horne
Hi Don't quote me on this, but I think this...

Hi

Don't quote me on this, but I think this is apache preventing large files from being uploaded.

I don't have time to look into it just now, but look in php.ini and/or httpd.conf to see if you...
Forum: Pro PHP December 20th, 2004, 09:03 AM
Replies: 12
Views: 1,750
Posted By colin.horne
Anshul: Never never never never never never...

Anshul:

Never never never never never never never never write files like that in the root folder!!

When you FTP in, you're probably chrooted to your home folder (eg: /home/anshul), which means...
Showing results 1 to 25 of 44

 


All times are GMT -4. The time now is 10:47 AM.


Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.