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 32
Search took 0.01 seconds.
Search: Posts Made By: cmiller
Forum: PHP How-To November 17th, 2004, 07:58 PM
Replies: 1
Views: 2,116
Posted By cmiller
IP Address Regular Expression

OK, I have this wonderful regular expression that replaces IP addresses in a variable. The catch is that I want to replace the IP address with the same IP address, just with a link around it that...
Forum: PHP How-To July 12th, 2004, 02:47 PM
Replies: 1
Views: 1,531
Posted By cmiller
PGP (GPG) / PHP Help! URGENT!!!!!!!!

Hello,

I am in need of someone who know GPG and PHP fairly strongly. I have a PHP script on a unix box that needs to send out a PGP encrypted e-mail from post variables. However while GPG works...
Forum: Beginning PHP June 20th, 2004, 05:39 PM
Replies: 1
Views: 656
Posted By cmiller
Basic Search / While Loop help.

Ok, I'm a moron.. for as much as I know about PHP I'm still stumped as to while loops. I need to write a basic database search script. The script works fine if your only searching for 1 word, but...
Forum: Classic ASP Basics May 21st, 2004, 03:18 PM
Replies: 1
Views: 857
Posted By cmiller
Request("var") issue

Hello,

My issue is that I am trying to pass a Query String to an ASP script that then searches for that variable in an SQL database. The script works fine until I subject it to my lack of ASP...
Forum: PHP Databases April 5th, 2004, 05:15 PM
Replies: 3
Views: 1,294
Posted By cmiller
Ok, that works... So putting single quotes...

Ok, that works... So putting single quotes around the items in the IN clause gets a result, however that variable is being generated from an implode from an array, so I don't have a lot of control...
Forum: PHP Databases April 2nd, 2004, 03:41 PM
Replies: 3
Views: 1,294
Posted By cmiller
Weird MySQL error

Ok, what am I doing wrong here:

SELECT * FROM ocs_tracker WHERE date > '1080892800' AND date < '1080979199' AND user in (cmiller,dharrington,jmockabee) ORDER BY idnum ASC

results in this error:...
Forum: Beginning PHP December 29th, 2003, 11:47 AM
Replies: 9
Views: 29,625
Posted By cmiller
Tanya, Most of this is probably getting mad...

Tanya,

Most of this is probably getting mad at you from the part that says headers already sent. So I'll explain what that is.

PHP has a built in function for sending out HTML headers...
Forum: Beginning PHP December 16th, 2003, 01:42 AM
Replies: 9
Views: 1,963
Posted By cmiller
the first suggestion is: ...

the first suggestion is:

http://www.phpmyadmin.net/home_page/

Go get this program...

I don't recall the actual command to do the manual install because I always use this program.. Great for...
Forum: Beginning PHP December 16th, 2003, 01:39 AM
Replies: 1
Views: 1,910
Posted By cmiller
Query String not working!!!!!!!

Ok, I feel like a dolt. I have a script that calls heavily on query string variables, but the query string isn't working. Do I need to turn something on in PHP ini for them to work?

For...
Forum: PHP How-To October 29th, 2003, 05:49 PM
Replies: 1
Views: 1,559
Posted By cmiller
Environment Variables

I think I've asked this before, but I'm having problems with environment variables. It's Win2K Server, PHP 4.3.??, IIS (not Apache). Every time I try and pull $DOCUMENT_ROOT, I get an "Undefined...
Forum: Beginning PHP October 21st, 2003, 11:06 PM
Replies: 3
Views: 12,044
Posted By cmiller
I am assuming you have access to the server...

I am assuming you have access to the server controls, i.e. admin access? It sounds like you haven't configured IIS to function properly with the PHP API. If you are using Win 2k, here's how to set...
Forum: HTML Code Clinic October 16th, 2003, 12:28 AM
Replies: 7
Views: 151,561
Posted By cmiller
Pop-Up Close / Refresh Parent

Ok, here's a fun one. This question is really two fold.

#1, I have a pop-up submit window. I want to user to fill out that form and hit the submit button. When they hit that submit button, it...
Forum: Classic ASP Professional October 9th, 2003, 03:55 PM
Replies: 1
Views: 5,951
Posted By cmiller
Array Count (Fairly Simple)

Ok, this should be fairly simple... I have an array that contains the following:

114,151,157,151,10,12,14,151,157,10

What I want to do is this: I need to count how many instances of each...
Forum: PHP How-To October 6th, 2003, 02:02 PM
Replies: 16
Views: 15,126
Posted By cmiller
Well this will force the NOCACHE on this page,...

Well this will force the NOCACHE on this page, but you still get the same issue as turning cache off. But this may help since it's only on one page.

<HTTP-EQUIV="PRAGMA" CONTENT="NO-CACHE">
...
Forum: PHP How-To October 6th, 2003, 02:00 PM
Replies: 7
Views: 2,640
Posted By cmiller
FYI, you may also have the mail being sent as...

FYI, you may also have the mail being sent as HTML in which case, /n's and /r's won't do a damn thing. Try appending a <P> or <BR> tag to the end of those lines and see if it helps.

Also, if your...
Forum: PHP How-To October 6th, 2003, 01:56 PM
Replies: 1
Views: 1,195
Posted By cmiller
Rounding Question

I need a function that works with rounding. Actually it just has to do with decimal places rather than rounding. I know the rounding function works for turning something that is 5 decimal places...
Forum: Beginning PHP September 2nd, 2003, 05:18 PM
Replies: 1
Views: 1,437
Posted By cmiller
Cannot add header information....

Ok, here's another one to test your noodle. Here's the error.

Warning: Cannot add header information - headers already sent by (output started at...
Forum: Beginning PHP September 2nd, 2003, 02:21 PM
Replies: 2
Views: 2,098
Posted By cmiller
UPDATE*** Ok, here's what I figured out is...

UPDATE***

Ok, here's what I figured out is happening in PHPMyADMIN. It is converting &lt; into &amp;lt; I guess I should just run a convert on & into &amp; huh? Does this sound right?


----------...
Forum: Beginning PHP September 2nd, 2003, 02:09 PM
Replies: 2
Views: 2,098
Posted By cmiller
Editing MySQL data from a PHP form

Ok, here's a strange one. I have some HTML code in a database. A lot of which is things like &gt; or &lt;. They are code samples for scripts I use. Here's the issue:

When I am using PHPMyADMIN and I...
Forum: Beginning PHP August 27th, 2003, 05:09 PM
Replies: 4
Views: 20,597
Posted By cmiller
Thanks for the info Nik. #1, I didn't mean...

Thanks for the info Nik.

#1, I didn't mean the whole result thing as a "what I get back from the mysql command", I just mean that the database would now have this as a "result". Wasn't trying...
Forum: Beginning PHP August 27th, 2003, 04:23 PM
Replies: 4
Views: 20,597
Posted By cmiller
Manual Increment MySQL Field

I'm trying to put a counter field into numerous MySQL tables in order to track clicks/views and other things. I want to try and make the update as easy as possible. Will this query do the trick? ...
Forum: Beginning PHP August 25th, 2003, 04:06 PM
Replies: 4
Views: 1,908
Posted By cmiller
Ok, now this is weird. Thanks for the tip...

Ok, now this is weird.

Thanks for the tip Rick! I tossed in the mysql_error checking stuff and that was returning an error, however it was just "error in SQL query near '' on line xxx" So that...
Forum: Beginning PHP August 25th, 2003, 03:39 PM
Replies: 4
Views: 1,908
Posted By cmiller
MySQL Query Problem

Ok, I think my eyes are just too tired from staring at code too long, can someone look at this and tell me what the heck is wrong. I for the life of me can't figure it out...

...
Forum: Beginning PHP August 22nd, 2003, 02:23 PM
Replies: 5
Views: 3,000
Posted By cmiller
I am actually running PHP 4.0.6 on a Linux...

I am actually running PHP 4.0.6 on a Linux machine. I am running such an old version purely because of a compatibility conflict with a program we purchased to assist us in billing clients. It seems...
Forum: Beginning PHP August 21st, 2003, 10:32 PM
Replies: 5
Views: 3,000
Posted By cmiller
Random MySQL Query

Can anyone tell me why this doesn't work?

SELECT name, idnum, icon, shortdesc, show FROM portfolio WHERE show = '1' ORDER BY RAND() LIMIT 1

This always returns the same item as long as the...
Showing results 1 to 25 of 32

 


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


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