Wrox Programmer Forums
| 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 software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Showing results 1 to 25 of 500
Search took 0.08 seconds.
Search: Posts Made By: nikolai
Forum: Excel VBA May 24th, 2012, 05:52 PM
Replies: 1
Views: 844
Posted By nikolai
Determine range of values?

Hi all,

Sorry for the n00b post. I have searched around for the answer to this and couldn't find what I was looking for.

In Excel 2007 & 2010, you can click the "Format as Table" button on the...
Forum: Excel VBA November 18th, 2011, 06:26 PM
Replies: 1
Views: 960
Posted By nikolai
Source Code Management

Hi,

I've been away from p2p for many years, but thought of this community first now that I'm looking at a new kind of programming.

I'd like to start prototyping some Excel-based applications,...
Forum: XSLT February 3rd, 2011, 04:46 PM
Replies: 5
Views: 6,608
Posted By nikolai
Select nodes whose attribute matches another node's attribute?

Hi all,

I'm stumped. I've read through tutorials, examples, forums, and I can't find an answer to my problem. I'm trying to figure out how select a subset of nodes to transform by limiting the...
Forum: PHP Databases December 7th, 2007, 05:46 PM
Replies: 4
Views: 2,062
Posted By nikolai
Hi HollyAnn, It seems that you have two...

Hi HollyAnn,

It seems that you have two "pages" of code to handle this... I can't tell from your post whether or not both "pages" are generated from program.php. If so, the user's web browser...
Forum: Pro PHP June 20th, 2005, 04:29 PM
Replies: 2
Views: 1,850
Posted By nikolai
Well, you *can* do this in PHP, but it would...

Well, you *can* do this in PHP, but it would require a LOT of traffic between client and server. It's probably better to do this all in JavaScript, since clicking on a [+] or [-] won't result in a...
Forum: PHP How-To May 29th, 2005, 04:59 PM
Replies: 5
Views: 3,023
Posted By nikolai
Yes, it's important you understand WHY Anshul's...

Yes, it's important you understand WHY Anshul's script works. In your version, each file you uploaded was being stored in a variable called "userfile". You kept overwriting the value of this...
Forum: PHP How-To May 29th, 2005, 04:56 PM
Replies: 10
Views: 1,864
Posted By nikolai
This seems wrong to me. You can't output an HTTP...

This seems wrong to me. You can't output an HTTP header once you've already started outputting HTML text.

In your code, you have:



If you're going to output an image, you need to have an...
Forum: PHP How-To May 29th, 2005, 04:46 PM
Replies: 1
Views: 2,017
Posted By nikolai
What version of PHP are you using?

What version of PHP are you using?
Forum: PHP How-To May 29th, 2005, 04:42 PM
Replies: 3
Views: 1,712
Posted By nikolai
What you want to do is isolate ALL of your text...

What you want to do is isolate ALL of your text into a separate page. Each message that can be output to the user is defined as a variable. Each language should define all the same variables, but...
Forum: PHP How-To May 29th, 2005, 04:34 PM
Replies: 3
Views: 1,085
Posted By nikolai
You don't need to use the javascript in the above...

You don't need to use the javascript in the above post. Just make sure that each form has the correct target page specified, and that each form has a valid submit button.

If you haven't gotten it...
Forum: PHP How-To May 29th, 2005, 04:30 PM
Replies: 2
Views: 1,051
Posted By nikolai
What I think you're really asking is: What is...

What I think you're really asking is: What is the best way to handle users and permissions?

This is a difficult issue to tackle, because the more flexible you want to make your permissions...
Forum: PHP How-To May 29th, 2005, 04:20 PM
Replies: 1
Views: 3,489
Posted By nikolai
Make sure that you don't have any extra...

Make sure that you don't have any extra whitespace in file.php. The PHP include functions (include, include_once, require, and require_once) all put the PHP parser back into text/html mode, not PHP...
Forum: Pro PHP May 29th, 2005, 03:56 PM
Replies: 2
CMS
Views: 1,323
Posted By nikolai
Considering how complicated most CMS systems are...

Considering how complicated most CMS systems are these days, I suggest you play with a few and pick the one you like the best. Writing your own from scratch is going to be much harder than you can...
Forum: Beginning PHP March 1st, 2005, 07:49 PM
Replies: 1
Views: 980
Posted By nikolai
No, but it should be pretty easy to write one...

No, but it should be pretty easy to write one using the XML parser routines. The PHP documentation for xml_parse_into_struct suggests that it doesn't create a nested (aka multidimensional) array...
Forum: Pro PHP January 20th, 2005, 06:02 PM
Replies: 2
Views: 4,864
Posted By nikolai
It seems that the webserver/PHP user does not...

It seems that the webserver/PHP user does not have access on your filesystem to change the file attributes. You'll need to modify the permissions of your directory to allow the webserver user to...
Forum: PHP Databases January 20th, 2005, 05:55 PM
Replies: 2
Views: 5,094
Posted By nikolai
What is the data type of your MySQL column? If...

What is the data type of your MySQL column? If it's the DATETIME type, there are LOTS of mysql functions you can use in your SQL query to format the date however you want.

If it's an integer,...
Forum: Beginning PHP January 20th, 2005, 05:47 PM
Replies: 3
Views: 1,405
Posted By nikolai
Lots of old posts about this topic. Check out...

Lots of old posts about this topic. Check out the old FAQ from a few years ago on this.
http://p2p.wrox.com/archive/beginning_php/2002-11/17.asp


Take care,

Nik
http://www.bigaction.org/
Forum: Beginning PHP January 20th, 2005, 05:46 PM
Replies: 3
Views: 1,178
Posted By nikolai
Also, keep in mind that I haven't tested the...

Also, keep in mind that I haven't tested the above code -- I just typed it all into the msg window. It's your responsibility to verify that it works, if you need it to.


Take care,

Nik...
Forum: Beginning PHP January 20th, 2005, 05:45 PM
Replies: 3
Views: 1,178
Posted By nikolai
I have a couple things to add. For increased...

I have a couple things to add. For increased efficiency, you should move the strlen() call to outside of the loop. The way you've written it, strlen() gets called each iteration of the loop, even...
Forum: Pro PHP October 20th, 2004, 12:24 PM
Replies: 2
Views: 3,319
Posted By nikolai
Have you tried playing with the cURL extension? ...

Have you tried playing with the cURL extension? It makes posting data via http/https pretty easy.
http://www.php.net/curl


Take care,

Nik
http://www.bigaction.org/
Forum: Pro PHP October 20th, 2004, 12:21 PM
Replies: 5
Views: 1,896
Posted By nikolai
There's a pretty big debate about whether it's...

There's a pretty big debate about whether it's better to store the raw image data vs. a filename in the database. Personally, I prefer to store the path in the database, since it's generally the...
Forum: Pro PHP October 20th, 2004, 12:13 PM
Replies: 3
Views: 3,579
Posted By nikolai
Make sure your extension_dir is set properly. If...

Make sure your extension_dir is set properly. If all else fails, you can either add PHP's extension dir to your system path, or copy/move the extension dll to a directory in the system path (e.g....
Forum: Pro PHP October 20th, 2004, 12:10 PM
Replies: 6
Views: 1,599
Posted By nikolai
There's a problem with your regex replacement,...

There's a problem with your regex replacement, Moharo. Check your own example: "index.php" gets matched as \2, so your replacement shows up as:

"http://www.mysite.comindex.php"

There are a...
Forum: Pro PHP October 20th, 2004, 11:11 AM
Replies: 2
Views: 2,587
Posted By nikolai
You might need to actually exec a program that...

You might need to actually exec a program that launches your compilation in the background.

Shell_exec is actually no help to you because shell_exec waits for the ENTIRE program output, so you're...
Forum: Pro PHP October 20th, 2004, 11:07 AM
Replies: 2
Views: 963
Posted By nikolai
Clarification: PHP has a PDF-generation API in...

Clarification: PHP has a PDF-generation API in the PDF extension. This extension makes use of an external library: PDFLib. This library can be downloaded from PHP.net. For windows, the PDFLib...
Showing results 1 to 25 of 500

 




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