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 stri
I think you\'d want to use:
if ( $_SERVER[\'QUERY_STRING\'] == \'samples\')
{
// code
}
otherwise if you use , set your links as:
-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
> at
> > the
> > bottom of
I think you\'d want to use:
if ( $_SERVER[\'QUERY_STRING\'] == \'samples\')
{
// code
}
otherwise if you use , set your links as:
-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
> at
> > the
> > bottom of
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, ple
search google for RFC HTML email, or look at phpmailer.sourceforge.net.
It's roughly along the lines of:
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 with an im
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
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
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
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 Se
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 regnerate
t;
> - Original Message -
> 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
>
>
>
&
If I remember correctly, you must set the name field with [] to make it
an array.
Example:
then $foo is an array of the selections.
-js
Khalid El-Kary wrote:
> hi,
> If i have a form that has a with multiple="ture" how would i be
> able to retireve it's multiple values in the PHP script, i
"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] ? fa
session_destroy();
> Header("Location: next_script.php");
>
> with cookie session :
>
>$cook_param= session_get_cookie_params();
>$life_time= $cook_param['lifetime'];
>$path= $cook_param['path'];
>setcookie(session_name(),"
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:
marcel wrote:
> hi there
> I am kind of a
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 arch
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
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) {
$ret
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 Li
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 //loc
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 wh
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
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 m
First test that you can connect to the db server outside of php through
an odbc connection...then come back if that doesn't work.
-js
Bill Hudspeth wrote:
> I have developed a PHP application that accesses a Microsoft Access database
> through ODBC. The application works well using PHP version
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
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, 3
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,
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 m
$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
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:
On your popup page:
-js
Monty wrote:
> On a site that uses a popup window to display images, I want to prevent
> people from hotli
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 (dif
try this:
-js
";
printf('Delete',
$PHP_SELF, $myrow['id'] );
$q = ceil( 4/(int)date('n', strtotime($mydata['date']) ));
printf('%s%s%s',
'update-inv.php', $myrow['id'], $myrow['name'], $myrow['details'], $q);
}
?>
Jim Hatridge wrote:
> HI all,
>
> In the code below I'm trying to
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
> t
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 la
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 p
Here's the code...
-js
$string = <<
value 1
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)
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:
>
> ereg('?
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 path,
]*)\.html$~', $source, $dest);
> ereg('/([^/]*)\.html$',$source,$dest);
>
> ---John Holmes...
>
>
>>-Original Message-
>>From: Jonathan Sharp [mailto:js-lists@;sharpmedia.net]
>>Sent: Wednesday, November 13, 2002 10:34 PM
>>To: Charles W
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
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 origin
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
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 fiel
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é Fourn
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
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 re
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 s
I'm assuming you're trying to have a select list.
Try this:
File XML1
File foo
Just make sure you test the value you get for file, so that someone
doesn't pass you /etc/passwd (just an example).
-js
Adam wrote:
> I am developing a site, using XML and PHP for formatting. I want to have one H
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 $overal
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
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 ide
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
> w
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.
not sure, but if all else fails, just cron job it...
-Jonathan Sharp
Director of Technology - Imprev Inc.
Renwick Development Group - Flyerware
http://www.flyerware.com/
Phone: (425)688-9200
Cell: (425)766-1398
-Original Message-
From: Samantha Savvakis [mailto:[EMAIL PROTECTED]]
Sent
I want to setup php so that when I click a PHP script local to my hard
drive: C:\test.php it will run it through the PHP.exe parser but display the
results in my web browser...Anyone done this?
Thanks,
-Jonathan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL P
I have a few sites which contain forms that span multiple screens (all
contained in two scripts though...)
theforms.php
The html for the form.
The html for the form.
forms.php
showScreen1();
break;
case 'saveScreen1':
well...i just finished some code for dealing with an option box that has all
the states listed...
Select State
'.$ST[$i]."\n";
}//For
?>
First it creates an array $ST that contains a list of all the states
(includes PR and DC)
Next it loops through that array and if $state has the same value a
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,
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 (http://www.php.ne
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 spe
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 gi
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
>
>
> My forms page is named "submit.phtml"
>
and if you use the then you don't even need to wory
about the file name, as it will always submit to itself...
-js
> -Original Message-
> From: Curtis [mailto:[EMAIL PROTECTED]]
> Sent: Friday, April 06, 2001 9:27 AM
> To: php
> Subject: [PH
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
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, A
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 probab
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] ins
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 te
ll be on
linux in no time...I have three dev servers now & two 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 an
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:
he MS empire won't always be
as vast as it is, TUX is alive and moving!)
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-
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 Gr
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 Messag
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 (ex
Y[2] = 'Some data';
DATAARY[3] = 'Some data';
window.parent.document.MAINDATAARY = DATAARY;
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 -
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
reafter has the session id set. And you can customize
for him/her...
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-
Fr
All I have to say about his one is: "Your mother was a hamster and your
father smelled of elderberries. I fart in your general direction and I wave
my private parts at your ante you silly English kA nigh It!"
No spam please.
Thank you.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:
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 m
how long does it run for?
-Original Message-
From: [ rswfire ] [mailto:[EMAIL PROTECTED]]
Sent: Saturday, January 27, 2001 8:10 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Apache Server
How come my Apache Server goes down after a short time and forces me to
restart it? Shouldn't it just s
Hey, have you tried just a static .html file, no php anywhere?
-Jonathan
-Original Message-
From: [ rswfire ] [mailto:[EMAIL PROTECTED]]
Sent: Sunday, January 28, 2001 12:24 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Apache/PHP Configuration Problem on NT5
I have set up an ErrorDocument 4
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 Deve
ghts on coding 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 ad
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}["
aamn, that's a shitload more than I
> make here, which is more like US$20/hr
>
> Gfunk - http://www.gfunk007.com/
>
> I sense much beer in you. Beer leads to intoxication, intoxication to
> hangovers, and hangovers to... suffering.
>
>
>
ing to find someone who can really code
clean, 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.
o go the states US$80
> > an hour for php dmn, that's a shitload more than I
> > make here, which is more like US$20/hr
> >
> > Gfunk - http://www.gfunk007.com/
> >
> > I sense much beer in you. Beer leads to intoxication, intoxi
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, F
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 commands,
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: [
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
AIL PROTECTED]
> Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Subject: RE: [PHP] To The Hacker: CodeBoy
>
>
> Whatever, James.
>
> The hackers name is Jonathan Sharp. He is a
> regular member of this mailing list. I do
> believe that people here would like to know they
> h
1 - 100 of 108 matches
Mail list logo