--
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
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
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
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
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
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
=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
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
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
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
;
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
whatever to automaticly create
documentation from your PHP Code (like java's JavaDoc)?
--
////
// Scott Houseman //
// Jam Warehouse http://www.jamwarehouse.com/ //
// Smart Business Innovation
' AND
password='$password');
Regards, Thx
--
////
// Scott Houseman //
// Jam Warehouse http://www.jamwarehouse.com/ //
// Smart Business Innovation //
// +27 21 4477440 / +27 82 4918021
.
Sincerely,
Faisal
__
--
////
// Scott Houseman //
// Jam Warehouse http://www.jamwarehouse.com/ //
// Smart Business Innovation //
// +27 21 4477440 / +27 82 4918021
Parent_ID: . $MI-Parent_ID . BR;
//(no output at all!)
}
}
--
////
// Scott Houseman //
// Jam Warehouse http://www.jamwarehouse.com/ //
// Smart Business Innovation
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,
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
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:
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
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
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 );
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?
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
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:
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
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
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
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
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
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:
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
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
-
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
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
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]
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
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
, 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
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
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;
}
}
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
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]
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 /
43 matches
Mail list logo