[PHP] Microsoft SQL Server varchar(500) field text concatenated at 255characters.

2003-03-28 Thread Scott Houseman
-- Scott Houseman Senior Software Developer Junk Mail Publishing (Pty) Ltd Tel. +27 12 342 3840 x3806 Fax. +27 12 342 1842 Mob. +27 82 491 8021 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Serial device /dev/ttyS0

2003-01-14 Thread Scott Houseman
something together. Thanks Scott -- Scott Houseman Senior Software Developer Junk Mail Publishing (Pty) Ltd T + 27 12 342 3840 ext 2806 F +27 12 342 3876 E [EMAIL PROTECTED] | www.junkmail.co.za A 1312 Pretorius Street, Hatfield, Pretoria P O Box 6574, Pretoria, 0001, South Africa +27 82 491 8021

Re: [PHP] Can you insert into $_POST manually?

2003-01-09 Thread Scott Houseman
to pass in $_POST or $HTTP_POST_VARS to the page referred to in "$url". Is there any way to stuff this data into either of these globals so that the "$url" page can access 'em? Thanks a bunch! --Noel -- Scott Houseman Senior Software Developer Junk Ma

Re: [PHP] money

2003-01-09 Thread Scott Houseman
ney? :-) regards Wilbert - Pas de Deux Van Mierisstraat 25 2526 NM Den Haag tel 070 4450855 fax 070 4450852 http://www.pdd.nl [EMAIL PROTECTED] - -- Scott Houseman Senior Software Developer Junk Mail Publishing (Pty) Ltd T + 27 12 342 3840 ext 28

Re: [PHP] Text editors

2003-01-07 Thread Scott Houseman
f any good free text editors that has line counts And is good for php…. Thanks karl --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.434 / Virus Database: 243 - Release Date: 12/25/2002 -- Scott Houseman Senior Software Developer

Re: [PHP] Out with the new, In with the old

2002-12-11 Thread Scott Houseman
for the client is running PHP 4.0.6. Is there anyway around this besides changing all of my variable names? === Jonathan Villa Application Developer IS Design & Development www.isdesigndev.com <http://www.isdesigndev.com/> 414.429.0327 ======= -- Sco

Re: [PHP] Newbie : How work with parameters?

2002-11-27 Thread Scott Houseman
ocalhost/test.php?id=abc I tried to use the $id, but in this case, I have a notice with 'undefined variable'. I have the same problem if I try the variable $QUERY_STRING (still undefined variable). Do you know what is the best way to read this parameters? Many thanks Stéphane --

Re: [PHP] Sending POST vars to pop-up window - How?

2002-11-24 Thread Scott Houseman
javascript:popWin('/poll.php'). Is setting the vote choice in a session var the only way to make this work, or is there a way to pass vars via a form POST to the popup window? Thanks! Monty -- Scott Houseman Senior Software Developer Junk Mail Publishing (Pty) Ltd T + 27 12 342 3840

Re: [PHP] Complete development software

2002-10-03 Thread Scott Houseman
http://www.nusphere.com/ On 10/3/2002 4:51 PM, Ray, James A wrote: > Other then Abriasoft, is there another complete software package that > contains PHP, MYSQL, APACHE and PERL for Windows? > > Thank you > > Jim > -- //---

Re: [PHP] newbie question

2002-10-03 Thread Scott Houseman
nt get a value of var or "numberx" > I usually do this var on asp > request.querystring("var") , so I'll get the value = "numberx" > how i do it on php...? > sorry about my English. -- //// // Scott Houseman

Re: [PHP] get access to define() constants with dynamic names

2002-10-02 Thread Scott Houseman
if I have the names (USER, TEAM, > CALL) in a variable? > > It must be something like that: > > aName = "TEAM"; > myString = "G_T_$sName"; // myString = "SAFETOUR_team" > > > Any hint to solve this problem would be useful. > > heiko

Re: [PHP] PHPDoc?

2002-10-01 Thread Scott Houseman
> Is their any comparable tool/util whatever to automaticly create > documentation from your PHP Code (like java's JavaDoc)? > > > -- //----// // Scott Houseman // // Jam Warehouse http://www

Re: [PHP] 4.0.2 => 4.2.3, form vars are empty?

2002-09-27 Thread Scott Houseman
FROM users WHERE username='' AND password='' > > from this code. > > $query = mysql_query("SELECT * FROM users WHERE username='$username' AND > password='$password'"); > > > Regards, Thx > > -- //---

Re: [PHP] Auto-increment value

2002-09-18 Thread Scott Houseman
ng postgresql. > > Thanks. > > Sincerely, > Faisal > > __ > > -- //----// // Scott Houseman // // Jam Warehouse http://www.jamwarehouse.com/ // // Smart Business I

Re: [PHP] class Problem

2002-09-17 Thread Scott Houseman
MI->write(); > > } > } > > class MenueItem { > var $ID_Menue; > var $Name; > var $Parent_ID; > var $Next_ID; > var $Prev_ID; > > > function Write() { > echo "Parent_ID: " . $MI-&

RE: [PHP] Cry for help

2002-09-12 Thread Scott Houseman
Hi Chad. Some really excellent places to start: http://www.onlamp.com/php/ http://www.phpbuilder.com/ http://www.devshed.com/Server_Side/PHP http://www.zend.com/zend/tut/ Good luck! Regards -|Scott > -Original Message- > From: Chad Winger [mailto:[EMAIL PROTECTED]] > Sent: Thursday,

[PHP] PHP as a tool for developing enterprise systems.

2002-09-11 Thread Scott Houseman
correct? If so, what features does PHP lack which make this so? 3.If this is not true, what arguments can I use to refute this? Regards -|Scott //// // Scott Houseman // // Jam Warehouse http://www.jamwarehouse.com/ // // Smart

RE: [PHP] combine 2 integer

2002-09-09 Thread Scott Houseman
Hi there. You could join the two using a period(.) this will concatenate the two strings. $a = 1; $b = 2; $together = $a.$b; // $together == '12' regards -|Scott > -Original Message- > From: Meltem Demirkus [mailto:[EMAIL PROTECTED]] > Sent: Monday, September 09, 2002 11:39 AM > To:

RE: [PHP] Array Javascript

2002-09-05 Thread Scott Houseman
Hi To Assign values from an array in PHP to JavaScript, you could try something like this. $Array = array( 'one', 'two', 'three' ); Now in your JavaScript: JSArray = new Array();

RE: [PHP] dropdown Newbie question

2002-09-05 Thread Scott Houseman
Hi there. The value from that dropdown will be returned to you in the variable $_POST OR $_GET, depending on which method you used to submit the form. Assuming you use POST, you can access the selected value like this: $var_from_dropdown = $_POST['theme']; Regards -|Scott > -Original M

RE: [PHP] Sorting a text string

2002-09-05 Thread Scott Houseman
Hi There. One way of doing this: split each string into an array, delimited by the periods $sDate = '04.09.2002'; $aDate = split( '.', $sDate ); this will give you an array like array( [0]=>'04', [1]=>'09', [2]=>'2002' ) now reverse the array: $aDate = array_reverse( $aDate ); join back in

RE: [PHP] how get a image?

2002-09-04 Thread Scott Houseman
Hi there Have a look at http://www.php.net/manual/en/features.file-upload.php It should explain all. Regards -Scott > -Original Message- > From: skitum [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, September 04, 2002 10:35 AM > To: [EMAIL PROTECTED] > Subject: [PHP] how get a image?

RE: [PHP] Class operator :: Problem

2002-09-03 Thread Scott Houseman
Hi There Try doing it this way: Regards -|Scott > -Original Message- > From: Unger, Christian [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, September 03, 2002 2:51 PM > To: '[EMAIL PROTECTED]' > Subject: [PHP] Class operator :: Problem > > > I have problems to make a dynamic call, ple

RE: [PHP] Mail()....

2002-08-30 Thread Scott Houseman
Hi there. Not on a plaintext mail, this will be decided by the mail client. If your format the mail using html, then you will be able to format the font. Regards -Scott > -Original Message- > From: Brian McGarvie [mailto:[EMAIL PROTECTED]] > Sent: Friday, August 30, 2002 10:45 AM > To:

RE: [PHP] working with ssl

2002-08-29 Thread Scott Houseman
Hi Andy. I would recommend running PHP as an Apache module as well as mod_ssl - which will require openssl as well. Have a look at http://www.modssl.org Regards -Scott > -Original Message- > From: Andy [mailto:[EMAIL PROTECTED]] > Sent: Thursday, August 29, 2002 3:36 PM > To: [EMAIL P

RE: [PHP] Virtual includes

2002-08-26 Thread Scott Houseman
Hi there. This should work I think. include( '../forum/include/test.php' ); This uses the path in relation to the current directory the script resides in. Regards -Scott > -Original Message- > From: Gregory Barker [mailto:[EMAIL PROTECTED]] > Sent: 26 August 2002 11:12 > To: [EMAIL PR

RE: [PHP] Image library

2002-08-21 Thread Scott Houseman
ay take a little > > longer when uploading but I personally think the safety of the approach > > is worth the insignificant speed sacrifice. > > > > Bogdan > > > > Scott Houseman wrote: > > > Hi all. > > > > > > This confirms what I suspe

RE: [PHP] Image library

2002-08-21 Thread Scott Houseman
file(?) Is there a better way of doing this? Cheers -Scott > -Original Message- > From: Justin French [mailto:[EMAIL PROTECTED]] > Sent: 21 August 2002 03:25 > To: [EMAIL PROTECTED]; PHP General > Subject: Re: [PHP] Image library > > > on 21/08/02 9:45 PM, Scott

[PHP] Image library

2002-08-21 Thread Scott Houseman
are 1 images in the libary? Thanks in advance Regards -Scott -- Scott Houseman Jam Warehouse http://www.jamwarehouse.com/ Smart Business Innovation +27 21 4477440 / +27 82 4918021 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Freetds + Sybase-ct + mssql problems

2002-08-20 Thread Scott Houseman
Hi. I cant tell you off-hand what the problem might be, but this article is very helpful, and might answer your question: http://www.phpbuilder.com/columns/alberto2919.php3?print_mode=1 -Scott > -Original Message- > From: Benji Spencer [mailto:[EMAIL PROTECTED]] > Sent: 20 August 2

RE: [PHP]

2002-08-20 Thread Scott Houseman
Hi Peter. I think fopen( "http://site/PATH_TO_PERLSCRIPT.CGI"; ) should do the trick. It will basically return the output of that script. Hope this helps. -Scott -Original Message- From: Peter Janett [mailto:[EMAIL PROTECTED]] Sent: 20 August 2002 09:47 To: [EMAIL PROTECTED] Subject:

Re: [PHP] Passing a PHP variable to javascript

2002-08-19 Thread Scott Houseman
Hi Michael. Use: alert( '' ); If this page is parsed by php i.e. its a .php file rather than .html or .js file, then the variable will be output as a string constant in the javascript code. Cheers! Scott - Original Message - From: "Michael" <[EMAIL PROTECTED]> To: <[EMAIL

Re: [PHP] OO code and private functions

2002-08-16 Thread Scott Houseman
Hi there. Not at the moment, but I think this is a feature of the new Zend engine 2, currently in development. Cheers Scott - Original Message - From: "Richard Black" <[EMAIL PROTECTED]> To: "Php-General" <[EMAIL PROTECTED]> Sent: Friday, August 16, 2002 4:24 PM Subject: [PHP] OO code a

Re: [PHP] Drop down reload

2002-08-16 Thread Scott Houseman
Hi there. You would need to use JavaScript for this, specifically an onChange( ) event for the select field(s). Your JavaScript should basically reload the page once an option has been selected from the first select field, passing through a variable containing the value of the option which has ju

Re: [PHP] smarter way to write config file?

2002-04-16 Thread Scott Houseman
what about something like this: $cfgAdminEmail = ( $local ) ? "[EMAIL PROTECTED]" : "[EMAIL PROTECTED]"; $cfgReportErrors = ( $local ) ? 1 : 0; $cfgSendMail = ( $local ) ? 0 : 1; Hope this helps --Scott - Original Message - From: "Justin French" <[EMAIL PROTECTED]> To: "php" <[EMAIL PRO

Re: [PHP] Downloading files

2002-04-09 Thread Scott Houseman
Try this: As you give the client Content-Type: application/save-as - it will not know what mime type the file is, and the browser will give the user a save-as prompt. This works in explorer - I haven't checked it in Mozilla etc - so you might have to tweak it a bit. Cheers Scott - Origina

Re: [PHP] Evaluating php code.

2002-04-03 Thread Scott Houseman
pe outside of this method either. So... Is there any way of telling the parser to ignore this fatal error and carry on, or alernatively, a way of parsing a string at face value for parse errors ie. 'Look for syntax errors, but don't evaluate the code.'? Thanks again for the help, i

[PHP] Evaluating php code.

2002-04-02 Thread Scott Houseman
urns false, and I'd like no runtime error to be generated. Perhaps an error-handler is what's needed? What can you suggest? Many thanks Scott -- Scott Houseman Software Developer JAM Warehouse [EMAIL PROTECTED] +27 82 4918021 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] thnx..

2002-01-17 Thread Scott Houseman
Create the class like such: id = $newval; } // // Return the value of $id. // function getId ( ) { return $this->id; } } ?> To retrieve this variable in another php script do this then: x ( 5 ); print ( "Value of id is ".$news->getId() ); // This will p

Re: [PHP] string to array??

2002-01-17 Thread Scott Houseman
Hi There. You should use this function: split -- split string into array by regular expression array split (string pattern, string string [, int limit]) So, to split a string ( e.g. a sentence ) so that each word in the string is an element of the array do something like this This will ret

Re: [PHP] Re: Passing variables with include()

2002-01-14 Thread Scott Houseman
Hi Al. While we are on topic, what are the key differences between include() & require() ? Cheers Scott - Original Message - From: "Martin Wickman" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, January 14, 2002 3:40 PM Subject: [PHP] Re: Passing variables with include() >

Re: [PHP] session_id()

2001-12-07 Thread Scott Houseman
This is most probably because PHP sessions use browser cookies to store data - thus each browser would have a different session id, as they all store their cookies in separate locations on your PC's hard drive. Regards -- Scott - Original Message - From: "Gede Gilijk" <[EMAIL PROTECTED]

Re: [PHP] PHP Redirect / header("location: ")

2001-11-09 Thread Scott Houseman
Make sure that there is no output from your PHP script - or any HTML code whatsoever - before you call the header function. Cheers Scott - Original Message - From: "phantom" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, November 09, 2001 11:01 AM Subject: [PHP] PHP Redirect / h