[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
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 -- PHP

Re: [PHP] money

2003-01-09 Thread Scott Houseman
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 2806 F +27 12 342 3876 E [EMAIL PROTECTED] | www.junkmail.co.za A 1312 Pretorius Street, Hatfield

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

2003-01-09 Thread Scott Houseman
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 Mail Publishing (Pty) Ltd T + 27 12 342 3840 ext 2806 F +27 12 342

Re: [PHP] Text editors

2003-01-07 Thread Scott Houseman
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 Junk Mail Publishing

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 === -- Scott Houseman Senior

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

2002-11-27 Thread Scott Houseman
=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 -- Scott Houseman Senior Software

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

2002-11-24 Thread Scott Houseman
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 ext 2806 F +27 12 342 3876 E [EMAIL PROTECTED

Re: [PHP] newbie question

2002-10-03 Thread Scott Houseman
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 // // Jam Warehouse http://www.jamwarehouse.com/ // // Smart Business

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 -- //// // Scott Houseman

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

2002-10-02 Thread Scott Houseman
; myString = G_T_$sName; // myString = SAFETOUR_team Any hint to solve this problem would be useful. heiko -- //// // Scott Houseman // // Jam Warehouse http://www.jamwarehouse.com/ // // Smart Business Innovation

Re: [PHP] PHPDoc?

2002-10-01 Thread Scott Houseman
whatever to automaticly create documentation from your PHP Code (like java's JavaDoc)? -- //// // Scott Houseman // // Jam Warehouse http://www.jamwarehouse.com/ // // Smart Business Innovation

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

2002-09-27 Thread Scott Houseman
' AND password='$password'); Regards, Thx -- //// // Scott Houseman // // Jam Warehouse http://www.jamwarehouse.com/ // // Smart Business Innovation // // +27 21 4477440 / +27 82 4918021

Re: [PHP] Auto-increment value

2002-09-18 Thread Scott Houseman
. Sincerely, Faisal __ -- //// // Scott Houseman // // Jam Warehouse http://www.jamwarehouse.com/ // // Smart Business Innovation // // +27 21 4477440 / +27 82 4918021

Re: [PHP] class Problem

2002-09-17 Thread Scott Houseman
Parent_ID: . $MI-Parent_ID . BR; //(no output at all!) } } -- //// // Scott Houseman // // Jam Warehouse http://www.jamwarehouse.com/ // // Smart Business Innovation

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] 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 into

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

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: SCRIPT LANGUAGE=JavaScript JSArray = new Array(?= sizeof( $Array )?); ?php for ( $iSubscript = 0; $iSubscript sizeof( $Array );

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: ? class a { function test() { echo Hallo; } } $testfunct = a::test();; eval($testfunct); ? Regards -|Scott -Original Message- From: Unger, Christian [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 03, 2002 2:51 PM To: '[EMAIL

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

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

[PHP] Image library

2002-08-21 Thread Scott Houseman
scalable i.e. which wil perform better when there 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

RE: [PHP] Image library

2002-08-21 Thread Scott Houseman
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 Houseman ([EMAIL PROTECTED]) wrote: Which way would

RE: [PHP] Image library

2002-08-21 Thread Scott Houseman
speed sacrifice. Bogdan Scott Houseman wrote: Hi all. This confirms what I suspected. The hash algrithm: I have a directory structure: dirs 0 - f, and within each of these, the same dir structure 0 - f. When an image gets uploaded into the library, do an md5sum

RE: [PHP] !--#exec cgi= equivalent in 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] 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

Re: [PHP] Passing a PHP variable to javascript

2002-08-19 Thread Scott Houseman
Hi Michael. Use: ?php $text = 'Hello, world!'; ? SCRIPT LANGUAGE=JavaScript alert( '?= $text?' ); /SCRIPT 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 -

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

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 and

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 PROTECTED]

Re: [PHP] Downloading files

2002-04-09 Thread Scott Houseman
Try this: ?php // Open the file to send. $sFilePath = /home/scott/public_html/TEST.doc; $iFilePointer = fopen( $sFilePath, r ); // Get file content. $sContents = fread( $iFilePointer, filesize( $sFilePath ) ); // Close the file. fclose( $iFilePointer ); // Send HTTP headers. header( Expires: 0

Re: [PHP] Evaluating php code.

2002-04-03 Thread Scott Houseman
the code.'? Thanks again for the help, it is much appreciated Regards Scott - Original Message - From: Rasmus Lerdorf [EMAIL PROTECTED] To: Scott Houseman [EMAIL PROTECTED] Cc: php-general [EMAIL PROTECTED] Sent: Wednesday, April 03, 2002 10:33 AM Subject: Re: [PHP] Evaluating php code

[PHP] Evaluating php code.

2002-04-02 Thread Scott Houseman
, 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

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 ?php

Re: [PHP] thnx..

2002-01-17 Thread Scott Houseman
Create the class like such: ?php Class A { var $id; function x ( $whatever ) { // assign $id's value. $newval = $whatever++; $this-id = $newval; } // // Return the value of $id. // function getId ( ) { return $this-id; } }

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() Imar

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 /