Is it better to do:
$obj = new object();
verses:
$obj = new object();
thanks,
-js
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
search google for RFC HTML email, or look at phpmailer.sourceforge.net.
It's roughly along the lines of:
Headers...
Subject: My html email
Content-type: multipart/mime
Content-boundry(): BOUNDRY-ABC
---BOUNDRY-ABC---
Content-type: text/html
...more headers...
Hello! This is an html email
You're trying to mix two different things. SSI (Server Side Includes) and PHP.
The page you're calling gets parsed ONLY by PHP. So echoing #exec won't work.
Look at the virtual() function ~~ http://php.net/virtual
-js
On Sun, 15 Dec 2002 14:10:17 -0800 Troy May wrote:
Hello,
I have a
also take a look at hord-imap (http://www.hord.org)
-js
On Mon, 2 Dec 2002 14:06:01 +0100 [EMAIL PROTECTED] wrote:
Le Lundi 2 D¨¦cembre 2002 13:30, [EMAIL PROTECTED] a ¨¦crit :
Who can tell me the best php-base webmail?
I want a webmail for my mail server,
give me a suggest, please!
I think you\'d want to use:
if ( $_SERVER[\'QUERY_STRING\'] == \'samples\')
{
// code
}
otherwise if you use , set your links as:
a href=\index.php?samples=1\
-js
On Sun, 1 Dec 2002 22:38:54 -0500 Holmes wrote:
I\'m sure this is easy, but I\'m drawing a blank. I need to have links
I think you\'d want to use:
if ( $_SERVER[\'QUERY_STRING\'] == \'samples\')
{
// code
}
otherwise if you use , set your links as:
a href=\index.php?samples=1\
-js
On Sun, 1 Dec 2002 22:38:54 -0500 Holmes wrote:
I\'m sure this is easy, but I\'m drawing a blank. I need to have links
Is there a way to determine if a string has ascii or binary data in it?
-js
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Doh, so simple. I guess the correct form of the question would be how do
I determine if a string has just a-zA-Z0-9 in it plus punctuation...
thanks,
-js
Paul Chvostek wrote:
On Fri, Nov 29, 2002 at 10:27:05PM -0600, Jonathan Sharp wrote:
Is there a way to determine if a string has ascii
Please post code.
-js
James Hatridge wrote:
Hi all,,
I d/l'ed a class for graphs last night. When I got the class working instead
of a line graph I got the netscape symbol for no picture, ie a broken box. I
must have missed something. Could someone give me a clue what I'm doing
wrong?
1. see php.net/include_once
2. Yes
$_SESSION['foo'] = new foo();
$myFoo = $_SESSION['foo'];
$myFoo-var = 123;
/* page2.php */
$myFoo = $_SESSION['foo'];
echo $myFoo-var;
-js
Michael Wai wrote:
Hi everyone, I'm a newbie on PHP and MySQL. I've two questions that want to
get some help.
I'm assuming you're trying to have a select list.
Try this:
select name=foo
onChange=window.location='?=$PHP_SELF??action=loadfile=' + this.value
option value=file.xmlFile XML1/option
option value=file2.xmlFile foo/option
/select
Just make sure you test the value you get for file, so that
phpmailer.sourceforget.net
-js
Siamak wrote:
hi
how can i send a mail by a smtp server from a php page?
thanks
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
$overall-foo-bar() works for me.
also there's no need for the eval('global...') line
Apache 1.3.27, PHP 4.2.2
-js
Tularis wrote:
ok, I have gotten great help here already, but it still doesn't work,
it returns a object not found error (on the $foo-bar() line). I want to
change
i'll just throw my code in here while we're at it...
$seconds = 3600*5 + (60 * 10) + 45;
$hours = floor( $seconds / 3600 );
$mins = floor( ($seconds % 3600) / 60 );
$seconds = floor( ($seconds % 60) );
echo Hours: $hours\nMins: $mins\nSeconds: $seconds\n;
-js
John W. Holmes wrote:
You can do
MY GOODNESS! Thing of what 126M would do for the open source movement!
We could run php.net on gold plated servers! Not to mention a 64 way sun
box with all the bells and whistles, and spruced up with urb3r cool
lighting kits!
or thing of all the cd's you could send to AOL for 126M!
any other
the issue isn't with query, it's with variables used within queries...
example:
$id = $_GET['id'];
$query = SELECT * FROM mytable WHERE id=$id;
and if you call this page as (or something like this):
?id='' OR 1=1
You can alter the query
-js
Stephen wrote:
Since day one of me doing MySQL
How is serialization of references handled? Example:
class foo
{
var $abc;
function bar()
{
echo $this-abc;
}
}
$obj = array( new foo(), new foo() );
$baz = serialize($obj);
/* ... dancing monkey for entertainment while time passes ... */
$obj = unserialize($baz);
Will
Can you post some sample code as well as paths to symlinks etc.
-js
Michael Sims wrote:
On Wed, 13 Nov 2002 20:12:44 -0500, you wrote:
When I require a file from index.php, if there's no .. on the path (a relative
path, but not going back), the relative path is from where the original
When you build your 2d array you could make a seperate 1d array that's
indexed by the fax number and if it's set, not set it in your array...
-js
René Fournier wrote:
I'm finding this one hard to approach...
I have a two-dimensional array, containing customer contact information.
Looks
one more thought bout this just for the record... not sure which is
faster, but this may be the better solution:
$index = substr($url, strrpos($url, '/'), strrpos($url, '.')-1);
-js
Jonathan Sharp wrote:
good catch, i guess i love php so much i just expect it to know what i
want it to do
foreach( $array AS $d2 )
{
$string .= implode('', $d2) . \n;
}
-js
René Fournier wrote:
The docs don't seem to discuss this... Or maybe I'm looking in the wrong
place. Anyway, I want to convert a multidimensional array back to the
tab-delimited format it began as (\t separating fields, \n
Dope...try this instead...
foreach ( $array AS $a )
{
$string .= implode(\t, $a) . \n;
}
-js
Jonathan Sharp wrote:
foreach( $array AS $d2 )
{
$string .= implode('', $d2) . \n;
}
-js
René Fournier wrote:
The docs don't seem to discuss this... Or maybe I'm looking
Pulling this idea from down south, but could you do serialize($_GLOBALS)
and then POST that to the distant site and unserialize it?
what are you trying to accomplish exactly? A Proxy?
-js
Mike MacDonald wrote:
Hi People!
Can anyone help with this:
Want to pick up variables passed
try basename('http://www.domain.com/stuff/index.html');
-js
Charles Wiltgen wrote:
Hello,
I just want to get the index part of http://www.domain.com/stuff/
index.html.
I'm trying to figure out this regex stuff, but it hasn't yet clicked.
Here's my best guess:
If I remember correctly (it's been a while) the contents gets passed
through STDIN to in this case wget, it'd be better to call the script as:
|/usr/bin/php -q /path/to/script.php
or put:
#!/usr/bin/php at the top of your script and call as:
|/path/to/script.php
and use: (i forget the exact
...
-Original Message-
From: Jonathan Sharp [mailto:js-lists;sharpmedia.net]
Sent: Wednesday, November 13, 2002 10:34 PM
To: Charles Wiltgen
Cc: List PHP General
Subject: Re: [PHP] Trivial newbie regex question
try basename('http://www.domain.com/stuff/index.html');
-js
Charles
good catch, i guess i love php so much i just expect it to know what i
want it to do!
-js
John W. Holmes wrote:
substr(basename($url), 0, strrpos($url,'.')-1);
note the '.'
:)
---John Holmes...
-Original Message-
From: Jonathan Sharp [mailto:js-lists;sharpmedia.net]
Sent
I believe it's U so try /T.*0.*B/U
-js
Jason Wong wrote:
On Tuesday 12 November 2002 02:26, Tobias Talltorp wrote:
How would I write the pattern for this preg_split()?
/T.*O.*B/, seems to only return the first and last portion of the string
(1: Once upon a time, 2: going for a walk).
see http://phpmailer.sourceforge.net
-js
Oliver Witt wrote:
Hi,
I wrote a php script that's supposed to enable me to attach files to an
email. However, the attached files ends up being a mess of letters.
Hallo becomes SGFsbG8=. That must have to do with encoding. Is that
a common problem
Here's the code...
-js
$string = EOF
!-- comname 1--!
value 1
!-- end comname 1--!
!-- comname 2--!
value 2
!-- end comname 2--!
EOF;
preg_match_all('/!--\s*(.*)\s*--!\s*(.*)\s*!--\s*end\s*\\1\s*--!/i',
$string, $matched);
$array = array();
foreach ( $matched[1] AS $i = $m )
{
$array[$m]
look at smarty (smarty.php.net) as it does templates, and i am
accomplishing 'themes' on a current project by just changing the
template directory.
-js
Marek Kilimajer wrote:
My way: take a theme that most suits your needs and change it
Kevin Myrick wrote:
Ok, like I stated in my last
search google for 'phpmailer' (I think http://phpmailer.sourceforge.net)
-js
John W. Holmes wrote:
Search the archives or google for HTML email with PHP and you'll get a
ton of examples. You just have to send a Content-Type: header to tell
the mail reader it's HTML.
---John Holmes...
Benchmarks?
-js
Adam Atlas wrote:
First post!!! Um, yeah... anyway...
Hi people, I just got a beta of my ASTemplate code out. It's a PHP
template system that uses an XML-based format to specify template format
and text files (that can be HTML or any other text format) that make up
the
in the url pass two (GET) variables: hash and token
generate a md5 hash from a secret string and the token (like time())...
oh your page with links to pop ups:
?
$secret = Pigs can fly i see;
$token = time();
$hash = md5($secret.$token);
?
On your popup page:
?
$secret = Pigs can fly i see;
first off: IP addresses are not the way to go about this AT ALL. Even if
they are behind a proxy, they would most likely be running on a private
subnet (say 10.0.0.x) and worse yet, if a company has multiple backbones
(like the one I consult at) traffic could go through one of 3 gateway
routes
try this:
-js
table border=1
?
$i = 0;
while ( $myrow = mysql_fetch_array($result) )
{
$c = ( ++$i % 2 ? 'yellow' : 'white' );
echo tr bgcolor=\$c\;
printf('tda href=%s?id=%sdelete=yesDelete/a/td',
$PHP_SELF, $myrow['id'] );
$q = ceil( 4/(int)date('n', strtotime($mydata['date'])
SEE: http://phpmailer.sourceforge.net/extending.html
(click Home Page then examples)
-js
Pushpinder Singh Garcha wrote:
Hi All
I am new in the php development world. I have made a simple mail
application using the phph mail() function.
I needed to use an attachment facility ith the
$del = array(' ', ', '\\', '/'...etc);
foreach ( $del AS $d )
{
$file = str_replace($d, '', $file);
}
-js
rick wrote:
How could this be written better? Is there a way to do it all in 1 line?
$file = str_replace( , , $file);
$file = str_replace(', , $file);
$file = str_replace(\\, ,
huge junk mail wrote:
Can someone tell me why I can't have
$_SESSION['foo'] = 'content of foo';
following by
header('Location: http://www.mysite.com');
Someone from www.php.net told me that it can confuse
browser (http://bugs.php.net/19991). But, still I
can't the idea why it can
try:
'locate PEAR' if it doesn't show up do 'updatedb' then 'locate PEAR'
mine is /usr/lib/php/PEAR (Gentoo)
-js
[EMAIL PROTECTED] wrote:
Subject:
Problem about pear
From:
[EMAIL PROTECTED]
Date:
Thu, 31 Oct
try:
$fp = fopen('temp/'.$userfile_name[($i-1)], w+);
-js
Andres, Cyrille wrote:
Hello everybody,
maybe I am dumb , I dunnow, I have a parse error here and I don't understand
why :
$fp=fopen(temp/$userfile_name[$i-1],w+);
the error I get is : Parse error: parse error, expecting
This really has little to do with php. Use SSL for the connection
(search on your favorite search engine).
If you're asking about storage methods of the sensative information,
www.php.net/crypt will answer that question.
-js
Pushpinder Singh Garcha wrote:
Hi,
I am making a secure page
Jonathan Sharp wrote:
This really has little to do with php. Use SSL for the connection
(search on your favorite search engine).
If you're asking about storage methods of the sensative information,
www.php.net/crypt will answer that question.
Correction: try www.php.net/mcrypt
-js
-js
E... try COM maybe...
-js
Don Hicks wrote:
Hello,
I'm running php on a Win2000 server.
I also have an MS Access 97 database on the server.
I want to tell the database to execute a macro on an as needed basis by
running a php system() function, but I'm having difficulty making the
Check what user apache is running under (usually nobody) in which case
you have to give it world read access (chmod 0755) or make apache run
under that user. (second method is perferred). I'm assuming you're
running linux.
-js
Mr. BuNgL3 wrote:
Hi...
I have a little problem... when i do
Dan Tappin wrote:
I have a simple method of creating easy form processing I thought
I came up with the idea (I am not claiming to be the first) to have form
elements I want to update via MySQL starting with either - or +.
Example:
+name=DAN
[EMAIL PROTECTED]
-notes=
id=1
The first 2
John W. Holmes wrote:
I wrote a db class which builds my queries for me. Example snippit:
/* -- db.conf -- (table definitions) */
dbNewConn('conn', 'user:password@host');
dbNewDb('database', 'conn');
dbNewTable('my_table', 'database.table_name');
/* -- My script.php -- */
$d = array( 'name' =
function mysql_to_date($mysql)
{
return ( $mysql ? date('m/d/Y', strtotime($mysql) ) : '' );
}
-js
Todd Cary wrote:
My coding is not very concise and I would appreciate suggestions on how
to clean this up even though it works:
/* MySQL to date */
function mysql_to_date($mysql) {
assuming linux and 'server load' to equal 'entire server[read computer]
load' try 'uptime' and look at last three #'s try man uptime for more
details
-js
Leif K-Brooks wrote:
I know there's a way to check the current server load... does anyone
know how? Thanks.
--
PHP General Mailing
You either need to:
1) Set multiple cookies for each index:
setCookie('session[foo]'...)
setCookie('session[bar]'...)
2) Serialize/unserialize your array.
setCookie('session', serialize($session_array) );
$session = unserialize($_COOKIE['session']);
-js
Tom Woody wrote:
Did a google and
);
with cookie session :
$cook_param= session_get_cookie_params();
$life_time= $cook_param['lifetime'];
$path= $cook_param['path'];
setcookie(session_name(),,$life_time,$path);
$_SESSION= array();
session_destroy();
mb
Jonathan Sharp wrote:
Ok, here is my
Take an md5 of the entire file contents and store that in your form that
get's displayed. Then test if it matches the file when you go to make
the changes. Every time you change the file the md5 will change. See
below...
-js
Sample script:
?
$file = file('/your/text/file.txt');
if (
Sorry... session.cookie_domain in php.ini
Make sure you can also write to /tmp
-js
Ferhat Can wrote:
Dear All,
I have a problem and need your help. I use PHP 4.2.3, Apache 1.3.27 and
a local version of Red Hat. Here is the problem: I have a web site that
depends on Session, but the
Try setting the session.domain in your php.ini...
-js
Ferhat Can wrote:
Dear All,
I have a problem and need your help. I use PHP 4.2.3, Apache 1.3.27 and
a local version of Red Hat. Here is the problem: I have a web site that
depends on Session, but the Session ID seems to be regnerated
-
From: Jonathan Sharp [EMAIL PROTECTED]
To: Ferhat Can [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Tuesday, October 15, 2002 6:55 PM
Subject: Re: [PHP] Session problem
Sorry... session.cookie_domain in php.ini
Make sure you can also write to /tmp
-js
Ferhat Can wrote:
Dear All,
I have
If I remember correctly, you must set the name field with [] to make it
an array.
Example:
select multiple=true name=foo[]
then $foo is an array of the selections.
-js
Khalid El-Kary wrote:
hi,
If i have a form that has a select with multiple=ture how would i be
able to retireve it's
Simple question. If a users session expires or has timed out, how do I
'force' php to generate a new sessionId?
I wrote a handler that stores sessions into a mysql table, and am able
to test if it has expired or not. But how do I get php to start a new one?
-js
--
PHP General Mailing List
Ok, here is my solution:
I wanted this to be as self contained as possible:
function clean()
{
/* get name of session find session id */
$name = ini_get('session.name');
$sessid = ( !$_COOKIE[$name] ?
( !$_GET[$name] ?
( !$_POST[$name] ?
try doing this for each item:
$cartArray[] = array('itemnumber' = $itemnumber, 'brand' = $brand,
'quantity' = $itemqty, 'name' = $itemname);
-js
Jonathan Duncan wrote:
I am trying to create an array to hold shopping cart information. The array
I am using is called cartArray. What I want
Or, you could do...
$cat = 'butch';
${rm_{$cat}_adt} = 'is cool'; // This would set the variable $rm_butch_adt
equal to 'is cool'
-js
- Original Message -
From: scott [gts] [EMAIL PROTECTED]
To: php [EMAIL PROTECTED]
Sent: Wednesday, June 20, 2001 8:37 AM
Subject: RE: [PHP] inserting a
Check your php.ini file, you should set the temp dir setting to semething
like C:\tmp and make sure that C:\tmp exists and that whatever user your
site is running as in IIS is set to have read/write access...
/tmp\sess is for unix...it's not a valid path (/tmp is what is
defined as the
My forms page is named "submit.phtml"
form action="submit.phtml" method="post"
and if you use the ? echo $PHP_SELF; ? then you don't even need to wory
about the file name, as it will always submit to itself...
form action="? echo $PHP_SELF; ?" method="POST"
-js
-Original Message-
Have you looked at php.net/manual/ ? Just read through the variables portion
and it goes over it.
-js
-Original Message-
From: Cheng, Kynan (London) [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 06, 2001 9:54 AM
To: '[EMAIL PROTECTED]'
Subject: RE: [PHP] Variables
Thanks for
If you're splitting by a defined pattern (such as a space " ") explode is
quite a bit faster...and i believe that if you need reg exps. you can use
split() (which will take a regex as the pattern)...
-js
-Original Message-
From: Plutarck [mailto:[EMAIL PROTECTED]]
Sent: Thursday,
can you just use a POST instead of a get? seems it might be cleaner in this
case...
-js
-Original Message-
From: Plutarck [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 05, 2001 11:22 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Building an array from a URL
You'll probably want
will drop the
connection when the script ends.
Cheers,
-Jonathan Sharp
js_AT_imprev.com
-Original Message-
From: andrie [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 23, 2001 3:38 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: [PHP] connection id
Hello php mania,
i
If you're on windows, (which i'm assuming you are) you can call the PHP
binary with the path to your php script...
so (assuming you have C:\php\bin\ as part of your PATH enviromental
variables for windows) you could do PHP C:\path\to\php-script.php and it
will run on the command line...or just
I have checked my phpinfo() and it shows that PSPell is enabled.
But when i run the following script (per php.net/manual/ example) i get the
following (following) error...
$pspell_link = pspell_new ("en");
if (pspell_check ($pspell_link, "testt")) {
echo "This is a valid
So i've heard bits and pieces that JavaDoc can parse out comments about
php...
does anyone have an example of a command line call to javadoc passing a PHP
file?
Thanks,
-Jonathan
[EMAIL PROTECTED]
(Remove spam. if you want to contact me directly)
--
PHP General Mailing List
I've submitted a proposal for a tutorial for the PHP conference and it says
that you'll be notified on the 1st of March...but I haven't heard
anything...has anyone else that submitted something heard anything?
Thanks,
-Jonathan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
I have a few sites which contain forms that span multiple screens (all
contained in two scripts though...)
theforms.php
?
// Include file
class theForms
{
function showScreen1()
{
global $error;
?
The html for the form.
? if($error){ echo
well...i just finished some code for dealing with an option box that has all
the states listed...
select name="state" size="1"
option value=""Select State/option
?
$ST[] = 'AL'; $ST[] = 'AK'; $ST[] = 'AR'; $ST[] = 'AZ';
$ST[] = 'CA'; $ST[] = 'CO';
I've seen mentions of CORBA before and skimmed a book at the local bn, but
what exactly is it? Is it programming standards? A seperate language all
together? (something like COM?)
Thanks,
-Jonathan Sharp
Technology Director
Imprev, Inc.
http://imprev.com
[EMAIL PROTECTED], [EMAIL PROTECTED
Well, since Gerald's answer was so informative...check out www.corba.com
they list the main concepts and give standards.
Cheers,
-Jonathan
-Original Message-
From: DanO [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 16, 2001 3:47 PM
To: Gerald Gutierrez; Jonathan Sharp; [EMAIL
getting
repeated...or what about a bot that extracts key words and sends an
automated response to that person with a digest version of the last thread
that matched those words? Call it "Ask G'enie" or something...
-Jonathan Sharp
--
PHP General Mailing List (http://www.php.net/)
To unsu
on("Foobar!");
?
Cheers,
-Jonathan Sharp
-Original Message-
From: Jeff Oien [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 15, 2001 8:01 PM
To: PHP
Subject: [PHP] Newbie User Def Function Question
Could anyone give me the correct syntax for calling a function.
I
How does php handle true and false? Do they act as true booleans?
Can I do?
function foo()
{
return false;
}
Thanks,
-Jonathan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact
do you include EVERY file in init.inc even if that script doesn't use it? So
if you have a db.inc and it doesn't use the db at all...is it included?
-Jonathan
-Original Message-
From: Joe Stump [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 14, 2001 5:11 PM
To: Ben Peter
Cc:
would like. But
posting to the list and calling me a "hacker" is in appropriate. As well as
some of the allegations that "You did this day after day for almost five
days, sir." that is incorrect, i logged in that one friday night.
Thank you,
-Jonathan Sharp
-Original Message
Ok, I just checked my mail and found this thread... to clear this up...
In one of your posts you posed a url to a script you were working on...and I
backed up a directory and it gave me a directory listing...one folder was
/admin/ it gave another listing...then showed phpMyAdmin and then it gave
I believe that aspell is somewhat outdated now...try pspell...(which uese
aspell..check php.net docs)
-codeboy
-Original Message-
From: Sam Masiello [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 07, 2001 11:23 AM
To: Nicholas Pappas
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP]
If I have a text file with all my sql statements (from like say mysqldump)
what's the easiest way of passing them to mysql? I'm on RedHat6.2 with mysql
3.22.32
Thanks,
-Jonathan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
, effecient stuff that plugs into the whole picture has been virtually
non-existent...(if you do, please call! We have a few openings!)
Thanks,
-Jonathan Sharp
Director of Technology - Imprev Inc.
Renwick Development Group - Flyerware
http://www.flyerware.com/
Phone: (425)688-9200
Cell: (425)766-1398
http://www.gfunk007.com/
I sense much beer in you. Beer leads to intoxication, intoxication to
hangovers, and hangovers to... suffering.
- Original Message -
From: "Jonathan Sharp" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, February 01, 2001 12:49 PM
because that's too easy! Why would we want to use a system that's already in
place? hehehe...looks good! I think it'd be best to have PHP jobs listed at
THE PHP.NET site...got my vote!
-Jonathan
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday,
have you thought about creating an array of the variables? "chk[$row]" and
then you'd read 'em back like chk["aaa"] or chk["bbb"] or you could loop
through the array with a each statement...
but for variable variables...try ${"chk_".$row}["field"
- http://www.gfunk007.com/
I sense much beer in you. Beer leads to intoxication, intoxication to
hangovers, and hangovers to... suffering.
- Original Message -
From: "Jonathan Sharp" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, February 01, 200
I came across http://pear.php.net/ So what is this? I found this in the PHP
Developers Cookbook by SAMS...Right now it only has a few documentation and
coding standards...are there more plans for this?
-Jonathan Sharp
Director of Technology - Imprev Inc.
Renwick Development Group - Flyerware
define('DOCUMENT_ROOT', 'C:\path\to\document\root');
NOTE! This would define a global variable to all your scripts without the $
dollar sign.
include(DOCUMENT_ROOT."/folder/file.php");
-Jonathan Sharp
Director of Technology - Imprev Inc.
Renwick Development Group - Flye
style?
-Jonathan Sharp
Director of Technology - Imprev Inc.
Renwick Development Group - Flyerware
http://www.flyerware.com/
Phone: (425)688-9200
Cell: (425)766-1398
EPage: [EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional comman
wo live servers...NT is
my desktop only because I use homesite to dev with and a few other winx
progs. Also if anyof you out there know a good colorcoding *nix developer
app (for PHP of couse) please let me know!
If you get stuck on anything, just holler... (i'm usually on EFNet in PHP as
codeb
It doesn't print out any errors or warnings generated by the function.
-Jonathan Sharp
Director of Technology - Imprev Inc.
Renwick Development Group - Flyerware
http://www.flyerware.com/
Phone: (425)688-9200
Cell: (425)766-1398
EPage: [EMAIL PROTECTED]
-Original Message-
From: Steve
!)
Cheers,
-Jonathan Sharp
Director of Technology - Imprev Inc.
Renwick Development Group - Flyerware
http://www.flyerware.com/
Phone: (425)688-9200
Cell: (425)766-1398
EPage: [EMAIL PROTECTED]
-Original Message-
From: [ rswfire ] [mailto:[EMAIL PROTECTED]]
Sent: Saturday, January 27, 20
Brian! You're not helping here, i'm in the middle of a conversion! I'm
trying to help this guy find his destiny! Com'on!
rswfire: You want to get used to the command line, trust me!
-Jonathan Sharp
Director of Technology - Imprev Inc.
Renwick Development Group - Flyerware
http
Yeah, well all have our preferences...and the NT command line is NOTHING
like a good *nix one, so I guess I'll agree that the GUI is approvable by
me. =)
I would install it, I think that would take one less step out of getting to
developing when you boot your box!
-Jonathan
-Original
Da...this one has stumped me...in *nix I'd just say compile it into Apache,
but we can't do that now can we...bummer, looks like a design flaw of NT...
8-)
-Jonathan
P.S. Now I must say, I am running 2K on this box here, and am using outlook
(go ahead and bash me) but that's all I use it for
';
DATAARY[3] = 'Some data';
window.parent.document.MAINDATAARY = DATAARY;
/script
It was something to that extent, it works quite nicely, and it definetly
pushes the limits of the technology used.
-Jonathan Sharp
Director of Technology - Imprev Inc.
Renwick Development Group - Flyerware
http
what's the value of var? It appears that it doesn't have a value set.
-Jonathan
-Original Message-
From: Zack Ham [mailto:[EMAIL PROTECTED]]
Sent: Saturday, January 27, 2001 5:17 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Problem with a regex!
I'm trying to create a small template parser
t has all that java script and say something line "Customizing for
YOU!" and then have that page POST to itself and then have the window close
it self (and you've set a cookie with the session id of course) so then each
page that he visits thereafter has the session id set. And you can customize
for h
Do I have to repeat myself about this topic? Sheesh!
-Codeboy
-Original Message-
From: tabathia [mailto:[EMAIL PROTECTED]]
Sent: Saturday, January 27, 2001 11:02 PM
To: [EMAIL PROTECTED]
Subject: [PHP] E Bay is going up again..
Selling on eBay is getting a little more expensive...the
1 - 100 of 102 matches
Mail list logo