php-general Digest 15 Aug 2008 12:33:46 - Issue 5625
Topics (messages 278105 through 278124):
Re: parsing form with a website question...
278105 by: bruce
278106 by: tedd
278108 by: Chris
278109 by: Robert Cummings
Re: Passing variable to a page in a
array_splice($a, 1, 1);
This will remove the second element, and reset the keys.
Simcha Younger
-Original Message-
From: Don [mailto:[EMAIL PROTECTED]
Sent: Friday, August 15, 2008 4:30 AM
To: php-general@lists.php.net
Subject: [PHP] Removing an element from the middle of an
On Thu, Aug 14, 2008 at 07:32:13PM -0400, Eric Butera wrote:
What sort of plugins do you use with vim? For a while I was
interested with it after seeing some presentations on it. I never
could figure out how to get it to do code completion based on methods
of a class, it sort of jumbled all
Hi,
I would like to import content of an XLS sheet into a PostgreSQL DB (table).
How can i do that ?
thanks a lot,
A.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Fri, Aug 15, 2008 at 10:29:40AM +0200, Alain R. wrote:
Hi,
I would like to import content of an XLS sheet into a PostgreSQL DB (table).
How can i do that ?
Your question is not php related ;-)
Maybe, export the sheet as comma separated csv file and import it to postgresql.
Happy coding
On Aug 15, 2008, at 4:29 AM, Alain R. wrote:
Hi,
I would like to import content of an XLS sheet into a PostgreSQL DB
(table).
How can i do that ?
thanks a lot,
A.
Alain,
I haven't done it with PostgreSQL... But assuming it's not far from
MySQL just save the excel file as a csv, or a
I apologize for my ignorance, I don't really know much about
javascript. When I add all that into my form page, when I submit the
form, it just replaces the page I was on with the form results, rather
than in the new frame page. I'm assuming I need to put the url for the
frameset page in
If the network resource is the only location where these files exist, what
do you suggest I do?
Use PHP to first copy() the file from the server to a temp directory on my
web server and then open the document from the temp dir?
On 8/14/08, Boyd, Todd M. [EMAIL PROTECTED] wrote:
-Original
Okay, I'm perplexed!
If I put the exact same value into a javascript function and open a window
the document comes up perfectly fine.
But, when trying to readfile() copy() or fopen() in PHP I get the failed to
open stream: error.
Any idea why the exact same link would open fine using a HTML
On 15 Aug 2008, at 14:07, Dan Shirah wrote:
Okay, I'm perplexed!
If I put the exact same value into a javascript function and open a
window
the document comes up perfectly fine.
But, when trying to readfile() copy() or fopen() in PHP I get the
failed to
open stream: error.
Any idea why
On 8/15/08, Dan Shirah [EMAIL PROTECTED] wrote:
Okay, I'm perplexed!
If I put the exact same value into a javascript function and open a window
the document comes up perfectly fine.
But, when trying to readfile() copy() or fopen() in PHP I get the failed
to
open stream: error.
Any idea
On 15 Aug 2008, at 13:37, Dan Shirah wrote:
If the network resource is the only location where these files
exist, what
do you suggest I do?
Use PHP to first copy() the file from the server to a temp directory
on my
web server and then open the document from the temp dir?
PHP cannot
Because as I mentioned before PHP runs as a different user to your
browser.
-Stut
Stut,
Are you referring to this?
If you're using IIS then it's the IUSR_machine user which doesn't have
access to the network by default
The IUSR_SERVERNAME account is what it should be connecting as
On 8/15/08, Dan Shirah [EMAIL PROTECTED] wrote:
Thiago,
HTML WORKS
a href=\\server\folder\file.xls target=_blankOpen/a
Javascript WORKS
function openWin(folder,file) {
var LeftPosition = (this.screen.width) / 2;
var TopPosition = (this.screen.height) - this.screen.height;
var
On 15 Aug 2008, at 14:26, Dan Shirah wrote:
Because as I mentioned before PHP runs as a different user to your
browser.
-Stut
Stut,
Are you referring to this?
If you're using IIS then it's the IUSR_machine user which doesn't
have access to the network by default
The IUSR_SERVERNAME
Wow, I think it finally clicked.
Sorry that took so long.
The whole point behind using PHP was to try and copy or call the file from
the server side so the user does not see the path to the document. Using
HTML and Javascript it is extrememly easy to just view source and see the
path. Whereas
Jody Cleveland wrote:
Hello,
I've got a website here: http://beta.menashalibrary.org/about
On every page, i've got a search box at the top. This search box
searches the library's web catalog. The problem is, when someone
searches, it takes them away from the site. What I'd like to do is take
On 8/15/08, Dan Shirah [EMAIL PROTECTED] wrote:
Wow, I think it finally clicked.
Sorry that took so long.
That's fine, sorry if I sounded rude or something. I didn't mean it.
The whole point behind using PHP was to try and copy or call the file from
the server side so the user does not
On Aug 15, 2008, at 9:57 AM, Dan Shirah wrote:
Wow, I think it finally clicked.
Sorry that took so long.
The whole point behind using PHP was to try and copy or call the
file from
the server side so the user does not see the path to the document.
Using
HTML and Javascript it is
What about using some type of a dispatch script? Locate all the files
outside of the doc root and then just call: viewdocument.php?ID=12345678 ?
Although now that I've typed that I realize that you would still be running
the same issue.. Unless you used javascript in your PHP to call the file
Frames?!
As a fellow Wisconsinite and a web developer, I'm going to have to ask you
to leave the state. Minnesota can have you.
:P
Jay
PS - No, but seriously, frames?!?!
There's nothing wrong with a Frame every once in a while! Granted they
aren't used much anymore, but sometimes
On 15 Aug 2008, at 15:17, Dan Shirah wrote:
What about using some type of a dispatch script? Locate all the
files outside of the doc root and then just call: viewdocument.php?
ID=12345678 ? Although now that I've typed that I realize that you
would still be running the same issue.. Unless
Your best bet would be to run a periodic sync to copy the files across
from the other server but it would have to run outside the IIS process.
There are plenty of solutions around for doing this and they have nothing to
do with PHP. You can then refer to the local copy of the file from PHP
On 15 Aug 2008, at 15:41, Dan Shirah wrote:
Your best bet would be to run a periodic sync to copy the files
across from the other server but it would have to run outside the
IIS process. There are plenty of solutions around for doing this and
they have nothing to do with PHP. You can then
Hi,
Here is something I used to do in C/C++ to include/exclude automaticaly
all debugging code at compiling time:
#define debug TRUE
#ifdef(debug)
//debugging code
#endif
That way I can include/exclude easily all debugging code in the final
compiled code. In PHP I have not been able
A scheduled task is messy. IIWY I'd use FTP to pull the file over, but
that's still pretty messy.
If this is an Intranet then the risks involved in giving that user access
to the network is minimal and probably would be the best solution.
Alternatively you could set up an HTTP server on the
It flance wrote:
Hi,
What do you think is the best php editor for linux.
I'm using the Debian distribution.
Thanks
I use Aptana which is based on eclipse and has built-in HTML/JS/PHP?SVN
stuff. Also a cool plugin that lets you easily develop for the iPhone
and preview it.
I'm logging things with error_log, and would like to be able to sort out one
script run from another.
So I'm looking for some kind of script id or thread id or PHP script run
execution ID type of function.
getmypid() just returns the same apache child process ID all the time, so
that's
-Original Message-
From: Simcha Younger [mailto:[EMAIL PROTECTED]
Sent: Friday, August 15, 2008 2:49 AM
To: 'Don'; php-general@lists.php.net
Subject: RE: [PHP] Removing an element from the middle of an mdlti-
dimentsional array
array_splice($a, 1, 1);
This will remove the
On 15 Aug 2008, at 16:37, [EMAIL PROTECTED] wrote:
I'm logging things with error_log, and would like to be able to sort
out one script run from another.
So I'm looking for some kind of script id or thread id or PHP
script run execution ID type of function.
getmypid() just returns the same
-Original Message-
From: Alain R. [mailto:[EMAIL PROTECTED]
Sent: Friday, August 15, 2008 3:30 AM
To: php-general@lists.php.net
Subject: [PHP] import XLS sheet into DB
Hi,
I would like to import content of an XLS sheet into a PostgreSQL DB
(table).
How can i do that ?
On Fri, Aug 15, 2008 at 11:37 AM, [EMAIL PROTECTED] wrote:
I'm logging things with error_log, and would like to be able to sort out one
script run from another.
So I'm looking for some kind of script id or thread id or PHP script run
execution ID type of function.
getmypid() just
-Original Message-
From: Dan Shirah [mailto:[EMAIL PROTECTED]
Sent: Friday, August 15, 2008 9:20 AM
To: Jay Moore
Cc: php-general@lists.php.net
Subject: Re: [PHP] Re: Passing variable to a page in a frameset
Frames?!
As a fellow Wisconsinite and a web developer, I'm going
I am trying to nail down a bit of code for changing processor names depending
on matches.
Problem i am having is the replacement takes place then it seems to do it
again replacing the text just replaced as there are similar matches
afterwards. example (easier)
$string = The new Intel Core 2 Duo
On Aug 15, 2008, at 7:33 AM, Dan Shirah wrote:
I apologize for my ignorance, I don't really know much about
javascript. When I add all that into my form page, when I submit the
form, it just replaces the page I was on with the form results, rather
than in the new frame page. I'm assuming I
On Aug 15, 2008, at 9:20 AM, Dan Shirah wrote:
Frames?!
As a fellow Wisconsinite and a web developer, I'm going to have to
ask you
to leave the state. Minnesota can have you.
:P
Jay
PS - No, but seriously, frames?!?!
There's nothing wrong with a Frame every once in a while!
In the head of my page, I have this:
script type=text/javascript
function submitForm(var1,var2) {
top.mainFrame.document.my_search.text1.value = var1;
top.mainFrame.document.my_search.text2.value = var2;
top.mainFrame.document.my_search.submit();
document.search_form.submit();
}
What do you think is the best php editor for linux.
pico :-)
--
Richard Heyes
http://www.phpguru.org
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Fri, Aug 15, 2008 at 10:40 AM, Richard Heyes [EMAIL PROTECTED] wrote:
What do you think is the best php editor for linux.
pico :-)
ed baby; its all about ed!
-nathan
On Fri, 2008-08-15 at 10:43 -0600, Nathan Nobbe wrote:
On Fri, Aug 15, 2008 at 10:40 AM, Richard Heyes [EMAIL PROTECTED] wrote:
What do you think is the best php editor for linux.
pico :-)
ed baby; its all about ed!
hexedit /dev/sda1
;)
Cheers,
Rob.
--
http://www.interjinn.com
Em Friday 15 August 2008, Robert Cummings escreveu:
On Fri, 2008-08-15 at 10:43 -0600, Nathan Nobbe wrote:
On Fri, Aug 15, 2008 at 10:40 AM, Richard Heyes [EMAIL PROTECTED] wrote:
What do you think is the best php editor for linux.
pico :-)
ed baby; its all about ed!
hexedit
Hi gang:
Arrggg -- what the heck is going on?
I can't get anything to pass via SESSION -- what's wrong?
Here's the example -- (all the code is there):
I populate the $_SESSIONs here.
http://www.webbytedd.com/b2/session-test/index.php
If you click Proceed to Step 2, you'll see that nothing
On Fri, Aug 15, 2008 at 1:09 PM, tedd [EMAIL PROTECTED] wrote:
Hi gang:
Arrggg -- what the heck is going on?
I can't get anything to pass via SESSION -- what's wrong?
Here's the example -- (all the code is there):
I populate the $_SESSIONs here.
On Fri, 2008-08-15 at 14:06 -0300, Davi Vidal wrote:
Em Friday 15 August 2008, Robert Cummings escreveu:
On Fri, 2008-08-15 at 10:43 -0600, Nathan Nobbe wrote:
On Fri, Aug 15, 2008 at 10:40 AM, Richard Heyes [EMAIL PROTECTED] wrote:
What do you think is the best php editor for linux.
On Aug 15, 2008, at 11:32 AM, Dan Shirah wrote:
In the head of my page, I have this:
script type=text/javascript
function submitForm(var1,var2) {
top.mainFrame.document.my_search.text1.value = var1;
top.mainFrame.document.my_search.text2.value = var2;
So, I had this all wrong before. Basically, I need two forms, right? One
on my originating page, and one on the page within the frameset I want to
pass the values to. Correct?
My form, which I named my_search has one input field, which I named query.
In the javascript, I put in this:
On Aug 15, 2008, at 12:16 PM, Dan Joseph wrote:
On Fri, Aug 15, 2008 at 1:09 PM, tedd [EMAIL PROTECTED] wrote:
Hi gang:
Arrggg -- what the heck is going on?
I can't get anything to pass via SESSION -- what's wrong?
Here's the example -- (all the code is there):
I populate the $_SESSIONs
Can someone tell me what I am missing here? This is working fine on my
development machine(5.2.6), but on the production box(4.3.2), it doesn't want
to work. I am getting that error on my session_start() function.
Is the difference in versions what is causing the problems?
I've googled and
-Original Message-
From: Davi Vidal [mailto:[EMAIL PROTECTED]
Sent: Friday, August 15, 2008 12:07 PM
To: php-general@lists.php.net
Subject: Re: [PHP] Re: PHP editor for linux
Em Friday 15 August 2008, Robert Cummings escreveu:
On Fri, 2008-08-15 at 10:43 -0600, Nathan
Can you give us the exact error that you got, that can help to debug ...
On Aug 15, 2008, at 7:53 PM, Chris Ditty wrote:
Can someone tell me what I am missing here? This is working fine
on my development machine(5.2.6), but on the production box(4.3.2),
it doesn't want to work. I am
On Aug 14, 2008, at 3:29 PM, Dan Shirah wrote:
You need to know the mime type for the file you're serving. Call
header('Content-Type: x/y'); where x/y is the mime type. Then call
readfile('/path/to/file/on/server'); to output the file to the
browser.
-Stut
Stut, trying that method
I'm trying to make php output things sequentially as they're
printed/echoed.. No luck. It's buffered to the end of the script, and then
it comes on to screen.
This is while running Apache2, in a cli session it works fine.
The script does *not* have any buffering commands at all.
The web server
Fatal error: session_start(): Failed to initialize storage module. in
/home/webroot/www/service/payarrange/index.php on line 4
Line 4 is the session_start();
Bojan Tesanovic [EMAIL PROTECTED] 8/15/2008 1:10 PM
Can you give us the exact error that you got, that can help to debug ...
On Aug
Actually you may want to check back with basic html at the target
parameter on your search form statement.
HTH,
Warren Vail
Vail Systems Technology
[EMAIL PROTECTED]
-Original Message-
From: Jay Moore [mailto:[EMAIL PROTECTED]
Sent: Friday, August 15, 2008 7:03 AM
To:
On Fri, Aug 15, 2008 at 2:18 PM, Anders Norrbring [EMAIL PROTECTED]wrote:
I'm trying to make php output things sequentially as they're
printed/echoed.. No luck. It's buffered to the end of the script, and then
it comes on to screen.
This is while running Apache2, in a cli session it works
Hello. I'm pretty noob in PHP and would like to know how can I submit some HTML
form got via file_get_contents(URL). For example:
form name=someform method=post
input type=submit
/form
so how can I submit 'someform' form.
Thanks in advance for any suggestions.
Matěj czech_d3v3l0p3r Grabovský
Anders Norrbring a écrit :
I'm running out of ideas to where to look for this, so can you please give
me some pointers?
I guess it is that you're seeking for :
http://fr.php.net/manual/en/outcontrol.configuration.php#ini.implicit-flush
--
Mickaël Wolff aka Lupus Michaelis
[snip]
Hello. I'm pretty noob in PHP and would like to know how can I submit
some HTML form got via file_get_contents(URL). For example:
form name=someform method=post
input type=submit
/form
so how can I submit 'someform' form.
Thanks in advance for any suggestions.
[/snip]
Click 'Submit'
On Aug 15, 2008, at 1:22 PM, Warren Vail wrote:
Actually you may want to check back with basic html at the target
parameter on your search form statement.
HTH,
Warren Vail
Vail Systems Technology
[EMAIL PROTECTED]
Target won't work for me because the originating page with the search
box
On Fri, 2008-08-15 at 13:30 -0500, Jay Blanchard wrote:
[snip]
Hello. I'm pretty noob in PHP and would like to know how can I submit
some HTML form got via file_get_contents(URL). For example:
form name=someform method=post
input type=submit
/form
so how can I submit 'someform' form.
2008/8/15 Jay Blanchard [EMAIL PROTECTED]:
[snip]
Hello. I'm pretty noob in PHP and would like to know how can I submit
some HTML form got via file_get_contents(URL). For example:
form name=someform method=post
input type=submit
/form
so how can I submit 'someform' form.
Thanks in
Key to this one may be understanding what is being asked. I think pe.ve.ce
performed a file read (file_get_contents) on the form from another website
and wants to be able to simulate a browser submit from his code.
If this is correct, I would recommend you take a look at CURL. There are
On 15 Aug 2008, at 19:39, Jody Cleveland wrote:
On Aug 15, 2008, at 1:22 PM, Warren Vail wrote:
Actually you may want to check back with basic html at the target
parameter on your search form statement.
HTH,
Warren Vail
Vail Systems Technology
[EMAIL PROTECTED]
Target won't work for me
-Original Message-
From: tedd [mailto:[EMAIL PROTECTED]
Sent: Friday, August 15, 2008 12:10 PM
To: php-general@lists.php.net
Subject: [PHP] SESSION problem
Hi gang:
Arrggg -- what the heck is going on?
I can't get anything to pass via SESSION -- what's wrong?
Here's the
On Aug 15, 2008, at 1:46 PM, Stut wrote:
On 15 Aug 2008, at 19:39, Jody Cleveland wrote:
On Aug 15, 2008, at 1:22 PM, Warren Vail wrote:
Actually you may want to check back with basic html at the target
parameter on your search form statement.
HTH,
Warren Vail
Vail Systems Technology
Probably something I don't understand about your implementation, but the
form parameter will allow a target parameter, and if the frameset contains a
frame that is named (even one different from the one that contains the
search form), the results should be placed in the target frame. Without a
[snip]
On Fri, 2008-08-15 at 13:30 -0500, Jay Blanchard wrote:
[snip]
Hello. I'm pretty noob in PHP and would like to know how can I submit
some HTML form got via file_get_contents(URL). For example:
form name=someform method=post
input type=submit
/form
so how can I submit 'someform'
On 15 Aug 2008, at 19:50, Jody Cleveland wrote:
On Aug 15, 2008, at 1:46 PM, Stut wrote:
On 15 Aug 2008, at 19:39, Jody Cleveland wrote:
On Aug 15, 2008, at 1:22 PM, Warren Vail wrote:
Actually you may want to check back with basic html at the target
parameter on your search form statement.
That is exactly what I want. I apologize for the confusion. I was having a
hard time trying to put what I was trying to do in words. But, yes, your
second paragraph is exactly what I want to do. My knowledge of PHP is very
limited, and I've tried to search for something that will do this, but
Take a look at the negative assertions on this page:
http://us2.php.net/manual/en/regexp.reference.php
Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com
Adz07 wrote:
I am trying to nail down a bit of code for changing processor names depending
on matches.
On Aug 15, 2008, at 2:05 PM, Stut wrote:
On 15 Aug 2008, at 19:50, Jody Cleveland wrote:
On Aug 15, 2008, at 1:46 PM, Stut wrote:
On 15 Aug 2008, at 19:39, Jody Cleveland wrote:
On Aug 15, 2008, at 1:22 PM, Warren Vail wrote:
Actually you may want to check back with basic html at the
On 15 Aug 2008, at 20:21, Jody Cleveland wrote:
I work for a consortium of 30 libraries. Each library has their own
website, but they all share the same web catalog. On each library's
website there is a search box to search the catalog, which is on a
completely different server from the
On Aug 15, 2008, at 2:27 PM, Stut wrote:
On 15 Aug 2008, at 20:21, Jody Cleveland wrote:
I work for a consortium of 30 libraries. Each library has their own
website, but they all share the same web catalog. On each library's
website there is a search box to search the catalog, which is on
I work for a consortium of 30 libraries. Each library has their own
website, but they all share the same web catalog. On each library's website
there is a search box to search the catalog, which is on a completely
different server from the websites. We've been finding that once people use
On 15 Aug 2008, at 20:34, Jody Cleveland wrote:
On Aug 15, 2008, at 2:27 PM, Stut wrote:
On 15 Aug 2008, at 20:21, Jody Cleveland wrote:
I work for a consortium of 30 libraries. Each library has their
own website, but they all share the same web catalog. On each
library's website there
GET should work too. Do you know of any examples anywhere online for this?
My brain shuts off at the thought of how I'd do that.
- jody
When you GET a value you are retrieving a passed value that appears in the
address bar:
Example
http://www.mysite.com?name=joe
www.mysite.com is the
On 8/15/08, Dan Shirah [EMAIL PROTECTED] wrote:
GET should work too. Do you know of any examples anywhere online for
this? My brain shuts off at the thought of how I'd do that.
- jody
When you GET a value you are retrieving a passed value that appears in the
address bar:
Example
Thanks, that was what I needed. Also I found this:
http://curl.haxx.se/libcurl/php/examples/./simplepost.html. Is it somehow
possible to retrieve result of that operation?
Thanks in advance.
Matěj czech_d3v3l0pr Grabovský
Původní zpráva
Od: Warren Vail [EMAIL
There you go!
Entering in the search criteria pulls up the search in a new window and
automatically pulls results based on your search. Then I can just close the
window to return to where I was on your site.
I think that is simple and easy to use. And I'm sure not much of a headache
for you!
On Aug 15, 2008, at 2:58 PM, Dan Shirah wrote:
There you go!
Entering in the search criteria pulls up the search in a new window
and automatically pulls results based on your search. Then I can
just close the window to return to where I was on your site.
I think that is simple and
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Friday, August 15, 2008 2:54 PM
To: php-general@lists.php.net
Subject: RE: [PHP] How to submit form via PHP
Thanks, that was what I needed. Also I found this:
Hello All,
Does anyone know of a good php based classified system?
Thanks!
On Fri, August 15, 2008 10:52 am, Stut wrote:
On 15 Aug 2008, at 16:37, [EMAIL PROTECTED] wrote:
I'm logging things with error_log, and would like to be able to sort
out one script run from another.
So I'm looking for some kind of script id or thread id or PHP
script run execution ID type of
On 15 Aug 2008, at 23:30, Richard Lynch wrote:
On Fri, August 15, 2008 10:52 am, Stut wrote:
On 15 Aug 2008, at 16:37, [EMAIL PROTECTED] wrote:
I'm logging things with error_log, and would like to be able to sort
out one script run from another.
So I'm looking for some kind of script id or
Hm , this issue has been reported
http://bugs.php.net/bug.php?id=25876 and http://bugs.php.net/bug.php?
id=32330
and it occurs sporadically for some users
though most of them said that setting
ini_set(session.save_handler, files); solved the problem and /
tmp dir must be writable by server
Herman Gomez wrote:
Hi,
Here is something I used to do in C/C++ to include/exclude automaticaly
all debugging code at compiling time:
#define debug TRUE
#ifdef(debug)
//debugging code
#endif
That way I can include/exclude easily all debugging code in the final
compiled code. In PHP I
At 1:47 PM -0500 8/15/08, Boyd, Todd M. wrote:
Have you tried:
echo SID;
...? I'm wondering if you're going to get different values on the two
pages. What that means beyond two different sessions is beyond me, but
it's a start.
Todd Boyd
Web Programmer
Todd:
I added code to show
On Fri, 2008-08-15 at 18:34 -0500, Shawn McKenzie wrote:
Herman Gomez wrote:
Hi,
Here is something I used to do in C/C++ to include/exclude automaticaly
all debugging code at compiling time:
#define debug TRUE
#ifdef(debug)
//debugging code
#endif
That way I can
Tedd,
I think according to PHP manual. Session_start() must be the first line in
the code. Dont worry it will remember your session until you close the
browser and also it wont duplicate it.
Thanks
On Fri, Aug 15, 2008 at 4:39 PM, tedd [EMAIL PROTECTED] wrote:
At 1:47 PM -0500 8/15/08, Boyd,
Robert Cummings wrote:
On Fri, 2008-08-15 at 18:34 -0500, Shawn McKenzie wrote:
Herman Gomez wrote:
Hi,
Here is something I used to do in C/C++ to include/exclude automaticaly
all debugging code at compiling time:
#define debug TRUE
#ifdef(debug)
//debugging code
#endif
That way I can
On Fri, 2008-08-15 at 22:56 -0500, Shawn McKenzie wrote:
Robert Cummings wrote:
On Fri, 2008-08-15 at 18:34 -0500, Shawn McKenzie wrote:
Herman Gomez wrote:
Hi,
Here is something I used to do in C/C++ to include/exclude automaticaly
all debugging code at compiling time:
#define
91 matches
Mail list logo